When synchronization to InfluxDB is enabled and the server is unavailable for whatever reason, the BLE service seems to freeze (no timeout in connection ?). The phone has to be restarted for the service to finally close.
Putting InfluxDB sync in a dedicated thread might be a workaround, but a timeout definitly needs to be put in the connection to Influx. Still, I have to use an old version of the InfluxDB Java bindings, which does not support timeouts.
For the time being, ensure your InfluxDB server is available when you enable synchronization.
When synchronization to InfluxDB is enabled and the server is unavailable for whatever reason, the BLE service seems to freeze (no timeout in connection ?). The phone has to be restarted for the service to finally close.
Putting InfluxDB sync in a dedicated thread might be a workaround, but a timeout definitly needs to be put in the connection to Influx. Still, I have to use an old version of the InfluxDB Java bindings, which does not support timeouts. For the time being, ensure your InfluxDB server is available when you enable synchronization.