openthread_sys

Function otSrpServerSetAnycastModeSequenceNumber

Source
pub unsafe extern "C" fn otSrpServerSetAnycastModeSequenceNumber(
    aInstance: *mut otInstance,
    aSequenceNumber: u8,
) -> otError
Expand description

Sets the sequence number used with anycast address mode.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aSequenceNumber The sequence number to use.

@retval OT_ERROR_NONE Successfully set the address mode. @retval OT_ERROR_INVALID_STATE The SRP server is enabled and the sequence number cannot be changed.