LWIP MQTT + TLS + Free Rtos reference code

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LWIP MQTT + TLS + Free Rtos reference code

3,504 Views
vasudhevan
Contributor V

Hi,

     Board = imxrt1064 evk board.

     I have implemented mqtt with free rtos code working fine.

     We want to add TLS option nxp side any reference design is available ?

     Can we get any suggestion how to implement mqtt with tls ?

Thanks & Regards,

      Vasu 

Labels (1)
0 Kudos
9 Replies

3,358 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Vasu,

Thank you for your interest in NXP Semiconductor products and
for the opportunity to serve you.
To provide the fastest possible support, I'd highly recommend you refer to the mbedtls_examples in the SDK library for details.

Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

3,358 Views
vasudhevan
Contributor V

Hi jeremyzhou‌,

        Thank you for your reply.

        I have already refereed evkmimxrt1060_lwip_httpscli_mbedTLS_freertos code it was working fine.

        But we used evkmimxrt1064_lwip_mqtt_freertos example code for our project.

        evkmimxrt1064_lwip_mqtt_freertos this mqtt library supports TLS ?

        Otherwise i have to start own mqtt stack TCP + MQTT + TLS ?

Thanks & Regards,

     Vasu

0 Kudos

3,358 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Vasu,

Thanks for your reply.
1) evkmimxrt1064_lwip_mqtt_freertos this MQTT library supports TLS ?
-- Yes, and the tutorial: Tutorial: Secure TLS Communication with MQTT using mbedTLS on top of lwip | MCU on Eclipse shows how to implement Secure TLS communication via using mbedTLS, please refer to it for details.

Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

3,358 Views
vasudhevan
Contributor V

Hi jeremyzhou‌,

       Sorry for the late reply,

       This code based on raw api but we are using freertos.

        Any freertos based example code is available ?

Thanks & Regards,

        Vasu      

0 Kudos

3,358 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Vasu,

Thanks for your reply.
1) Any Freertos based example code is available?
-- Unfortunately, there's no similar demo code.

Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

3,358 Views
vasudhevan
Contributor V

Hi jeremyzhou‌,

       Thank you for your reply.

       We will try to implement our side.

Thanks & Regards,

      Vasu

0 Kudos

3,022 Views
vasudhevan
Contributor V

Hi jeremyzhou‌,

As suggested, we implemented the TLS in our application. Still we are unable to connect to broker with certificate.

once after handshake, its reading protocol version as SSL 3.0. 

Can somebody help on solving this, if required we will share the workspace or wire shark packet.

Thanks & Regards,

 Vasu

Tags (1)
0 Kudos

2,999 Views
vasudhevan
Contributor V

Hi jeremyzhou‌,

Any update on this issue.

0 Kudos

2,937 Views
vasudhevan
Contributor V

Hi jeremyzhou‌,

Any update on this issue.

0 Kudos