BLE_CEN_CFG intervals and windows

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Regarding parameters in BLE_CEN_CFG ...

"high_scan_duration" means how long to be in high scan state?

"high_scan_interval" slots means do a scan every this many slots?

"high_scan_window" slots - what means this?

How long is 1 slot ?

When does central state machine change from high scan to low scan?

How can we keep it always in high scan mode?

Thanks!

0 Likes
1 Solution
VictorZ_46
Employee
Employee
5 comments on blog 25 sign-ins 250 likes received

Scan is not about sending packets, but about putting radio in to the listen mode, i.e. listening for advertisement packets.  Interval defines the time between two consecutive scans.  Window is the duration of one scan. 1 slot is 0.625 milliseconds.  Defaults for high duty scan are interval 96 and window 48.  The radio will start listening every 60msec and will listen for 30msec, then it will go to sleep or do whatever else in needs to do.  Defaults for low duty scan are 2048 and 18.  Meaning every 1.28sec listen for 11.25msec.

High Scan Duration is how long to perform high duty scans in seconds before switching to low duty scan.  If you always want to stay in the High Scan mode you can start the timer for the High Scan Duration, and then start High Scan again.

View solution in original post

4 Replies