Missing advertising packet for example project (prox_reporter)

4 posts / 0 new
Last post
kenneth.er
Offline
Last seen:4 years 8 months ago
加入:2015-09-03 15:31
Missing advertising packet for example project (prox_reporter)

Hi there,

I was trying out the prox_reporter example project provided within the Dialog SDK file (SDK ver. 5.0.2.1), and realized my advertising packet seems to go undetected by my BLE USB dongle at irregular interval. The initial setting for the interval timing under "user_config.h" was 1100 and I changed that to 800 (for 500ms). The exact variable I changed is user_undirected_advertise_conf.intv and user_non_connectable_advertise_conf.intv (just to be safe).

More info:
- I am using the Dialog DA14580 basic dev kit
- Dialog SDK v5.0.2.1
- using Bluegiga BLE USB dongle => I get the 500ms advertising packet at around 60% of the time. The remaining packets get detected at 1s, 1.5s & 2s interval.

I wonder where have I gone wrong or missing something? Thank you for reading!

Device:
kenneth.er
Offline
Last seen:4 years 8 months ago
加入:2015-09-03 15:31
Hi there,

Hi there,

Just to supplement. I have done a series of tests with varied advertising interval from 100ms all the way to 2000ms. Seemed like the sweet spot is around 1000ms with ~10% missing advertising packets. Any lower or higher, the loss increases. Is this an inherent BLE characteristic or just Dialog DA14580? Hope someone can help me out on this. Thanks!

MT_dialog
Offline
Last seen:1 month 5 days ago
工作人员
加入:2015-06-08 34
Hi kenneth.er,

Hi kenneth.er,

Just tested with a sniffer with the same modifications on the same SDK, the delta's of the advertising packets look ok every 500ms. Can you please check if there is a timer enabled and causes this? Please have a look at the user_default_hnd_conf and check the .adv_scenario member, should be DEF_ADV_FOREVER for non stopping advertising.

Thanks MT_dialog

kenneth.er
Offline
Last seen:4 years 8 months ago
加入:2015-09-03 15:31
Hi MT_dialog,

Hi MT_dialog,

Thank you for the quick reply! I followed your test and swapped my USB dongle for a better BLE sniffer (Nordic nRF51 dongle). As you have mentioned, I could see the packet loss for 100ms advertising interval to hover around < 1%. I guess my Bluegiga USB dongle is having a hard time parsing all the advertising packets or it's damaged somewhat.
Guess that conclude this problem for me.
Thank you again!