jeelabs / esp-link

esp8266 wifi-serial bridge, outbound TCP, and arduino/AVR/LPC/NXP programmer
Other
2.82k stars 720 forks source link

MQTT question #517

Open bilbolodz opened 3 years ago

bilbolodz commented 3 years ago

It's a little unclear for me. Does esp-link can be used as Serial to MQTT bridge?

FernandoGarcia commented 3 years ago

Hi!

Yes, it's possible.

Use the ELClient library.

https://github.com/jeelabs/el-client/blob/master/ELClient/examples/mqtt/mqtt.ino

Here you can see it being used in my project.

Best regards.

uzi18 commented 3 years ago

@bilbolodz as @FernandoGarcia mentioned it is possible but with use of ELClient dedicated library