Closed adamaero closed 5 years ago
It tells you to install a particular version of library that I've tested and confirmed that things work. I'm sure the newer versions would be fine, but at the time of writing this sketch ArduinoJson 6 was still in beta. I'll update the sketch to remove this restriction.
All I've changed is secrets.h
. It seems there is a bunch of things in MQTT that need to be changed like various keys.
Are you on latest arduino-esp8266 core? BearSSL was introduced as default in core 2.5.0 and above.
I just pushed updates that removes the ArduinoJson requirements, now all that is required is ArduinoJson v6.7.x or higher. Everything should compile on latest core: https://travis-ci.com/debsahu/ESP-MQTT-AWS-IoT-Core. All you need to connect to AWS are the values in secrets.h.
I have Arduino IDE version 1.8.4... I put the latest Arduino core in my library folder.
No not the IDE, esp8266 arduino core >> https://github.com/esp8266/Arduino
Tools > Board > Boards Manager> Search "esp8266" > version 2.5.0 > Install/Update
Thank you very much. I had 3.4.1
I am trying to get the program to work with an esp8266 so I'm using this one: C:\Users\Adam\Documents\Arduino\ESP-MQTT-AWS-IoT-Core-master\ESP-MQTT-AWS-IoT-Core-master\Arduino\MQTT
Are there things that need to be changed in the supporting libraries? All I've changed is the secrets.h:
I don't understand why this is happening. I downloaded the JSON library: C:\Users\Adam\Documents\Arduino\libraries\ArduinoJson-6.x