vshymanskyy / TinyGSM

A small Arduino library for GSM modules, that just works
GNU Lesser General Public License v3.0
1.91k stars 709 forks source link

help to get TinyGSM to work with raw ESP-MQTT #612

Closed garudaonekh closed 2 years ago

garudaonekh commented 2 years ago

Hi, How to get this library work with raw ESP-MQTT?

My existing project is using ESP-MQTT by Expressif with Arduino IDE. But I can't get TinyGSM to work with it.

Thanks;

SRGDamia1 commented 2 years ago

I'm sorry if I'm misunderstanding what you're asking, but I'm pretty sure what you're asking isn't possible.

This library works via AT commands.

The ESP32 (or ESP8266) can be used with TinyGSM:

The ESP-MQTT component of the ESP-IDF framework is meant for the Espressif chip using MQTT on it's own built-in WiFi radio while the Espressif chip is being used as the primary processor. So it's pretty much a completely different use case. It's a really common source of confusion.

garudaonekh commented 2 years ago

Thanks I use PPPOS+ESP-MQTT instead of tinyGSM