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
Thomas Basler
54d94af487
Cleanup includes
2022-12-14 22:13:03 +01:00
Thomas Basler
f21dd351ef
Optimize performance by removing not required string constructors
2022-10-29 11:22:56 +02:00
Thomas Basler
ca51aab236
Move getChipId to separate class
2022-10-20 21:55:41 +02:00
Thomas Basler
cf727d4ff9
Added API to change the access point password
2022-10-13 19:44:16 +02:00
Thomas Basler
de33b9ff88
Do not use namespace using-directives. Use using-declarations instead.
2022-09-13 21:35:51 +02:00
Stefan Kreutter
cb00537284
fixed compile error
...
src/NetworkSettings.cpp: In member function 'void NetworkSettingsClass::setHostname()':
src/NetworkSettings.cpp:254:42: error: no matching function for call to 'ETHClass::setHostname(String)'
if (ETH.setHostname(getHostname())) {
^
ETH.h:83:14: note: candidate: 'bool ETHClass::setHostname(const char*)'
bool setHostname(const char * hostname);
2022-09-13 19:09:15 +02:00
Thomas Basler
f5328100b6
Fixed hostname generation and hostname assignment
2022-09-06 18:44:26 +02:00
Thomas Basler
a17e668c8c
Don't output unknown network events
2022-07-19 22:12:21 +02:00
Thomas Basler
c022b8696b
Implemented serveal global network functions which are independent of the medium (wifi / ethernet)
2022-07-19 21:53:04 +02:00
Thomas Basler
69959db93c
Output IP to serial console
2022-07-19 21:27:36 +02:00
Thomas Basler
c7aa22ce6c
Renamed WifiSettings to NetworkSettings and implemented first ethernet initialization
2022-07-19 21:27:36 +02:00