A nice BLE demo program which allows remote switch of an LED via GATT interface.

Dependencies:   BLE_API mbed nRF51822

Fork of BLE_Button by Bluetooth Low Energy

Committer:
hux
Date:
Sat Oct 21 19:56:15 2017 +0000
Revision:
13:0563f1aa6a75
Parent:
12:0d0ca44397dd
Switch LED via BLE GATT

Who changed what in which revision?

UserRevisionLine numberNew contents of line
hux 12:0d0ca44397dd 1 // characteristic.cpp - an easy to use overloaded characteristic class
hux 12:0d0ca44397dd 2
hux 12:0d0ca44397dd 3 #include "bricks/characteristic.h"
hux 12:0d0ca44397dd 4
hux 12:0d0ca44397dd 5 IniBuffer characteristicInidata; // to initialize a characteristic
hux 12:0d0ca44397dd 6
hux 12:0d0ca44397dd 7 // eof