Commit Graph

111 Commits

Author SHA1 Message Date
tomoaki
3c9b7d283b BugFix: EventQue wait() doesn't work correct.
Update: add EventQue Test.


Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-10-22 09:39:42 +09:00
tomoaki
e2cf453c6b Update: EventQue deleminate null Event.
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-10-20 09:54:49 +09:00
tomoaki
143b2ef90b BugFix: avoid terminate called without an active exception error.
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-10-19 08:49:09 +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
Ian Craggs
bd8aea144c Merge pull request #32 from ty4tw/gateway
Update: DISCONNECT Issue #31 and others
2016-10-16 21:02:09 +01:00
tomoaki
9de0448130 BugFix: Network can not handle EPIPE error. Issue#35 #36
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-10-13 19:52:05 +09:00
tomoaki
d834a1a65b BugFix: SensorNetAddr Copy for DISCONNECT
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-10-06 23:31:24 +09:00
tomoaki
e27b5d75ce BugFix: Segmentation fault of deleting SensorNetAddres.
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-10-06 14:40:24 +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
Ian Craggs
deac6f92c5 Merge pull request #29 from ty4tw/gateway
Serious BugFix of Que Element, TLS connection,  XBee API mode and CTRL+C termination update
2016-10-02 20:38:03 +01:00
tomoaki
76f58a60a3 BugFix: Que template
Update: Add ProcessFramework test and change Makefile for it.


Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-10-01 13:13:02 +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
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
Ian Craggs
9102ee8877 Merge pull request #26 from ty4tw/gateway
Add Gateway Tester
2016-09-06 22:01:00 +01:00
tomoaki
039e063c8b Update: change xbee class method name to same as class udp
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-09-01 06:44:58 +09:00
tomoaki
0f799cff7f Update: set Max EventQue size to avoid Buffer over flow
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-08-30 12:28:48 +09:00
tomoaki
281d83af1e BugFix: UNSUBACK Serialize Buffert too short error
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-08-28 21:11:24 +09:00
tomoaki
5019ead91d Update & BugFix Add GatewayTester
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-08-28 20:44:40 +09:00
Ian Craggs
bb1455f528 Merge pull request #24 from ty4tw/gateway
BugFix: stack smashing detected #23  LogPrint erro.
2016-08-10 10:49:12 +01:00
tomoaki
40ba6b17e8 BugFix: stack smashing detected #23 LogPrint erroe.
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-08-10 13:27:09 +09:00
Ian Craggs
50f91233d4 Merge pull request #21 from ty4tw/gateway
BugFix:   can't receive and send PINGREQ
2016-08-09 21:31:43 +01:00
tomoaki
428d5e8003 Update: Modify the color of the log.
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-08-07 16:13:21 +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
00d5552d30 packet length field is mal formed if length > 255 #19
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-07-27 16:18:29 +09:00
Ian Craggs
e05a48e9a9 Merge pull request #20 from ty4tw/gateway
Update  #11, #12, #13  and BugFix of Network
2016-07-26 22:00:03 +01:00
tomoaki
464187a08b BugFix: Exclusive control the close of TCPIP 2016-07-23 05:56:55 +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
Ian Craggs
ece0d4544a Merge pull request #16 from ty4tw/gateway
Add  param.conf , cientList.conf and README
2016-07-02 21:49:41 +01:00
tomoaki
691f046078 Add conf files.
Signed-off-by: tomoaki tomoaki@tomy-tech.com
Add conf and README files

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
2016-06-25 19:32:40 +09:00
Ian Craggs
0478c6e3de Merge pull request #10 from ty4tw/gateway
First Commit of MQTT-SN Gateway
2016-06-22 20:06:22 -04: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
James Sutton
826b2a83b0 Merge pull request #6 from jpwsutton/master
Fixing urls in README.md
2016-02-29 13:34:26 +00:00
James Sutton
460e93404f Fixing urls in README.md
Signed-off-by: James Sutton <james.sutton@uk.ibm.com>
2016-02-29 13:33:49 +00:00
James Sutton
b1740c6b4f Merge pull request #5 from jpwsutton/master
Updating CONTRIBUTING.md & README.md on master branch
2016-02-29 13:31:20 +00:00
James Sutton
367c9e6c2b Updating CONTRIBUTING.md & README.md on master branch
Signed-off-by: James Sutton <james.sutton@uk.ibm.com>
2016-02-29 13:30:44 +00:00
Ian Craggs
29dbce0302 Start on embedded MQTT-SN gateway 2016-01-07 09:38:00 +00:00
Ian Craggs
9a442c4f9a New MQTT-SN high level client API 2015-04-09 16:47:53 +01:00
Ian Craggs
44dc71a2b1 Move MQTTSNPacket into subdirectory 2015-04-09 16:40:04 +01:00
Nicholas Humfrey
b73a6712c1 Reformatting to make more consistent
Bug: 453862
Signed-off-by: Nicholas Humfrey <njh@aelius.com>
2015-04-09 15:28:12 +01:00
Sergio R. Caprile
efede2d9f9 Author: Sergio R. Caprile <scaprile@gmail.com>
moved all common socket support functions to a new file
(transport).
added new samples to show specific actions.

Signed-off-by: Sergio R. Caprile <scaprile@gmail.com>
2014-09-05 10:42:21 -03:00
Ian Craggs
b54b6a8a77 Expand CONTRIBUTING.md file 2014-09-04 12:30:24 +01:00
Ian Craggs
fd9280fb40 Remove unused dup flag 2014-08-01 12:15:13 +01:00
Ian Craggs
996b79872e Change boolean types to char size 2014-08-01 11:44:58 +01:00
Ian Craggs
1dbcf046e0 Function doc and some function renames 2014-07-16 17:07:14 +01:00
Ian Craggs
76a85ec06b Search and advertise 2014-07-16 15:26:13 +01:00
Ian Craggs
ddfd3233bd Register and regack 2014-07-15 17:02:58 +01:00