Kevin Ahrendt and J. Nick Koston
a8518d3cea
[wifi, wifi_info] Add a WiFi power mode text sensor ( #11480 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2025-12-04 09:18:59 +13:00
Flo
8f97f3b81f
[wifi] Fix ap_active condition ( #12227 )
2025-12-02 10:12:27 -06:00
J. Nick Koston
26e979d3d5
[wifi] Replace std::function callbacks with listener interfaces ( #12155 )
2025-11-28 11:27:17 -06:00
e1ec6146c0
[wifi] Save 112 bytes BSS on ESP8266 by calling SDK directly for BSSID ( #12137 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-11-27 22:09:41 -06:00
Keith Burzinski and J. Nick Koston
2bc8a4a779
[wifi_info] Use callbacks instead of polling ( #10748 )
...
Co-authored-by: J. Nick Koston <nick+github@koston.org >
2025-11-24 20:23:10 -06:00
Jonathan Swoboda
73bc5252a1
[wifi] Fix positive RSSI values on 8266 ( #11994 )
2025-11-19 10:12:57 -05:00
J. Nick Koston
47fe84e922
[wifi][ethernet] Fix spurious warnings and unclear status after PR #9823 ( #11871 )
2025-11-13 13:43:51 +13:00
J. Nick Koston
29a50da635
[wifi] Use stack allocation for BSSID formatting in logging ( #11859 )
2025-11-12 14:27:06 -06:00
J. Nick Koston
4b58cb4ce6
[wifi] Pass ManualIP by const reference to reduce stack usage ( #11858 )
2025-11-12 14:01:19 -06:00
J. Nick Koston
79a4444928
[wifi] Conditionally compile manual_ip to save 24-72 bytes RAM ( #11833 )
2025-11-11 23:27:08 +00:00
J. Nick Koston
65a303d48f
[wifi] Add min_auth_mode configuration option ( #11814 )
2025-11-11 16:39:55 -06:00
J. Nick Koston
70cb1793f3
[wifi] Optimize WiFi scan results with in-place construction ( #11330 )
2025-10-19 19:53:05 +00:00
J. Nick Koston
00230f7cc6
[wifi] Use FixedVector for scan results to reduce flash usage ( #11216 )
2025-10-15 00:45:28 +00:00
J. Nick Koston
f62e06104e
[wifi] Optimize logging to reduce flash usage by 284 bytes on ESP8266 ( #11022 )
2025-10-06 13:03:26 +13:00
Keith Burzinski
9f831e91b3
[helpers] Add `format_mac_address_pretty` function, migrate components ( #9193 )
2025-06-25 12:36:33 +12:00
Keith Burzinski
46d962dcf1
[wifi, wifi_info] Tidy up/shorten more log messages ( #9151 )
2025-06-20 22:02:36 +12:00
487e1f871f
use `encode_uintXX` ( #8847 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-06-11 17:06:45 +12:00
Keith Burzinski
6675e99862
Remove unnecessary ellipsis ( #8964 )
2025-06-03 21:46:10 +01:00
Samuel Sieb and Samuel Sieb
f4766ab74f
[wifi] fix 32 char SSIDs ( #7834 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net >
2024-11-26 12:58:21 +13:00
NP v/d Spek
2ecd5cff07
[wifi] Make wifi_channel_() public ( #7818 )
2024-11-25 09:16:51 +13:00
Rodrigo Martín
abbd7faa64
fix(WiFi): Fix strncpy missing NULL terminator [-Werror=stringop-truncation] ( #7668 )
2024-10-29 16:56:50 +13:00
tomaszduda23
2e58297a16
[code-quality] fix clang-tidy wifi related ( #7254 )
2024-08-14 07:58:30 +12:00
Jesse Hills
a78b2d0128
[wifi] Fix some access point bugs related to esp-idf 4.4.7 ( #6928 )
...
* Set dhcp server range to only 10 IPs
* Change log level to errors to make it clearer
* We want to stop the dhcp server, not client
2024-06-17 20:07:43 -05:00
Jimmy Hedman
7d9fc3ceaa
Bump ESP8266 Arduino versions ( #5359 )
2024-03-20 21:16:10 +13:00
Jimmy Hedman and Jesse Hills
f73518dbeb
Improve dualstack and IPv6 support ( #5449 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-02-27 21:16:20 +13:00
Kevin P. Fleming
e367ab26e1
wifi: Don't build SoftAP/DHCPS support unless 'ap' is in config. ( #5649 )
2023-11-20 16:32:46 +13:00
Jesse Hills
d74a8abf9a
Revert "Ensure that all uses of strncpy in wifi component are safe." ( #5662 )
2023-11-03 08:09:17 +13:00
Kevin P. Fleming
b03eb5ea0a
Ensure that all uses of strncpy in wifi component are safe. ( #5636 )
2023-11-01 10:30:42 +13:00
Jimmy Hedman
57b7dd0fa2
Refactor ip address representation ( #5252 )
2023-09-27 21:38:43 +13:00
Samuel Sieb and Samuel Sieb
e3eef1cc6d
fix disabled wifi power on 8266 ( #5409 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net >
2023-09-21 09:20:54 +12:00
Jimmy Hedman
dadbc1aefa
Enable IPv6 for ESP8266 and Raspberry pi pico w (RP2040) ( #4759 )
2023-09-13 08:05:02 +12:00
Jimmy Hedman
b19c7d462b
Fixed calculation of start and end dhcp range ( #4785 )
2023-05-10 13:03:43 +12:00
4c39631428
Add support for passive WiFi scanning ( #4666 )
...
* Add support for passive WiFi scanning.
* Apply suggestions from code review
Made changes suggested by @jesserockz
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
---------
Co-authored-by: BellaCoola <unknown>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-04-20 03:53:42 +00:00
Oxan van Leeuwen and Otto winter
cdda648360
Generate ARDUINO_VERSION_CODE in Python code ( #3101 )
...
Co-authored-by: Otto winter <otto@otto-winter.com >
2022-01-24 10:34:34 +01:00
Otto Winter
278863d027
Fix some issues with wifi driver after IDF refactor ( #2387 )
2021-09-25 09:16:32 +02:00
Otto Winter and Jesse Hills
ac0d921413
ESP-IDF support and generic target platforms ( #2303 )
...
* Socket refactor and SSL
* esp-idf temp
* Fixes
* Echo component and noise
* Add noise API transport support
* Updates
* ESP-IDF
* Complete
* Fixes
* Fixes
* Versions update
* New i2c APIs
* Complete i2c refactor
* SPI migration
* Revert ESP Preferences migration, too complex for now
* OTA support
* Remove echo again
* Remove ssl again
* GPIOFlags updates
* Rename esphal and ICACHE_RAM_ATTR
* Make ESP32 arduino compilable again
* Fix GPIO flags
* Complete pin registry refactor and fixes
* Fixes to make test1 compile
* Remove sdkconfig file
* Ignore sdkconfig file
* Fixes in reviewing
* Make test2 compile
* Make test4 compile
* Make test5 compile
* Run clang-format
* Fix lint errors
* Use esp-idf APIs instead of btStart
* Another round of fixes
* Start implementing ESP8266
* Make test3 compile
* Guard esp8266 code
* Lint
* Reformat
* Fixes
* Fixes v2
* more fixes
* ESP-IDF tidy target
* Convert ARDUINO_ARCH_ESPxx
* Update WiFiSignalSensor
* Update time ifdefs
* OTA needs millis from hal
* RestartSwitch needs delay from hal
* ESP-IDF Uart
* Fix OTA blank password
* Allow setting sdkconfig
* Fix idf partitions and allow setting sdkconfig from yaml
* Re-add read/write compat APIs and fix esp8266 uart
* Fix esp8266 store log strings in flash
* Fix ESP32 arduino preferences not initialized
* Update ifdefs
* Change how sdkconfig change is detected
* Add checks to ci-custom and fix them
* Run clang-format
* Add esp-idf clang-tidy target and fix errors
* Fixes from clang-tidy idf round 2
* Fixes from compiling tests with esp-idf
* Run clang-format
* Switch test5.yaml to esp-idf
* Implement ESP8266 Preferences
* Lint
* Re-do PIO package version selection a bit
* Fix arduinoespressif32 package version
* Fix unit tests
* Lint
* Lint fixes
* Fix readv/writev not defined
* Fix graphing component
* Re-add all old options from core/config.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2021-09-20 11:47:51 +02:00
40c474cd83
Run clang-tidy against ESP32 ( #2147 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
Co-authored-by: Otto winter <otto@otto-winter.com >
2021-09-13 18:11:27 +02:00
Oxan van Leeuwen and Otto winter
d594a6fcbc
Store strings only used for logging in flash ( #2274 )
...
Co-authored-by: Otto winter <otto@otto-winter.com >
2021-09-13 09:48:52 +02:00
Oxan van Leeuwen
97a18717e6
Disable automatic usage of SNTP servers from DHCP ( #2273 )
2021-09-13 12:44:39 +12:00
Oxan van Leeuwen
d71996e58d
Reduce static RAM usage ( #2140 )
2021-08-23 20:43:54 +12:00
Oxan van Leeuwen
5ec9bb0fb5
Clean-up constant definitions ( #2148 )
2021-08-23 19:21:30 +12:00
Oxan van Leeuwen
8cc3cbb22e
Add macros header with more usable Arduino version defines ( #2145 )
2021-08-23 19:19:21 +12:00
Stefan Agner and Otto Winter
a80f9ed336
Support ESP8266 Arduino 3.0.0 ( #1897 )
...
Co-authored-by: Otto Winter <otto@otto-winter.com >
2021-06-15 08:50:58 +02:00
Stefan Agner
501f88ca86
Avoid non-const globals and enable clang-tidy check ( #1892 )
2021-06-11 08:19:44 +12:00
Otto Winter
360effcb72
Activate some clang-tidy checks ( #1884 )
2021-06-10 13:04:40 +02:00
Tom Price
10e7abb579
Add support for WPA2-EAP enterprise WiFi to ESP8266s. ( #1332 )
...
* Add support for WPA2-EAP enterprise WiFi to ESP8266s.
This is fundamentally the same as on ESP32s only with different function names.
Update config checker to remove requirement for ESP32 for EAP authentication.
* Fix indent for clang
2020-11-01 20:40:18 +13:00
Otto Winter and Lukas Bachschwell
389889ad70
Mitigate CVE-2020-12638 WiFi WPA Downgrade ( #1207 )
...
Co-authored-by: Lukas Bachschwell <lukas@lbsfilm.at >
2020-07-27 18:22:38 +02:00
Otto Winter
7a6df38515
Add ESP8266 core v2.6.2 ( #905 )
...
* Add ESP8266 core v2.6.2
* Upstream ESP8266 Wifi fixes
* Replace disable_interrupt with InterruptLock C++ class
* Update code to use InterruptLock
* Lint
* Update dht.cpp
* Improve InterruptLock docs, mark as ICACHE_RAM_ATTR
* Fixes
2019-12-04 19:30:10 +01:00
Otto Winter
5becaebdda
Improve WiFi disconnect messages ( #857 )
...
* Improve WiFi disconnect messages
* Fix
* Update wifi_component_esp32.cpp
2019-11-17 23:25:04 +01:00
Otto Winter
fad05d5a2e
Add wifi output_power setting ( #853 )
...
* Add wifi output_power setting
See also:
- https://github.com/esphome/feature-requests/issues/471#issuecomment-552350467
- https://github.com/esp8266/Arduino/issues/6366
- https://github.com/esp8266/Arduino/issues/6471
- https://github.com/xoseperez/espurna/blob/849f8cf920096fa4b804e70913dab0917ee18ad9/code/espurna/config/general.h#L593-L599
- https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/network/esp_wifi.html#_CPPv425esp_wifi_set_max_tx_power6int8_t
* Lint
2019-11-12 17:39:27 +01:00