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:
OKAT#HTTPCFG=0, »sensordemo.bzsensors.com »,80,0,,,0,120,1OK
OKAT#HTTPQRY=0,0, »/test.html »OK
#HTTPRING: 0,0, » »,0
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.
OKAT#HTTPCFG=0, »sensordemo.bzsensors.com »,80,0,,,0,120,1
OKAT#HTTPQRY=0,0, »/test.html »
#HTTPRING: 0,200, »text/html »,57
<<<<!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#HTTPCFG=0, »sensordemo.bzsensors.com »,80,0,,,0,120,1OK
AT#HTTPQRY=0,0, »/test.html »OK
AT+CEER+CEER: Normal, unspecified+CEER: Normal, unspecified
OKATCEERNET+CME ERROR: unknown
Looks like ling times out as well:
AT#PING=220.127.116.11#PING: 01, »18.104.22.168″,600,255#PING: 02, »22.214.171.124″,600,255#PING: 03, »126.96.36.199″,600,255#PING: 04, »188.8.131.52″,600,255
AT#SGACT?#SGACT: 1,1#SGACT: 2,0
Well, I got it working after doing a rtn=000000 and it re registering with the network.
Hit enter to search or ESC to close
Knowledge Base & Download Zone