Using the code snippet for Continuously reporting temperature sensor, no ambient temperature sensor is connected. However reading a single temperature value works fine. Is this library registering the driver for the Bmx280 on the board, because the sample doesn't cover it.
Repro steps:
- Copy code snippet into onCreate.
- Run activity on a Pi 3 (with working other functions)
Expected:
- Observe logging of temperature sensor
Actual:
- Observed logging only includes: "I/SensorManager: DYNS Register dynamic sensor callback"
- No events triggered into the SensorEventListener instance
On further inspection (attempting to use the getDefaultSensor() ) no sensors exist.