openthread_sys

Function otServerRemoveService

Source
pub unsafe extern "C" fn otServerRemoveService(
    aInstance: *mut otInstance,
    aEnterpriseNumber: u32,
    aServiceData: *const u8,
    aServiceDataLength: u8,
) -> otError
Expand description

Remove a service configuration from the local network data.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aEnterpriseNumber Enterprise Number of the service entry to be deleted. @param[in] aServiceData A pointer to an Service Data to look for during deletion. @param[in] aServiceDataLength The length of @p aServiceData in bytes.

@retval OT_ERROR_NONE Successfully removed the configuration from the local network data. @retval OT_ERROR_NOT_FOUND Could not find the Border Router entry.

@sa otServerAddService @sa otServerRegister