Commit c1cab51
committed
Improve Ethernet initialization and diagnostics
Added hardware presence and link status checks to Ethernet initialization. Enhanced error messages for failed configurations and included gateway and subnet information in successful initialization logs. Also added Ethernet.maintain() in loop to support DHCP lease maintenance and link status monitoring.1 parent d7f2510 commit c1cab51
File tree
1 file changed
+38
-2
lines changed- TankAlarm-112025-Server-BluesOpta
1 file changed
+38
-2
lines changedLines changed: 38 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
| |||
2578 | 2583 | | |
2579 | 2584 | | |
2580 | 2585 | | |
| 2586 | + | |
| 2587 | + | |
| 2588 | + | |
2581 | 2589 | | |
2582 | 2590 | | |
2583 | 2591 | | |
| |||
2879 | 2887 | | |
2880 | 2888 | | |
2881 | 2889 | | |
| 2890 | + | |
| 2891 | + | |
| 2892 | + | |
| 2893 | + | |
| 2894 | + | |
| 2895 | + | |
| 2896 | + | |
| 2897 | + | |
| 2898 | + | |
| 2899 | + | |
2882 | 2900 | | |
2883 | 2901 | | |
2884 | 2902 | | |
| |||
2887 | 2905 | | |
2888 | 2906 | | |
2889 | 2907 | | |
2890 | | - | |
| 2908 | + | |
| 2909 | + | |
| 2910 | + | |
| 2911 | + | |
| 2912 | + | |
| 2913 | + | |
| 2914 | + | |
| 2915 | + | |
| 2916 | + | |
| 2917 | + | |
| 2918 | + | |
| 2919 | + | |
| 2920 | + | |
| 2921 | + | |
| 2922 | + | |
2891 | 2923 | | |
2892 | 2924 | | |
2893 | 2925 | | |
2894 | 2926 | | |
| 2927 | + | |
| 2928 | + | |
| 2929 | + | |
| 2930 | + | |
2895 | 2931 | | |
2896 | 2932 | | |
2897 | 2933 | | |
| |||
0 commit comments