主题中讨论的其他器件:CC2640
大家好、
以下是客户的请求:
客户使用 CC2640作为蓝牙服务器进行广播、并且希望获取所连接设备的 MAC 地址、但获取的同一外围设备地址 始终会发生变化。
如标题所示、如何获取连接到 CC2640的蓝牙器件的实际 MAC 地址。
他使用下面显示的函数 来获取 MAC 地址:
linkDB_GetInfo() uint8 linkDB_GetInfo ( uint16 connectionHandle, linkDBInfo_t * pInfo ) Get information about a link Copies all of the link information into pInfo. Uses the connection handle to search the link database. Parameters connectionHandle controller link connection handle. pInfo output parameter to copy the link information Returns SUCCESS FAILURE connection wasn't found
您可以帮助检查此案例吗? 谢谢。
此致、
Nick