cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 6

1313_3839421
New Contributor II

PSoC Creator4.2开发PSoC6 如何获取本地的设备地址

0 Likes
1 Solution
ShipingW_81
Moderator
Moderator

有专门的API来读取mac地址 -

读取当前设备的mac地址 - Cy_BLE_GAP_GetBdAddress()  需要bdHandle作为参数进行识别

读取对端设备的mac地址 - Cy_BLE_GAP_GetPeerBdAddr()

View solution in original post

0 Likes
2 Replies
ShipingW_81
Moderator
Moderator

有专门的API来读取mac地址 -

读取当前设备的mac地址 - Cy_BLE_GAP_GetBdAddress()  需要bdHandle作为参数进行识别

读取对端设备的mac地址 - Cy_BLE_GAP_GetPeerBdAddr()

View solution in original post

0 Likes
1313_3839421
New Contributor II

明白了!非常感谢您的回答!

0 Likes