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@76:652c2be531c7, 2019-01-14 (annotated)
- Committer:
- mbed_official
- Date:
- Mon Jan 14 10:45:18 2019 +0000
- Revision:
- 76:652c2be531c7
- Parent:
- 70:5575d1bee775
- Child:
- 81:796f36bfa718
Merge pull request #208 from ARMmbed/mbed-os-5.11.0-oob
Mbed OS 5.11.0
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-ble
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 3:41f6be68aefb | 1 | { |
mbed_official | 3:41f6be68aefb | 2 | "target_overrides": { |
mbed_official | 3:41f6be68aefb | 3 | "K64F": { |
mbed_official | 3:41f6be68aefb | 4 | "target.features_add": ["BLE"], |
mbed_official | 70:5575d1bee775 | 5 | "target.extra_labels_add": ["CORDIO", "CORDIO_BLUENRG"] |
mbed_official | 3:41f6be68aefb | 6 | }, |
mbed_official | 3:41f6be68aefb | 7 | "NUCLEO_F401RE": { |
mbed_official | 3:41f6be68aefb | 8 | "target.features_add": ["BLE"], |
mbed_official | 70:5575d1bee775 | 9 | "target.extra_labels_add": ["CORDIO", "CORDIO_BLUENRG"] |
mbed_official | 39:31c398bdb3bb | 10 | }, |
mbed_official | 39:31c398bdb3bb | 11 | "DISCO_L475VG_IOT01A": { |
mbed_official | 39:31c398bdb3bb | 12 | "target.features_add": ["BLE"], |
mbed_official | 70:5575d1bee775 | 13 | "target.extra_labels_add": ["CORDIO", "CORDIO_BLUENRG"] |
mbed_official | 76:652c2be531c7 | 14 | }, |
mbed_official | 76:652c2be531c7 | 15 | "NRF52840_DK": { |
mbed_official | 76:652c2be531c7 | 16 | "target.features_add": ["BLE"], |
mbed_official | 76:652c2be531c7 | 17 | "target.extra_labels_add": ["CORDIO", "CORDIO_LL", "SOFTDEVICE_NONE", "NORDIC_CORDIO"], |
mbed_official | 76:652c2be531c7 | 18 | "target.extra_labels_remove": ["SOFTDEVICE_COMMON", "SOFTDEVICE_S140_FULL", "NORDIC_SOFTDEVICE"] |
mbed_official | 76:652c2be531c7 | 19 | }, |
mbed_official | 76:652c2be531c7 | 20 | "NRF52_DK": { |
mbed_official | 76:652c2be531c7 | 21 | "target.features_add": ["BLE"], |
mbed_official | 76:652c2be531c7 | 22 | "target.extra_labels_add": ["CORDIO", "CORDIO_LL", "SOFTDEVICE_NONE", "NORDIC_CORDIO"], |
mbed_official | 76:652c2be531c7 | 23 | "target.extra_labels_remove": ["SOFTDEVICE_COMMON", "SOFTDEVICE_S132_FULL", "NORDIC_SOFTDEVICE"] |
mbed_official | 3:41f6be68aefb | 24 | } |
mbed_official | 3:41f6be68aefb | 25 | } |
mbed_official | 3:41f6be68aefb | 26 | } |