Estoy usando el módem GSM HE910 de Telit para publicar los datos en el servidor web. así que estoy usando la tarjeta SIM de diferentes proveedores de servicios de la empresa para probar la publicación de datos de diferentes proveedores de servicios. En este caso, cuando estoy usando la tarjeta Vodafone IN SIM, entonces Data Post Successfully en el servidor web. Cuando utilizo un servicio diferente, proporcione como, idea, airtel que también tienen activado INTERNET PACK pero no está publicando los datos en el servidor web.
con esta publicación he adjuntado un proveedor de servicios diferente al comando y su registro de respuestas.
VODAFONE SIM LOG
/ * Este registro se está generando usando la tarjeta SIM de Vodafone / * / * Datos publicados con éxito / *
ATE0
OK
AT
OK
AT&K0
OK
AT+CFUN=5
OK
AT+CMEE=2
OK
AT+CPIN?
+CPIN: READY
OK
AT+CREG?
+CREG: 0,1
OK
AT#SPN
#SPN: Vodafone IN
OK
www
AT#NITZ=1,0
OK
AT+CCLK?
+CCLK: "16/11/19,17:29:41"
OK
Time: 17:29:41 , Date: 19/11/16
AT+CGDCONT=1,"IP","www"
OK
AT#HTTPCFG=0,"www.xyz.com",80,0,,,0,120,1
OK
AT+CSQ
+CSQ: 19,0
OK
AT#SGACT=1,0
OK
AT#SGACT=1,1
#SGACT: 10.64.12.73
OK
AT#HTTPQRY=0,0,"/local/[email protected]&password=*****"
OK
AT#HTTPRCV=0
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL3d3dy56ZW52dXMuY29tXC9zbWFydGZhcm1cL2xvZ2luIiwiaWF0IjoxNDc5NTU2Nzg1LCJleHAiOjE0Nzk1OTI3ODUsIm5iZiI6MTQ3OTU1Njc4NSwianRpIjoiYTFhNmJlYTYzYTU2OWIxZWE3Y2ZmOWM3MjcyMmJjMWUifQ.powKjMIXi_PcYwlrC7Ewk6VsiIQOiV2tVfBhS121E9Q
AT#SD=1,0,80,"www.xyz.com"
CONNECT
GET http://xyz.com/local/postdata?master_mac=MSGJC20500LZN&slave_mac=NULL&ax=3583&ay=-1&az=-16630&mx=3&my=4&mz=26&gx=666&gy=43&gz=-54&humidity=99&latitude=00.0000&longitude=00.0000&temperature=29&light=27&combined_moisture_ph=01000100&nutrition=10&battery=35&soil_temp=116&date_time=1911-1729&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL3d3dy56ZW52dXMuY29tXC9zbWFydGZhcm1cL2xvZ2luIiwiaWF0IjoxNDc5NTU2Nzg1LCJleHAiOjE0Nzk1OTI3ODUsIm5iZiI6MTQ3OTU1Njc4NSwianRpIjoiYTFhNmJlYTYzYTU2OWIxZWE3Y2ZmOWM3MjcyMmJjMWUifQ.powKjMIXi_PcYwlrC7Ewk6VsiIQOiV2tVfBhS121E9Q HTTP/1.1
HTTP/1.1 200 OK
Date: Sat, 19 Nov 2016 11:59:53 GMT
Server: Apache
X-Powered-By: PHP/5.6.26
Cache-Control: no-cache
Content-Type: application/json
Transfer-Encoding: chunked
1b0
{"user_id":2,"master_mac":"MSGJC20500LZN","slave_mac":"NULL","ax":"3583","ay":"-1","az":"-16630","mx":"3","my":"4","mz":"26","gx":"666","gy":"43","gz":"-54","humidity":"99","latitude":"72.5942","longitude":"23.1039","nutrition":"10","temperature":"29","light":"27","battery":"35","soil_temp":"116","ph":4,"moisture":4,"date_time":"2016-11-19 17:29:00","updated_at":"2016-11-19 17:29:54","created_at":"2016-11-19 17:29:54","id":1847}
0
HTTP/1.1 200 OK
Date: Sat, 19 Nov 2016 11:59:53 GMT
Server: Apache
X-Powered-By: PHP/5.6.26
Cache-Control: no-cache
Content-Type: application/json
Transfer-Encoding: chunked
IDEA SIM LOG
/ * Este registro se está generando usando la tarjeta SIM de Idea / * / * Datos NO publicados / *
ATE0
OK
AT
OK
AT&K0
OK
AT+CFUN=5
OK
AT+CMEE=2
OK
AT+CPIN?
+CPIN: READY
OK
AT+CREG?
+CREG: 0,1
OK
AT#SPN
#SPN: Idea
OK
imis
AT#NITZ=1,0
OK
AT+CCLK?
+CCLK: "16/11/19,17:46:18"
OK
Time: 17:46:18 , Date: 19/11/16
AT+CGDCONT=1,"IP","imis"
OK
AT#HTTPCFG=0,"www.xyz.com",80,0,,,0,120,1
OK
AT+CSQ
+CSQ: 15,3
OK
AT#SGACT=1,0
OK
AT#SGACT=1,1
#SGACT: 10.120.51.157
OK
AT#HTTPQRY=0,0,"/local/[email protected]&password=*****"
+CME ERROR: can not resolve DN
AT#HTTPQRY=0,0,"/local/[email protected]&password=*****"
+CME ERROR: can not resolve DN
AIRTEL SIM LOG
/ * Este registro se está generando usando la tarjeta SIM de AIRTEL / * / * Datos NO publicados / *
ATE0
OK
AT
OK
AT&K0
OK
AT+CFUN=5
OK
AT+CMEE=2
OK
AT+CPIN?
+CPIN: READY
OK
AT+CREG?
+CREG: 0,1
AT#SPN
#SPN: airtel
OK
airtelgprs.com
AT#NITZ=1,0
OK
AT+CCLK?
+CCLK: "16/11/19,17:38:37"
OK
Time: 17:38:37 , Date: 19/11/16
AT+CGDCONT=1,"IP","airtelgprs.com"
OK
AT#HTTPCFG=0,"www.xyz.com",80,0,,,0,120,1
OK
SN:25 AT+CSQ
SN:26
+CSQ: 13,3
OK
AT#SGACT=1,0
OK
AT#SGACT=1,1
#SGACT: 100.77.200.1
OK
AT#HTTPQRY=0,0,"/local/[email protected]&password=*****"
OK
AT#HTTPRCV=0
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL3d3dy56ZW52dXMuY29tXC9zbWFydGZhcm1cL2xvZ2luIiwiaWF0IjoxNDc5NTU3MzI0LCJleHAiOjE0Nzk1OTMzMjQsIm5iZiI6MTQ3OTU1NzMyNCwianRpIjoiMTRjZWU1N2JmZmFmNWYwMjFmMzg3ZWNlYTZhZTQzYTIifQ.Np822FKzXVe9Lc5EU6_NchHyqABU3X2MgZXqFjNDUxg
AT#SD=1,0,80,"www.xyz.com"
CONNECT
GET http://xyz.com/local/postdata?master_mac=MSGJC20500LZN&slave_mac=NULL&ax=3275&ay=547&az=-16807&mx=5&my=-8&mz=6&gx=737&gy=104&gz=-1&humidity=55&latitude=00.0000&longitude=00.0000&temperature=30&light=25&combined_moisture_ph=01000100&nutrition=10&battery=35&soil_temp=94&date_time=0000-0000&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIsImlzcyI6Imh0dHA6XC9cL3d3dy56ZW52dXMuY29tXC9zbWFydGZhcm1cL2xvZ2luIiwiaWF0IjoxNDc5NTU3MzI0LCJleHAiOjE0Nzk1OTMzMjQsIm5iZiI6MTQ3OTU1NzMyNCwianRpIjoiMTRjZWU1N2JmZmFmNWYwMjFmMzg3ZWNlYTZhZTQzYTIifQ.Np822FKzXVe9Lc5EU6_NchHyqABU3X2MgZXqFjNDUxg HTTP/1.1
NO CARRIER