Baracoda ToughRunners Manual do Utilizador Página 22

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 26
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 21
Communication Protocol for Baracoda ScanWear/ToughRunners Scanners
Sept. 07 22/26
Command Header Length Payload Answer
Set Target
Service
UUID
0x38 00 02 [UUID (2 Bytes)]
(default 0x1101)
0x38 00 01 01 if done
0x38 00 01 00 if not
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 Header Length Payload Answer
Get Target
Service
UUID
0x39 00 00 - 0x39 00 02 [UUID]
Command Header Length Payload Answer
Set Encryption
Mode
0x41 00 01 [Encryption (1
Byte)]
0x41 00 01 01 if done
0x41 00 01 00 if not
Argument is: 0x01 to enable encryption, 0x00 to disable.
Command Header Length Payload Answer
Get Encryption
mode
0x40 00 00 - 0x40 00 01 [encryption]
Command Header Length Payload Answer
Set Remote
rfcomm channel
0x36 00 01 [channel (1 Byte)] 0x36 00 01 01 if done
0x36 00 01 00 if not
Command Header Length Payload Answer
Get Remote
rfcomm channel
0x37 00 00 - 0x37 00 01 [channel]
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.
Vista de página 21
1 2 ... 17 18 19 20 21 22 23 24 25 26

Comentários a estes Manuais

Sem comentários