Hi,
Is there any way to retrieve the generated random address after passing command 'gapm_start_advertise_cmd' with 'op.addr_src' set to GAPM_GEN_NON_RSLV_ADDR?
Since this command will generate new random one in every trial, I would like to keep the same one for certain duration in my case.
I'm using SDK DA14580_BEACON_3.40.6.
Thanks
Device:
Hi hardy.chen,
You can use the gapm_get_dev_info_cmd with the GAPM_GET_DEV_BDADDR operation, this should return your local and your random address, you can pick between those two addreses by the addr_type of the gap_bdaddr sturct that the GAPM_DEV_BDADDR_IND will return.
Thanks MT_dialog