You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is going to be the end of me... there are sure some issues in the BLE library still. Just spent another 3hrs on it, just to have it disconnect again, although I figured out how to get the serial non-blocking to work in the process!
Patched two issues that would cause it to completely hang, one in the thread loop the other in a while. Still getting intermittent disconnects but reports it's connected. Can't disconnect and reconnect, gets stuck in a bad mode and won't recover without reboot.
If too much time goes by not allowing the ble thread to do it's thing seems to cause all the issues. So I still think switching I2C to non-blocking would free up a enough CPU time to solve this issue. BUT.... mbed's non-blocking I2C transfer can't be called from an ISR as of right now without faulting, so no go here either. You can start a single byte transfer from the User context which works but is completely useless for anything. Can't use the lower level NRFX driver for some reason I don't remember right now, so this leaves low level control via peripheral. Anyone want to help tackle this?
No description provided.
The text was updated successfully, but these errors were encountered: