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
Me No Dev
d67763a809
Merge remote-tracking branch 'esp8266/master'
2016-01-04 15:29:08 +02:00
Ivan Grokhotkov
ce1b64bc43
Merge pull request #1320 from alltheblinkythings/SerialInterframeFixes
...
Fixes for poor HardwareSerial performance/crashes exacerbated by SDK1.5
2016-01-04 21:26:59 +08:00
Markus Sattler
6cf20e0a71
fix WiFi Multi debug compile error
2016-01-03 15:27:36 +01:00
Me No Dev
7b297d2992
Merge remote-tracking branch 'esp8266/master'
2016-01-03 14:33:05 +02:00
Markus Sattler
995f02f437
add more debug levels
2016-01-02 12:54:34 +01:00
Markus Sattler
2b23b005aa
allow control of enabling debug and debug level from IDE
2016-01-02 12:25:39 +01:00
Markus Sattler
c488bfb84e
fix WiFi mode change typo
2015-12-31 00:12:41 +01:00
Markus Sattler
db4076fd41
add more debug for disconnect
...
add isConnected function for easier usage
2015-12-30 17:40:36 +01:00
Markus Sattler
4a68612af8
add API for connect / reconnect management
2015-12-29 21:01:48 +01:00
Christopher Pascoe
2375fb0f86
Cleanup: remove unused includes of cbuf.h.
2015-12-29 12:25:24 -05:00
Markus Sattler
85905c12f2
allow multiple event callbacks and add filter option
2015-12-29 17:31:57 +01:00
Markus Sattler
61440d9e2b
add WiFi sleep management
...
Note: testing needed
2015-12-29 16:15:11 +01:00
Markus Sattler
bbeaeaad54
add WiFi TX power control
2015-12-29 15:56:53 +01:00
Markus Sattler
8943ac402c
add softAPgetStationNum
2015-12-29 15:40:54 +01:00
Markus Sattler
293e55c690
check for WiFi pass < 8 (not allowed for WPA2)
...
simplify STA config and allow setting of second DNS server for fallback
code style
2015-12-29 15:28:29 +01:00