nimaltd / gsm_v5

gsm module library for STM32 LL
GNU General Public License v3.0
232 stars 86 forks source link

[GSM ATC] AT+SMCONF="CID",1 ERROR [GSM] gprs_mqttConnect() failed! #29

Closed billiri closed 3 years ago

billiri commented 3 years ago

I use sim800c and got this error

nimaltd commented 3 years ago

you should update firmware. contact simcom

billiri commented 3 years ago

I update firmware sim800c to 1418B07SIM800C24_BT.RAR and got same error

billiri commented 3 years ago

try 1418B05SIM800C24.rar and got this error too

billiri commented 3 years ago

// set CID to 1 sprintf((char)gsm.buffer, "AT+SMCONF=\"CID\",1\r\n"); if (gsm_command((char)gsm.buffer, 1000 , NULL, 0, 2, "\r\nOK\r\n", "\r\nERROR\r\n") != 1) { gsm_printf("[GSM] gprs_mqttConnect() failed!\r\n"); gsm_unlock(); return false; } trouble here, gprs connect succesful but mqtt got error here

nimaltd commented 3 years ago

https://nimaltd.github.io/

youssef02 commented 1 year ago

I have sim800C version 1418B08SIM800C24_BT and have the same problem, I will try to send simcom an email, that if they reply.

youssef02 commented 1 year ago

Update, 1 day after sending the email, In the meantime I will try to update the firmware using uart