TI中文支持网
TI专业的中文技术问题搜集分享网站

SimpleBLEPeripheral.ewp 工程中 advertData[] 中没有mac信息 是如何广播出mac信息的

static uint8 advertData[] =//广播包
{
                 // Flags; this sets the device to use limited discoverable
                 // mode (advertises for 30 seconds at a time) instead of general
                // discoverable mode (advertises indefinitely)
0x02, // length of this data
GAP_ADTYPE_FLAGS,//????????
DEFAULT_DISCOVERABLE_MODE | GAP_ADTYPE_FLAGS_BREDR_NOT_SUPPORTED,

               // service UUID, to notify central devices what services are included
               // in this peripheral
0x03, // length of this data
GAP_ADTYPE_16BIT_MORE, // some of the UUID's, but not all
LO_UINT16( SIMPLEPROFILE_SERV_UUID ),
HI_UINT16( SIMPLEPROFILE_SERV_UUID ),

};

advertData[]  没有mac信息  为啥手机端显示到从机模块的mac信息?

Annie Liu:

据我所知,这是在BLE Stack中完成的,应用程序开发人员无法更改它。

赞(0)
未经允许不得转载:TI中文支持网 » SimpleBLEPeripheral.ewp 工程中 advertData[] 中没有mac信息 是如何广播出mac信息的
分享到: 更多 (0)