Commit Graph

8 Commits

Author SHA1 Message Date
Ian Craggs
7063dc57aa Travis build for MQTTSNPacket 2017-07-03 16:19:34 +01:00
Ian Craggs
2754ad4bcd Fix MQTTSNPacket tests 2017-06-30 15:39:31 +01:00
tomoaki
5c278f1aec BugFix: MQTTSNDeserialize_XXXX() functions don't return error code when
error occurs.

Do not store the length of packet into rc.

If the packet is incorrect, skip the processing that follows.

Bugfix: Print out the value of TopicId in SUBACK and UNSUBACK. 
 
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2017-05-19 09:44:51 +09:00
tomoaki
1b867589e5 BugFix: Segmentation faultdue to incorrect ProtocolID of CONNECT. #53
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2017-05-18 18:48:03 +09:00
tomoaki
281d83af1e BugFix: UNSUBACK Serialize Buffert too short error
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-08-28 21:11:24 +09:00
tomoaki
00d5552d30 packet length field is mal formed if length > 255 #19
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-07-27 16:18:29 +09:00
tomoaki
64fa07b391 First Commit of MQTT-SN Gateway
Add    new SensorNetwork XBee
Add    a sensor network type in a start message.
Update MQTTSNClient to avoid build warning.
Update WiringPi's functions to my original ones. 
BugFix check msgId before adding waitdTopicId table.
BugFix Process termination procedures
Update print curent time in millseconds.
update move currentDateTime() to linux directory.
Bugfix: blink blue lightiIndicator.
Bugfix: Register returns wrong id.
change a status of the client to Disconnected.
change client status procedure
Update README
BugFix: change Network Disconnect procedures.

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-06-11 19:59:51 +09:00
Ian Craggs
44dc71a2b1 Move MQTTSNPacket into subdirectory 2015-04-09 16:40:04 +01:00