Compile error (ble)

hi,
i want to compile gateway pilight + ble, pilight works fine but when i try to compile with ble or even only ble i get error :

In file included from D:\User\Desktop\omg ide\arduino-nightly\bramka\main\ZgatewayBT.ino:36:0:

D:\User\Desktop\omg ide\arduino-nightly\libraries\NimBLE-Arduino\src/FreeRTOS.h:72:31: error: ‘RingbufferType_t’ has not been declared

 Ringbuffer(size_t length, RingbufferType_t type = RINGBUF_TYPE_NOSPLIT);

                           ^

exit status 1

Error compiling for board ESP32 Dev Module.

i set wifi and mqq in user_conf
any ideas ?

Hi, I’m assuming you are using the latest master branch of ardruino-esp32. I have just pushed a fix for this at https://github.com/h2zero/NimBLE-Arduino.

1 Like

i have same problem.
Error:
In file included from C:\Users\marij\Downloads\OpenMQTTGateway-0.9.5\main\ZgatewayBT.ino:36:0:
C:\Users\marij\Documents\Arduino\libraries\NimBLE-Arduino\src/FreeRTOS.h:72:31: error: ‘RingbufferType_t’ has not been declared
Ringbuffer(size_t length, RingbufferType_t type = RINGBUF_TYPE_NOSPLIT);
^
Multiple libraries were found for “FreeRTOS.h”
Used: C:\Users\marij\Documents\Arduino\libraries\NimBLE-Arduino
Not used: C:\Users\marij\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.5\libraries\BLE
Multiple libraries were found for “WiFi.h”
Used: C:\Users\marij\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.5\libraries\WiFi
Not used: C:\Program Files (x86)\Arduino\libraries\WiFi
exit status 1
Error compiling for board ESP32 Dev Module.

Hello,

Try to use the libraries provided into the releases.

It seems that you are using Nimble arduino with a version that is not supported yet.