FeasyBeacon General Advertising Frame includes content like Firmare Version, MAC Address, Battery Life and so on.
General Advertising Frame can be find in Service Data(Tag 0x16):
Len(1Byte) | Tag(1Byte) | Service(2Byte) | Type(1Byte) | Version(2Byte) | Feature(1Byte) | MAC (6Byte) | Battery Level(1Byte) |
0x0D | 0x16 | 0xFFF0 |
Len: 1 byte, the length of the frame that exclude the Len word.
Tag: 1 byte, type of frame, 0x16 represents General Advertising Frame
Service: 2 bytes, 0xFFF0
Type: 1 byte, device model number:
0x15 FSC-BP102
0x19 FSC-BP109
0x1A FSC-BP103
0x1B FSC-BP104
0x1C FSC-BP201
0x1D FSC-BP106
0x1E FSC-BP101
Version: 2 bytes, device firmware version
Feature: 1 byte, features that are supported:
Bit0 ~ bit1: Connectivity state
0: Not connectable
1: Connectable, no password required
2: Connectable, password required
Bit2 ~ bit3 : Reserved, must set to 0
Bit4: 0: No LED applied 1: LED is applied
Bit5: 0: No buzzer applied 1: Buzzer is applied
Bit6: 0: No G-sensor applied 1: G-sensor is applied
Bit7: 0: No button applied 1: Button is applied
MAC: 6 bytes, the MAC address of the device
Battery Level: 1 byte, the current battery level
0x00 – 0x64 represent 0~100%
0x65 Indicate non-battery power supply