Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

GattClientEventHandler< Impl > Struct Template Reference

GattClientEventHandler< Impl > Struct Template Reference

Definition of the general handler of GattClient related events. More...

#include <PalGattClient.h>

Inherits StaticInterface< Impl, GattClientEventHandler >.

Public Member Functions

void on_att_mtu_change (ble::connection_handle_t connection_handle, uint16_t att_mtu_size)
 Function invoked when the connections changes the ATT_MTU which controls the maximum size of an attribute that can be read in a single L2CAP packet which might be fragmented across multiple packets.
void on_write_command_sent (ble::connection_handle_t connection_handle, ble::attribute_handle_t attribute_handle, uint8_t status)
 Function invoked when a write command has been sent out of the stack (either to the controller or over the air).
Impl * impl ()
const Impl * impl () const

Detailed Description

template<class Impl>
struct ble::pal::GattClientEventHandler< Impl >

Definition of the general handler of GattClient related events.

Definition at line 36 of file PalGattClient.h.


Member Function Documentation

Impl* impl (  ) [inherited]
Returns:
A pointer to the implementation class.

Definition at line 35 of file StaticInterface.h.

const Impl* impl (  ) const [inherited]
Returns:
A pointer to the implementation class.

Definition at line 43 of file StaticInterface.h.

void on_att_mtu_change ( ble::connection_handle_t  connection_handle,
uint16_t  att_mtu_size 
)

Function invoked when the connections changes the ATT_MTU which controls the maximum size of an attribute that can be read in a single L2CAP packet which might be fragmented across multiple packets.

Parameters:
connectionHandleThe handle of the connection that changed the size.
attMtuSize

Definition at line 48 of file PalGattClient.h.

void on_write_command_sent ( ble::connection_handle_t  connection_handle,
ble::attribute_handle_t  attribute_handle,
uint8_t  status 
)

Function invoked when a write command has been sent out of the stack (either to the controller or over the air).

Parameters:
connection_handleConnection targeted by the write command
attribute_handleAttribute written
statusHCI status of the operation.

Definition at line 63 of file PalGattClient.h.