openthread_sys

Function otThreadGetServiceAloc

Source
pub unsafe extern "C" fn otThreadGetServiceAloc(
    aInstance: *mut otInstance,
    aServiceId: u8,
    aServiceAloc: *mut otIp6Address,
) -> otError
Expand description

Retrieves the Service ALOC for given Service ID.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aServiceId Service ID to get ALOC for. @param[out] aServiceAloc A pointer to output the Service ALOC. MUST NOT BE NULL.

@retval OT_ERROR_NONE Successfully retrieved the Service ALOC. @retval OT_ERROR_DETACHED The Thread interface is not currently attached to a Thread Partition.