I am working on SIM7600 GSM module. I want to implement MQTT over this module.
But, I am not clear, How TLS will work with TCP ?
Please trying to understand my requirement,
Toradex Apalis Imx6q with Board
Mqtt Data Transfer
| Yes | No
Start Data Transfer(Give 4G access) Not give 4G access
echo -e "AT+CMQTTCONNECT=0,\"tls://xxxx.net:8883\" ,20,1 \r\n" > /dev/ttyUSB3
But, This is not the proper as per the document CMQTTCONNECT command begin with "tcp://"
But, I don't have the TCP server. And I don't know How TCP server will work with TLS
And also I attached the document for your reference.
If it possible please provide your ideas.
Thanks & Regards,
Please note that TLS is not a server it is only a layer like SSL used for security reasons (encription and signing.
I mean in both cases (with or without TLS) you connect via TCP but in case of TLS your data gets encripted.
Here is an article about TLS:
Now I am little bit clear, Before enable TLS needs to do the MQTT broker settings. But, I don't know which MQTT Broker needs to my TLS.