Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
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:
-
connectionHandle The 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_handle Connection targeted by the write command attribute_handle Attribute written status HCI status of the operation.
Definition at line 63 of file PalGattClient.h.
Generated on Tue Jul 12 2022 13:55:41 by
1.7.2