Mbed OS Reference
Loading...
Searching...
No Matches
GattHVXCallbackParams Struct Reference

Handle Value Notification/Indication event. More...

#include <GattCallbackParamTypes.h>

Data Fields

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

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 399 of file gatt/GattCallbackParamTypes.h.

Field Documentation

◆ connHandle

The handle of the connection that triggered the event.

Definition at line 403 of file gatt/GattCallbackParamTypes.h.

◆ handle

Attribute Handle to which the HVx operation applies.

Definition at line 408 of file gatt/GattCallbackParamTypes.h.

◆ type

HVXType_t type

Indication or Notification, see HVXType_t.

Definition at line 413 of file gatt/GattCallbackParamTypes.h.

◆ len

uint16_t len

Attribute value length.

Definition at line 418 of file gatt/GattCallbackParamTypes.h.

◆ data

const uint8_t* data

Attribute value.

Definition at line 423 of file gatt/GattCallbackParamTypes.h.