Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
WifiDefs.cxx File Reference

Go to the source code of this file.

Variables

char WIFI_SSID [] = "YourSSIDHere"
 Name of wifi accesspoint to connect to.
 
char WIFI_PASS [] = "pass-or-empty-for-open"
 Password of wifi connection. If empty, use no encryption.
 
char WIFI_HUB_HOSTNAME [] = "10.0.0.7"
 Hostname at which the OpenLCB hub is at.
 
int WIFI_HUB_PORT = 12021
 Port number of the OpenLCB hub.
 

Detailed Description

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

This file provides weak (reference) definitions for the Wi-Fi credentials.

Author
Stuart W Baker
Date
3 February 2017

Definition in file WifiDefs.cxx.

Variable Documentation

◆ WIFI_HUB_HOSTNAME

char WIFI_HUB_HOSTNAME[] = "10.0.0.7"

Hostname at which the OpenLCB hub is at.

Definition at line 46 of file WifiDefs.cxx.

◆ WIFI_HUB_PORT

int WIFI_HUB_PORT = 12021

Port number of the OpenLCB hub.

Definition at line 48 of file WifiDefs.cxx.

◆ WIFI_PASS

char WIFI_PASS[] = "pass-or-empty-for-open"

Password of wifi connection. If empty, use no encryption.

Definition at line 44 of file WifiDefs.cxx.

◆ WIFI_SSID

char WIFI_SSID[] = "YourSSIDHere"

Name of wifi accesspoint to connect to.

Definition at line 42 of file WifiDefs.cxx.