I have installen AWS ioT SDK Version 2.2.0 on Arduino Yun as per instructions without any errors during the installation. I successfully uploaded example BasicPubSub, and it can successfully register, and then subscribe to "topic1" - no errors. After, it publishes the first message, it results in error -41, and the next message in error -1, as per below:
Dear liuszeng,
I have installen AWS ioT SDK Version 2.2.0 on Arduino Yun as per instructions without any errors during the installation. I successfully uploaded example BasicPubSub, and it can successfully register, and then subscribe to "topic1" - no errors. After, it publishes the first message, it results in error -41, and the next message in error -1, as per below:
_AWS IoT SDK Version(dev) 2.2.0-
Publish failed! -41 loop 0 done Publish failed! -1 loop 1 done Publish failed! -1 loop 2 done_
After that didn't work, I successfully upgraded AWSIoTPythonSDK to the latest version 1.2.0:
# pip install AWSIoTPythonSDK==1.2.0
I have uploaded BasicPubSub sketch again, and this time it couldn't even pass the setup:
_AWS IoT SDK Version(dev) 2.2.0-
Setup failed! -1_
Could you please provide some guidance on how to solve this?
Regards, Dennis