Ryan Powell
Ryan Powell
I was making the assumption that if max_results is not 0 that the scan would stop and be restarted at some point, so not continuous. When restarting the scan the...
Not sure I follow? The process is that if scanning continuously with max results = 0 that after the callback is called the device is deleted from the vector. If...
I mean if it's advertising every 100ms how long does it advertise for? The whole time?
Well it's quite normal to miss an advertisement, there is a lot of interference in the 2.4ghz spectrum. The best you can do is set the scan interval and window...
Some logs would help but I suspect that the delay is a bit too short, do you know what the connection interval is?
@jhmaloney You can request better connection parameters, down to 7.5ms. The only callback is the onStatus which indicates when the notification has been accepted, not sure if that is when...
To resolve this I had to move this: ``` // disconnect the(any) connected clients for (auto it: pServer->getPeerDevices()) { pServer->disconnect(it); } while (pServer->getConnectedCount() > 0) { yield(); } ``` to...
I left comments on the latest commit
service->start() is only necessary for the initial startup, if the services are changed while running the library will take care of starting them.
It's problematic to call it the way it's being done here. if you don't want to use a fork then I would suggest adding the service at the startup and...