Skip to content

Commit 6c2e77d

Browse files
committed
0.4.11 - Fixes for privates in BLEAdvertising.h
1 parent b5d960b commit 6c2e77d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=ESP32 BLE Arduino
2-
version=0.4.10
2+
version=0.4.11
33
author=Neil Kolban <[email protected]>
44
maintainer=Neil Kolban <[email protected]>
55
sentence=BLE functions for ESP32

src/BLEAdvertising.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,12 @@ class BLEAdvertisementData {
2929
void setPartialServices(BLEUUID uuid);
3030
void setServiceData(BLEUUID uuid, std::string data);
3131
void setShortName(std::string name);
32+
void addData(std::string data); // Add data to the payload.
33+
std::string getPayload(); // Retrieve the current advert payload.
3234

3335
private:
3436
friend class BLEAdvertising;
3537
std::string m_payload; // The payload of the advertisement.
36-
37-
void addData(std::string data); // Add data to the payload.
38-
std::string getPayload(); // Retrieve the current advert payload.
3938
}; // BLEAdvertisementData
4039

4140

0 commit comments

Comments
 (0)