Commit graph

5 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
0dbe0bb95f Move BLE states to DeviceRegistry and improve logging
- Make deviceRegistry states/lists immutable
2021-02-20 12:34:30 +01:00
Victor Hagelbäck
e528e2be1f Fix turn off and dim commands 2021-02-20 10:49:00 +01:00
Victor Hagelbäck
436ed6b759 Split device communication and BLE handling into separate files 2021-02-20 08:33:42 +01:00