Commit Graph

21 Commits

Author SHA1 Message Date
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
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
f631f27c25 Add errno to a Exception property
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2021-05-05 15:47:19 +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
4478eafc8d Bugfix of Exception Handling
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2021-05-03 19:20:52 +09:00
tomoaki
18af949c7a Change Execption messages
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2021-04-30 19:21:49 +09:00
tomoaki
aaad3a0122 Bugfix of Handling Exception #236
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2021-04-29 11:00:58 +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
b4a598e895 Update 9c214a and 438a9a1
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2020-10-13 11:19:12 +09:00
tomoaki
21f2f84219 Typo fixed #212
Add Gateway terminate status

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2020-10-12 17:48:20 +09:00
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
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
5026c94502 Update: Thread Termination procedure
to release all pthread allocate memories.

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-10-26 11:34:13 +09:00
tomoaki
63d2824444 BugFix: stop Process mechanism of ProcessFramework.
Update: DISCONNECT procedure for NonActive clients.

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-10-06 10:48:29 +09:00
tomoaki
93df7db12e Update: DISCONNECT (Issue #31) and others
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-10-03 18:19:47 +09:00
tomoaki
e3dd9fa01a BugFix: Termination by ctl + C
Update: API mode is configurable

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-09-25 17:06:05 +09:00
tomoaki
5019ead91d Update & BugFix Add GatewayTester
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-08-28 20:44:40 +09:00
tomoaki
5605ae0294 Update: config file is a command line parameter. 2016-07-22 17:21:51 +09:00
tomoaki
4bdec4a11f Update: Create param.conf and key files automatically.
BugFix: change parameter name BroadcastIp and BroadcastPortNo to
MulticastIP and MulticastPortNo, respectively.
Update: Makefile to copy param.conf and build Log monitor.
Update: README 

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-07-03 15:46:29 +09:00
tomoaki
9369a827b8 change file name linux.h linux.cpp to Timer.h Timer.cpp 2016-06-19 21:09:38 +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