Commit Graph

14 Commits

Author SHA1 Message Date
Jochen Wilhelmy
d6effc8074 Support for MacOS
Split semaphore classes into Semaphore and NamedSemaphore
Semaphore is implemented with Grand Central Dispatch
NamedSemaphore uses the spin lock approach like in boost for sem_timedwait
sem_getvalue is not supported on MacOS and therefore was removed
Fixed bug (*gatewayaddress_len > 0) in MQTTSNSearchClient.c

Signed-off-by: Jochen Wilhelmy <jochen.wilhelmy@gmail.com>
2020-01-18 11:43:54 +01:00
Martin Kirsche
84b90f9a0c Fix documentation of MQTTSNPacket_decode
Added a documentation for the missing parameters buf and buflen and
removed the non-existing parameter getcharfn.

Signed-off-by: Martin Kirsche <martin.kirsche@gmail.com>
2019-09-14 23:07:46 +02:00
tomoaki
ee15a21ff3 #129
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-08-15 07:11:43 +09:00
tomoaki
9940aadd4b Add The forwarder Encapsulation mesage #27 #69
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-07-28 23:05:16 +09:00
tomoaki
bb993aed5b Update: Add Pre-defined-Topic
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-07-14 19:20:48 +09:00
seko24
e12682056c Fixing issue #72: Setting minimum message length to 2.
Signed-off-by: seko24 <seb12@mailbox.org>
2017-08-09 09:35:38 +02:00
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