correct version of BLE libraries
last working version of this library with the ESP32 env revision pointed in the wiki
This commit is contained in:
1 parent
9dd7b97b11
commit
b602e406ef
23 files changed
+72
-461
No files matched your search
@@ -234,7 +234,6 @@ void BLEAdvertisedDevice::parseAdvertisement(uint8_t* payload) {
|
||||
uint8_t ad_type;
|
||||
uint8_t sizeConsumed = 0;
|
||||
bool finished = false;
|
||||
setPayload(payload);
|
||||
|
||||
while(!finished) {
|
||||
length = *payload; // Retrieve the length of the record.
|
||||
@@ -507,13 +506,7 @@ std::string BLEAdvertisedDevice::toString() {
|
||||
return ss.str();
|
||||
} // toString
|
||||
|
||||
uint8_t* BLEAdvertisedDevice::getPayload() {
|
||||
return m_payload;
|
||||
}
|
||||
|
||||
void BLEAdvertisedDevice::setPayload(uint8_t* payload) {
|
||||
m_payload = payload;
|
||||
}
|
||||
|
||||
|
||||
#endif /* CONFIG_BT_ENABLED */
|
||||
|
||||
Reference in new issue
Block a user