Defines | |
#define | MYMAC 0x00, 0x06, 0x98, 0x00, 0x10, 0x00 |
Hard coded MAC address. | |
#define | MYIP "192.168.192.100" |
Hard coded IP address. | |
#define | MYMASK "255.255.255.0" |
Hard coded IP mask. | |
#define | WP_STATUSOUT "uart0" |
Device name for optional status messages. | |
#define | HTTP_PORT 80 |
TCP port number to listen to. | |
#define | LOW_MEM_MARK 4096 |
Delay responses if available memory falls below. | |
#define | NUM_HTTP_THREADS 6 |
Total number of concurrent HTTP server threads. | |
#define | HTTP_THREAD_STACK 640 |
Stack size given to each HTTP server thread. | |
#define | PORT_CONTROL_CGI "ccports.cgi" |
Name of the CGI to control CPU ports. | |
#define | PORT_STATUS_CGI "csports.cgi" |
Name of the CGI to display CPU ports. | |
#define | RELAY_CONTROL_CGI "relay.cgi" |
Name of the CGI to control shift register outputs. | |
#define | OPTO_STATUS_CGI "opto.cgi" |
Name of the CGI to display shift register inputs. | |
#define | CHARON_CONTROL_CGI "ch2led.cgi" |
Name of the CGI to control Charon II LEDs. | |
#define | CHARON_STATUS_CGI "ch2switch.cgi" |
Name of the CGI to display Charon II switch settings. |
Changing any of these values requires re-compiling and re-linking of the source code.
|
Hard coded IP address. The IP address and network mask are used in the same case and when there is no DHCP server available in your LAN. Definition at line 67 of file webport.c. Referenced by main(). |
|
Hard coded MAC address. The MAC address is used in case the system starts without any previously configuration stored in non-volatile memory. Typically the non-volatile memory is preloaded by some other software, like Basemon. On ATmega128 boards, the 'preserve EEPROM' flag should have been set to avoid clearing the EEPROM when the part is erased during the upload of a new application. Definition at line 57 of file webport.c. Referenced by main(). |
|
Device name for optional status messages. If defined, the RS232 port will display status messages. Remove this definition if you intend to use the port for other purposes. Definition at line 58 of file webport.h. Referenced by main(). |