Hello Everyone,
I am building an application where I have to change the scan window (BEARER_SCAN_WINDOW_DEFAULT_MS) in run time, based on a specific event. Does the stack allow application to change it in run time??
Regards,
Sameer
Hello Everyone,
I am building an application where I have to change the scan window (BEARER_SCAN_WINDOW_DEFAULT_MS) in run time, based on a specific event. Does the stack allow application to change it in run time??
Regards,
Sameer
Hi,
Please clarify, you are using our Mesh SDK ? I'm not sure why you want to change BEARER_SCAN_WINDOW_DEFAULT_MS ? In Mesh usually the scan window should be 100% unless you want to modify the scanning time.
If you want you can change that, but you need to disable scanning and then init it again.
Hi,
Please clarify, you are using our Mesh SDK ? I'm not sure why you want to change BEARER_SCAN_WINDOW_DEFAULT_MS ? In Mesh usually the scan window should be 100% unless you want to modify the scanning time.
If you want you can change that, but you need to disable scanning and then init it again.
Hi Hung,
Yes, I am using Mesh SDK and I want the scanning to be off for sometime. Hence, I am trying to modify BEARER_SCAN_WINDOW_DEFAULT_MS.
If you want to put the chip to low power mode, I think the better solution is to stop mesh and put the chip to sleep for a period instead.
Reducing the scan window causes the mesh performance to drop drastically.
But if you want to test that, I don't see any problem. Just need to stop and start scanning (scan_disable() , scan_init() )