Rtos API example

Embed: (wiki syntax)

« Back to documentation index

GattHVXCallbackParams Struct Reference

GattHVXCallbackParams Struct Reference
[Server]

Handle Value Notification/Indication event. More...

#include <GattCallbackParamTypes.h>

Data Fields

Gap::Handle_t connHandle
 The handle of the connection that triggered the event.
GattAttribute::Handle_t handle
 Attribute Handle to which the HVx operation applies.
HVXType_t type
 Indication or Notification, see HVXType_t.
uint16_t len
 Attribute value length.
const uint8_t * data
 Attribute value.

Detailed Description

Handle Value Notification/Indication event.

The GattClient generates this type of event upon the reception of a Handle Value Notification or Indication.

The event is passed to callbacks registered by GattClient::onHVX().

Definition at line 356 of file GattCallbackParamTypes.h.


Field Documentation

The handle of the connection that triggered the event.

Definition at line 360 of file GattCallbackParamTypes.h.

const uint8_t* data

Attribute value.

Definition at line 380 of file GattCallbackParamTypes.h.

Attribute Handle to which the HVx operation applies.

Definition at line 365 of file GattCallbackParamTypes.h.

uint16_t len

Attribute value length.

Definition at line 375 of file GattCallbackParamTypes.h.

Indication or Notification, see HVXType_t.

Definition at line 370 of file GattCallbackParamTypes.h.