I have an XDK110 and I'd like to connect it to AWS IoT Core through MQTT. I am using the template AwsSendDataOverMQTT but I'm having an error since weeks and I can't resolve it. I first followed this link this link but I had an error. Then, I have looked everywhere and I tried many things but still getting the error.
To connect to AWS IoT Core, I need certificates that I downloaded as shown in the previous link. I transformed them in der format, using the command lines:
openssl x509 -outform der -in rootCA.pem -out RootCA.der
openssl rsa -outform der -in xdk-priv.pem.key -out xdk-priv.der
And then I stored them in an SD card. I configured the connection to Wi-Fi and the MQTT connection:
But, when I'm trying, I always havean error while trying to connect to the broker:
I know this error is a failed connection to MQTT (I saw it in XdkComminInfo.h file with error cod 128), but I really don't understand how to fix this problem and I really need to use it. If you have any idea, it would be great!
Thank you for your time and help,
You can find your client id from first section of your AWS broker url.
Thank You 🙂