[][src]Function openthread_sys::otPlatBleGattServerIndicate

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

Sends ATT Handle Value Indication.

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

@param[in] aInstance The OpenThread instance structure. @param[in] aHandle The handle of the attribute to be indicated. @param[in] aPacket A pointer to the packet contains value to be indicated.

@retval ::OT_ERROR_NONE ATT Handle Value Indication 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.