Thomas Basler
818133e866
Wifi connection is only established when IP is set and the stack reports connected
2025-05-04 16:16:38 +02:00
Thomas Basler
6b3decf397
Fix possible race condition when enabling Admin Mode AP
2025-05-04 16:16:38 +02:00
Thomas Basler
6c4d3f47c7
NetworkSettings: Optimize loop function
...
Also replace all print and println by printf
2025-05-04 16:16:38 +02:00
Thomas Basler
f490e4af4b
NetworkSettings: Optimize handleMDNS function
...
Also replace all print and println by printf
2025-05-04 16:16:38 +02:00
Thomas Basler
650f33f7f7
NetworkSettings: Optimize setStaticIp function
...
Also replace all print and println by printf
2025-05-04 16:16:38 +02:00
Thomas Basler
b911ba09a4
NetworkSettings: Optimize applyConfig function
...
Also replace all print and println by printf
2025-05-04 16:16:38 +02:00
Thomas Basler
852649fd86
NetworkSettings: Optimize setHostname function
...
Also replace all print and println by printf
2025-04-18 11:00:13 +02:00
Thomas Basler
0dcf3c5902
NetworkSettings: Replace println by printf
2025-04-18 11:00:13 +02:00
Thomas Basler
7e056ad3f9
Use the right format string on a lot of locations
...
This helps for a future support of arduino framework 3
2025-04-09 18:33:47 +02:00
Thomas Basler
43ba95702e
Initialize the dnsserver object in the constructor
2025-04-03 19:06:08 +02:00
Thomas Basler
7907d23115
Make pinmapping variable const
2025-02-08 00:34:23 +01:00
Thomas Basler
96ba58af8c
Fix: Wifi.begin was called with wrong parameters
...
The third parameter should be a optional channel name and not a scan method. There exists a separate method for the scan method.
2024-12-18 23:00:27 +01:00
Thomas Basler
f8ad1acca9
Fix: Correct output of wifi disconnect reason code
2024-10-12 21:22:02 +02:00
LennartF22
6d048ae01d
Remove EMAC related code for devices that don't have one
2024-10-06 03:08:58 +02:00
Thomas Basler
8f4b89a193
Replace format strings by platform independent macros
2024-10-05 00:50:13 +02:00
Thomas Basler
7dac96810f
Rename NetworkEventCbList_t to DtuNetworkEventCbList_t for further upgrades
2024-10-04 23:02:12 +02:00
LennartF22
251bb7bd89
Add connection check for W5500 before full initialization
2024-09-28 02:26:36 +02:00
Thomas Basler
8b05bd22b5
Take care of different signature of ETH.begin method in Arduino Core 3.x
2024-09-27 18:27:26 +02:00
Thomas Basler
b43383007a
Rename NetworkEventCb to DtuNetworkEventCb to prevent further upgrade issues
2024-09-27 17:32:28 +02:00
Thomas Basler
a18e298cdd
Apply automatic code formatting
2024-09-26 19:22:30 +02:00
Thomas Basler
326525c961
Merge branch 'pr2306' into dev
2024-09-26 18:34:07 +02:00
Thomas Basler
595b153bbf
Simplify network callback handling
2024-09-26 18:08:48 +02:00
LennartF22
851190dbcc
Implement W5500 support
2024-09-25 00:37:03 +02:00
Thomas Basler
b52cd31309
Output WiFi disconnect reason in console
2024-09-02 20:16:03 +02:00
Thomas Basler
cdaf10a92a
Fix: Wifi reconnect issue introduced with #2117 and discussed in #2185 was fixed
2024-08-05 18:31:21 +02:00
jstammi
1eab3ae773
Fix: explicitly disconnect prior connecting to wifi
...
to prevent from invalid association packets exchange
#618
(cherry picked from commit b6c320d481eb77b4f4e0407237917d2d897bfd9d)
2024-06-30 20:20:05 +02:00
Stefan Oberhumer
97800434c4
Prevent compiling the whole project on each commit.
...
Putting the git information into a generated sourcefile prevents
recompiling the whole project after each commit.
2024-04-18 09:02:57 +02:00
Thomas Basler
7bc1a17fac
Move task initialization from init method to constructor
...
This saves flash
2024-01-20 11:24:57 +01:00
Thomas Basler
cbbe053cd5
Fix: Optimize network connection handling
...
This should provide a more reliable connection to several AP types. See #576
2024-01-03 01:17:39 +01:00
Thomas Basler
3b923885de
Fix #1579 : Static IP in Ethernet mode did not work correctly
2023-12-19 11:30:33 +01:00
Thomas Basler
4f7597eaa1
Adjust member variable names in NetworkSettings
2023-12-12 23:55:03 +01:00
Thomas Basler
e95afbf2cc
Use references instead of pointers whenver possible
2023-12-12 13:26:07 +01:00
Thomas Basler
8fb43fedf8
Add const keyword to methods
2023-12-12 01:30:40 +01:00
Thomas Basler
d6494fa791
Add const keyword to method parameters
2023-12-12 00:21:14 +01:00
Thomas Basler
47e905bcfc
Add const statement to several variables
2023-12-11 19:54:57 +01:00
Thomas Basler
efe0b6b383
Remove not required casts
2023-12-11 18:44:02 +01:00
Thomas Basler
1501411037
Migrate NetworkSettings to TaskScheduler
2023-11-23 22:35:05 +01:00
Thomas Basler
b85c53f476
Split config struct into different sub structs
2023-11-19 14:53:26 +01:00
Thomas Basler
89b4b8ea85
Merge branch 'pr1441' into dev
2023-10-31 19:30:56 +01:00
CommanderRedYT
7c875187a8
Implemented mDNS
2023-10-30 20:53:45 +01:00
Thomas Basler
aba57e687a
Set dnsServerStatus first to prevent running
2023-10-30 20:25:39 +01:00
Martin Dummer
8bfa7e530c
Feature: Admin AccessPoint Timeout now configurable
...
Make the administrative accesspoint timeout configurable. The default
value is 3 minutes, values from 0-99999 are possible, where 0 means
infinite (no timeout).
Signed-off-by: Martin Dummer <martin.dummer@gmx.net >
2023-07-22 18:14:07 +02:00
Thomas Basler
658a42db80
Apply code formatter without functional changes
2023-07-22 18:00:41 +02:00
Thomas Basler
9dbeec3a31
Fix: Set WiFi setScanMethod and setSortMethod also on first connect
2023-07-20 23:44:09 +02:00
Thomas Basler
d6028cbd50
Remove not required F() macro. Frees ~20kb flash.
2023-04-04 18:51:18 +02:00
helgeerbe
07f4473a4e
Connect Wifi to strongest AP
...
* do full channel scan
* connect to strongest AP
2023-02-20 10:13:36 +01:00
Thomas Basler
c85b99ffc1
Include ethernet handling in every build to enable it at runtime
2023-01-17 18:44:52 +01:00
Thomas Basler
3d3feb3517
Allow Ethernet Pin Settings via json config
2023-01-16 22:26:35 +01:00
Thomas Basler
7c33688167
Use same line ending in printf as in println
...
This prevents mistakes in the webconsole
2023-01-04 18:48:33 +01:00
Thomas Basler
8b60c29667
Replace all Serial by MessageOutput
2022-12-19 21:38:39 +01:00