1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-17 12:02:15 +03:00
Commit Graph

74 Commits

Author SHA1 Message Date
3890e1af1e Put longer string literals into PROGMEM (#6588)
* Put longer string literals into PROGMEM

* Use Flash Strings for Debug output

This is hopefully very infrequently used, so it shouldn't
be in main memory.
2019-10-03 23:17:36 -03:00
eea9999dc5 Revert "Allman now (#6080)" (#6090)
This reverts commit 98125f8860.
2019-05-14 00:09:54 +02:00
98125f8860 Allman now (#6080)
* switch restyle script for CI

* remove confirmation

* restyle with allman
2019-05-13 16:41:34 +02:00
4941711505 Implement for ssid a similar approach as for passphrase (#5411)
* Implement for ssid a similar approach as for passphrase

* Additional fixes for 32-char ssid
2018-12-02 21:25:13 -08:00
fd443d4e17 split ESP8266WiFiClass in different sub classes for better overview. 2015-12-29 14:03:15 +01:00
6f00503bc3 add reconnect function for STA 2015-12-28 20:19:36 +01:00
cee4ef3078 less static stuff 2015-12-28 20:13:56 +01:00
64326f9573 rework mode management
may fixes: #1138
2015-12-28 19:30:56 +01:00
d521cea232 reorder part 3 2015-12-28 17:55:38 +01:00
20de9a5673 reorder part two 2015-12-28 17:38:58 +01:00
49b0821beb reorder part one 2015-12-28 17:22:36 +01:00
b1b19299bb mode docu to cpp and make it doxygen compatible 2015-12-28 17:02:09 +01:00
09a7940006 code style 2015-12-28 16:36:55 +01:00
195e595453 add setSleepMode + getSleepMode and setPhyMode + getPhyMode to WiFi 2015-12-26 13:02:31 +01:00
481d74ba86 add show_hidden argument to scanNetworks() 2015-12-16 12:06:29 -05:00
6be74ec95e Fix softAP issue introduced in 40da463 (#1054) 2015-11-25 18:29:34 +03:00
ab16b2fe0d Fix typo 2015-11-21 20:09:18 +03:00
40da463ee6 ESP8266WiFi library: add persistent option, fix #1054 2015-11-21 20:06:10 +03:00
adb0dac077 Don't close UDP pcbs when WiFi connection drops (#969) 2015-11-07 23:52:59 +03:00
0b89b9b467 Fix FAILD typo 2015-11-06 14:17:45 +01:00
6436a175c4 add dns_no argument to dnsIP() int ESP8266WiFi class 2015-10-18 14:22:24 -04:00
7f318d72cf add dnsIP() to ESP8266WiFi class 2015-10-18 14:18:14 -04:00
f1dcfb2794 use String return for both SSID functions 2015-10-01 18:52:46 +02:00
0034697b6e use String instead of char pointer for SSID() and psk() 2015-09-30 18:15:53 +02:00
b13095763d add function begin without any parameters and add functin psk to return current pre shared kex form sdk config 2015-09-28 16:48:06 +02:00
4719a31898 Rebasing into single commit
Adding getMode function to ESP8266WiFiClass.cpp

Adding getMode function to ESP8266WiFiClass.h

Changing return type of getMode to WiFiMode for clarity

Changing return type of getMode to WiFiMode for clarity

Add return typecast
2015-09-16 09:39:40 -07:00
c528a44f1a Temporary fix for #780 2015-09-15 12:43:45 +03:00
6a9eaca8b2 #754 fix _useClientMode & _useApMode in SDK auto connect mode 2015-09-07 17:11:30 +02:00
7bfd425754 Update to SDK 1.3.0 2015-08-10 10:51:09 +03:00
735fa18ad6 Fixed wrongly pasted Comment 2015-07-29 20:29:20 +12:00
c33e2a60db Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-07-23 17:27:30 +02:00
e5d2ba5db8 Pass timeout to optimistic_yield, add cont_can_yield check 2015-07-20 15:48:25 +03:00
fe9ef36861 add softAPdisconnect function ``int softAPdisconnect(bool wifioff = false);``
external mode calls now change the use flags
see #529
2015-07-13 10:50:41 +02:00
2937b21c9c add basic WPS function 2015-07-07 18:24:55 +03:00
505ba22e05 allow setting the host name of AP interface 2015-07-07 18:09:58 +03:00
d4ddb66fc4 update SDK to v1.2.0_15_07_03 2015-07-07 18:09:23 +03:00
1aa8e8e6c8 add basic WPS function 2015-07-04 10:30:11 +02:00
36a4131f35 allow setting the host name of AP interface 2015-07-04 10:00:27 +02:00
c77fbb2383 update SDK to v1.2.0_15_07_03 2015-07-04 09:45:05 +02:00
389e5fb878 Update ESP8266WiFi.cpp 2015-06-29 18:04:19 +03:00
fc83952685 Merge pull request #438 from Links2004/esp8266
update SDK to esp_iot_sdk_v1.1.2_15_06_16_p1
2015-06-26 20:33:02 +03:00
9bb29fc777 fix wifiAP, ip_addr redeclaration and TFT SPI 2015-06-26 12:12:26 +03:00
9a1ff7f70d add WiFi scan Async mode 2015-06-16 18:26:34 +02:00
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
1544a6ad0f Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-06-05 14:47:34 +02:00
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
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
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
fa4fd9ed9d only call wifi_set_opmode when really needed 2015-06-03 15:40:43 +02:00
1de33fe51b improve mode handling for ESP8266WiFiClass::scanNetworks and ESP8266WiFiClass::beginSmartConfig 2015-06-03 15:10:35 +02:00