diff options
author | Neil Kolban <kolban1@kolban.com> | 2018-04-06 15:11:23 -0500 |
---|---|---|
committer | Neil Kolban <kolban1@kolban.com> | 2018-04-06 15:11:23 -0500 |
commit | 6c2e77d5a648fdd16f5bba07966fed540c66e5f3 (patch) | |
tree | cbe80c390d5489faef9bcad538198f3bb242e8b9 | |
parent | Commit for 0.4.10 (diff) | |
download | thermostat-6c2e77d5a648fdd16f5bba07966fed540c66e5f3.tar.gz thermostat-6c2e77d5a648fdd16f5bba07966fed540c66e5f3.tar.bz2 thermostat-6c2e77d5a648fdd16f5bba07966fed540c66e5f3.zip |
0.4.11 - Fixes for privates in BLEAdvertising.h
-rw-r--r-- | library.properties | 2 | ||||
-rw-r--r-- | src/BLEAdvertising.h | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/library.properties b/library.properties index bd9e0f1..c077ea2 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=ESP32 BLE Arduino -version=0.4.10 +version=0.4.11 author=Neil Kolban <kolban1@kolban.com> maintainer=Neil Kolban <kolban1@kolban.com> sentence=BLE functions for ESP32 diff --git a/src/BLEAdvertising.h b/src/BLEAdvertising.h index d1fa3c7..e316529 100644 --- a/src/BLEAdvertising.h +++ b/src/BLEAdvertising.h @@ -29,13 +29,12 @@ public: void setPartialServices(BLEUUID uuid); void setServiceData(BLEUUID uuid, std::string data); void setShortName(std::string name); + void addData(std::string data); // Add data to the payload. + std::string getPayload(); // Retrieve the current advert payload. private: friend class BLEAdvertising; std::string m_payload; // The payload of the advertisement. - - void addData(std::string data); // Add data to the payload. - std::string getPayload(); // Retrieve the current advert payload. }; // BLEAdvertisementData |