lubchoh
Newbie level 1
Hello guys,
I've recently came to this problem after we had to switch to SIM340 using SIM300 successfully for years (just SIM300 was out of stock). Browsing between both of the datasheets they seem to have minor differences (in fact in most of the literature and the shops they are written as equal - SIM300/SIM340) but the code I used for GPRS initialization and communication with SIM300 doesn't work with SIM340.
If somebody had a similar problem and want to share his knowledge please give me a hint. Here is the code and the responses:
Since I couldn't major differences in the datasheets of both modems I'd be grateful if somebody can help me.
Regards,
Lub
I've recently came to this problem after we had to switch to SIM340 using SIM300 successfully for years (just SIM300 was out of stock). Browsing between both of the datasheets they seem to have minor differences (in fact in most of the literature and the shops they are written as equal - SIM300/SIM340) but the code I used for GPRS initialization and communication with SIM300 doesn't work with SIM340.
If somebody had a similar problem and want to share his knowledge please give me a hint. Here is the code and the responses:
Code:
SEND COMMAND EXPECTED RESPONSE ACTUAL RESPONSE
(as in SIM300) (in SIM340)
AT OK OK
AT+CSQ OK OK
AT+CGATT=1 OK OK
AT+CGDCONT=1,"IP","wap.globul.bg" OK OK
AT+CSTT="wap.globul.bg" OK OK
AT+CIICR OK OK
AT+CIFSR Some IP Address 223.228.164.238
AT+CIPSTATUS OK OK
AT+CIPHEAD=1 OK OK
AT+CDNSORIP=1 OK OK
AT+CIPSTART="TCP","www.technosphere.in","80" OK OK
connect Ok ERROR: 6
STATE: IP STATUS
AT+CIPSEND > ERROR: 6
Since I couldn't major differences in the datasheets of both modems I'd be grateful if somebody can help me.
Regards,
Lub