Rob Knegjens

Results 2 issues of Rob Knegjens

Only read from the temp characteristic if the connection is still active. Improves the example by avoiding a TypeError exception when the sensor disconnects.

The value for the `timeout_ms` optional argument to `DeviceConnection.disconnected()` async method is changed from 60000 to None. This way users awaiting a device disconnection using `await connection.disconnected()` won't be surprised...