[][src]Function openthread_sys::otPlatBleGattClientRead

pub unsafe extern "C" fn otPlatBleGattClientRead(
    aInstance: *mut otInstance,
    aHandle: u16
) -> otError

Sends ATT Read Request.

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

@param[in] aInstance The OpenThread instance structure. @param[in] aHandle The handle of the attribute to be read.

@retval ::OT_ERROR_NONE ATT Write Request has been sent. @retval ::OT_ERROR_INVALID_STATE BLE Device is in invalid state. @retval ::OT_ERROR_INVALID_ARGS Invalid handle value has been supplied. @retval ::OT_ERROR_NO_BUFS No available internal buffer found.