Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
frippe75
@frippe75
Downloading: http://192.168.0.210:80/firmware/myhex
HTTP/1.1 200 OK
Date: Sun, 22 Nov 2015 21:28:06 GMT
Markus
@Links2004
simpler use the library :)
http get is working fine right now.
frippe75
@frippe75
Haha, well I should have guessed. But you are right, why reinvent the wheel. While it's in the owen ;-)
Markus
@Links2004
httpClient http;
 http.begin("focuszoomer.no-ip.biz", 80, "/firmware/myhex"); 
 int httpCode = http.GET();
 if(httpCode == 200) {
    http.writeToStream(&Serial);
   // or use  WiFiClient stream = http.getStream(); and handle the payload yourself
}
http.end();
thats the minimum :)
frippe75
@frippe75
much appreciated!
frippe75
@frippe75
Sorry for my lack of understanding!
Property line '<!DOCTYPE html>' in file /usr/local/arduino-PR-4107-BUILD-421/libraries/ESP8266httpClient/library.properties is invalid
here is a zip version :)
frippe75
@frippe75
Thanks, wget on the file... don't know how the hell it ended up that way.
frippe75
@frippe75
/usr/local/arduino-PR-4107-BUILD-421/hardware/esp8266com/esp8266/libraries/ESP8266httpClient/src/ESP8266httpClient.h:90:9: error: 'WiFiClientSecure' does not name a type
WiFiClientSecure * _tcps;
Markus
@Links2004
which version of the arduino esp8266 do you use?
frippe75
@frippe75
PR-4107-BUILD-421
Maybe adding WiFiClientSecure to my sketch.
That works but I'm not sure why that has to be... Shouldn't your class be self-contained?
Markus
@Links2004
yes ;) may you not have this bugfix: esp8266/Arduino@83b452b
its currently only on the git version rc1 dont have it
frippe75
@frippe75
aha! Do I dare asking best way to keep up?
then you can use git pull for update
frippe75
@frippe75
thanks!
Now i'm latest and greatest. compiles fine. So what about the http GET...
Mario Mikočević
@mozgy
@igrr, big doc update but link is dead now :)
Cannot GET /versions/2.0.0-rc1/doc/reference.html
Ivan Grokhotkov
@igrr
i haven't uploaded anything yet
just fixed all layouts and stuff on localhost now
moving docs to github.io, haven't got the workflow straight yet
need too many manual steps :)
d-anders
@d-anders
Anyone who can read chinese or has the gizwits board?
brutzler
@brutzler
@d-anders : chinese? paste the text to google translator. had often success with this.
was two weeks offline
have seen there is a new staging. can i now use the ArduinoOta without github clone?
Ivan Grokhotkov
@igrr
need to fix up links, upload versions index, etc
sam-fori-yana
@khaaali

i am getting this on serial monitor when try to do OTA on http
ip:192.168.1.34,mask:255.255.255.0,gw:192.168.1.1

connecting to Social Startup

WiFi connected
IP address:
192.168.1.34
connecting to 92.86.1.33
please start sntp first !
please start sntp first !
Tue Nov 24 12:43:56 2015

Soft WDT reset

ctx: cont
sp: 3fff1280 end: 3fff15b0 offset: 01b0

stack>>>
3fff1430: 00000038 00000000 3fff2d10 4021927f
3fff1440: 00000038 00000001 00000033 00000000
3fff1450: 3fff2d10 00000000 00000038 40218c44
3fff1460: 00020011 00000010 3ffea2f0 3fff6160
3fff1470: 00000033 00000016 3fff2d10 00000000
3fff1480: 00000000 3fff2d10 3fff2d10 4021965a
3fff1490: 00000000 3fff4695 3fff2d10 40219821
3fff14a0: 00000000 3fff28b0 3fff2d10 402198a8
3fff14b0: 3fff2840 402036c2 3fff1550 3fff0480
3fff14c0: 3fff0484 3fff1550 3fff2850 40203186
3fff14d0: ebed262e 0000000a 00000003 3ffe9074
3fff14e0: 3ffe8340 00000bd6 3fff1550 40203362
3fff14f0: 3ffe9400 ebed262e 3ffe9138 3ffe9074
3fff1500: 3ffe8340 00000bd6 3fff1550 402027f5
3fff1510: 3ffe9400 ebed262e 3ffe9400 ebed262e
3fff1520: 3ffe912c 3ffe9c10 3fff1604 40204e34
3fff1530: 2201a8c0 3ffe9c10 3fff1604 40203378
3fff1540: 3fff0458 3ffe9c10 3fff1604 40202385
3fff1550: 3ffe9250 00000000 000003e8 00000000
3fff1560: 00000000 3fff2878 3fff2850 00000000
3fff1570: 00000001 00000000 00000000 00000000
3fff1580: 00000000 00000000 00000000 3fff057c
3fff1590: 3fffdc20 00000000 3fff0574 402037fe
3fff15a0: 00000000 00000000 3fff0590 40100114
<<<stack<<<

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
~ld
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 6
pm open phy_2,type:2 0 0
cnt

Mario Mikočević
@mozgy
@igrr CRC doesn't match. File is corrupted. or am I too restless ? :)
Ivan Grokhotkov
@igrr
hmm, lemme check..
yeah, it doesn't match. no idea why. will try to re-build the whole thing.
Ivan Grokhotkov
@igrr
should be fixed now.
it turns out that every time i generate the package, zip file has a different checksum (because of file ctimes i think)
Mario Mikočević
@mozgy
still Caused by: java.lang.Exception: CRC doesn't match. File is corrupted.
completely restarted Arduino IDE
Mario Mikočević
@mozgy
reinstalling rc1 works fine
Ivan Grokhotkov
@igrr
you may need to delete downloaded file (esp8266-2.0.0-rc2.zip)
it's somewhere in Arduino14/packages/staging/
on Windows that's within AppData, on OS X in ~/Library, on Linux in ~/.Arduino15
Mario Mikočević
@mozgy
ok works now, thx
Dmitry Kireev
@kireevco
if anyone interested, I’m working on https://github.com/kireevco/esp-alt-sdk - true cross platform toolchain. almost working, keep you posted
it doesn’t use croosstool-NG, so it’s easier to build
not sure if @pfalcon would accept such a huge change (no crosstool-ng)
Ivan Grokhotkov
@igrr
wow, that's awesome.