Page 1 of 1

GSM Component - GPRS and MQTT

Posted: Tue Mar 11, 2025 2:56 pm
by george_b
Hello everyone,

I hope you are all well.

I am looking to explore the possibility of creating a new GSM component that enables connection to an MQTT server for sending and receiving data. While Flowcode currently offers a basic GSM component, it's not sufficient for establishing internet connectivity or interacting with MQTT brokers with simple component commands.


I am willing to fund the development of this component and would greatly appreciate any efforts from those with the expertise to make the component.

Thanks in advance!

Regards
George

Re: GSM Component - GPRS and MQTT

Posted: Tue Mar 11, 2025 9:28 pm
by mnfisher
It would be possible, I think...

Data is written to the GSM module via UART - and, with care, it would be possible to build the necessary data to send to post MQTT packets.

It might be slightly easier on something like an esp32 - using the http support?

Martin

Re: GSM Component - GPRS and MQTT

Posted: Wed Mar 12, 2025 5:41 am
by chipfryer27
Hi

What module are you thinking on using?

Common ones use "AT" commands and can easily handle data connections. I've possibly discussed this before. You need a copy of the commands and ideally whilst developing either a PC running a terminal program, or a logic analyser to see/decode what's happening on pins (PC is easiest). Once you establish exactly what needs to be sent / captured it's a simple matter to create appropriate Macros.

Unfortunately the "AT" commands whilst relatively similar, do differ per module, even those from the same manufacturer. Therefore I don't think a single component would cover.

Regards

Edit...
Forgot to mention that depending on module it can take care of HTTPS for you.

Re: GSM Component - GPRS and MQTT

Posted: Wed Mar 12, 2025 6:18 am
by chipfryer27
Hi

This may be of some help.

https://www.flowcode.co.uk/mmforums/vie ... 71#p106871

Regards

Re: GSM Component - GPRS and MQTT

Posted: Wed Mar 12, 2025 9:01 pm
by george_b
Hello!

Thank you for your response.

I frequently use the SIM800L module but would like to switch to a compatible 4G module since 2G networks are declining. I am looking for a flowcode component that works with Microchip PIC 18F devices and off course any other family like ESP ATMEL..

Regards
George

Re: GSM Component - GPRS and MQTT

Posted: Fri Mar 14, 2025 1:04 pm
by george_b
Hello all,

Anyone available to implement the component ?

Regards
George