Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pybricks.common.BLE: return None if no observed data
This modifies ble.observe() to return None if no data has been observed yet or there has been a time out since the last received data. This way there is an unambiguous way to check for valid data.
- Loading branch information