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.

  • 2
    What research have you already done?
    – hardillb
    Aug 25, 2018 at 9:16
  • 1
    I have found a library in github but it didn't work properly. Aug 25, 2018 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, 2018 at 10:15
  • 1
    You will find this repository helpful: arduinolibraries.info/libraries/tiny-gsm If you are stuck with articular problem please post in details, as you question is kinda incomplete.
    – user4904
    Aug 25, 2018 at 13:15
  • 1
    Hi Iqbal, can you post what exactly you tried? The relevant bits of code?
    – Helmar
    Aug 26, 2018 at 10:34

1 Answer 1


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

Hope this helped.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.