Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 3.49 KB

File metadata and controls

58 lines (40 loc) · 3.49 KB

MINI SCALE Transmission protocol

All BLE UUIDs adopted by the BOOKOO MINI SCALE use a simplified representation of the 16-bit UUID, and its corresponding 128-bit UUID is the unified structure agreed upon by the Bluetooth Association, i.e. 0000 xxxx -0000-1000-8000-00805F9B34FB

1. Bluetooth Protocol Basic Info And Check Sum

All data are transferred in hexadecimal

Basic Info

Service UUID: 0x0FFE

Characteristic UUID:

  • Command Characteristic UUID: 0xFF12
  • Weight Data Characteristic UUID: 0xFF11

Check Sum Method

Method: XOR Calculation

CheckSum = Header1 ^ Header2 ^ Data1 ^ Data2 ^ ... ^ DataN

if CheckSum == DataSUM
    pass

2. Transmission Data

Command Data

BYTE1 BYTE2 BYTE3 BYTE4 BYTE5 BYTE6 DESCRIPTION
PRODUCT NUMBER
(Header 1)
TYPE
(Header 2)
DATA1 DATA2 DATA3 DATASUM DESCRIPTION
03 0A 01 00 00 checkSum Send the tare command
03 0A 02 00 00~05 (Beep level) checkSum Adjust the beep size, 0 means no beeper sound on
03 0A 03 00 05~1e (Auto-off duration) checkSum Adjust the automatic shutdown duration from 5-30 minutes
03 0A 04 00 00 checkSum Send the start timer command
03 0A 05 00 00 checkSum Send the stop timer command
03 0A 06 00 00 checkSum Send the reset timer command
03 0A 07 00 00 checkSum Send the tare and start time command (recommend)
03 0A 08 00/01 00 checkSum Whether or not flow smoothing is turned on, 00 means it is not turned on, 01 means it is turned on

Receiving Weight

Note: The current weight unit only supports grams

BYTE1 BYTE2 BYTE3 BYTE4 BYTE5 BYTE6 BYTE7 BYTE8 BYTE9 BYTE10 BYTE11 BYTE12 BYTE13 BYTE14 BYTE15 BYTE16 BYTE17 BYTE18 BYTE19 BYTE20 DESCRIPTION
PRODUCT NUMBER TYPE DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7 DATA8 DATA9 DATA10 DATA11 DATA12 DATA13 DATA14 DATA15 DATA16 DATA17 DATASUM DESCRIPTION
03 0B
MillSeconds


High byte of an unsigned 24-bit integer
MillSeconds


Mid byte of an unsigned 24-bit integer
MillSeconds


Low byte of an unsigned 24-bit integer
unit of weight Weight symbol data points (+/-)
Grams weight * 100


High byte of an unsigned 24-bit integer

Grams weight * 100


Mid byte of an unsigned 24-bit integer

Grams weight * 100


Low byte of an unsigned 24-bit integer
Flow rate symbol data points (+/-) Flow rate*100


High byte of an unsigned Short integer
Flow rate*100


Low byte of an unsigned Short integer
Percentage of remaining power standby time (min * 10)


High byte of an unsigned Short integer
standby time (min * 10)


Low byte of an unsigned Short integer
Buzzer gear Flow Rate Smoothing Switch Reserved checkSum Get time, weight, flow rate and power percentage data on the scale

Other Data

It is currently not open, so contact us if you need it.

Email: develop@bookoocoffee.com