[−][src]Function app::app_sensor::start_sensor_listener
pub fn start_sensor_listener() -> MynewtResult<()>
Ask Mynewt to poll the temperature sensor every 10 seconds and call handle_sensor_data()
.
Return Ok()
if successful, else return Err()
with MynewtError
error code inside.