-
Notifications
You must be signed in to change notification settings - Fork 714
Description
The example file "BLE_Notify" does not compile.
The error I get is:-
Arduino: 1.8.3 (Windows 10), Board: "ESP32 Dev Module, 80MHz, 115200, None"
In file included from C:\Users\Alan\Documents\Arduino\libraries\ESP32_BLE_Arduino-master\src/BLEDescriptor.h:16:0,
from C:\Users\Alan\Documents\Arduino\libraries\ESP32_BLE_Arduino-master\src/BLECharacteristic.h:16,
from C:\Users\Alan\Documents\Arduino\libraries\ESP32_BLE_Arduino-master\src/BLEServer.h:19,
from C:\Users\Alan\Documents\Arduino\libraries\ESP32_BLE_Arduino-master\src/BLEDevice.h:18,
from C:\Users\Alan\Documents\Arduino\libraries\ESP32_BLE_Arduino-master\examples\BLE_notify\BLE_notify.ino:21:
C:\Users\Alan\Documents\Arduino\libraries\ESP32_BLE_Arduino-master\src/FreeRTOS.h:46:3: error: 'pthread_mutex_t' does not name a type
pthread_mutex_t m_pthread_mutex;
^
In file included from C:\Users\Alan\Documents\Arduino\libraries\ESP32_BLE_Arduino-master\src/BLEDevice.h:20:0,
from C:\Users\Alan\Documents\Arduino\libraries\ESP32_BLE_Arduino-master\examples\BLE_notify\BLE_notify.ino:21:
C:\Users\Alan\Documents\Arduino\libraries\ESP32_BLE_Arduino-master\src/BLEUtils.h:50:49: error: 'esp_gattc_service_elem_t' has not been declared
static std::string gattcServiceElementToString(esp_gattc_service_elem_t *pGATTCServiceElement);
^
In file included from C:\Users\Alan\Documents\Arduino\libraries\ESP32_BLE_Arduino-master\examples\BLE_notify\BLE_notify.ino:21:0:
C:\Users\Alan\Documents\Arduino\libraries\ESP32_BLE_Arduino-master\src/BLEDevice.h:57:23: error: 'esp_power_level_t' has not been declared
static void setPower(esp_power_level_t powerLevel);
^
exit status 1
Error compiling for board ESP32 Dev Module.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I have Deleted the Library file and Downloaded the ESP32_BLE_Arduino-master.zip twice and I still get the same error.
Please Help
AlanLL