Hi Devzone!
I'm using 'nRF52840' as an edge device, and this device is going to continuously check the surrounding environment and send the value to mqtt broker of aws through lte modem. Every task is complete without lte connection and now I have a problem trying to open web sockets using at command to connect to mqtt broker.
First of all, the modem which I use is called 'lm5' of 'm2net' company. This model supports at command and allows tcp connection via web socket. But what I can use as a parameter is ip address and port, and I don't know what to write in this ip address. All I know is that mqtt's endpoint URL address and tcp port '443'.
Secondly, if the lte modem is connected to the mqtt server via webSockets, how should the device subscribe to and publish a specific topic? Is there any good example of or relating to library?
Finally, I want to know about the whole system. Does this mean that the device requires a library that subscribes to and publish the topic for mqtt with authentication, and also requires a web socket connection with the aws mqtt broker on the lte modem? Or is it not necessary to set up separately on the modem because end points and ports are defined in the device library?
Thank you for reading the long article.
Best regards,
Baek