I have to be missing something simple in my connection. Ultimately I want to connect to a mqtt broker but I figure I would take baby steps and just try to connect to a http connection first. Here is my command sequence and response:
at OK AT+CGMM LE910C1-NS
OK AT+CGMR 25.00.241
OK AT#HTTPCFG=0,”sensordemo.bzsensors.com”,80,0,,,0,120,1 OK
at#sgact=1,1 #SGACT: 26.229.137.190,
OK AT#HTTPQRY=0,0,”/test.html” OK
#HTTPRING: 0,0,””,0
AT#HTTPRCV=0
ERROR
I dont get the ring response for some time which tells me its timming out. As well as there is no data along with the response. The html page I’m contacting is just a simple hello world page to verify connection.
I know the LE910 works and I have internet connectivity. I connect to a UDP port on my test server and dump data all day long with at#sd. Do I need to establish a SD connection to the server as well for TCP?
It works well with my LE910-EU-V2, see the log below.
Set AT+CMEE=2; check AT+CEER and ATCEERNET.
OK AT+CGMM
LE910-EU V2
OK AT#HTTPCFG=0,”sensordemo.bzsensors.com”,80,0,,,0,120,1
at#sgact=1,1
#SGACT: 10.188.46.246
OK AT#HTTPQRY=0,0,”/test.html”
OK
#HTTPRING: 0,200,”text/html”,57
AT#HTTPRCV=0,100
<<<<!doctype html> <html> <h1>Hello World!!</h1> </html> OK
Still no joy on my end. My module is the Sprint version of the LE910.
AT+CMEE=2 OK
AT+CGMM LE910C1-NS OK
AT+CGMR 25.00.241
AT#HTTPCFG=0,”sensordemo.bzsensors.com”,80,0,,,0,120,1 OK
We use cookies to enhance your browsing experience and help us improve our websites. To improve our website, we carefully select third parties that use cookies to allow us to serve specific content and achieve the purposes set out in our cookie policy. For more information on how to make adjustments through your browser to the cookies being used on your device, please click Find Out More link. By closing this banner or continuing to browse our website, you agree to our use of such cookies. FIND OUT MORE
I have to be missing something simple in my connection. Ultimately I want to connect to a mqtt broker but I figure I would take baby steps and just try to connect to a http connection first. Here is my command sequence and response:
at
OK
AT+CGMM
LE910C1-NS
OK
AT+CGMR
25.00.241
OK
AT#HTTPCFG=0,”sensordemo.bzsensors.com”,80,0,,,0,120,1
OK
at#sgact=1,1
#SGACT: 26.229.137.190,
OK
AT#HTTPQRY=0,0,”/test.html”
OK
#HTTPRING: 0,0,””,0
AT#HTTPRCV=0
ERROR
I dont get the ring response for some time which tells me its timming out. As well as there is no data along with the response. The html page I’m contacting is just a simple hello world page to verify connection.
I know the LE910 works and I have internet connectivity. I connect to a UDP port on my test server and dump data all day long with at#sd. Do I need to establish a SD connection to the server as well for TCP?
It works well with my LE910-EU-V2, see the log below.
Set AT+CMEE=2; check AT+CEER and ATCEERNET.
OK
AT+CGMM
LE910-EU V2
OK
AT#HTTPCFG=0,”sensordemo.bzsensors.com”,80,0,,,0,120,1
at#sgact=1,1
#SGACT: 10.188.46.246
OK
AT#HTTPQRY=0,0,”/test.html”
OK
#HTTPRING: 0,200,”text/html”,57
AT#HTTPRCV=0,100
<<<<!doctype html>
<html>
<h1>Hello World!!</h1>
</html>
OK
Still no joy on my end. My module is the Sprint version of the LE910.
AT+CMEE=2
OK
AT+CGMM
LE910C1-NS
OK
AT+CGMR
25.00.241
AT#HTTPCFG=0,”sensordemo.bzsensors.com”,80,0,,,0,120,1
OK
AT#SGACT=1,1
#SGACT: 26.250.229.114,
OK
AT#HTTPQRY=0,0,”/test.html”
OK
#HTTPRING: 0,0,””,0
AT+CEER
+CEER: Normal, unspecified
+CEER: Normal, unspecified
OK
ATCEERNET
+CME ERROR: unknown
Looks like ling times out as well:
AT#PING=8.8.8.8
#PING: 01,”8.8.8.8″,600,255
#PING: 02,”8.8.8.8″,600,255
#PING: 03,”8.8.8.8″,600,255
#PING: 04,”8.8.8.8″,600,255
OK
AT#SGACT?
#SGACT: 1,1
#SGACT: 2,0
OK
Well, I got it working after doing a rtn=000000 and it re registering with the network.