Files
firmware/src
Mike Robbins f2a63faddd Fix NimbleBluetooth reliability and performance (#8385)
* Initial work to get NimbleBluetooth working reliably, and cross-task mutexes cleaned up

* Pre-fill toPhoneQueue when safe (during config/nodeinfo): runOnceToPhoneCanPreloadNextPacket

* Handle 0-byte responses breaking clients during initial config phases

* requestLowerPowerConnection

* PhoneAPI: onConfigStart and onConfigComplete callbacks for subclasses

* NimbleBluetooth: switch to high-throughput BLE mode during config, then lower-power BLE mode for steady-state

* Add some documentation to NimbleBluetooth.cpp

* make cppcheck happier

* Allow runOnceHandleToPhoneQueue to tell runOnce to shouldBreakAndRetryLater, so we don't busy-loop forever in runOnce

* Gating some logging behind DEBUG_NIMBLE_ON_READ_TIMING ifdef again; bump retry count

* Add check for connected state in NimBLE onRead()

---------

Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz>
2025-10-19 05:32:58 -05:00
..
2025-09-04 06:24:04 -05:00
2025-10-04 16:54:19 -05:00
2025-07-02 20:50:49 -05:00
2025-10-19 08:54:56 +11:00
2025-09-19 06:29:18 -05:00
2024-11-04 06:09:23 -06:00
2024-08-06 12:35:54 -05:00
2024-08-06 12:35:54 -05:00
2025-10-19 08:54:56 +11:00
2025-10-07 06:00:09 -05:00
2024-08-06 12:35:54 -05:00
2025-03-16 08:19:46 -05:00
2025-03-01 06:18:33 -06:00
2025-03-01 06:18:33 -06:00