MQTT with Freematics ONE+

Discussion about Data2KML and other open-source telematics utilities developed by us
Ejje
Posts: 4
Joined: Sat May 12, 2018 8:40 pm

MQTT with Freematics ONE+

Postby Ejje » Sat May 12, 2018 9:20 pm

Hi!

I'm trying to create a project that uses ONE+ with MQTT. I have seen repos like: https://github.com/elementzonline/SIM800_MQTT but its only for SIM800.

Does anyone here have any experience with using MQTT with the SIM5360E module? It would be great to just get some pointers on how to get MQTT running with it.

regards
Ejje

GP_07
Posts: 3
Joined: Thu May 04, 2017 8:44 am

Re: MQTT with Freematics ONE+

Postby GP_07 » Sun Jun 03, 2018 7:59 pm

Hi Ejje,

Did you manage to incorporate the MQTT code for SIM800 into Freematics ONE + code?

Thanks,
GP

Ejje
Posts: 4
Joined: Sat May 12, 2018 8:40 pm

Re: MQTT with Freematics ONE+

Postby Ejje » Tue Jun 05, 2018 7:11 pm

GP_07 wrote:
> Hi Ejje,
>
> Did you manage to incorporate the MQTT code for SIM800 into Freematics ONE
> + code?
>
> Thanks,
> GP

Hi, i was not able to use the libraries for the SIM800 but i managed to implement some basic MQTT functionality with the SIMCOM MQTT AT commands(Just google "SIMCOM 3G MQTT" to find the manual with the commands). However im still not sure how to implement a "onMessage" function that is called when a message is received from a broker. Suggestions would be great.

koby
Posts: 2
Joined: Sat Jun 16, 2018 1:40 am

Re: MQTT with Freematics ONE+

Postby koby » Sat Jun 16, 2018 2:00 am

Hello Ejje,
Please I need your help! I bought a freematics one+ too for an IoT development but I'm actually not able to send data using MQTT. Could you give me a hand please since you have already gone through this? how did you implement the MQTT part? I'm struggling to make work and still didn't succeed. :( I've gone through the "example: publish topic" of the 3G MQTT documentation but when I get to the connect part, I don't have the expected return "+CMQTTCONNECT: 0,0".
Thanks in advance.


Return to “Freematics Software”

Who is online

Users browsing this forum: No registered users and 3 guests