New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First Commit of MQTT-SN Gateway #10
Conversation
This gateway has one bug of segmentation fault. BUG Report 20160513 070708 PUBLISH 008C ---> Client01 32 2E 00 09 74 79 34 74 77 2F 74 70 31 00 8C 99 1E D1 00 FF D2 00 01 11 70 A6 61 62 63 64 65 66 F0 D0 C4 D1 FE D4 D2 FF FE EE 90 CA 44 7A 00 A4 20160513 070709 PUBLISH 0037 <--- Client01 32 2E 00 09 74 79 34 74 77 2F 74 70 31 00 37 99 1E D1 00 FF D2 00 01 11 70 A6 61 62 63 64 65 66 F0 D0 C4 D1 FE D4 D2 FF FE EE 90 CA 44 7A 00 A4 20160513 070709 PUBLISH 0037 ---> Client01 0C 20 00 01 00 37 99 1E D1 00 FF D2 00 01 11 70 A6 61 62 63 64 65 66 F0 D0 C4 D1 FE D4 D2 FF FE EE 90 CA 44 7A 00 A4 20160513 070746 PUBLISH 008D <--- Client01 0C 20 00 03 00 8D 93 CE 57 34 FE B2 64 A5 4B 6F 68 6F 6D 20160513 070746 PUBLISH 008D ---> Client01 32 1E 00 0D 74 79 34 74 77 2F 73 6F 69 6C 52 65 67 00 8D 93 CE 57 34 FE B2 64 A5 4B 6F 68 6F 6D |
Thank you very much for the work Tomoaki! As this is a big contribution, it has to go through the Eclipse IP process before I can accept it. I've opened a request for review with the Eclipse legal team. There are a couple of questions I need to ask as part of that:
Thanks! |
FYI, because the Eclipse simultaneous release cycle is nearing its end (in June), the review may well take longer than normal. |
Hi Ian,
I know the project situation. I just wait and see. tomoaki 2016-05-23 20:14 GMT+09:00 Ian Craggs notifications@github.com:
|
Thanks Tomoaki. One of the reviewers has observed that the code is using wiringPi. This wouldn't work on every Linux, so I imagine we could have it in a Raspberry Pi specific sample? Are there any other external libraries that are used? I have to note each library in the contribution documents. |
Hi Ian, it's not a Raspberry Pi specific. in case of R Pi, define RASPBERRY_PI then LightIndicator init() and if RASPBERRY_PI is not defined init(), lit() are null functions. linux.cpp line 173 in class LightIndicator codes are : private:
#ifdef RASPBERRY_PI Eclipse is running on Ubuntu 14.04. of ThinkPad X1 Carbon, not R. Pi. The gateway is using 3 libraries. pthread, ssl *and crypto*. Eclipse CDT link message is Building target: MQTTSN-embedded-C BTW, LightIndicator indicates the gateway status. (only for the Raspberry Red light means Gateway is running but no client connects. tomoaki 2016-05-24 18:42 GMT+09:00 Ian Craggs notifications@github.com:
|
Hi Ian, I checked the license. wiringPi's license is GNU LGPLv3. tomoaki |
Hi Ian, I have changed the LightIndicator class does not use wiringPi. tomoaki |
Hi Tomoaki, thanks for this. Just to let you know that we are in the final stages of releasing Paho 1.2, so we and the legal team are quite busy at the moment which is why the review process will be slower than normal. |
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>
The contribution has been approved, so I will merge it soon. |
Hi Ian, Thanks. Hi All, see https://github.com/ty4tw/paho.mqtt-sn.embedded-c/wiki to build the Tomy Technology 2016-06-23 9:06 GMT+09:00 Ian Craggs notifications@github.com:
|
Signed-off-by: tomoaki tomoaki@tomy-tech.com