pub unsafe extern "C" fn otNetDataGetNextService(
    aInstance: *mut otInstance,
    aIterator: *mut otNetworkDataIterator,
    aConfig: *mut otServiceConfig
) -> otError
Expand description

Get the next service in the partition’s Network Data.

@param[in] aInstance A pointer to an OpenThread instance. @param[in,out] aIterator A pointer to the Network Data iterator context. To get the first service entry it should be set to OT_NETWORK_DATA_ITERATOR_INIT. @param[out] aConfig A pointer to where the service information will be placed.

@retval OT_ERROR_NONE Successfully found the next service. @retval OT_ERROR_NOT_FOUND No subsequent service exists in the partition’s Network Data.