openthread_sys

Function otDatasetSendMgmtPendingSet

Source
pub unsafe extern "C" fn otDatasetSendMgmtPendingSet(
    aInstance: *mut otInstance,
    aDataset: *const otOperationalDataset,
    aTlvs: *const u8,
    aLength: u8,
    aCallback: otDatasetMgmtSetCallback,
    aContext: *mut c_void,
) -> otError
Expand description

Sends MGMT_PENDING_SET.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aDataset A pointer to operational dataset. @param[in] aTlvs A pointer to TLVs. @param[in] aLength The length of TLVs. @param[in] aCallback A pointer to a function that is called on response reception or timeout. @param[in] aContext A pointer to application-specific context for @p aCallback.

@retval OT_ERROR_NONE Successfully send the meshcop dataset command. @retval OT_ERROR_NO_BUFS Insufficient buffer space to send. @retval OT_ERROR_BUSY A previous request is ongoing.