⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
karanshah28
Offline
Last seen:1 year 3 months ago
加入:2018-07-14 11:10
Receive data from ble advertiser

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:
PM_Dialog
Offline
Last seen:21 hours 15 min ago
工作人员
加入:2018-02-08 11:03
Hi Karan,

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