mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-13 15:36:51 +01:00
Fix handling PUBREC message received from client
Signed-off-by: Mariusz Suchora <mariusz.suchora@tieto.com>
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Tomoaki Yamaguchi - initial API and implementation and/or initial documentation
|
* Tomoaki Yamaguchi - initial API and implementation and/or initial documentation
|
||||||
|
* Tieto Poland Sp. z o.o. - Gateway improvements
|
||||||
**************************************************************************************/
|
**************************************************************************************/
|
||||||
|
|
||||||
#include "MQTTSNGWDefines.h"
|
#include "MQTTSNGWDefines.h"
|
||||||
@@ -155,6 +156,7 @@ void PacketHandleTask::run()
|
|||||||
case MQTTSN_PUBACK:
|
case MQTTSN_PUBACK:
|
||||||
_mqttsnPublish->handlePuback(client, snPacket);
|
_mqttsnPublish->handlePuback(client, snPacket);
|
||||||
break;
|
break;
|
||||||
|
case MQTTSN_PUBREC:
|
||||||
_mqttsnPublish->handleAck(client, snPacket, PUBREC);
|
_mqttsnPublish->handleAck(client, snPacket, PUBREC);
|
||||||
break;
|
break;
|
||||||
case MQTTSN_PUBREL:
|
case MQTTSN_PUBREL:
|
||||||
|
|||||||
Reference in New Issue
Block a user