node-ble-host icon indicating copy to clipboard operation
node-ble-host copied to clipboard

simultaneous scan and advertise

Open travisghansen opened this issue 9 months ago • 2 comments

I have a machine with a realtek 8821ce chipset which appears to fall in the ‘does not support simultaneous roles’ bucket.

Do you have any recommendation or examples about how to work around that limitation? Is it possible to set some flag that will hint it the code to automatically/transparently switch or similar? Any other recommended approaches?

travisghansen avatar Jul 14 '25 12:07 travisghansen

Hi! If you want to scan and advertise concurrently but the controller doesn't support that, I would suggest that you manually cycle between scanning and advertising in your code for example every five seconds. It all depends of course on your application and your scan window/interval and advertising interval.

Emill avatar Jul 17 '25 17:07 Emill

Is it systemically possible to determine if a particular connection/controller is capable of multiple roles simultaneously?

travisghansen avatar Jul 18 '25 12:07 travisghansen