Dirección física PSoC 4 BLE

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

cross mob
AnMo_4196841
Level 3
Level 3
First like received First like given

Hi everyone,

How can I obtain the physical address of my PSoC 4 BLE card?

Thaks you.

0 Likes
1 Solution
VenkataD_41
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

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

View solution in original post

0 Likes
1 Reply
VenkataD_41
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

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

0 Likes