Anyone Knows how TLS server work with TCP

cancel
Showing results for 
Search instead for 
Did you mean: 

Anyone Knows how TLS server work with TCP

735 Views
vinothkumars
Senior Contributor III

Dear NXP,

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

                                 |

                       TLS Cloud

                                 |  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.

https://simcom.ee/documents/SIM7X00/SIM7500_SIM7600_SIM7800%20Series_MQTT_AT%20Command%20Manual_V1.0... 

If it possible please provide your ideas.

Thanks & Regards,

VinothS

Regards,
Vinothkumar Sekar
Labels (4)
0 Kudos
3 Replies

447 Views
b36401
NXP TechSupport
NXP TechSupport

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:
https://en.wikipedia.org/wiki/Transport_Layer_Security

0 Kudos

447 Views
vinothkumars
Senior Contributor III

Hi Victor,

Thank you for your reply.

Regards,

VinothS

Regards,
Vinothkumar Sekar
0 Kudos

447 Views
vinothkumars
Senior Contributor III

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.

Regards,

VinothS

Regards,
Vinothkumar Sekar
0 Kudos