Commit Graph

20 Commits

Author SHA1 Message Date
tomoaki
0398566e82 Bugfix of #241
DTLS Enhancement #90 complete.
OpenSSL version 1.1.1k 25 Mar. 2021 is required.
This fix does not work with version 1.1.1 11 sep. 2018

Merge branch 'dtls' into develop
2021-08-11 18:49:31 +09:00
tomoaki
4fc0e2f52b Bugfix 0f #234
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2021-08-02 07:25:28 +09:00
tomoaki
5fb4312aad This branch for debugging DTLS #90, #150, #195, #227
The purpose of this branch is to share work in process.
Change sellect() of UDP to poll()
Rewrite UDP6 for DTLS6

Known bug: can't reconnect DTLS

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2021-08-01 19:45:58 +09:00
tomoaki
f2dcda358f Bugfix of #234
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2021-07-14 11:28:20 +09:00
tomoaki
776099ebb3 Bugfix Set a secure flag to a Client instance.
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2021-07-09 07:45:39 +09:00
tomoaki
55128f0f0e Add Bluetooth classic as a sensor network #69, #195, #90
I think the architecture of the ble sensor network, which does not use
threads per socket, can be applied to DTLS.

Known bug:
Occasionally a timeout error occurs when connecting to RFCOMM.
BLE is not supported yet. I need help to do it.


Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2021-06-02 20:40:02 +09:00
tomoaki
982e6d4884 Add ClientPool
Clients are created and kept in the pool at first.
ClientList gets a free client from the pool.

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2021-05-25 11:50:58 +09:00
tomoaki
2adc167207 Refactor Exception handle scheme
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2021-05-04 17:34:46 +09:00
tomoaki
69b229daae Change TAB to 4spaces
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2021-02-16 15:51:54 +09:00
tomoaki
258d534009 Update Aggregatting gateway can now receive PUBLISH from a broker
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2020-03-05 18:05:46 +09:00
tomoaki
6a8cdba186 Bugfix can't read PredefinedTopicList file
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2020-02-23 17:35:06 +09:00
tomoaki
ae462989ec BugFix ClientList file name is not shown
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2020-02-21 11:29:37 +09:00
tomoaki
1715d5d47c BugFix Adapters
PINGREQ and PINGRESP
Add Error message when the Aggregate GW receives PUBLISH from the
broker.

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2020-02-10 16:02:06 +09:00
tomoaki
65583a6887 Add Invalid TopicId check.
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2019-10-04 21:12:00 +09:00
tomoaki
93e297c6d3 BugFix of #149
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2019-07-13 16:38:12 +09:00
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
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
f7fc5c49f5 Update: Add Aggregate Gateway functions. #127
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-08-12 14:04:41 +09:00