add GAP getAddr and setAddr

add Bluefruit.printInfo()
This commit is contained in:
hathach committed 2017-07-18 14:26:22 +07:00
1 parent 27ef26024b
commit 673f1821ac
9 files changed
+133 -6

No files matched your search

@@ -14,8 +14,9 @@
#include <bluefruit.h>
/* For a list of EIR data types see: https://www.bluetooth.com/specifications/assigned-numbers/generic-access-profile */
/* Matching enum: cores/nRF5/SDK/components/softdevice/s132/headers/ble_gap.h */
/* For a list of EIR data types see:
* https://www.bluetooth.com/specifications/assigned-numbers/generic-access-profile
* Matching enum: cores/nRF5/SDK/components/softdevice/s132/headers/ble_gap.h */
void setup()
{
@@ -25,6 +25,7 @@ void setup()
{
Serial.begin(115200);
Serial.println("Bluefruit52 BLEUART Example");
Serial.println("---------------------------\n");
// Initialize blinkTimer for 1000 ms and start it
blinkTimer.begin(1000, blink_timer_callback);