elementzonline / SIM800_MQTT

Visit our blog/website for more information
http://www.elementzonline.com
GNU General Public License v3.0
170 stars 96 forks source link

doesn't work with broker.hivemq.com broker #18

Closed Anubhav1001 closed 4 years ago

Anubhav1001 commented 7 years ago

Dear Elementzonline, we used your latest code to connect to the MQTT broker "broker.hivemq.com" the code connects however immediately after connecting it gives "disconnecting mqtt" error.

This code works with aREST server "45.55.196.201" but some how disconnects everytime a standard MQTT broker server line "broker.hivemq.com" is used.

Please suggest what might be the issue?

kamrankamrani commented 4 years ago

its too late but for others use port 1883 for this broker and i working now with no problem