liebman
3b0c395837
cleanup warnings ( #3934 )
2017-12-08 02:08:54 -03:00
Ivan Kravets
eb494065b4
Merge pull request #3894 from esp8266/ivankravets-patch-2
...
CI: Use updated staging dev/platform without "_stage" suffix
2017-11-30 01:23:25 +02:00
Ivan Kravets
6e75ae49ad
CI: Use updated staging dev/platform without "_stage" suffix
2017-11-30 00:10:50 +02:00
Shawn A
7b09ae5f69
Bug #3795 ( #3858 )
...
* fixes #3795
* adds beacon_interval and authmode to softap_config_equal
2017-11-22 19:01:22 -03:00
Shawn A
c40d8a990e
adds WiFi.getPersistent() ( #3857 )
2017-11-22 18:08:28 -03:00
Alessio Leoncini
fecacf167c
Added Serial.setRxBufferSize method description in libraries reference document ( #3862 )
...
* Added null pointer check
* Fixed typo
* Added Serial.setRxBufferSize method description in libraries reference document
2017-11-22 14:30:11 -03:00
Develo
9dcc580aef
Add compatibility check for ::config() method with arduino arg order ( #3860 )
2017-11-22 10:22:11 -03:00
Michael
7de58d9671
Fixed broken links in ota_updates/readme.rst
...
Replaced links to filesystem.md with filesystem.rst
2017-11-21 20:51:50 +08:00
Alessio Leoncini
03f1a540ca
Added constant time string comparison to avoid possible time-based attacks. ( #3836 )
...
* Added constant time strings comparison to avoid possible time-based attacks
* Fixed data types
* Fixed indentation
* Moved string comnparison in constant time to String class; modified function body to assure constant time comparison despite compiler optimizations
* Removed wrong code
* Fixed error and prevented compiler optimization to delete u1 local variable
* Avoid timing attacks on string comparison
* Minor
* changed counter names, removed else
2017-11-21 01:56:05 -03:00
david gauchard
cbfbc1ad63
lwip2 fixes and time/ntp management
...
core: +settimeofday()
core: +coredecls.h +sntp-lwip2.c
core: fix clock_gettime() with micros64()
core: honor DST in configTime()
core: internal clock is automatically started
examples: +esp8266/NTP-TZ-DST.ino
lwip2: sntp client removed
lwip2: fix crashing with WiFi.softAPConfig(ip,ip,ip)
fix #3852
2017-11-21 10:50:48 +08:00
Develo
2f09ea7117
refactor of WiFiMulti::run to reduce complexity and remove dead code ( #3847 )
2017-11-20 21:46:12 -03:00
Develo
cb0a30c22b
Removed unused function that serves no purpose ( #3854 )
2017-11-20 17:51:25 -03:00
Develo
422f35938a
Added length and operator[] methods, added some constness, missed dirty clear ( #3855 )
...
* Added length and operator[] methods, added some constness, missed _dirty clear
* Added forgotten const
2017-11-20 16:25:52 -03:00
Develo
1b76e9bf72
Clear dirty flag in begin and reallocate only if necessary, add getConstDataPtr method ( #2217 ) ( #3849 )
2017-11-20 14:39:27 -03:00
Mystic-Mirage
117bc875ff
Fix too wide 'word' type -- it should be 16-bit instead of 32-bit ( #3851 )
2017-11-19 19:42:15 -03:00
Shawn A
78b0f44348
fixes #3795 ( #3796 )
...
don't ignore ret when handling AP enable/disable in softAPdisconnect
2017-11-17 20:28:34 -03:00
Luc
bec6a4d302
Fix ESP8266NetBIOS to compile with lwip V2 ( #3823 )
...
* Fix to compile with lwip V2
* Add changes suggested
2017-11-17 18:02:22 -03:00
Shawn A
397592fce7
fixes #3793 ( #3794 )
...
wifi_softap_set_config always fails, password cannot be 0 unless authmode is open, no documentation found, trial and error.
2017-11-17 15:20:40 -03:00
Luc
d1e8fe99a2
Fix compilation with LWIP v2 ( #3822 )
2017-11-17 00:33:19 -03:00
Develo
9f2dcd6892
Fix ESP8266LLMNR for build with lwip2 ( #3821 )
...
* Fix for build with lwip2
* Fix for lwip2: Removed unnecessary #ifdefs
* Remove duplicate define for BIT
2017-11-16 13:41:24 -03:00
Brandon White
5b925697ec
Added micros64 and used to fix and improve gettimeofday.
2017-11-14 12:44:41 +08:00
devyte
303a71deea
Servo: fix arg types for std::min/max
2017-11-05 14:46:36 +08:00
Ivan Grokhotkov
7ad89e58cd
Use isnan and isinf from std::
2017-11-05 14:46:36 +08:00
Ivan Grokhotkov
dfcaa1b854
Use min and max from std::
2017-11-05 14:46:36 +08:00
Develo
063c2379a4
Update POLICY.md
...
Included review feedback from igrr
included feedback in PR (typos)
2017-11-03 10:34:03 +08:00
Develo
23ceb828c5
Update and rename Policy.md to POLICY.md
2017-11-03 10:34:03 +08:00
Develo
32ec86e7de
Create Policy.md
2017-11-03 10:34:03 +08:00
david gauchard
7315095e46
lwip2: build: include and lib
2017-11-03 10:09:53 +08:00
david gauchard
84cf2f4b5e
lwip2: automatically clone lwip's git
2017-11-03 10:09:53 +08:00
david gauchard
32f6826dcf
lwip2 integration
2017-11-03 10:09:53 +08:00
Ivan Grokhotkov
5c01841430
sdk: update to v2.1.0-14-g33f234f
...
33f234f4a6
2017-10-31 02:05:40 +08:00
Christian Schuster
e71ec77a00
minimize number of exit paths in ESP8266WebServer::handleClient ( #2557 )
2017-10-22 13:58:53 +08:00
Christian Schuster
2fbc619569
allocate HTTPUpload struct on demand ( #2557 )
2017-10-22 13:58:53 +08:00
Bryce Schober
20b7e480b5
Make ESP8266mDNS debug output like other ESP libs
2017-10-22 13:56:45 +08:00
Bryce Schober
42aa983628
Make DNSServer debug output like other ESP libs
2017-10-22 13:56:45 +08:00
James Stanley
2abbc36da4
Put WiFi into station mode in examples ( #3731 )
2017-10-22 13:53:01 +08:00
Julian Wolter
098172c5e4
Increase version for PlatformIO ( #3742 )
2017-10-22 13:51:30 +08:00
Peter Lerup
fdac1a2653
Update SoftwareSerial to 3.3.0 ( #3727 )
...
SoftwareSerial: update to 3.3.1
2017-10-22 13:32:53 +08:00
vdeconinck
5397813e5c
Minimal file with a few ESP8266-specific keywords - github issue #3701
2017-10-22 13:29:38 +08:00
Ivan Grokhotkov
0c897c37a6
ci: add skip_cleanup for release deployment
2.4.0-rc2
2017-10-15 15:33:00 +08:00
ittacco
53d7cc01cf
Optimize EEPROM::put ( #2487 )
...
* EEPROM Library:
Improved put function, compare data and only in case are different set _dirty flag, copy the data
* It will grant that the _dirty flag is reset only at EEPROM.commit() and no changes are lost
2017-10-15 02:16:42 -05:00
WereCatf
9fce9c792c
Add a workaround-delay in Serial.flush() ( #3714 )
...
* Add a workaround-delay in Serial.flush()
In relation to #2536 and #2502
Tested at 80MHz and 160MHz with flash-frequency at both 40MHz and 80MHz, the bug mentioned in the above issues manifests in all cases. The proposed workaround seems to work fine, I tested at 2400bps, 9600bps, 115200bps, 230400bps and 2Mbps and didn't see anomalous output.
* Remove extraneous character
* Update HardwareSerial.cpp
2017-10-15 02:05:49 -05:00
E. van Harten
b81ef01ef7
Fix for redirect of HTTP Update, so that it always returns to the root / instead of /update ( #3420 )
2017-10-15 02:03:28 -05:00
Ivan Grokhotkov
80aeacfb80
Fix erase size in ESP.eraseConfig
...
SDK uses final 4 sectors of flash for configuration data.
ESP.eraseConfig would only erase 2 sectors, so in some cases of
corrupted data ("system param error"), users could not fix the issue
using ESP.eraseConfig, and had to use esptool instead.
Thanks @HugoML for reporting this.
2017-10-15 02:02:05 -05:00
BSCheshir
93ad1fb3b6
fix link from md to rst ( #3704 )
...
actual instructions in rst
2017-10-15 02:01:12 -05:00
Ivan Grokhotkov
84512ec811
fixes for SDK update
...
- recompile liblwip_gcc.a with new err_t definitions
- update espconn.h (function signature change, new function)
- add option to build lwip with debug-prefix-map
2017-10-15 14:59:37 +08:00
Juppit
1c8bcf6cb2
fix gettimeofday()
...
tp->tv_usec = micros() not micros() * 1000
2017-10-15 14:43:03 +08:00
Ivan Grokhotkov
c83e17b31e
WiFiUpd: fix warning
2017-10-15 14:41:50 +08:00
Ivan Grokhotkov
d24a358817
esptool: update to 0.4.12
2017-10-15 01:40:10 -05:00
Ivan Grokhotkov
5116a46f09
WiFiClient,WiFiServer: update to match new err_t definition
2017-10-15 01:40:10 -05:00