![](/media/cache/profiles/1b8833c58d3a24b62eb45027f94d093e.jpg.50x50_q85.jpg)
Knight Rider PIO sample for teckBASIC, konashi.js
Dependencies: BLE_API_Native_IRC mbed
Fork of BLE_konashi_PIO_test by
GattServerEvents Class Reference
The base class used to abstract away the callback events that can be triggered with the GATT Server. More...
#include <GattServerEvents.h>
Inherited by GattServerEventHandler.
Public Types | |
enum | gattEvent_e { GATT_EVENT_DATA_SENT = 1, GATT_EVENT_DATA_WRITTEN = 2, GATT_EVENT_UPDATES_ENABLED = 3, GATT_EVENT_UPDATES_DISABLED = 4, GATT_EVENT_CONFIRMATION_RECEIVED = 5 } |
Identifies GATT events generated by the radio HW when an event callback occurs. More... | |
typedef enum GattServerEvents::gattEvent_e | gattEvent_t |
Identifies GATT events generated by the radio HW when an event callback occurs. | |
Public Member Functions | |
virtual void | onDataSent (uint16_t charHandle) |
A message was successfully transmitted. | |
virtual void | onDataWritten (uint16_t charHandle) |
The GATT client (the phone, tablet, etc.) wrote data to a characteristic or descriptor on the GATT Server (the peripheral device). | |
virtual void | onUpdatesEnabled (uint16_t charHandle) |
A Notify or Indicate flag was enabled in the CCCD. | |
virtual void | onUpdatesDisabled (uint16_t charHandle) |
A Notify or Indicate flag was disabled in the CCCD. | |
virtual void | onConfirmationReceived (uint16_t charHandle) |
A confirmation response was received from an Indicate message. |
Detailed Description
The base class used to abstract away the callback events that can be triggered with the GATT Server.
Definition at line 30 of file GattServerEvents.h.
Member Typedef Documentation
typedef enum GattServerEvents::gattEvent_e gattEvent_t |
Identifies GATT events generated by the radio HW when an event callback occurs.
Member Enumeration Documentation
enum gattEvent_e |
Identifies GATT events generated by the radio HW when an event callback occurs.
- Enumerator:
Definition at line 39 of file GattServerEvents.h.
Member Function Documentation
virtual void onConfirmationReceived | ( | uint16_t | charHandle ) | [virtual] |
A confirmation response was received from an Indicate message.
Definition at line 88 of file GattServerEvents.h.
virtual void onDataSent | ( | uint16_t | charHandle ) | [virtual] |
A message was successfully transmitted.
Definition at line 54 of file GattServerEvents.h.
virtual void onDataWritten | ( | uint16_t | charHandle ) | [virtual] |
The GATT client (the phone, tablet, etc.) wrote data to a characteristic or descriptor on the GATT Server (the peripheral device).
Definition at line 64 of file GattServerEvents.h.
virtual void onUpdatesDisabled | ( | uint16_t | charHandle ) | [virtual] |
A Notify or Indicate flag was disabled in the CCCD.
Definition at line 80 of file GattServerEvents.h.
virtual void onUpdatesEnabled | ( | uint16_t | charHandle ) | [virtual] |
A Notify or Indicate flag was enabled in the CCCD.
Definition at line 72 of file GattServerEvents.h.
Generated on Tue Jul 12 2022 16:55:09 by
![doxygen](doxygen.png)