Home    Prev Next    
Contents
Programming For USB Device
Overview
Programmers Guide
Scenario
Data transfer
Synchronous Transfer
Asynchronous Transfer
Reading Descriptors
USB Support Routines And Structures
Common Procedures
UsbEnumerateDevices
OpenRapidUsb
IsRapidUsbOpened
CloseRapidUsb
Descriptors
UsbGetDescriptor
UsbGetDeviceDescriptor
UsbGetStringDescriptor
UsbGetConfigDescriptor
UsbFreeConfigDescriptor
UsbGetInterfaceDescriptor
UsbFreeInterfaceDescriptor
UsbGetEndpointDescriptor
Configure Device
UsbGetDeviceInfo
UsbUnconfigureDevice
UsbSelectConfig
UsbGetConfig
UsbSelectInterface
UsbGetInterface
UsbResetDevice
UsbGetBandwidthInfo
UsbCyclePort
Features and Status
UsbSetFeature
UsbClearFeature
UsbGetStatus
Vendor/Class Requests
UsbVendorRequestIn
UsbVendorRequestOut
UsbClassRequestIn
UsbClassRequestOut
Pipes
IsRapidUsbPipeOpened
UsbPipeOpen
UsbPipeClose
UsbGetPipeCount
UsbPipeGetInfo
UsbPipeDirectionIn
UsbPipeGetType
UsbTransfer
UsbTransferAsync
TRANSFER_COMPLETION_ROUTINE
UsbCancelTransfer
UsbPipeReset
UsbPipeAbort
Other
UsbGetPortStatus
UsbGetCurrentFrameNumber
USB Structures and Types
RDUSB_DEVICE_INFORMATION
RDUSB_PIPE_INFORMATION
RDUSB_PIPE_TYPE
RDUSB_BANDWIDTH_INFORMATION
Overview
Go to RapidDriver Main Page

First of all, you must describe your device with RapidDriver Explorer then install a device using USB bus specific driver (RapidUSB.sys). Then you may create and run your own application to control a USB device for which the driver has been installed. All USB functions/procedures are placed in RapidUSB.dll interface library.

You can install the RapidUSB.sys driver for many USB devices, so every USB device will have it's own DeviceInstance parameter value in OpenRapidUSB function.

Note: In some cases we will use the "RapidUSB" term assuming the RapidDriver Developer edition when we are working with a USB device through the RapidUSB.sys and RapidUSB.dll.

Here is what you can do with RapidUSB:

·access USB device descriptors  
·    thread safe access to USB pipes  
·    support of Interrupt and Bulk pipes  
·    support devices with multiple interfaces  
·    support multiple devices simultaneously  

To work with the driver itself the choice of programming language is not vital. At present RapidDriver package includes support of the following programming systems:

·Microsoft Visual C/C++  
·Borland Delphi  
·Borland C++ Builder  
·Microsoft Visual Basic 6.0  
·Microsoft Visual Basic .Net  
·Microsoft Visual C#