Skip to content

Query - now that the BLE library is NimBLE, is there a plan to support getting the included beacon specifics from the manufacturerdata? #766

@DigiH

Description

@DigiH

Just played around a bit with the example code at

.pio/libdeps/esp32dev-ble-ha/NimBLE-Arduino/examples/BLE_Beacon_Scanner/BLE_Beacon_Scanner.ino

and copied the iBeacon relevant part and includes to ZgatewayBT.ino, converting the Serial.printf only info there to

BLEdata.set("ID:" , oBeacon.getManufacturerId());
BLEdata.set("Major:" , ENDIAN_CHANGE_U16(oBeacon.getMajor()));
BLEdata.set("Minor:" , ENDIAN_CHANGE_U16(oBeacon.getMinor()));
BLEdata.set("UUID:" , oBeacon.getProximityUUID().toString().c_str());
BLEdata.set("Power:" , oBeacon.getSignalPower());

to get more informative info for my iBeacons.

Just wondering if this now existing NimBLE possiblity might be included in the future, for iBeacons and Eddystone beacons?

Not too sure though, how relevant this is to how many poeple.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions