Most recent activity
-
@Gordon That was my plan for the weekend. I guess I need to find something else then ;)
Thank you! -
Thank you Gordon, I guess I will dig into this, I'll try to find out, whats going on with the new driver :)
If anybody else looking for the
0018000902-AI03
firmware: Find it here -
Nothing. Request handler executes w/o errors, but the browser just hangs and nothing happens.
I waited 5 minutes between two requests and it just does the same thing.Before the first request:
HTTP server started +CIFSR:STAIP,"10.0.0.2" +CIFSR:STAMAC,"18:f e:34:fd:b8:5f" OK CIFSR failed: +CIFSR:STAMAC,"18:fe:34:fd:b8:5f" OK
First request:
0,CONNECT +IPD,0,304:GET / HTTP/1.1 H ost: 10.0.0.2 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Firefox/38. 0 Accept: text/html,application/xhtml+xml,a pplication/xml;q=0.9,*/*;q=0.8 Accept-Lan guage: hu-HU,hu;q=0.8,en-US;q=0.5,en;q=0.3 Accept-Encoding: gzip, deflate Connection: keep-alive "HELLO WORLD (1436085723627.167724609377)" > busy p... busy p... OK > > SEND OK 0,CLOSED OK
Second request:
0,CONNECT +IPD,0,304:GET / HTTP/1.1 Host: 10.0.0.2 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 D@yÐP¬Ì ñÿÿÿðÍ cation/xhtml+xml,applicatio n/xml;q=0.9,*/*;q=0.8 Accept-Language: hu-HU ,hu;q=0.8,en-US;q=0.5,en;q=0.3 Accept-Enc oding: gzip, deflate Connection: keep-alive "HELLO WORLD (1436085950000.67041015625)" > busy p... busy p... busy p... > busy p... busy p... busy p... busy p... >
-
Hi!
I'm facing with the same issue. Only the first http request served.
I'm using an ESP8266 with this firmware version:>Serial2.setup(115200,{ : rx:A3, : tx:A2, : bytesize:8, : parity:'none', : stopbits:1, : flow:'none'}); =undefined >Serial2.on('data',function(d) { console.log(d); }); =undefined >Serial2.write("AT+GMR\r\n"); =undefined AT+GMR AT version:0.21.0.0 SDK version:0.9 .5 OK
I also have insalled a temperature and air pressure sensor, which I wanted to serve as json data.
But it arrives like this:AT+CIPSEND=0,47 xt {"pressure":100727,"temperature":27.8375}
This is the code I used (Almost identical to the ESP8266's sample code)
Serial2.setup(115200,{ rx:A3, tx:A2, bytesize:8, parity:'none', stopbits:1, flow:'none'}); status = "Connecting to ESP8266"; var wifi = require("ESP8266WiFi").connect(Serial2, function(err) { if (err) throw err; status = "Reseting wifi module"; wifi.reset(function(err) { if (err) throw err; status = "Connecting to " + SSID; wifi.connect(SSID,code, function(err) { if (err) {status = err; throw err;} wifi.getIP(function(err, ip){ status = err || ("IP: " + ip); }); var http = require("http").createServer(onPageRequest); http.listen(80); status = "HTTP server started"; }); }); }); function onPageRequest(req, res){ res.writeHead(200, {'Content-Type': 'content/text'}); res.end(JSON.stringify(lastValue)); status = "Request served"; }
What is the advised firmware to use on ESP8266?
Also I'm using an Espruino Pico with 1v79 firmware.(Excuse my English, I'm not a native speaker.)
I live in Debrecen, Hungary (Europe) and I do software engineering at a big ICT company for living.
In my spare time I'm building quadrocopters from scratch (including 3d designing/printing body) for fun and then breaking them aparts after a few flights :)
They are controlled by openpilot boards. Once in the future, I want to write my own controller - maybe on an Espruino :)
In the early 2000 years I used to play with DMX technology. It is mostly used for stage lighting, but It is also good for some home automation task. I also wrote my dissertation about this. Nowadays I want to do the same through the IP layer.