summaryrefslogtreecommitdiff
path: root/src/BLECharacteristic.h
diff options
context:
space:
mode:
authorkolban <kolban1@kolban.com>2017-10-13 10:52:17 -0500
committerkolban <kolban1@kolban.com>2017-10-13 10:52:17 -0500
commit34902f4e7fc6926a005a5ccfd4e530d6a6321613 (patch)
tree512593068ed656012ee31fced9526bff80ecad55 /src/BLECharacteristic.h
parentMerge pull request #5 from sebastiankliem/master (diff)
downloadthermostat-34902f4e7fc6926a005a5ccfd4e530d6a6321613.tar.gz
thermostat-34902f4e7fc6926a005a5ccfd4e530d6a6321613.tar.bz2
thermostat-34902f4e7fc6926a005a5ccfd4e530d6a6321613.zip
Sync update for 0.4.3 take 2
Diffstat (limited to 'src/BLECharacteristic.h')
-rw-r--r--src/BLECharacteristic.h14
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;