- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
Solved! Go to Solution.
- Labels:
-
BLE_PROFILE_CFG
-
Scanning-Advertising
- Tags:
- central
- high scan duration
- high scan interval
- high scan window
- high_scan_duration
- high_scan_interval
- high_scan_window
- scan
- scanning
- slots
- teaser
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.