pub type otCommissionerEnergyReportCallback = Option<unsafe extern "C" fn(aChannelMask: u32, aEnergyList: *const u8, aEnergyListLength: u8, aContext: *mut c_void)>;
Expand description
Pointer is called when the Commissioner receives an Energy Report.
@param[in] aChannelMask The channel mask value. @param[in] aEnergyList A pointer to the energy measurement list. @param[in] aEnergyListLength Number of entries in @p aEnergyListLength. @param[in] aContext A pointer to application-specific context.
Aliased Type§
enum otCommissionerEnergyReportCallback {
None,
Some(unsafe extern "C" fn(_: u32, _: *const u8, _: u8, _: *mut c_void)),
}