I'm trying to read the raw data that my iBeacon is advertising,
When I'm scanning MyCallback:
Code: Select all
class MyAdvertisedDeviceCallbacks : public BLEAdvertisedDeviceCallbacks
{
void onResult(BLEAdvertisedDevice advertisedDevice)
{
Serial.printf("\n Advertised Device: %s \n", advertisedDevice.toString().c_str());
Serial.printf("Advertised getPayloadLength: %d \n", advertisedDevice.getPayloadLength());
}
};