MQTT with Freematics ONE+

Discussion about software developed by Freematics, including Freematics Builder and Freematics Emulator GUI
Post Reply
Ejje
Posts: 4
Joined: Sat May 12, 2018 8:40 pm

MQTT with Freematics ONE+

Post by Ejje »

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+

Post by GP_07 »

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+

Post by Ejje »

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+

Post by koby »

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.
Post Reply