GSM Component - GPRS and MQTT

Post here to discuss any new features, components, chips, etc, that you would like to see in Flowcode.
Post Reply
george_b
Posts: 21
http://meble-kuchenne.info.pl
Joined: Fri Jul 01, 2022 5:00 pm
Has thanked: 9 times
Been thanked: 3 times

GSM Component - GPRS and MQTT

Post 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

mnfisher
Valued Contributor
Posts: 1453
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 135 times
Been thanked: 707 times

Re: GSM Component - GPRS and MQTT

Post 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

chipfryer27
Valued Contributor
Posts: 1528
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 353 times
Been thanked: 549 times

Re: GSM Component - GPRS and MQTT

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

chipfryer27
Valued Contributor
Posts: 1528
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 353 times
Been thanked: 549 times

Re: GSM Component - GPRS and MQTT

Post by chipfryer27 »

Hi

This may be of some help.

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

Regards

george_b
Posts: 21
Joined: Fri Jul 01, 2022 5:00 pm
Has thanked: 9 times
Been thanked: 3 times

Re: GSM Component - GPRS and MQTT

Post 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

george_b
Posts: 21
Joined: Fri Jul 01, 2022 5:00 pm
Has thanked: 9 times
Been thanked: 3 times

Re: GSM Component - GPRS and MQTT

Post by george_b »

Hello all,

Anyone available to implement the component ?

Regards
George

Post Reply