mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-16 17:06:51 +01:00
Update: Add Aggregate Gateway functions. #127
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
@@ -52,7 +52,7 @@ void WirelessNodeId::setId(uint8_t* id, uint8_t len)
|
||||
}
|
||||
else
|
||||
{
|
||||
_nodeId = 0;
|
||||
_nodeId = nullptr;
|
||||
_len = 0;
|
||||
}
|
||||
}
|
||||
@@ -123,7 +123,7 @@ int MQTTSNGWEncapsulatedPacket::desirialize(unsigned char* buf, unsigned short l
|
||||
if ( _mqttsn )
|
||||
{
|
||||
delete _mqttsn;
|
||||
_mqttsn = 0;
|
||||
_mqttsn = nullptr;
|
||||
}
|
||||
|
||||
_ctrl = buf[2];
|
||||
|
||||
Reference in New Issue
Block a user