Commit Graph

228 Commits

Author SHA1 Message Date
Tomoaki Yamaguchi
3ffe492c21 Merge pull request #84 from ty4tw/develop
Update Explanation of Multicast Address #83
2017-09-12 23:30:51 +09:00
tomoaki
98c1ebae50 Update Explanation of Multicast Address #83
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2017-09-12 23:26:53 +09:00
Tomoaki Yamaguchi
93a26b28c4 Merge pull request #82 from ty4tw/develop
Add OSX build check
2017-09-10 10:44:33 +09:00
tomoaki
6818202582 Add OSX build check
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2017-09-10 10:14:12 +09:00
tomoaki
b3b4a909b9 Add OSX compile setup
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2017-09-10 10:06:05 +09:00
tomoaki
1ca82ed97d Fix OSX compile error
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2017-09-10 08:34:56 +09:00
tomoaki
ca063cec9d Add comment to the GatewayTester
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2017-09-08 14:25:52 +09:00
Tomoaki Yamaguchi
c63583af83 Merge pull request #81 from ty4tw/develop
Bugfix of #80
2017-09-08 12:09:22 +09:00
tomoaki
e22d00046e Bugfix of #80
1. sleepy node problem
2. sender of PINGREQ in the log

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2017-09-08 11:24:39 +09:00
Tomoaki Yamaguchi
f92f11f87a Merge pull request #79 from ty4tw/develop
Update: forget to delete #define DEBUG
2017-08-27 17:03:20 +09:00
tomoaki
99ae7644e5 Update: forget to delete #define DEBUG
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2017-08-27 16:56:05 +09:00
Tomoaki Yamaguchi
88ecb2e11d Merge pull request #78 from ty4tw/develop
BugFix of #76 and #77
2017-08-27 16:45:56 +09:00
tomoaki
bc731210ae BugFix of #76 and #77
1.Return CONNACK instead of the broker when the gateway receives CONNECT
while the client is Sleep or Awake mode.

2.Define the max size of a que for PUBLISH while the client state is
Asleep mode.  Despose packets when the que is full of packets.

3.Return PUBACK or PUBREL to the broker when the client is Asleep or
Awake.


Signed-off-by: tomoaki <tomoaki@tomy-tech.com>



Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2017-08-27 16:39:29 +09:00
Tomoaki Yamaguchi
cc9029807b Merge pull request #75 from jciupis/pr/fix-ipv6-addr-scope-bug
Fix IPv6 address scope bug
2017-08-12 09:52:23 +09:00
Tomoaki Yamaguchi
3a8a616969 Merge pull request #74 from seko24/fix_min_message_len
Fixing issue #72: Setting minimum message length to 2.
2017-08-12 05:26:34 +09:00
Ciupis, Jedrzej
9c20f2f18d Fix IPv6 address scope bug
Signed-off-by: Ciupis, Jedrzej <jedrzej.ciupis@nordicsemi.no>
2017-08-10 14:32:00 +02: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
Tomoaki Yamaguchi
d5b70b19ce Merge pull request #71 from eclipse/develop
Bugfix of Gateway can't receive MQTT packets with no payload.
2017-07-30 09:10:29 +09:00
tomoaki
7099531e0e BugFix: MQTT packets wiith no payload can't be received collectly.
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2017-07-28 14:33:41 +09:00
Ian Craggs
6090defa52 Merge branch 'develop' v1.0.0 2017-07-16 12:26:53 +01:00
Ian Craggs
d148b82ef3 Update CMakeLists.txt 2017-07-14 17:26:28 +01:00
Ian Craggs
602346c0c4 Update README and doxygen configuration 2017-07-14 17:07:46 +01:00
Ian Craggs
e80626dc44 Merge branch 'master' of ssh://github.com/eclipse/paho.mqtt-sn.embedded-c 2017-07-14 11:02:16 +01:00
tomoaki
3425a4d441 Delete git clone branch acording to merge the branch.
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2017-07-06 08:03:17 +09:00
Tomoaki Yamaguchi
c320cccf66 Merge pull request #67 from eclipse/develop
Add    João Eduardo's contribution instead of him.
2017-07-04 10:42:58 +09:00
tomoaki
c3f17acb0c Update README.md
Add    João Eduardo's contribution instead of him.

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2017-07-04 10:23:19 +09:00
tomoaki
debb09de4a Signed-off-by: tomoaki <tomoaki@tomy-tech.com> 2017-07-04 10:08:50 +09:00
Ian Craggs
85c11e7356 Get newer version of CMake 2017-07-03 17:02:10 +01: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 Yamaguchi
1261bd0e45 Merge pull request #63 from benjaminaigner/gateway
Changed output from cout to WRITELOG
2017-06-12 21:03:26 +09:00
Benjamin Aigner
46a799c5f6 Cast from std::string to c_str
Signed-off-by: Benjamin Aigner <aignerb@technikum-wien.at>
2017-06-12 13:20:22 +02:00
Benjamin Aigner
8c4e4bbe8a Changed output from cout to WRITELOG
Signed-off-by: Benjamin Aigner <aignerb@technikum-wien.at>
2017-06-12 13:05:15 +02:00
Tomoaki Yamaguchi
815d35229f Merge pull request #62 from ty4tw/gateway
Added specific interface to send UDP6 packets
2017-06-12 16:35:00 +09:00
tomoaki
a7ebd65bb3 Added specific interface to send UDP6 packets
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2017-06-12 16:32:31 +09:00
Tomoaki
ddebf16f8d add new script for a new sensor network/
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2017-05-31 00:18:43 +09:00
Tomoaki Yamaguchi
37866cf2f4 Merge pull request #58 from ty4tw/gateway
Add comments to SensorNetwork source code
2017-05-20 13:14:02 +09:00
tomoaki
fef38407e3 Add comments to SensorNetwork source code for helpping to implement a
new SensorNetwork Class.

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2017-05-20 13:09:36 +09:00
Tomoaki Yamaguchi
bc2293084d Merge pull request #57 from ty4tw/gateway
Gateway's Version of oxgen is 1.0.0
2017-05-19 10:59:12 +09:00
tomoaki
a916b489e0 Gateway's Version of oxgen is 1.0.0
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2017-05-19 10:55:11 +09:00
Tomoaki Yamaguchi
66bc7cab07 Merge pull request #56 from ty4tw/gateway
BugFix: MQTTSNDeserialize_XXXX() functions don't return error code when
2017-05-19 10:42:32 +09: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 Yamaguchi
76a58274cc Merge pull request #54 from ty4tw/gateway
BugFix: Segmentation faultdue to incorrect ProtocolID of CONNECT. #53
2017-05-18 19:10:42 +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 Yamaguchi
1261609763 Merge pull request #52 from ty4tw/gateway
Change README.md format nicely.
2017-05-14 10:17:29 +09:00
tomoaki
b3a59d3b48 Change README.md form nicely.
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2017-05-14 10:03:37 +09:00
Tomoaki Yamaguchi
839e404832 Merge pull request #51 from ty4tw/gateway
Add GatewayTester program compilation scripts to .travis.yml file.
2017-05-08 19:10:46 +09:00
tomoaki
e341d1a326 Update: change a macro name from ASSERT to DISPLAY
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2017-05-08 18:49:10 +09:00
tomoaki
0adfac47da BugFix: Segmentation fault of Tree32
Add:    "make test" to .travis.yaml
Add:    compile GatewayTester to .travis.yaml

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2017-05-08 17:40:37 +09:00
Tomoaki Yamaguchi
2bbc418942 Merge pull request #50 from ty4tw/gateway
Update: Add Travis CI check.
2017-05-07 20:50:48 +09:00