aws / aws-iot-device-sdk-arduino-yun

SDK for connecting to AWS IoT from an Arduino Yún.
Apache License 2.0
163 stars 77 forks source link

Arduino Yun AWS IoT - BasicPubSub Connect Failed -10 #22

Closed joseph-lum closed 8 years ago

joseph-lum commented 8 years ago

Hi,

I tried to follow the instructions on github aws-iot-device-sdk-arduino-yun to set up my Arduino Yun using my Windows machine. Everything seems okay and I have loaded my certs into /root/AWS-IoT-Python-Runtime/certs with corresponding filenames in the aws_iot_config.h file that was uploaded to the Arduino Yun board in the BasicPubSub example. Upon opening serial monitor, the message displayed was Connect Failed! -10.

Appreciate any advice, thanks! Joseph

joseph-lum commented 8 years ago

Stupid mistake on my part, I did not activate the certificates! :'( Everything seems to be up and running! Yayy!

Also, I thought it would be useful if the list of error codes and possible errors can be documented somewhere for easier troubleshooting :)

Rgds, Joseph