[][src]Function openthread_sys::otPlatBleGattClientServicesDiscover

pub unsafe extern "C" fn otPlatBleGattClientServicesDiscover(
    aInstance: *mut otInstance
) -> otError

Performs GATT Primary Service Discovery of all services available.

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

@param[in] aInstance The OpenThread instance structure.

@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.