Ivan Grokhotkov
e64e32b329
Fix regression in WiFiClientSecure, update HTTPS test case ( #2150 )
2016-06-15 11:49:51 +08:00
Ivan Grokhotkov
da17d5425a
Fix regression in WiFi.onEvent, add testcase (thanks @everslick)
2016-06-14 13:09:46 +08:00
Ivan Grokhotkov
b4490cd76d
Fix issue when WiFi.begin(ssid, pass) is called right after WiFi.mode(WIFI_OFF)
...
If ssid and pass matched the values in flash, wifi_station_connect was not called and no connection was attempted
2016-06-14 13:07:08 +08:00
Ivan Grokhotkov
43412970ae
Fix for crash in WiFiClientSecure when WiFi is disconnected ( #2139 )
...
* WiFiClient: implement stopAll() via stop()
* WiFiClientSecure: clean up ClientContext used by axTLS when stop is called (#2097 )
2016-06-13 18:36:30 +08:00
Ivan Grokhotkov
9dd7910aed
Enable SO_REUSE in LwIP and WiFiServer ( #1431 ) ( #2140 )
2016-06-13 10:36:10 +08:00
Ivan Grokhotkov
00065ac347
Allow DHCP client to be re-enabled using WiFi.config(0U, 0U, 0U) ( #1896 )
2016-06-12 14:44:15 +08:00
Ivan Grokhotkov
de166c9dd7
WiFi event handling refactoring ( #2119 )
2016-06-10 07:46:10 +08:00
Ivan Grokhotkov
7fd7ca6834
WiFiServer: fix error when calling close
more than once
2016-06-08 17:32:45 +08:00
Anton Sokolchenko
533a600d95
Add virtual destructor to WiFiServer class ( #2116 )
...
Without this line compiler complains about :
Warning 22:9: warning: deleting object of polymorphic class type 'WiFiServer' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] \\Mac\Home\Documents\Visual Studio 2015\Projects\BlinkESP8266_12\ActAsWiFi_server\SVServer.cpp 22
Reason for this is that I would like to init WiFiServer with port which can by dynamically chosen (for example by serial port)
internalServer = new WiFiServer(port);
2016-06-08 15:51:50 +08:00
Ivan Grokhotkov
e8b8a606e4
Update axTLS to 139914f
...
- Fix occasional software WDT due to lengthy bigint operations
- Implement truly blocking reads as a workaround for half-duplex nature of axTLS
2016-05-10 23:34:33 +08:00
Ivan Grokhotkov
f2fb43cabf
Prevent WiFi config corruption ( #1997 #1856 #1699 #1675 )
2016-05-10 15:27:06 +08:00
Ivan Grokhotkov
a2b82ed6b6
Use gcc-built LwIP by default ( #1926 )
...
It is still possible to use xcc-built LwIP by selecting "Core Development" board from tools menu.
2016-05-06 20:09:15 +08:00
luc
f95f0ed321
Fix WiFiSleepType_t values to match SDK ones
2016-05-05 19:38:32 +02:00
Ivan Grokhotkov
33723a9b52
Fix UdpContext::peek to return int ( #1946 )
2016-04-26 16:02:07 +08:00
Ivan Grokhotkov
8c65f2fcd0
Update axTLS to fe4518d, SNI support in WiFiClientSecure ( #1285 )
...
Fixes #1933
2016-04-19 08:29:13 +03:00
Ivan Grokhotkov
18f66e9969
Merge pull request #1892 from me-no-dev/lwipsrc
...
Update and move lwIP headers, add options to use different lwIP build for generic device
2016-04-13 14:32:04 +03:00
Ivan Grokhotkov
e82b74eab2
Merge pull request #1850 from 4m1g0/fixPSK
...
Allow PSK instead of passphrase in WiFiSTA::begin
2016-04-13 14:17:46 +03:00
Ivan Grokhotkov
fa7e9037a4
Merge pull request #1880 from sauttefk/master
...
Re-enable old behaviour if passphrase string is empty
2016-04-13 14:17:13 +03:00
4m1g0
a06ceb8191
Merge branch 'master' into fixPSK
2016-04-10 23:38:52 +02:00
Me No Dev
bfe9f7be69
Update and move lwIP headers, add options to use different lwIP build for generic device
...
Makefile added to lwip source folder to build and install liblwip_gcc.a
2016-04-10 21:55:22 +03:00
Jacob Killelea
1bfec4ea8e
Spelling correction in comments
2016-04-08 19:21:58 -06:00
Frank Sautter
4684e44902
Re-enable old behaviour if passphrase string is empty
...
An empty passphrase string should enable AUTH_OPEN mode of softAP.
This was the behaviour before commit 293e55c.
Additionally make the type of checking for empty strings consistent.
2016-04-08 10:26:11 +02:00
Hemal Chevli
e4e182a966
Rectified mistake in if condition
...
thanks to @chaeplin for finding the mistake
2016-04-05 13:12:22 +05:30
Hemal Chevli
81859c5df6
Changed timeout logic
...
Changed timeout to unsigned long. Using addition with millis() is not recommended.
Source: http://www.gammon.com.au/millis
2016-04-05 10:53:15 +05:30
4m1g0
1b8f6d2e8e
Allow PSK instead of passphrase in WiFiSTA::begin
...
In WPA protocol, the maximum length of the passphrases are 64 characters in order to distinguish them from the actual PSK who is 64 ASCII characters long, so in most systems if a 64 chars string is passed, it is assumed to be a PSK, otherwise is treated as a passphrase and is used to compute the PSK.
2016-04-03 03:31:57 +02:00
Ivan Grokhotkov
19e97bfe15
Fix WiFiUDP::peek return value when buffer is empty ( #1796 )
2016-03-24 01:21:29 +03:00
Ivan Grokhotkov
213914e1ce
Fix undefined behaviour in WiFiServer::setNoDelay ( #1695 )
2016-03-24 01:14:48 +03:00
Jacob Killelea
303af24467
Spelling correction in comments
2016-03-21 12:42:18 -07:00
Ivan Grokhotkov
aa67d1c492
Pass errors from udp_sendto to WiFiUDP::endPacket ( #1696 )
2016-03-02 19:58:35 +03:00
Ivan Grokhotkov
33e5ca44df
WiFiClient: fix write behaviour when connection is closed by remote side
...
Don't wait for data to be ACKed if we have just called abort().
2016-03-02 17:53:42 +03:00
Ivan Grokhotkov
2c40d82459
WiFiClientSecure: implement connection timeout, fix connected method behaviour
2016-03-02 16:30:32 +03:00
Ivan Grokhotkov
fbe58b7b14
WiFiClientSecure: don't panic if memory allocation fails
...
If it fails due to a malloc somewhere in bigint.c, we will still crash (although with a less obvious crash message). If it fails in increase_bm_data_size, axTLS will handle this and report that connection has been aborted. This error will be passed on to the user, so that an application can recover and attempt to reconnect.
2016-02-26 18:41:27 +03:00
Ivan Grokhotkov
fcf9c0d7ce
Verify domain name in WiFiClientSecure::verify
2016-02-26 18:41:27 +03:00
Markus Sattler
3e9dede14e
speed up WiFi.hostByName when the hostname is actually a IP.
2016-02-18 23:07:51 +01:00
Ivan Grokhotkov
1d149560be
Fix WiFi scan issue ( #1355 )
2016-02-04 01:19:29 +03:00
Ivan Grokhotkov
efc8dda160
Workaround for LwIP not handling ERR_ABRT
...
Described in detail here: https://github.com/esp8266/Arduino/wiki/LwIP-issue,-or-how-a-simple-%22if%22-can-go-wrong
2016-01-26 15:57:37 +03:00
Stefan Gordon
7f7a1ac420
Include Arduino.h AFTER memory.h
...
Arduino.h defines min/max which are then redefined with templates in stl_algobase.h imported from memory.h. This is the least impactful way I can find to get past this for now and unblock use of wificlient in more scenarios.
2016-01-15 12:02:08 -08:00
Markus Sattler
b425eff683
#1407
2016-01-11 15:46:52 +01:00
Markus Sattler
856792358a
Merge remote-tracking branch 'remotes/esp8266/master'
2016-01-09 21:26:00 +01:00
Me No Dev
c6d8e2532b
optimize
2016-01-09 21:53:24 +02:00
Markus Sattler
c8e6b7f6d2
correct default return value for softAP
2016-01-09 17:30:14 +01:00
Me No Dev
fe07baadf3
fix bad (recently changed) function signatures in lwip
2016-01-09 18:18:53 +02:00
Me No Dev
a143e614e7
Merge remote-tracking branch 'origin/master'
2016-01-09 13:35:25 +02:00
Me No Dev
377864f76b
Merge remote-tracking branch 'esp8266/master'
2016-01-09 13:31:28 +02:00
Markus Sattler
a3161d5b3c
typo
2016-01-09 11:40:46 +01:00
Me No Dev
cccff08a37
revert change, though signatures are wrong
2016-01-09 00:15:13 +02:00
Markus Sattler
29bb74beab
rework AP config to get DHCP in best mode if SDK config got invalid some how.
2016-01-08 22:40:51 +01:00
Markus Sattler
dec6739e3f
add more debug to WiFi
2016-01-08 19:06:28 +01:00
Me No Dev
897a475fdb
Merge remote-tracking branch 'esp8266/master'
2016-01-07 21:27:53 +02:00
Markus Sattler
a6238e388b
Merge remote-tracking branch 'remotes/esp8266/master' into debug
2016-01-04 22:10:50 +01:00