BLE GAP Button example
This example is a fork of the following mbed-os example:
https://developer.mbed.org/teams/mbed-os-examples/code/mbed-os-example-ble-GAPButton/
Please read the documentation in this page.
mbed_app.json@41:0442d1e1f479, 2017-07-27 (annotated)
- Committer:
- bcostm
- Date:
- Thu Jul 27 14:41:19 2017 +0200
- Revision:
- 41:0442d1e1f479
- Parent:
- 34:c99398622773
Add DISCO_L475VG_IOT01A in mbed_app.json
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 3:f0ed4199b362 | 1 | { |
mbed_official | 6:bfe23efb0d97 | 2 | "config": { |
mbed_official | 6:bfe23efb0d97 | 3 | "ble_button_pin_name": { |
mbed_official | 6:bfe23efb0d97 | 4 | "help": "The pin name used as button in this application", |
mbed_official | 6:bfe23efb0d97 | 5 | "macro_name": "BLE_BUTTON_PIN_NAME", |
mbed_official | 6:bfe23efb0d97 | 6 | "required": true |
mbed_official | 6:bfe23efb0d97 | 7 | } |
mbed_official | 6:bfe23efb0d97 | 8 | }, |
mbed_official | 3:f0ed4199b362 | 9 | "target_overrides": { |
mbed_official | 6:bfe23efb0d97 | 10 | "NRF51_DK": { |
mbed_official | 6:bfe23efb0d97 | 11 | "ble_button_pin_name": "BUTTON1" |
mbed_official | 6:bfe23efb0d97 | 12 | }, |
mbed_official | 6:bfe23efb0d97 | 13 | "NRF52_DK": { |
mbed_official | 6:bfe23efb0d97 | 14 | "ble_button_pin_name": "BUTTON1" |
mbed_official | 6:bfe23efb0d97 | 15 | }, |
mbed_official | 3:f0ed4199b362 | 16 | "K64F": { |
mbed_official | 3:f0ed4199b362 | 17 | "target.features_add": ["BLE"], |
mbed_official | 3:f0ed4199b362 | 18 | "target.extra_labels_add": ["ST_BLUENRG"], |
mbed_official | 6:bfe23efb0d97 | 19 | "ble_button_pin_name": "SW2" |
mbed_official | 3:f0ed4199b362 | 20 | }, |
mbed_official | 3:f0ed4199b362 | 21 | "NUCLEO_F401RE": { |
mbed_official | 3:f0ed4199b362 | 22 | "target.features_add": ["BLE"], |
mbed_official | 6:bfe23efb0d97 | 23 | "target.extra_labels_add": ["ST_BLUENRG"], |
mbed_official | 6:bfe23efb0d97 | 24 | "ble_button_pin_name": "USER_BUTTON" |
bcostm | 41:0442d1e1f479 | 25 | }, |
bcostm | 41:0442d1e1f479 | 26 | "DISCO_L475VG_IOT01A": { |
bcostm | 41:0442d1e1f479 | 27 | "target.features_add": ["BLE"], |
bcostm | 41:0442d1e1f479 | 28 | "target.extra_labels_add": ["ST_BLUENRG"], |
bcostm | 41:0442d1e1f479 | 29 | "ble_button_pin_name": "USER_BUTTON" |
mbed_official | 3:f0ed4199b362 | 30 | } |
mbed_official | 3:f0ed4199b362 | 31 | } |
mbed_official | 3:f0ed4199b362 | 32 | } |