This example creates a BLE beacon: a method of advertising a small amount of information to nearby devices. The information doesn't have to be human-readable; it can be in a format that only an application can use. Beacons are very easy to set up: the code for all beacons is the same, and only the information you want to advertise - the beacon payload - needs to change. he canonical source for this example lives at https://github.com/ARMmbed/mbed-os-example-ble/tree/master/BLE_Beacon

Download repository: zip gz

Files at revision 82:7f3513808f75

Name Size Actions
[up]
main.cpp 7056 Revisions Annotate
pretty_printer.h 3365 Revisions Annotate