[−][src]Function openthread_sys::otPlatBleGattClientSubscribeRequest
pub unsafe extern "C" fn otPlatBleGattClientSubscribeRequest(
aInstance: *mut otInstance,
aHandle: u16,
aSubscribing: bool
) -> otError
Subscribes for characteristic indications.
@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] aSubscribing True if subscribing, otherwise unsubscribing.
@retval ::OT_ERROR_NONE Subscription 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.