微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI蓝牙设计交流 > macos does not show correct icon with the appearance value of advertising PDU .

macos does not show correct icon with the appearance value of advertising PDU .

时间:10-02 整理:3721RD 点击:

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

};

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top