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

Committer:
YJKIYOKAWA
Date:
Thu Mar 19 00:25:22 2020 +0000
Revision:
82:7f3513808f75
Parent:
81:796f36bfa718
delta beacon

Who changed what in which revision?

UserRevisionLine numberNew 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 81:796f36bfa718 16 "target.features_add": ["BLE"]
mbed_official 76:652c2be531c7 17 },
mbed_official 76:652c2be531c7 18 "NRF52_DK": {
mbed_official 81:796f36bfa718 19 "target.features_add": ["BLE"]
mbed_official 3:41f6be68aefb 20 }
mbed_official 3:41f6be68aefb 21 }
mbed_official 3:41f6be68aefb 22 }