minor update
This commit is contained in:
1 parent
9c7870580c
commit
6c8cf3d29a
4 files changed
+12
-1
No files matched your search
@@ -62,6 +62,7 @@ uint32_t setLoopStacksize(void);
|
||||
#include "binary.h"
|
||||
#include "debug.h"
|
||||
#include "common_inc.h"
|
||||
#include "utility/utilities.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#include "Uart.h"
|
||||
|
||||
@@ -30,7 +30,7 @@ void setup()
|
||||
|
||||
// Enable both peripheral and central
|
||||
Bluefruit.begin(true, true);
|
||||
Bluefruit.setName("Bluefruit52");
|
||||
Bluefruit.setName("Bluefruit52 Central");
|
||||
|
||||
// Configure DIS client
|
||||
clientDis.begin();
|
||||
|
||||
@@ -37,6 +37,7 @@ void setup()
|
||||
|
||||
Bluefruit.begin();
|
||||
Bluefruit.setName("Bluefruit52");
|
||||
//Bluefruit.setName(getMcuUniqueID()); // useful testing with multiple central connections
|
||||
Bluefruit.setConnectCallback(connect_callback);
|
||||
Bluefruit.setDisconnectCallback(disconnect_callback);
|
||||
|
||||
|
||||
@@ -337,6 +337,15 @@ LED_BLUE LITERAL1
|
||||
LED_BUILTIN LITERAL1
|
||||
LED_CONN LITERAL1
|
||||
|
||||
#######################################
|
||||
# BLE Constants (LITERAL1)
|
||||
#######################################
|
||||
BLE_MAX_CONN LITERAL1
|
||||
BLE_CENTRAL_MAX_CONN LITERAL1
|
||||
BLE_PRPH_MAX_CONN LITERAL1
|
||||
|
||||
BLE_CONN_HANDLE_INVALID LITERAL1
|
||||
|
||||
|
||||
#######################################
|
||||
# Characteristic Constants (LITERAL1)
|
||||
|
||||
Reference in new issue
Block a user