1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-05-31 08:42:49 +03:00

690 Commits

Author SHA1 Message Date
Markus Sattler
f11c65e9a7 add basic check for valid data for in updateSketch (first byte of bin is always 0xE9)
send SDK version by HTTP Update
2015-06-22 10:23:33 +02:00
Markus Sattler
8559c8bbb1 add pull up option to OneWire
see #447
2015-06-21 22:19:23 +02:00
Markus Sattler
3d71bec59a rename to ESP8266HTTPUpdate 2015-06-21 22:07:02 +02:00
Markus Sattler
0f513e4814 add first code for HTTP Update 2015-06-21 21:38:36 +02:00
John Doe
80d5508b73 fix I2C case where using different pins would not work with libs calling begin internally
if you call Wire.begin(new_sda, new_scl) and your library calls
internally Wire.begin() this will overwrite the SDA,SCL pins to the
default ones
2015-06-20 21:57:09 +03:00
Markus Sattler
1f1497264b disable WiFi DEBUG_WIFI_MULTI
add _min and _max define as workaround
2015-06-20 20:55:08 +02:00
Markus Sattler
874cf0ef98 fix exception 28 in AP + STA mode and STA disconnect
UDP triggers exception 28
2015-06-20 18:36:19 +02:00
jtfell
6f05da45cf add ESP8266WiFiMesh library 2015-06-19 21:12:47 +03:00
Peter Newman
b7451114fd Don't wait for a connection to an AP when we're supposed to be the AP. 2015-06-19 20:57:19 +03:00
Markus Sattler
fe1b39fa0e update AVR src
* java code not tested *

Merge remote-tracking branch 'remotes/arduino/master' into esp8266

Conflicts:
	README.md
	app/src/processing/app/AbstractMonitor.java
	arduino-core/src/processing/app/Serial.java
	libraries/WiFi/examples/WiFiWebClientRepeating/WiFiWebClientRepeating.ino
	libraries/WiFi/library.properties
2015-06-17 14:24:25 +02:00
Markus Sattler
9a1ff7f70d add WiFi scan Async mode 2015-06-16 18:26:34 +02:00
John Doe
d441d8485e allow proper content length handling 2015-06-16 00:25:34 +03:00
Me No Dev
960ada04c3 Merge pull request #4 from esp8266/esp8266
Esp8266
2015-06-12 20:36:35 +03:00
John Doe
a409ce2e6b fix example not working on firefox 2015-06-12 20:31:09 +03:00
Ivan Grokhotkov
c51acf2a32 Fix tcp error handler 2015-06-11 18:11:26 +03:00
Ivan Grokhotkov
e6e57a8b81 Better handling of wifi disconnect (#231)
When network interface is down, some nasty things happen, for instance tcp_connect returns without ever calling error callback.
This change adds some workarounds for that: before doing a tcp connect and DNS resolve we check if there is a route available.
Also added a listener for wifi events which stops (aborts) all the WiFiClients and WiFiUDPs when wifi is disconnected. This should
help libraries detect disconnect properly.
2015-06-11 18:01:33 +03:00
Ivan Grokhotkov
567d401ed3 Merge pull request #406 from me-no-dev/esp8266
fix sd example returning bad json on empty folder
2015-06-11 12:38:52 +03:00
Kristijan Novoselic
c570d0f593 Added a DNSServer library 2015-06-11 12:37:30 +03:00
John Doe
fe562e6785 fix sd example returning bad json on empty folder 2015-06-09 01:34:59 +03:00
Markus Sattler
51cd867af3 Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-06-05 15:43:33 +02:00
Dario Di Maio
7f66a3a415 Remove unnecessary ICACHE_FLASH_ATTR 2015-06-05 15:58:44 +03:00
Markus Sattler
1544a6ad0f Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-06-05 14:47:34 +02:00
Markus Sattler
b620060671 do check if ssid is an empty String ""
use strdup to save some flash

#386 part 2
2015-06-05 12:57:00 +02:00
Ivan Grokhotkov
3ff5947305 Merge pull request #370 from Links2004/esp8266
add better docu and schematics for easy setup the ESP
2015-06-05 13:55:34 +03:00
Markus Sattler
c0df9b0430 fix #386 2015-06-05 11:48:02 +02:00
chad cormier roussel
7daa6c6b69 Add function overload to config to include DNS
Disable DHCP if using static IP

With dhcp disabled, I noticed about 50% less conncection time
2015-06-03 15:29:25 -04:00
Markus Sattler
fa4fd9ed9d only call wifi_set_opmode when really needed 2015-06-03 15:40:43 +02:00
Markus Sattler
1de33fe51b improve mode handling for ESP8266WiFiClass::scanNetworks and ESP8266WiFiClass::beginSmartConfig 2015-06-03 15:10:35 +02:00
John Doe
d87bb1e12e spi clock does not depend on cpu clock 2015-06-02 01:13:15 +03:00
Me No Dev
b68dfbc7ce Merge pull request #2 from esp8266/esp8266
asd
2015-06-02 00:13:08 +03:00
John Doe
6ab3c76e03 register and clock changes 2015-06-02 00:11:20 +03:00
Ivan Grokhotkov
6472dfe0d1 Merge pull request #358 from Makuna/Servo
Servo library
2015-06-01 02:20:23 +03:00
Wietse van Buitenen
5c1ee1f7ad Use correct variable for sendNTPpacket 2015-05-31 13:04:11 +02:00
Makuna
3c3bc0f523 Timer0 and Servo library support
This exposes the Timer0
This provides a Servo library support compatible with Arduino Servo
library but only supports the two timers the esp8266 has available
2015-05-29 13:30:15 -07:00
Ivan Grokhotkov
0c7e225bd5 Merge pull request #325 from Links2004/esp8266
add 2 compiler options from last SDK, __attribute__ format to Print::printf,  link to arduinoWebSockets
2015-05-29 19:44:32 +03:00
Markus Sattler
f18bb28813 fix bug #343
add __attribute__ to printf functions for better compiler warning handling.
remove ICACHE_FLASH_ATTR, all cpp files are automatic in FLASH (ld script)
2015-05-28 18:58:09 +02:00
Markus Sattler
c415ebe8b4 add function to get the MAC / BSSID as String 2015-05-28 17:31:45 +02:00
moeur
72ab7cd41c Update NTPClient.ino
Instead of hardwiring the IP address of one server into the program, look-up an IP address from the host name.  This way you get a random server from the pool each time.
2015-05-26 07:55:56 -07:00
Markus Sattler
5852c484ca add ESP.eraseESPconfig() to erase the ESP SDK configuration (including wifi)
improve WiFiMulti
2015-05-25 12:29:26 +02:00
Markus Sattler
1d2b85ec0e disable DEBUG_WIFI_MULTI define 2015-05-25 09:49:15 +02:00
Markus Sattler
5a86c20f1e add rssi function of new SDK 1.1.0
fix warning in hexdump and ESP8266WiFiMulti
2015-05-25 09:47:13 +02:00
Ivan Grokhotkov
49aeb79b05 Add API to set the beginning of local ports range for WiFiClient 2015-05-24 23:15:05 +03:00
Ivan Grokhotkov
4fdd546ad5 Fix build 2015-05-24 15:35:18 +03:00
Ivan Grokhotkov
db1e033186 Remove SPIFFS wrapper 2015-05-23 10:13:59 +03:00
Ivan Grokhotkov
3422294a7f Fix typo 2015-05-22 18:16:44 +03:00
Ivan Grokhotkov
f7dbb35c92 Fix case of WiFi.channel() method 2015-05-22 18:11:09 +03:00
Ivan Grokhotkov
8fdb824e11 Add setContentLength method to web server, update examples
related to #304
2015-05-22 17:57:30 +03:00
Ivan Grokhotkov
21d50e104c Web server: disconnect at the end of callback, not after sendContent (#304) 2015-05-22 16:19:08 +03:00
Ivan Grokhotkov
5bdb26ac29 code review 2015-05-22 03:36:04 +03:00
Ivan Grokhotkov
57a1bdc99f Merge branch 'Links2004-esp8266' into esp8266
* Links2004-esp8266:
  ESP8266WiFi extended functions
2015-05-22 03:15:49 +03:00