[−][src]Function openthread_sys::otPlatBleGattClientWrite
pub unsafe extern "C" fn otPlatBleGattClientWrite(
aInstance: *mut otInstance,
aHandle: u16,
aPacket: *mut otBleRadioPacket
) -> otError
Sends ATT Write 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 written. @param[in] aPacket A pointer to the packet contains value to be written to the attribute.
@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, data or data length has been supplied. @retval ::OT_ERROR_NO_BUFS No available internal buffer found.