Hello Reiko,
Glad to hear you're trying out AWS IoT with the Yún. I encourage you to check out the AWS supported Yún SDK here:
It is the goal of this SDK to allow developers to target AWS IoT using the Arduino IDE and do minimal setup on the AR9331 processor / OpenWRT OS. To accomplish this the SDK creates a python process on the linux processor which uses the Paho python MQTT
client and communicates with the user's Arduino sketch using the serial bridge. Documentation in the repo above gives a good description of this architecture. One of the packages installed by the setup script is python-openssl which enables the TLS connection
to the service. This SDK also includes the source for the python runtime so you could take a look at that if you'd like to connect using your own python program on the AR9331.
Best regards,
John
SDE, AWS IoT
a questions to amazon AWS IoT Paho Implementation.
AWS IoT needs TLS V1.2.
But what is the difference to Arduino YUN Implementation in C++ and the other way in Python?
At YUN runs only Python 2.7.3 without TLS V1.2 support. :-(
With Python 3.5 and "import paho.mqtt.client as mqtt" i can connect and subscribed AWS IoT.
Whats the trick and other side of “AWS IoT Arduino YUN Paho C++ Implementation” that could connect with TLS V1.2?
Reiko