Usb Communications - Mantracourt T24-BSi Technical Manual

T24 series
Hide thumbs Also See for T24-BSi:
Table of Contents

Advertisement

USB
Connection to the base station will be either a captive USB cable (T24-BSu) or a USB socket B for connection using
a standard USB A-B cable (T24-BSi). There is an optional cable assembly for the T24-BSi to provide for a USB
connection while the device is still fitted to the ABS case.
To communicate with the base station the connected device must use the USB HID Device Class and support USB
2.0 full speed interface (12mbits).
The USB connection will also power the base station.

USB Communications

Using the Mantracourt T24drv.dll driver is the easiest way to communicate with the base station. However, if you
want to write your own communications software you will need the following information:
Vendor ID: 6017 (0x1781 hex)
Product ID: 2980 (0xBA4 hex)
Incoming packets are read from report 0 and contain 64 bytes of data. There will always be 64 bytes of even if
there is only a few bytes of valid data. These bytes will need placing into a buffer and your software will need to
detect and extract complete packets.
Outgoing data is written to report 0 and must always contain 64 bytes of data. Any unused bytes should be set to
zero.
Please note that 65 bytes of data are actually sent and received but the first byte indicates the report number so
this is always zero.
Parameter
Vendor ID
Product ID
Setup Class
Service Name
Parameter
ConnectionIndex
CurrentConfigurationValue
LowSpeed
DeviceIsHub
DeviceAddress
NumberOfOpenPipes
bLength
bEndpointAddress
bmAttributes
wMaxPacketSize
bInterval
bLength
bEndpointAddress
bmAttributes
wMaxPacketSize
bInterval
bLength
bcdUSB
bDeviceClass
bDeviceSubClass
bDeviceProtocol
bMaxPacketSize0
idVendor
idProduct
bcdDevice
iManufacturer
iProduct
iSerialNumber
bNumConfigurations
Mantracourt Electronics Limited T24 Technical Manual
0x1781 (6017 decimal)
0xBA4 (2980 decimal)
HIDClass
HidUsb
Connection Information
0x1
0x1
FALSE
FALSE
0x1
0x2
Pipe #0
Endpoint Descriptor
0x7
0x1 [OUT]
0x3 (USB_ENDPOINT_TYPE_INTERRUPT)
0x40
0x1
Pipe #1
Endpoint Descriptor
0x7
0x82 [IN]
0x3 (USB_ENDPOINT_TYPE_INTERRUPT)
0x40
0x1
Device Descriptor
0x12
0x110
0x0
0x0
0x0
0x8
0x1781
0xBA4
0x100
0x1
0x2
0x3
0x1
Value
Value
18

Advertisement

Table of Contents
loading

Table of Contents