Commit Graph

24 Commits

Author SHA1 Message Date
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
69b229daae Change TAB to 4spaces
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2021-02-16 15:51:54 +09:00
tomoaki
d91de457f3 BugFix of #209
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2020-10-12 17:00:09 +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
7aa44d94d1 Bugfix of #165
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2019-10-03 15:13:29 +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
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
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
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
bb993aed5b Update: Add Pre-defined-Topic
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2018-07-14 19:20:48 +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
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
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
bd59fca1a2 BugFix of Issue #44
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-12-15 11:44:22 +09:00
tomoaki
1a415bfebd BugFix of #44
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-12-15 11:40:17 +09:00
tomoaki
b87c8412f8 Update: Add Client Address to CONNECT reject error message.
Update: comment out the generating CONNACK reply.

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-10-18 10:06:02 +09:00
tomoaki
9b7c25b28c Update: Set WaitWillMsgFlg before posting Event. to protect repeated
WILLMSG before seending CONNECT.

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-10-17 10:07:59 +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
2537dd76dd Update: indivisual client assigns TLS connection by clients.conf file.
BugFix: TLS certificate required connection error

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-09-23 17:04:08 +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
dcdb51b5d6 BugFix: PINGREQ & PINGRESP can't be received and sent.
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-08-07 15:33:30 +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