URI-Beacons are handy when there is a need to advertise a small amount of information (usually a URL) to any nearby device. They’re really easy to set up: the code is fully available on the mbed website, so all you’ll need to do is tell the beacon what to broadcast. The canonical source for this example lives at https://github.com/ARMmbed/mbed-os-example-ble/tree/master/BLE_URIBeacon

Auto generated API documentation and code listings for mbed-os-example-ble-URIBeacon

Code

ConfigParamsPersistence.h [code]
main.cpp [code]
nrfConfigParamsPersistence.cpp [code]