Baracoda ToughRunners Manual de usuario Pagina 18

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 26
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 17
Communication Protocol for Baracoda ScanWear/ToughRunners Scanners
Sept. 07 18/26
Command Header Length Payload Answer
Get mode 0x04 00 00 - 0x04 00 02 {Mode (1byte) | Switch role
(1byte)}
Mode: 0x01 if MASTER, 0x00 if SLAVE
Switch role: 0x01 if want automatic switch role, 0x00 otherwise
Command Header Length Payload Answer
Set Remote
BDA (Used by
Master Mode)
0x05 00 06 BDA(ex:0x00,0x02,0xC3,0x21,
0xDE,0xFA)
0x05 00 01 01 if
done
0x05 00 01 00 if
not
If The SM is set to Master (using Set MODE command), the SM use this Address to
connect to.
(No default value, depends of the last programmed)
Command Header Length Payload Answer
Get Remote
BDA
0x06 00 00 - 0x06 00 06 {6 bytes of
BDA}
Command Header Length Payload Answer
Get
Bluetooth
Version
0x76 00 00 - 0x76, x, x, {version string}
Command frame Answer
Restore Factory Settings 'R', 's', 't' -
Restore default settings:
Pin code “0000”
Mode : Slave
Link Timeout : 5s
Security mode : ON
Sniff
Uart settings.
Class of Device : 0x500 (peripheral)
Encryption Mode
Page And Inquiry Scan.
Remote Channel (0) and Target Service (SPP)
Bluetooth Name (Smart Module)
Local Services (SPP only)
All other settings are not changed.
Command Header Length Payload Answer
Get inquiry scan
timeout
0x27 00 00 - 0x27 00 04 [Inquiry Interval (MSB) |
Inquiry Interval (LSB) | Inquiry Window
(MSB) | Inquiry Window (LSB)]
Inquiry Interval and Inquiry Window are in number of Bluetooth slots) (1 slot = 0.625
ms)
Command Header Length Payload Answer
Set inquiry
scan
timeout
0x26 00 04 [Inquiry Interval (MSB) | Inquiry Interval
(LSB) | Inquiry Window (MSB) | Inquiry
Window (LSB)]
(default 0xC80, 0x18)
0x26 00 01 01 if
done
0x26 00 01 00 if
not
Inquiry Scan TimeOuts are used by the Module to answer to Inquiries. So, if you set both
values to 0, the Module will not be discoverable.
Vista de pagina 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 24 25 26

Comentarios a estos manuales

Sin comentarios