
40
Appendix B – Serial Protocol
The data glove is connected to the RS-232 port of the computer. The 5DT Data
Glove Ultra Wireless Kit is a transmit-only device, as it does not respond to any
commands sent to it.
The 5DT Data Glove Ultra has the following serial settings:
•
115200 bits per second
•
8 data bits, 1 stop bit, no parity
•
Hardware
handshaking:
none
The glove data arrives in packets. If two gloves’ data is present on the data
stream, then the packets will alternate from one glove then the other. It is
possible to distinguish the two by identifying the glove type from the type byte.
The data packet sent by the glove is structured as follows:
Byte No. Byte
Byte No. Byte
1
Start
17
9Ll |
10Hl
2
Type Byte
18
10Lu |
10Ll
3
Version
19
11Hl |11Lu
4
1Hl |
1Lh
20
11Ll |12Hl
5
1Ll
| 2Hl
21
12Lu |12Ll
6
2Lu | 2Ll
22
13Hl |13Lu
7
3Hl
| 3Lu
23
13Ll |14Hl
8
3Ll |
4Hl
24
14Lu |14Ll
9
4Lu |
4Ll
25
15Hl |15Lu
10
5Hl |
5Lu
26
15Ll |16Hl
11
5Ll |
6Hl
27
16Lu |16Ll
12
6Lu |
6Ll
28
Checksum
13
7Hl |
7Lu
29
Footer
14
7Ll |
8Hl
15
8Lu |
8Ll
16
9Hl |
9Lu
Table 5 - 5DT Data Glove 14 Ultra Packet Description
The bytes of the packet are defined as follows:
Header
Packet start byte defined as the ‘
<
’ character. Hex value:
0x3c