Skip to content

Commit

Permalink
MQTTv5
Browse files Browse the repository at this point in the history
  • Loading branch information
Pooja-Toshniwal committed Jul 19, 2024
1 parent b2e91fa commit a0dc920
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions source/core_mqtt.c
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ static bool matchTopicFilter( const char * pTopicName,
* @brief Send acks for received QoS 1/2 publishes with properties.
*
* @param[in] pContext MQTT Connection context.
* @param[in] pAckInfo Reason code and properties.
* @param[in] pDisconnectInfo Reason code and properties.
* @param[in] remainingLength Remaining length of the packet.
* @param[in] sessionExpiry Session expiry interval.
*
Expand All @@ -828,7 +828,7 @@ static bool matchTopicFilter( const char * pTopicName,
*/

static MQTTStatus_t sendDisconnectWithoutCopyV5( MQTTContext_t * pContext,
const MQTTAckInfo_t * pAckInfo,
const MQTTAckInfo_t * pDisconnectInfo,
size_t remainingLength,
uint32_t sessionExpiry );

Expand Down
2 changes: 1 addition & 1 deletion source/core_mqtt_serializer.c
Original file line number Diff line number Diff line change
Expand Up @@ -5968,7 +5968,7 @@ MQTTStatus_t MQTT_ProcessIncomingPacketTypeAndLength( const uint8_t * pBuffer,
uint32_t maxPacketSize )
{
MQTTStatus_t status = MQTTSuccess;
const uint8_t * pIndex;
const uint8_t * pIndex = NULL;
size_t propertyLength = 0U;

/*Validate the arguments*/
Expand Down

0 comments on commit a0dc920

Please sign in to comment.