[][src]Function openthread_sys::otPlatBleGattClientServiceDiscover

pub unsafe extern "C" fn otPlatBleGattClientServiceDiscover(
    aInstance: *mut otInstance,
    aUuid: *const otPlatBleUuid
) -> otError

Performs GATT Primary Service Discovery by UUID procedure of specific service.

@note This function shall be used only for GATT Client.

@param[in] aInstance The OpenThread instance structure. @param[in] aUuid The UUID of a service to be registered.

@retval ::OT_ERROR_NONE Service Discovery procedure has been started. @retval ::OT_ERROR_INVALID_STATE BLE Device is in invalid state. @retval ::OT_ERROR_INVALID_ARGS Invalid service UUID has been provided. @retval ::OT_ERROR_NO_BUFS No available internal buffer found.