This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Send data to AWS IoT Broker using openthread MQTT-SN publisher

Hello Developer's, 

I have an application developed using openthread mqtt-sn sample example and it works fine. But as we know mqtt-sn is based on UDP so we can't directly communicate with AWS IoT Broker. So there is mqtt-sn gateway setup running on my border router to translate the mqtt-sn packet to MQTT packets and I am able to forward data to public broker eg Eclipse IoT broker.

But I would like to know how could I forward the data to AWS cloud instead of public broker. I know that I have to enable authentication on in mqtt-sn gateway configuration file and than provide certificate for AWS TLS connection. 

But how can I add my mqtt-sn based thread devices ? As I don't see any parameters in the the example file passing private key or root certificate needed for secure connection.

So can anyone please guide me please how can I achieve this ?

Related