ESP32 Arduino BLE
Posted: Tue Oct 31, 2017 2:24 am
Hi,
I'm trying to compile the ESP32 Arduino BLE examples from https://github.com/nkolban/ESP32_BLE_Ar ... r/examples. Unfortunately, none of them build for me. I'm using the ESP32 Node32s module with the latest Arduino build 1.8.5. Here is the compiler output with the error "BLE_Notify:53: error: 'createServer' is not a member of 'BLEDevice'" when trying to compile the BLE_Notify sketch. What am I doing wrong?
I'm trying to compile the ESP32 Arduino BLE examples from https://github.com/nkolban/ESP32_BLE_Ar ... r/examples. Unfortunately, none of them build for me. I'm using the ESP32 Node32s module with the latest Arduino build 1.8.5. Here is the compiler output with the error "BLE_Notify:53: error: 'createServer' is not a member of 'BLEDevice'" when trying to compile the BLE_Notify sketch. What am I doing wrong?
Code: Select all
Arduino: 1.8.5 (Mac OS X), Board: "Node32s, 80MHz, 921600"
/Users/cranshark/Documents/Arduino/ESP32/BLE_Notify/BLE_Notify.ino: In function 'void setup()':
BLE_Notify:53: error: 'createServer' is not a member of 'BLEDevice'
BLEServer *pServer = BLEDevice::createServer();
^
Multiple libraries were found for "BLEDevice.h"
Used: /Users/cranshark/Documents/Arduino/libraries/ESP32_BLE_Arduino
Not used: /Users/cranshark/Documents/Arduino/hardware/espressif/esp32/libraries/BLE
Not used: /Users/cranshark/Documents/Arduino/hardware/espressif/esp32/libraries/BLE
Not used: /Users/cranshark/Documents/Arduino/hardware/espressif/esp32/libraries/BLE
Not used: /Users/cranshark/Documents/Arduino/hardware/espressif/esp32/libraries/BLE
Using library ESP32_BLE_Arduino at version 0.4.2 in folder: /Users/cranshark/Documents/Arduino/libraries/ESP32_BLE_Arduino
exit status 1
'createServer' is not a member of 'BLEDevice'