1 Reply Latest reply on Feb 2, 2020 4:58 PM by GaneshD_41

    Dirección física PSoC 4 BLE


      Hi everyone,


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


      Thaks you.

        • 1. Re: Dirección física PSoC 4 BLE



          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.




          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.