RyanLM
September 28, 2021, 4:32am
1
Basically, I am advertising over BLE and frequently changing the advertisement.
I also need to scan for a BT peripheral ongoing. I am noticing that the BLE.Scan method seems to block other BLE methods until it completes.
I believe the Nordic chip supports multirole, just curious if there is anyway to do both at the same time?
Also, while scanning does it stop advertising? Or is it just the change to the advertisement that is blocked.
Thanks!
Colleen
September 28, 2021, 7:58pm
2
You can’t change the advertising data while scanning but you you can scan for a shorter length of time, change the advertising data, then start scanning again. The amount of time not scanning should be negligible.
2 Likes
RyanLM
September 28, 2021, 8:57pm
3
Thank you,
Just to clarify, does the device still advertise while scanning?
Colleen
September 29, 2021, 6:59pm
4
Yes, advertising continues while scanning.
1 Like
system
Closed
March 31, 2022, 7:00am
5
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.