
www.mokosmart.com
8
7. Main Function
7.1 Bluetooth Advertises
If the gateway is configured for the first time, its Bluetooth will advertise after the power is
supplied. Continuously advertises data with the name of MK107-XXXX (the last two bytes of the
MAC address), and the advertising raw data is as below:
The data in the red box is advertising packet, and the data in the blue box is response packet. The
data format of advertising packet and response packet are as below:
Advertising packet
:
Length
Type
Data
2
0x01
0x06
4
0x16
device type (0x00)
2~21
0x09
Advertising name, the default is MINI-01-XXXX(The last 2 bytes of
the MAC)
Response packet
:
Length
Type
Data
15
0xFF
Firmware version(6 bytes) + MAC(6 bytes)