thorrak / tiltbridge

Tilt Hydrometer to WiFi Bridge
http://www.tiltbridge.com/
Other
61 stars 27 forks source link

Scan already in progress - explicitly stopping #96

Closed lbussy closed 3 years ago

lbussy commented 3 years ago

I did not notice if BLE updated or not, but I get this now:

     30678 V: Scan already in progress - explicitly stopping.
     30784 V: Scan already in progress - explicitly stopping.
     30888 V: Scan already in progress - explicitly stopping.
     30993 V: Scan already in progress - explicitly stopping.
     31098 V: Scan already in progress - explicitly stopping.

This will take some digging I imagine.

pletch commented 3 years ago

I noticed this issue yesterday and rolled back to a snapshot to confirm that this is caused by this commit to Nimble-Arduino 413e64640946195bf5f68c384279a615aefe8600.

Are you going to tackle or would you like me to look into it?

pletch commented 3 years ago

I think there might be a bug in NimBLE as the return code from starting a scan is now always zero. Submitted issue on NimBLE github.

lbussy commented 3 years ago

Are you going to tackle or would you like me to look into it?

I have not had a chance to look yet - threw the issue up here so I would not forget. If you have time, great. I don't forsee time today but if I get back into it I'll assign the issues I am working on to myself.

lbussy commented 3 years ago

I see he's fixed it, should just need testing?