macos does not show correct icon with the appearance value of advertising PDU .
Dear sir,
i add the appearance section value to my advertising PDU,
1) on windows 10 , the os represent the correct icon to me
2) on osx, the os show the incorrect icon to me ,but a normal bluetooth icon .
i need help, thank you !
-------------------------------------------------------------------
my adv code:
// Advertising data
static uint8 advData[] =
{
// flags
0x02, // length of this data
GAP_ADTYPE_FLAGS,
GAP_ADTYPE_FLAGS_LIMITED | GAP_ADTYPE_FLAGS_BREDR_NOT_SUPPORTED,
// appearance
0x03, // length of this data
GAP_ADTYPE_APPEARANCE,
LO_UINT16(GAP_APPEARE_HID_MOUSE),
HI_UINT16(GAP_APPEARE_HID_MOUSE),
// service UUIDs
0x05, // length of this data
GAP_ADTYPE_16BIT_MORE,
LO_UINT16(HID_SERV_UUID),
HI_UINT16(HID_SERV_UUID),
LO_UINT16(BATT_SERV_UUID),
HI_UINT16(BATT_SERV_UUID),
// Tx power level
0x02, // length of this data
GAP_ADTYPE_POWER_LEVEL,
0, // 0dBm
};