cancel
Showing results for 
Search instead for 
Did you mean: 

Library for MQTT using STM32F411RE and GSM module

Reva1605
Associate

I am beginner in using STM32 boards I am working with stm32f411re board with that I will use sim900a gsm module for internet connectivity and then mqtt protocol to send data to AWS cloud. So, when I am using paho mqtt library paho.mqtt.embedded-c/MQTTClient/samples at master · eclipse-paho/paho.mqtt.embedded-c I am getting errors related to socket,mutex,semaphore so confused which library to use can anyone help me in selecting and integrating mqtt library. Thanks in advance for help.

 

3 REPLIES 3
mpeplar
Associate

Hi @Reva1605,

A GSM library, LibGSM, has been released by eiTech systems that offers multiple GSM modules, including an MQTT module.

The library offers a free trial of the SMS Read module and you will be able to test the library using this module. You can download the LibGSM Code Generator on the eiTech Systems website: https://eitech.systems/libgsm-gsm-library/

The LibGSM Code Generator is a Windows Desktop application that automatically generates all the required setup code to get a user started as quick as possible. The application also includes example projects for each module. If you would like to see the application in action, you can see this on eiTech Systems YouTube channel: https://www.youtube.com/@eiTechSystems

Please note the MQTT module only currently supports the LTE SIMCom modules, namely the 7000 series modems, but development for other modems can be requested.

Disclaimer: I do work for eiTech Systems, and would be happy to answer any questions regarding the library. Contact details are available on the website "Contact" page.


@mpeplar wrote:

offers multiple GSM modules, including an MQTT module.


Are you using "module" in 2 different senses there?

  1. "GSM modules" - as in hardware modules ?
  2. "MQTT module" - as in software modules within your library ?
A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Hi @Andrew Neil,

No, I was referring to modules as in the software sense in both cases.

LibGSM is a GSM library that is made up of multiple GSM "modules", for example, MQTT module, HTTP module, SMS Read Module, SMS Send Module, RSSI module, etc.

However, I did incorrectly state "LTE SIMCom modules", where this should have been referred to as "LTE SIMCom modems".

I hope this clears up any confusion.