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

SIM ROAMING not supported #29

Closed IMAnubhavGupta closed 6 years ago

IMAnubhavGupta commented 6 years ago

I am trying to use this SIM800_MQTT library for connecting on our SIM800 module. The SIM gets connected immediately to our server when the SIM is a local SIM. When ever we use a SIM in roaming i.e. with CREG as 0,5 then the library gets stuck in CREG and doesn't move forward. I have already tried changin the command as below but still it doesn't help.

if(sendATreply("AT+CREG?\r\n", "0,5", 5000) == 1)

IMAnubhavGupta commented 6 years ago

Hi, I am sorry to have raised this point. I was using incorrect file. Your library is good. Thanks and once again sorry for the inconvenience.