File tree 2 files changed +4
-3
lines changed 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 23
23
#include < BLEUtils.h>
24
24
#include < BLE2902.h>
25
25
26
- BLEServer *pServer = NULL ;
26
+ BLEServer* pServer = NULL ;
27
+ BLECharacteristic* pCharacteristic = NULL ;
27
28
bool deviceConnected = false ;
28
29
bool oldDeviceConnected = false ;
29
30
uint8_t value = 0 ;
@@ -61,7 +62,7 @@ void setup() {
61
62
BLEService *pService = pServer->createService (SERVICE_UUID);
62
63
63
64
// Create a BLE Characteristic
64
- BLECharacteristic * pCharacteristic = pService->createCharacteristic (
65
+ pCharacteristic = pService->createCharacteristic (
65
66
CHARACTERISTIC_UUID,
66
67
BLECharacteristic::PROPERTY_READ |
67
68
BLECharacteristic::PROPERTY_WRITE |
Original file line number Diff line number Diff line change 1
1
name =ESP32 BLE Arduino
2
- version =0.4.11
2
+ version =0.4.12
3
3
author =Neil Kolban <
[email protected] >
4
4
maintainer =Neil Kolban <
[email protected] >
5
5
sentence =BLE functions for ESP32
You can’t perform that action at this time.
0 commit comments