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
mbed_app.json
- Committer:
- YJKIYOKAWA
- Date:
- 2020-03-19
- Revision:
- 82:7f3513808f75
- Parent:
- 81:796f36bfa718
File content as of revision 82:7f3513808f75:
{ "target_overrides": { "K64F": { "target.features_add": ["BLE"], "target.extra_labels_add": ["CORDIO", "CORDIO_BLUENRG"] }, "NUCLEO_F401RE": { "target.features_add": ["BLE"], "target.extra_labels_add": ["CORDIO", "CORDIO_BLUENRG"] }, "DISCO_L475VG_IOT01A": { "target.features_add": ["BLE"], "target.extra_labels_add": ["CORDIO", "CORDIO_BLUENRG"] }, "NRF52840_DK": { "target.features_add": ["BLE"] }, "NRF52_DK": { "target.features_add": ["BLE"] } } }