我正在使用 FONA808 模块(使用 sim808 芯片)从网站检索数据。但是,我无法这样做。我检查了以下内容:
- GPRS connectivity : OK (AT+CGATT? returns ok)
- Properly configured APN (AT+CSTT="web2")
- Properly brings up wireless connection (AT+CIICR)
- Gets proper IP address (AT+CIFSR)
我对 HTTP GET 使用以下命令序列:
AT+HTTPINIT => OK
AT+HTTPSSL=1 => For SSL https access
AT+HTTPPARA="CID",1 =>OK
AT+HTTPPARA="URL","http://www.qbwireless.technology" ==>OK
这里发生了问题
AT+HTTPACTION=0 (GET command)
returns
+HTTPACTION: 0,601,0 (meaning NETWORK problem).
我在 sim 上有可用的数据,可以使用手机访问数据。
谁能帮我找到问题?谢谢
Here is the data log I have on the serial terminal:
at+csq
+CSQ: 9,0
OK
at+csq
+CSQ: 9,0
OK
at+cgatt?
+CGATT: 1
OK
at+cstt="web2"
OK
at+ciicr
OK
at+cifsr
100.115.48.8
at+cipstart="TCP","www.google.com","80"
OK
STATE: IP STATUS
CONNECT FAIL
at+cipstart="TCP","http://www.qbwireless.technology","80"
OK
STATE: IP STATUS
CONNECT FAIL
at+cmee=1
ERROR
at+cmee=1
ERROR
at+cmee=1
OK
at+
+CME ERROR: 100
at+cipstart="TCP","http://www.qbwireless.technology","80"
OK
STATE: IP STATUS
CONNECT FAIL
at+cipstart="TCP","116.228.221.51","80"
OK
at
OK
at+cgatt?
+CGATT: 1
OK
at+cifsr
100.115.48.8
at+cipclose
+CME ERROR: 100
at+cipclose
+CME ERROR: 100
at+cipclose
CLOSE OK
at+httpinit
OK
at+httpssl=1
OK
at+httpssl?
+HTTPSSL: 1
OK
at+httppara="CID",1
OK
at+httppara?
+HTTPPARA:
CID: 1
URL:
UA: SIMCOM_MODULE
PROIP: 0.0.0.0
PROPORT: 0
REDIR: 0
BREAK: 0
BREAKEND: 0
TIMEOUT: 120
CONTENT:
USERDATA:
OK
at+httppara="URL","http://www.qbwireless.technology"
+CME ERROR: 100
at+httppara="URL","http://www.qbwireless.technology"
OK
at+httppara?
+HTTPPARA:
CID: 1
URL: http://www.qbwireless.technology
UA: SIMCOM_MODULE
PROIP: 0.0.0.0
PROPORT: 0
REDIR: 0
BREAK: 0
BREAKEND: 0
TIMEOUT: 120
CONTENT:
USERDATA:
OK
at+httpaction=0
OK
+HTTPACTION: 0,601,0