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

MQTT - handling re-sends when a session is reestablished. #980

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions libraries/standard/mqtt/include/mqtt_state.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@

#define MQTT_STATE_CURSOR_INITIALIZER ( size_t ) 0

/**
* @brief Invalid packet identifier.
*
* Zero is an invalid packet identifier as per MQTT v3.1.1 spec.
*/
#define MQTT_PACKET_ID_INVALID ( ( uint16_t ) 0U )
leegeth marked this conversation as resolved.
Show resolved Hide resolved

/**
* @brief Value indicating either send or receive.
*/
Expand Down
Loading