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@2:401488de6e22, 2016-07-28 (annotated)
- Committer:
- Vincent Coubard
- Date:
- Thu Jul 28 23:32:47 2016 +0100
- Revision:
- 2:401488de6e22
- Parent:
- 1:2fd54f1254fe
- Child:
- 3:41f6be68aefb
Sync with mbed-os-5.1.0-rc3
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Vincent Coubard |
2:401488de6e22 | 1 | { |
Vincent Coubard |
2:401488de6e22 | 2 | "target_overrides": { |
Vincent Coubard |
2:401488de6e22 | 3 | "K64F": { |
Vincent Coubard |
2:401488de6e22 | 4 | "target.features_add": ["BLE"], |
Vincent Coubard |
2:401488de6e22 | 5 | "target.extra_labels_add": ["ST_BLUENRG"], |
Vincent Coubard |
2:401488de6e22 | 6 | "target.macros_add": ["IDB0XA1_D13_PATCH"] |
Vincent Coubard |
2:401488de6e22 | 7 | }, |
Vincent Coubard |
2:401488de6e22 | 8 | "NUCLEO_F401RE": { |
Vincent Coubard |
2:401488de6e22 | 9 | "target.features_add": ["BLE"], |
Vincent Coubard |
2:401488de6e22 | 10 | "target.extra_labels_add": ["ST_BLUENRG"] |
Vincent Coubard |
2:401488de6e22 | 11 | } |
Vincent Coubard |
2:401488de6e22 | 12 | } |
Vincent Coubard |
2:401488de6e22 | 13 | } |