8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c796bb commit f42b824Copy full SHA for f42b824
cpp_utils/BLEAdvertising.h
@@ -29,13 +29,12 @@ class BLEAdvertisementData {
29
void setPartialServices(BLEUUID uuid);
30
void setServiceData(BLEUUID uuid, std::string data);
31
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.
34
35
private:
36
friend class BLEAdvertising;
37
std::string m_payload; // The payload of the advertisement.
-
- void addData(std::string data); // Add data to the payload.
38
- std::string getPayload(); // Retrieve the current advert payload.
39
}; // BLEAdvertisementData
40
41
0 commit comments