最新revisionだとなんかerrorになるので、暫定的に rev 111にrevert。ごめんなさい。こういうときどういうふうにcommitすればいいのか分からなかったので。
Fork of BLE_API 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>
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 40 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 92 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 65 of file GattServerEvents.h.
virtual void onUpdatesDisabled | ( | uint16_t | charHandle ) | [virtual] |
A Notify or Indicate flag was disabled in the CCCD.
Definition at line 83 of file GattServerEvents.h.
virtual void onUpdatesEnabled | ( | uint16_t | charHandle ) | [virtual] |
A Notify or Indicate flag was enabled in the CCCD.
Definition at line 74 of file GattServerEvents.h.
Generated on Tue Jul 12 2022 20:47:07 by 1.7.2