cancel
Showing results for 
Search instead for 
Did you mean: 

MQTT using STM32L0

SARTHAK KELAPURE
Associate II
Posted on December 29, 2017 at 13:54

Hello everyone, I am trying to use MQTT protocol on my STM32 board with SIM7000 as slave. if anyone had worked in such fashion, please can you share code snippets or library file used?? Is there any generalized library file for STM32?

Thank you

#stm32 #stm32l0 #stm32l0-stm32l0-discovery #mqtt
1 ACCEPTED SOLUTION

Accepted Solutions
Andrew Neil
Evangelist
Posted on December 29, 2017 at 14:45

Like other internet protocols, MQTT is entirely independent of the underlying hardware.

So just try googling something like, 'MQTT microcontroller client'

View solution in original post

9 REPLIES 9
Andrew Neil
Evangelist
Posted on December 29, 2017 at 14:45

Like other internet protocols, MQTT is entirely independent of the underlying hardware.

So just try googling something like, 'MQTT microcontroller client'

Andrew Neil
Evangelist
Posted on February 23, 2018 at 10:07

See: 

https://community.st.com/0D70X000006SsnWSAS

 
Posted on February 23, 2018 at 09:29

Hi,

I am also looking the same mqtt microcontroller client support in any ST series.

rgds

Posted on February 23, 2018 at 09:46

Again, it has nothing specifically to do with ST.

Posted on February 23, 2018 at 10:08

No relation with ST but you can definitely use an open source library named 'Paho-embedded C'. It is very well documented.

Posted on February 23, 2018 at 10:17

You mean this: 

https://github.com/eclipse/paho.mqtt.embedded-c

  ?

Eclipse Paho MQTT C/C++ client for Embedded platforms

This repository contains the source code for the

http://eclipse.org/paho

MQTT C/C++ client library for Embedded platorms.
Posted on February 23, 2018 at 10:21

Yes this works..

sne_123
Associate III

@SARTHAK KELAPURE​ Hi , I am also trying to work on the same thing as you have mentioned. Can you guide me a little bit on this?

sne_123
Associate III

I am also using Sim808 with Stm32F103 board. So for Mqtt to work on stm32, do I need to configure TCP/IP using sim808 and then use Paho mqtt library??