BaracodaPencil 2 – Communication Protocol v1.3 - 41 -
Data Capture
for Workforce
in Motion
Typical Bluetooth class of device:
Peripheral
0x000500 (default)
Undefined
0x001F00
Phone
0x502204
Computer
0x120104
PDA
0x100114
Access Point
0x120320
Command
Set Remote rfcomm channel
Header
0x36
Length
00 01
Payload
[channel (1byte)]
Response
0x36 00 01 01 if done
0x36 00 01 00 if not
Remark
Command
Get Remote rfcomm channel
Header
0x37
Length
00 00
Payload
Response
0x37 00 01 [channel]
Remark
If “channel” is not zero, the Module will directly try to connect (if in master mode) to the specified
rfcomm channel.
Setting the channel to zero will force the Module to connect (if in master mode) to the first specified
Remote Service UUID (by default SPP).
The services in the Module are all set to channel 1.
Command
Set Target Service UUID
Header
0x38
Length
00 02
Payload
[UUID (2 Bytes)]
(default 0x1101)
Response
0x38 00 01 01 if d
one
0x38 00 01 00 if not
Remark
Try to connect to this remote service.
Command
Get Target Service UUID
Header
0x39
Length
00 00