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

Submitter:  David GIRAULT <dgirault>
Submitted:  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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

 

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    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.13-f8d8.
    Corresponding source code