openthread_sys

Function otCommissionerSendMgmtSet

Source
pub unsafe extern "C" fn otCommissionerSendMgmtSet(
    aInstance: *mut otInstance,
    aDataset: *const otCommissioningDataset,
    aTlvs: *const u8,
    aLength: u8,
) -> otError
Expand description

Sends MGMT_COMMISSIONER_SET.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aDataset A pointer to commissioning dataset. @param[in] aTlvs A pointer to TLVs. @param[in] aLength The length of TLVs.

@retval OT_ERROR_NONE Successfully send the meshcop dataset command. @retval OT_ERROR_NO_BUFS Insufficient buffer space to send. @retval OT_ERROR_INVALID_STATE The commissioner is not active.