You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
he controlling terminal (short as the Terminal below) and the configured device (short as the Device below) use BLE to communicate with each other wirelessly. During the communication, the Terminal acts as a central device, while the Device acts as peripheral device. The Terminal gets basic device info by reading the broadcast message of the Device. They exchange data by using read and write characteristic of communication service.
All bilateral communication is after the BLE connection established. The Terminal send a REQ message to the Device, and then the Device returns a RESP message.
All communication message data length is 1-20 bytes, i.e. MTU=20.
RX characteristic UUID of the message from the Terminal to the Device:
UUID: ''cba20002-224d-11e6-9fb8-0002a5d5c51b''
UUID TYPE: Vendor UUID types start at this index (128-bit)
Char Attribute: RW
Char Properties: notify
TX characteristic UUID of the message from the Device to the Terminal:'''
cba20003-224d-11e6-9fb8-0002a5d5c51b
UUID TYPE: Vendor UUID types start at this index (128-bit)
Char Attribute: RW
The control terminal sends the REQ packet format, and the specific content format of payload varies from command: