Hi Dialog team,
We are developing a product based on da14586. Da14586 is configured as ble peripheral. We are implementing a feature where da14586 device should be notified when it goes far away grater than the predefined distance.
For that, is there any mechanism that ble advertiser can read data from central device without connecting (since connection consumes more current) and start polling on that?
We are open for any suggestion. The primary goal is to keep the device in advertising mode and make it able to detect that it has gone x distance away.
Regards,
Karan
Device:
Hi Karan,
Thanks for your question online. The Peripheral (DA14586) is not able to read data from central device. I possible solution might be the opposite. When a GAPM_ADV_REPORT_IND is received, the gapm_adv_report_ind_handler() will executed which is executes the .app_on_adv_report_ind ind callback. This handler has input parameter the gapm_adv_report_ind structure, which includes the adv_report structure. So, you should get the value of RSSI item of adv_report structure.
Thanks, PM_Dialog