Added optional string pointers to HAL for driver and board URLs. If present they are announced by the SSDP protocol.

This commit is contained in:
Terje Io
2022-10-07 10:17:07 +02:00
parent 04c9a50a13
commit 6e22a074c8
7 changed files with 72 additions and 11 deletions

View File

@@ -316,6 +316,12 @@
#undef FTP_ENABLE
#define FTP_ENABLE 0
#endif
#ifndef MDNS_ENABLE
#define MDNS_ENABLE 0
#endif
#ifndef SSDP_ENABLE
#define SSDP_ENABLE 0
#endif
#if ETHERNET_ENABLE || WIFI_ENABLE
#ifndef NETWORK_HOSTNAME
@@ -357,25 +363,25 @@
#endif
#if WIFI_SOFTAP > 0
#ifndef NETWORK_AP_SSID
#define NETWORK_AP_SSID "grblHAL_AP"
#define NETWORK_AP_SSID "grblHAL_AP"
#endif
#ifndef NETWORK_AP_PASSWORD
#define NETWORK_AP_PASSWORD "grblHAL"
#define NETWORK_AP_PASSWORD "grblHAL"
#endif
#ifndef NETWORK_AP_HOSTNAME
#define NETWORK_AP_HOSTNAME "grblHAL_AP"
#define NETWORK_AP_HOSTNAME "grblHAL_AP"
#endif
#ifndef NETWORK_AP_IPMODE
#define NETWORK_AP_IPMODE 0 // 0 = static, 1 = DHCP, 2 = AutoIP
#define NETWORK_AP_IPMODE 0 // 0 = static, 1 = DHCP, 2 = AutoIP
#endif
#ifndef NETWORK_AP_IP
#define NETWORK_AP_IP "192.168.5.1"
#define NETWORK_AP_IP "192.168.5.1"
#endif
#ifndef NETWORK_AP_GATEWAYs
#define NETWORK_AP_GATEWAY "192.168.5.1"
#define NETWORK_AP_GATEWAY "192.168.5.1"
#endif
#ifndef NETWORK_AP_MASK
#define NETWORK_AP_MASK "255.255.255.0"
#define NETWORK_AP_MASK "255.255.255.0"
#endif
#endif
#endif