Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add persistent storage for MQTT state #311

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Oct 31, 2024

  1. Add persistent storage for MQTT state

    Related to FreeRTOS#271
    
    Add support for storing and restoring MQTT state in persistent memory to handle QoS2 messages after a device reboot.
    
    * Add function prototypes for `MQTT_SetOutgoingPublishRecord`, `MQTT_GetOutgoingPublishRecord`, and `MQTT_GetFailedPacketId` in `source/include/core_mqtt_state.h`.
    * Implement `MQTT_SetOutgoingPublishRecord`, `MQTT_GetOutgoingPublishRecord`, and `MQTT_GetFailedPacketId` functions in `source/core_mqtt_state.c`.
    * Update `README.md` to include instructions on using the new setter and getter functions.
    * Add unit tests for `MQTT_SetOutgoingPublishRecord`, `MQTT_GetOutgoingPublishRecord`, and `MQTT_GetFailedPacketId` functions in `test/unit-test/core_mqtt_state_utest.c`.
    vishwamartur committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    9fc24c4 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2024

  1. Configuration menu
    Copy the full SHA
    21b3dca View commit details
    Browse the repository at this point in the history