[][src]Type Definition openthread_sys::otCommissionerEnergyReportCallback

type otCommissionerEnergyReportCallback = Option<unsafe extern "C" fn(aChannelMask: u32, aEnergyList: *const u8, aEnergyListLength: u8, aContext: *mut c_void)>;

This function 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.