BLE 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-Button/

Please read the documentation in this page.

Committer:
mbed_official
Date:
Tue Aug 02 09:45:20 2016 +0100
Revision:
5:b630d2a88c51
Parent:
3:6f18b8269d65
Child:
34:595f8acac1e8
Merge pull request #14 from ARMmbed/add_button_configuration

Add button configuration for BLE_Button application.

Commit copied from https://github.com/ARMmbed/mbed-os-example-ble

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 3:6f18b8269d65 1 {
mbed_official 5:b630d2a88c51 2 "config": {
mbed_official 5:b630d2a88c51 3 "ble_button_pin_name": {
mbed_official 5:b630d2a88c51 4 "help": "The pin name used as button in this application",
mbed_official 5:b630d2a88c51 5 "macro_name": "BLE_BUTTON_PIN_NAME",
mbed_official 5:b630d2a88c51 6 "required": true
mbed_official 5:b630d2a88c51 7 }
mbed_official 5:b630d2a88c51 8 },
mbed_official 3:6f18b8269d65 9 "target_overrides": {
mbed_official 5:b630d2a88c51 10 "NRF51_DK": {
mbed_official 5:b630d2a88c51 11 "ble_button_pin_name": "BUTTON1"
mbed_official 5:b630d2a88c51 12 },
mbed_official 5:b630d2a88c51 13 "NRF52_DK": {
mbed_official 5:b630d2a88c51 14 "ble_button_pin_name": "BUTTON1"
mbed_official 5:b630d2a88c51 15 },
mbed_official 3:6f18b8269d65 16 "K64F": {
mbed_official 3:6f18b8269d65 17 "target.features_add": ["BLE"],
mbed_official 3:6f18b8269d65 18 "target.extra_labels_add": ["ST_BLUENRG"],
mbed_official 5:b630d2a88c51 19 "target.macros_add": ["IDB0XA1_D13_PATCH"],
mbed_official 5:b630d2a88c51 20 "ble_button_pin_name": "SW2"
mbed_official 3:6f18b8269d65 21 },
mbed_official 3:6f18b8269d65 22 "NUCLEO_F401RE": {
mbed_official 3:6f18b8269d65 23 "target.features_add": ["BLE"],
mbed_official 5:b630d2a88c51 24 "target.extra_labels_add": ["ST_BLUENRG"],
mbed_official 5:b630d2a88c51 25 "ble_button_pin_name": "USER_BUTTON"
mbed_official 3:6f18b8269d65 26 }
mbed_official 3:6f18b8269d65 27 }
mbed_official 3:6f18b8269d65 28 }