3

I am developing a vehicle tracking device.I want to send data to server through MQTT from my sim808 GSM module.But I couldn't find any good library of MQTT for Arduino. There are so much resources for Wi-Fi module but I'm using a GSM module.

Helmar
  • 8,430
  • 6
  • 35
  • 84
  • 2
    What research have you already done? – hardillb Aug 25 '18 at 09:16
  • 1
    I have found a library in github but it didn't work properly. – Iqbal Hossain Aug 25 '18 at 10:08
  • 1
    Then you may do better posting on Stack Overflow with the code you've tried and somebody may be able to help you fix it – hardillb Aug 25 '18 at 10:15
  • 1
    Hi Iqbal, can you post what exactly you tried? The relevant bits of code? – Helmar Aug 26 '18 at 10:34
  • 1
    You will find this repository helpful: https://www.arduinolibraries.info/libraries/tiny-gsm If you are stuck with articular problem please post in details, as you question is kinda incomplete. –  Aug 25 '18 at 13:15
  • You need to find a GSM library that will mimic the Ethernet library Port, then you can use the standard MQTT – JD Allen Aug 29 '18 at 21:35

1 Answers1

2

There is a good library called GSM_MQTT.hfor sending data through mqtt from GSM modules. You can refer this site.

Hope this helped.

Adil Saju
  • 280
  • 1
  • 4
  • Maybe its worth mentioning, that this lib is not developed any more and misses some important features like ssl/tls – Dakkar Jan 21 '19 at 20:19