Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ 6 Forum Discussions

1313_3839421
Level 3
10 replies posted 10 questions asked 5 replies posted
Level 3

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

0 Likes
1 Solution
ShipingW_81
Moderator
Moderator 500 replies posted 250 solutions authored 250 replies posted
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 500 replies posted 250 solutions authored 250 replies posted
Moderator

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

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

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

0 Likes
1313_3839421
Level 3
10 replies posted 10 questions asked 5 replies posted
Level 3

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

0 Likes