diff options
Diffstat (limited to 'src/BLECharacteristic.h')
-rw-r--r-- | src/BLECharacteristic.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/BLECharacteristic.h b/src/BLECharacteristic.h index b39c022..24977c0 100644 --- a/src/BLECharacteristic.h +++ b/src/BLECharacteristic.h @@ -29,16 +29,16 @@ public: void setByUUID(const char* uuid, BLEDescriptor *pDescriptor); void setByUUID(BLEUUID uuid, BLEDescriptor *pDescriptor); void setByHandle(uint16_t handle, BLEDescriptor *pDescriptor); - BLEDescriptor *getByUUID(const char* uuid); - BLEDescriptor *getByUUID(BLEUUID uuid); - BLEDescriptor *getByHandle(uint16_t handle); - std::string toString(); + BLEDescriptor* getByUUID(const char* uuid); + BLEDescriptor* getByUUID(BLEUUID uuid); + BLEDescriptor* getByHandle(uint16_t handle); + std::string toString(); void handleGATTServerEvent( esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, - esp_ble_gatts_cb_param_t *param); - BLEDescriptor *getFirst(); - BLEDescriptor *getNext(); + esp_ble_gatts_cb_param_t* param); + BLEDescriptor* getFirst(); + BLEDescriptor* getNext(); private: std::map<std::string, BLEDescriptor *> m_uuidMap; std::map<uint16_t, BLEDescriptor *> m_handleMap; |