Hi fellows,
I have a few of these shields to build a telemetry project at work for SMS alarm reporting and sending some data on a web page.
SMS work great, the shields are on top of arduino Unos and it work fine, only i just can't open a TCP/UDP or HTTP socket, it seems that the
AT+CGSOCKCONT=1,''IP'',''apn''
don't work for me
Her's my detailed log:
AT+GMR
+GMR: 1575B07SIM5216J
AT+CPIN?
+CPIN: READY
ok
AT+CSQ
+AT+CSQ: 19,99
ok
AT+CREG?
+CREG:0,1
ok
The device is registered for home network
AT+CGACT?
+CGACT:1.0
ok
AT+CMEE=1
ok
AT+CGATT=1
ok
connecting to PDP profile 1:
AT+CGACT1,1
ok
connection is successfull
AT+CGPADDR=1
+CGPADDR: 1,''10.168.74.190''
ok
AT+CGDCONT?
+CGDCONT:1,''IP'',''sp.telus.com'',''0.0.0.0'',0,0
ok
following conexion profiles are available,
CIP->1
PDP Type->IP
PDP Address->0.0.0.0
Data Compression->0
Header Comression->0
AT+CGSOCKCONT=1,''IP'',''sp.telus.com''
ERROR
AT+CGSOCKCONT?
+CGSOCKCONT: 1,''IP'','''',''0.0.0.0''0.0
+CGSOCKCONT: 2,''IP'','''',''0.0.0.0''0.0
+CGSOCKCONT: 2,''IP'','''',''0.0.0.0''0.0
+CGSOCKCONT: 4,''IP'','''',''0.0.0.0''0.0
+CGSOCKCONT: 5,''IP'','''',''0.0.0.0''0.0
+CGSOCKCONT: 6,''IP'','''',''0.0.0.0''0.0
+CGSOCKCONT: 7,''IP'','''',''0.0.0.0''0.0
+CGSOCKCONT: 8,''IP'','''',''0.0.0.0''0.0
+CGSOCKCONT: 9,''IP'','''',''0.0.0.0''0.0
+CGSOCKCONT: 10,''IP'','''',''0.0.0.0''0.0
+CGSOCKCONT: 11,''IP'','''',''0.0.0.0''0.0
+CGSOCKCONT: 12,''IP'','''',''0.0.0.0''0.0
+CGSOCKCONT: 13,''IP'','''',''0.0.0.0''0.0
+CGSOCKCONT: 14,''IP'','''',''0.0.0.0''0.0
+CGSOCKCONT: 15,''IP'','''',''0.0.0.0''0.0
+CGSOCKCONT: 16,''IP'','''',''0.0.0.0''0.0
AT+NETOPEN
ok
+NETOPEN=1 (close)
AT+NETOPEN=0
+IP ERROR:invalid parameter
AT+IPADDR
+IP ERROR: Network not opened