Commit graph

6 commits

Author SHA1 Message Date
Victor Hagelbäck
4d5a4ddbe3 Stop write queue when BLE is not connected to avoid loosing commands
- Set max retry count to 10 since BLE loop will set channel to disconnected after 5 retries (or known unrecoverable errors)
2021-02-22 09:50:06 +01:00
Victor Hagelbäck
50d664c933 Clean up events and subscriptions 2021-02-20 15:33:06 +01:00
Victor Hagelbäck
436ed6b759 Split device communication and BLE handling into separate files 2021-02-20 08:33:42 +01:00
Victor Hagelbäck
f93d3854d0 Improve BLE resilience 2021-02-08 19:54:24 +01:00
Victor Hagelbäck
40f79df37e Rename PlejdBLE to PlejdBLEHandler 2021-02-08 07:39:53 +01:00
Victor Hagelbäck
5ac7d9893d Break out main program flow to PlejdAddon class and add catching of init errors with slow retry 2021-02-04 08:08:28 +01:00