1mckenna / esp32_iGrill

ESP32 iGrill BLE Client
MIT License
46 stars 14 forks source link

Bluetooth Error #33

Closed donoghdb closed 1 year ago

donoghdb commented 1 year ago
Screenshot 2023-08-04 at 15 56 45

I get the following error when the ESP32 connects to my IGrill 3.

Any idea what is causing it?

Thank you

1mckenna commented 1 year ago

Which version of the esp32 board library are you using? There are issues with versions > 2.0.4 .

donoghdb commented 1 year ago

I will need to check. What version do you recommend?

1mckenna commented 1 year ago

Try version 2.0.4

donoghdb commented 1 year ago

My arduino IDE's wont compile this as i get the follow error ('BLEUUID' does not name a type; did you mean 'BLUE_LED') so I use PlatformIO.

The libraries I installed are below and the framework is 2.0.4 as shown below and the issue is still there.

`CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html PLATFORM: Espressif 32 (5.1.0) > Espressif ESP32 Dev Module HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa) PACKAGES:

I tried the latest version 2.0.9 and the issue is still there.

1mckenna commented 1 year ago

I haven't used PlatformIO so I am not familiar with it's setup, but that error likely means that its not finding the BLEDevice.h file that's a part of the esp32 board library.

donoghdb commented 1 year ago

Any idea to get rid of this compile error on Arduino IDE 'BLEUUID' does not name a type; did you mean 'BLUE_LED'? I can try the IDE then to see if the error persists?

1mckenna commented 1 year ago

Have you followed the setup steps here?

donoghdb commented 1 year ago

@1mckenna I figured out the issue, I had multiple BLEDevice.h libraries and it was taking the wrong one. I had to delete the other library.