[][src]Function mynewt::hw::sensor::sensor_oic_tx_trigger

pub unsafe extern "C" fn sensor_oic_tx_trigger(
    sensor: *mut sensor,
    arg: *mut c_void,
    type_: sensor_type_t
) -> c_int

Transmit OIC trigger

  • sensor: Ptr to the sensor
  • arg: Ptr to sensor data
  • type: The sensor type

Return: 0 on sucess, non-zero on failure