ESP32_BLE_Arduino icon indicating copy to clipboard operation
ESP32_BLE_Arduino copied to clipboard

Update src/BLEAdvertisedDevice.cpp

Open dlat58 opened this issue 7 years ago • 3 comments

Changes with regards to: advertisedDevice.getName() always null #599

In parserAdvertisment added: ESP_BLE_AD_TYPE_NAME_SHORT and included scan response bytes in sizeConsumed test.

In setName force string to be recreated using .c_str() to strip any null terminators included in the advertisment.

I toString I have included rssi in the output

dlat58 avatar Oct 20 '18 20:10 dlat58

This is my first ever merge into github so please be gentle

dlat58 avatar Oct 20 '18 20:10 dlat58

I had discovered the bug that the scan response data doesn't be paresed. It's very confusing why it only pares the former 31 bytes.

0x504B0304 avatar Oct 27 '18 00:10 0x504B0304

@1807374010 I would be interested to hear how you solved the issue parsing the full scan response

dlat58 avatar Oct 28 '18 15:10 dlat58