340 Commits

Author SHA1 Message Date
tomoaki
6ef24f3bb8 Change Commom ClientID of predifinedTopic.conf to '*' #132
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-08-25 09:56:15 +09:00
tomoaki
42125d173b Update for Issue #132
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-08-25 08:38:21 +09:00
Tomoaki Yamaguchi
9a06b8a697 Merge pull request #130 from eclipse/develop
Install the gateway into any directories. #124
2018-08-18 12:23:19 +09:00
tomoaki
7fae038296 Install the gateway into any directory. #124
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-08-18 12:18:23 +09:00
tomoaki
ee15a21ff3 #129
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-08-15 07:11:43 +09:00
tomoaki
42886b70f0 Compile Errors #68
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-08-15 06:58:57 +09:00
tomoaki
6e865d62f0 Bugfix of #68
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-08-14 09:04:58 +09:00
Tomoaki Yamaguchi
a23242d267 Merge pull request #128 from eclipse/develop
You can select Aggregate or Transparent gateway in the config file setting.
2018-08-14 08:22:27 +09:00
tomoaki
9de1dc3705 Generate the QoSm1Proxy Name from the Gateway Id.
Bugfix of AggregatePublish
Memory leak of ClientList

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-08-14 08:11:11 +09:00
tomoaki
97cffe4573 Forwerders are declared by the ClientList file.
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-08-13 21:28:51 +09:00
tomoaki
f216abd97e BugFix: resource leak
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-08-13 06:05:18 +09:00
tomoaki
e308c3da83 Correction to eliminate compiler warning message
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-08-12 14:59:51 +09:00
tomoaki
f7fc5c49f5 Update: Add Aggregate Gateway functions. #127
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-08-12 14:04:41 +09:00
tomoaki
862e501512 BugFix add retry PINGREQ and re CONNECT #126
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-07-31 20:56:03 +09:00
tomoaki
df080f2851 Set whether to run ClientProxy at startup.
If it does not start, do not create an instance of ClientProxy.
Change the name of ClientProxy to QoSm1Proxy

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-07-31 15:49:25 +09:00
tomoaki
e942ee451d BugFix of #126
and the content of the conf file matched with the sample program


Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-07-31 10:06:22 +09:00
tomoaki
79f6aef8e4 BugFix: PINGREQ timeout of ClientProxy
reset PINGREQ timer of ClientProxy when QoS-1 PUBLISH is sent.

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-07-31 06:35:20 +09:00
tomoaki
4932d2d0ee QoS-1 PUBLISH is available #34
BugFix of #69

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-07-30 21:00:01 +09:00
Tomoaki Yamaguchi
344c0e4e57 Merge pull request #125 from eclipse/develop
Forwarder Encapsulation are supported.
2018-07-29 06:29:42 +08: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
4d75351a06 BugFix of #123
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-07-24 07:19:39 +09:00
tomoaki
797ddf43f8 update test program
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-07-18 21:40:20 +09:00
tomoaki
521715e011 Bugfix of #122
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-07-18 21:32:46 +09:00
tomoaki
74a9ebaa55 BugFix of #121
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-07-18 21:03:03 +09:00
Tomoaki Yamaguchi
70b2c8cea8 Merge pull request #120 from eclipse/develop
Add Pre-defined-topic
2018-07-17 07:00:50 +09:00
tomoaki
a658bd5714 BugFix of Issue #119
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
add

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-07-17 05:48:45 +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
Tomoaki Yamaguchi
e2abc8783c Merge pull request #116 from eclipse/develop
Add two test programs.
2018-06-30 04:39:58 +09:00
tomoaki
9ae5c72125 Add: Two Gateway Test programs
BugFix: invalid pointer

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-06-29 15:27:24 +09:00
Tomoaki Yamaguchi
e734fccb38 Refactor: DISCONNECT prcedure
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-06-16 16:33:44 +09:00
Tomoaki Yamaguchi
29bebd14cb Merge pull request #114 from eclipse/develop
Update:  It's safer to use s6_addr32 macro than implementation specific union details.
2018-03-21 09:27:05 +09:00
Tomoaki Yamaguchi
9a0b4ca938 Merge pull request #113 from tieto/develop
Improve UDPv6 code portability
2018-03-20 22:57:50 +09:00
Mariusz Suchora
df13c052a8 Improve UDPv6 code portability
Signed-off-by: Mariusz Suchora <mariusz.suchora@tieto.com>
2018-03-19 14:04:45 +01:00
Tomoaki Yamaguchi
f2f4ed4630 Merge pull request #111 from eclipse/develop
BugFix of #105
2018-03-08 12:07:19 +09:00
Tomoaki Yamaguchi
dec00d0ee2 Merge pull request #110 from tieto/develop
BugFix of #105
2018-03-08 11:50:11 +09:00
Mariusz
e6a9fdca01 Subscribe to all topics with '#'
Signed-off-by: Mariusz <mariusz.suchora@tieto.com>
2018-03-06 10:55:40 +01:00
Ian Craggs
9414410cce Update contributing guidelines for ECA 2018-03-05 13:37:34 +00:00
Tomoaki Yamaguchi
c51b12e32b Merge pull request #109 from eclipse/develop
BugFix  of #107
2018-03-05 18:18:32 +09:00
tomoaki
a63125255d Update: Change Arrow shape of Log for packets from/to the Broker
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-03-05 17:18:13 +09:00
tomoaki
301814cc26 BugFix of #107
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-02-27 11:50:13 +09:00
Tomoaki Yamaguchi
b711472f91 Merge pull request #108 from eclipse/develop
Develop
2018-02-25 17:11:25 +09:00
Tomoaki Yamaguchi
e17c29978d Merge pull request #103 from tieto/develop
Gateway improvements
2018-02-24 09:25:50 +09:00
Mariusz Suchora
ef715ebfa7 Set pointer to client to 0 when client was erased
Signed-off-by: Mariusz Suchora <mariusz.suchora@tieto.com>
2018-02-23 10:40:06 +01:00
Mariusz Suchora
b6192d863b Fix handling PUBREC message received from client
Signed-off-by: Mariusz Suchora <mariusz.suchora@tieto.com>
2018-02-23 10:32:07 +01:00
Mariusz Suchora
bba3f1dede Fix topic name registration procedure started by GW when handling PUBLISH message
Signed-off-by: Mariusz Suchora <mariusz.suchora@tieto.com>
2018-02-23 10:30:45 +01:00
Mariusz Suchora
c49a040569 Preventing memory leaks
Signed-off-by: Mariusz Suchora <mariusz.suchora@tieto.com>
2018-02-23 10:29:36 +01:00
Mariusz Suchora
fbab6ee91f Fix unsubscribing from short topics (two octets length)
Signed-off-by: Mariusz Suchora <mariusz.suchora@tieto.com>
2018-02-23 10:24:52 +01:00
Mariusz Suchora
6dffa66bb0 Fix gateway crash when subscribing to short topics (two octets length)
Signed-off-by: Mariusz Suchora <mariusz.suchora@tieto.com>
2018-02-23 10:23:36 +01:00
Mariusz Suchora
1ef38fb7a0 Fix adding elements to WaitREGACKPacketList
Signed-off-by: Mariusz Suchora <mariusz.suchora@tieto.com>
2018-02-23 10:20:32 +01:00
Mariusz Suchora
594db623ee Lock critical section when adding new Client to list
Signed-off-by: Mariusz Suchora <mariusz.suchora@tieto.com>
2018-02-23 10:18:46 +01:00