
Level 3
1313_3839421
Level 3
Jan 25, 2019
12:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
PSoC Creator4.2开发PSoC6 如何获取本地的设备地址
Solved! Go to Solution.
1 Solution

Moderator

Moderator
Jan 25, 2019
12:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
有专门的API来读取mac地址 -
读取当前设备的mac地址 - Cy_BLE_GAP_GetBdAddress() 需要bdHandle作为参数进行识别
读取对端设备的mac地址 - Cy_BLE_GAP_GetPeerBdAddr()
2 Replies

Moderator

Moderator
Jan 25, 2019
12:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
有专门的API来读取mac地址 -
读取当前设备的mac地址 - Cy_BLE_GAP_GetBdAddress() 需要bdHandle作为参数进行识别
读取对端设备的mac地址 - Cy_BLE_GAP_GetPeerBdAddr()

Level 3
1313_3839421
Level 3
Jan 25, 2019
01:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
明白了!非常感谢您的回答!