MQTT on TC65i implementation

135 views
Skip to first unread message

Nikita Kapitonov

unread,
Nov 11, 2016, 7:55:33 AM11/11/16
to Cinterion Java enabled chips support
Hello everyone!

I've successfully run MQTT broker on my server, and have many MQTT non-tc65i clients.

Now it's time to add MQTT capability to our TC65i devices.

Does anybody have any experience implementing it on our platform?

Googled it, seems there's no easy way...

Jure Cerovšek

unread,
Nov 11, 2016, 8:16:24 AM11/11/16
to java...@googlegroups.com
Hello,

there was thread on stackoverflow, where it was said that it should be fairly straightforward to port paho client for MQTT:
http://stackoverflow.com/questions/10224256/mqtt-client-for-j2me

but you probably already saw that by yourself.

Reagrds,
Jure

--
javacint group - http://www.javacint.com/
---
You received this message because you are subscribed to the Google Groups "Cinterion Java enabled chips support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javacint+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nikita Kapitonov

unread,
Nov 11, 2016, 8:22:24 AM11/11/16
to Cinterion Java enabled chips support
Yes, I saw it.

Actually I cannot manage to compile it, and also it's quite big.

So I'm looking for real experience.

Ondřej Janovský

unread,
Nov 11, 2016, 8:28:59 AM11/11/16
to java...@googlegroups.com
Hello,

I think, that cannot be a problem. I implemented simple MQTT client for my M2MScript (EHS5 and TC65ix javascript) succesfully.

MQTT protocol is simple.

https://github.com/ojanovsky/m2mscript---simle-mqtt-client/blob/master/mqtt.js

Ondrej
--
javacint group - http://www.javacint.com/
---
You received this message because you are subscribed to the Google Groups "Cinterion Java enabled chips support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javacint+u...@googlegroups.com.

Nikita Kapitonov

unread,
Nov 11, 2016, 8:51:00 AM11/11/16
to Cinterion Java enabled chips support
Hello Ondrej!
Thank you for your experience!
Yes, MQTT protocol is not that hard, but I hate doing it from scratch.
We did find port for our STM32 devices, though it required some work to make it run.
Browser javascript client also runs perfectly.

I hope maybe somebody did that work on Cinterion chips.

Ondřej Janovský

unread,
Nov 11, 2016, 9:00:45 AM11/11/16
to java...@googlegroups.com
I will do it soon, but now I have big problems with C and PIC chips.

Ahmed Adnane

unread,
Nov 12, 2016, 7:14:43 PM11/12/16
to java...@googlegroups.com
Hi Nikita,
I have a MQTT client which was designed for TC65i but I haven't tested it yet. So, you will find it attached. If you test it, let us know your results!
Regards,


--
javacint group - http://www.javacint.com/
---
You received this message because you are subscribed to the Google Groups "Cinterion Java enabled chips support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javacint+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
ADNANE Ahmed
MQTT.zip

Nikita Kapitonov

unread,
Nov 13, 2016, 3:14:27 AM11/13/16
to java...@googlegroups.com

Thank you Ahmed, I've already ported MeQanTT, but I'll look into your code also


вс, 13 нояб. 2016 г., 3:14 Ahmed Adnane <ah.a...@gmail.com>:
Hi Nikita,
I have a MQTT client which was designed for TC65i but I haven't tested it yet. So, you will find it attached. If you test it, let us know your results!
Regards,

2016-11-11 12:55 GMT+00:00 Nikita Kapitonov <pyth...@gmail.com>:
Hello everyone!

I've successfully run MQTT broker on my server, and have many MQTT non-tc65i clients.

Now it's time to add MQTT capability to our TC65i devices.

Does anybody have any experience implementing it on our platform?

Googled it, seems there's no easy way...

--
javacint group - http://www.javacint.com/
---
You received this message because you are subscribed to the Google Groups "Cinterion Java enabled chips support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javacint+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
ADNANE Ahmed

--
javacint group - http://www.javacint.com/
---
You received this message because you are subscribed to the Google Groups "Cinterion Java enabled chips support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javacint+u...@googlegroups.com.

Nikita Kapitonov

unread,
Nov 23, 2016, 8:22:23 AM11/23/16
to Cinterion Java enabled chips support, nikita.k...@teplomonitor.ru
In case somebody interested, now I use port of MeQanTT, as it is quite small and has everything I need now.

Ahmed's file is a paho mqttv3 port, it is quite large - 345 kb vs 50 kb meqantt, so I didn't test it.

MeQanTT port is in attach
org.meqantt mqtt client for j2me cldc cinterion.rar

Ahmed Adnane

unread,
Nov 23, 2016, 1:52:00 PM11/23/16
to java...@googlegroups.com
Thank you for sharing!

--
javacint group - http://www.javacint.com/
---
You received this message because you are subscribed to the Google Groups "Cinterion Java enabled chips support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javacint+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
ADNANE Ahmed
Reply all
Reply to author
Forward
0 new messages