- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone,
How can I obtain the physical address of my PSoC 4 BLE card?
Thaks you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You can use the API CyBle_GetDeviceAddress (CYBLE_GAP_BD_ADDR_T *device_address) to get the address of the device. Before calling this API you have to populate the 'type' of the address that you want to read in "device_address" structure. Please refer componet datasheet for more details.
https://www.cypress.com/file/464666/download
From peer side, you can obtain the advrtising address using advertisement packet. Please refer the event param "CYBLE_GAPC_ADV_REPORT_T" in the component datasheet for more details. This event parameter is obtained with the "CYBLE_EVT_GAPC_SCAN_PROGRESS_RESULT" event.
Please update if you have any other/more queries.
Thanks
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You can use the API CyBle_GetDeviceAddress (CYBLE_GAP_BD_ADDR_T *device_address) to get the address of the device. Before calling this API you have to populate the 'type' of the address that you want to read in "device_address" structure. Please refer componet datasheet for more details.
https://www.cypress.com/file/464666/download
From peer side, you can obtain the advrtising address using advertisement packet. Please refer the event param "CYBLE_GAPC_ADV_REPORT_T" in the component datasheet for more details. This event parameter is obtained with the "CYBLE_EVT_GAPC_SCAN_PROGRESS_RESULT" event.
Please update if you have any other/more queries.
Thanks
Ganesh