EasyManua.ls Logo

BitaTek Cyclops Series - Data Format of SPP Mode; Host Commands of SPP Mode

Default Icon
75 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CYCLOPS-I BT Scanner Configuration Guide 13
5.3.1. Data Format of SPP Mode
Bluetooth communication of SPP mode is simulating the communication of virtual serial Port.
Application software must be installed and executed at host device to handle the handshaking
process with CYCLOPS-I.
Data format of SPP data transfer of CYCLOPS-I is as the following:
[Prefix][Data Length][Data][Checksum][Suffix]
Item
Byte Count
Value
Description
Prefix
1
STX(0x02)
Start bit of SPP communication.
Data Length
1
Length of Data
Data
Scanned Data
Check-Sum
2
Check-sum of Scanned Data
Suffix
1
ETX(0x03)
Stop bit of SPP communication.
5.3.2. Host Commands
Under SPP Communication Mode, host device ( including Android smart phone, PC ) can
send Host Command to CYCLOPS-I to control its behavior. CYCLOPS-I will return the
result to host device after executing the host command.
Data format of Host Command is shown as the following.
[Start][Command][Option][End]
Field
Format
Description
Start
!
Starting character of Host
Command
Command
1 ~ 8
Host Command from 1 to 8 , you
can refer to <Host Command
function list table>
Option
YYYMMDDHHMM
Date & time of host device
End
CRLF(0x0D0A)
Stop character of Host Command

Related product manuals