
Data Capture for Workforce in Motion
| Payload |
|
|
|
|
|
|
|
|
| Response | 0x39 | 00 02 [UUID] | |
|
|
|
| |
| Remark | Try to connect to this remote service. | ||
|
|
|
| |
| Here are some service UUID: | |||
|
|
|
| |
| SPP | 0x1101 |
| |
|
|
|
| |
| DUN | 0x1103 |
| |
|
|
|
| |
| FAX | 0x1102 |
| |
|
|
|
| |
| You can get more UUIDs by reading the Bluetooth spec. | |||
|
|
| ||
| Command | Get Encryption Mode | ||
|
|
|
|
|
| Header | 0x40 |
|
|
|
|
|
| |
| Length | 00 00 |
| |
| Payload |
|
|
|
|
|
|
| |
|
|
|
| |
| Response | 0x40 | 00 01 [encryption] | |
|
|
|
|
|
| Remark |
|
|
|
|
|
| ||
|
|
| ||
| Command | Set Encryption Mode | ||
|
|
| ||
| Header | 0x41 ( flash only) | ||
|
|
|
| |
| Length | 00 01 |
| |
|
|
| ||
| Payload | [Encryption (1 byte)] | ||
|
|
|
| |
| Response | 0x41 | 00 01 01 if done | |
|
| 0x41 | 00 01 00 if not | |
|
|
| ||
| Remark | Argument is: 0x01 to enable encryption, 0x00 to disable. | ||
|
|
| ||
|
|
| ||
| Command | Get local Bluetooth Address | ||
|
|
|
|
|
| Header | 0x43 |
|
|
|
|
|
| |
| Length | 00 00 |
| |
| Payload |
|
|
|
|
|
|
| |
|
|
|
| |
| Response | 0x43 | 00 06 {6 Bytes (BD_address MSB, ..., LSB)} | |
|
|
|
|
|
| Remark |
|
|
|
|
|
|
|
|
BaracodaPencil 2 – Communication Protocol v1.3 | - 42 - |