[−][src]Function mynewt::hw::sensor::convert_sensor_data
fn convert_sensor_data(
sensor_data: sensor_data_ptr,
sensor_key: &'static Strn,
sensor_type: sensor_type_t
) -> SensorValue
Convert the sensor data received from Mynewt into a SensorValue
for transmission, which includes the sensor data key.
sensor_type
indicates the type of data in sensor_data
.