patchlwIP - A Lightweight TCP/IP stack - Patches: patch #9863, mqtt: support TLS session...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #9863: mqtt: support TLS session save/restore and persistant MQTT session

Submitted by:  David GIRAULT <dgirault>
Submitted on:  Tue 15 Oct 2019 01:05:14 PM UTC  
 
Category:  apps Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Planned Release:  None

Tue 15 Oct 2019 01:05:14 PM UTC, original submission:  

-   Add persistent session support

   

    On connect, application can provide flags to start with a clean session.

   

    On CONNACK reception, forward the acknowledge information to application.

   

    Application can manage its subscribtion according of the received session persistent flag.

- Allow TLS session save and reuse for faster connection

   

    Use the new `struct altcp_tls_session` type to store TLS session information
    in application provided buffer to ease TLS session resuming in MQTT client.

-   Send ack of received message before calling client data callback

   

    This is just in case application want to disconnect mqtt client once it got its response.
    If disconnected inside this callback, ACK cannot be sent after!

-   Remove 64KB limit in ring buffer size

Depend on altcp_mbedtls patchset #9862.

David GIRAULT <dgirault>

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dgirault (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-10-15 dgirault Attached File- => Added 0001-mqtt-remove-64KB-limit-in-ring-buffer-size.patch, #47691
        Attached File- => Added 0002-mqtt-send-ack-of-received-message-before-calling-cli.patch, #47692
        Attached File- => Added 0003-mqtt-allow-TLS-session-save-and-reuse-for-faster-con.patch, #47693
        Attached File- => Added 0004-mqtt-add-persistent-session-support.patch, #47694

    Back to the top


    Powered by Savane 3.5