Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
WifiDefs.cxx
Go to the documentation of this file.
1
34// The following defaults are a template for what needs to be defined in a
35// given application for Wi-Fi to work. Do not modify this file. Copy these
36// globals into an application specific file and remove the weak attribute.
37// They are defined here weak so that a build can complete without failure
38// but are not expected to work as is.
39
40extern "C" {
42char __attribute__((weak)) WIFI_SSID[] = "YourSSIDHere";
44char __attribute__((weak)) WIFI_PASS[] = "pass-or-empty-for-open";
46char __attribute__((weak)) WIFI_HUB_HOSTNAME[] = "10.0.0.7";
48int __attribute__((weak)) WIFI_HUB_PORT = 12021;
49}
50
char WIFI_SSID[]
Name of wifi accesspoint to connect to.
Definition WifiDefs.cxx:42
int WIFI_HUB_PORT
Port number of the OpenLCB hub.
Definition WifiDefs.cxx:48
char WIFI_PASS[]
Password of wifi connection. If empty, use no encryption.
Definition WifiDefs.cxx:44
char WIFI_HUB_HOSTNAME[]
Hostname at which the OpenLCB hub is at.
Definition WifiDefs.cxx:46