- class MyAdvertisedDeviceCallbacks : public BLEAdvertisedDeviceCallbacks
- {
- void onResult(BLEAdvertisedDevice advertisedDevice)
- {
- printf("Name %s, Address %s, RSSI %d\n", advertisedDevice.getName().c_str(), advertisedDevice.getAddress().toString().c_str(), advertisedDevice.getRSSI());
- //data = json.createNestedArray("dat");
- }
- };
BLEScan not returning beacon name.
BLEScan not returning beacon name.
Re: BLEScan not returning beacon name.
I suspect that I am facing the same problem. I am using SampleAsyncScan.cpp by nkolban, and the scan only returns BLE module information in the first scan, and not subsequent ones.
Issue mentioned here: https://github.com/nkolban/esp32-snippe ... -521498490
Issue mentioned here: https://github.com/nkolban/esp32-snippe ... -521498490
Who is online
Users browsing this forum: No registered users and 8 guests