I use extended sleep mode and modified the advertisement interval. Setting intv_min and intv_max up to 6400 everything works as expected. An advertisement package ever 4 seconds.
但是如果我将时间间隔设置为8000 (nd higher) instead of every 5 seconds, I got an advertisement package every 10 seconds. Every second package got dropped. From the current consumption I see how the BLE is switched on, but after 500us it gets switched off. After 5 seconds all 3 packages got send perfectly.
No clue whats wrong.
Thanks and regards
Armin
Update
It seems the code below in app_ps_scheduler.c:app_rwip_sleep_check() isn't returning false to cause the break on every other interval.if (!lld_sleep_check(&sleep_duration, rwip_env.wakeup_delay))
break;
Keywords:
Device:
Hi aritec,
Can you please try the same configuration with the new SDK, with a quick test seem that the adv interval is every 5 secs (with the 8000 setting). There are quite a few bugs that have been corrected in latest SDK versions.
Thanks MT_dialog
From going through a rather lage number of specs I remember that, depending on the type of hardware module you are using, it could be that you need an external 32kHz oscillator for sleep / advertisement times greater than 4 seconds.