BlinkenArea - GitList
Repositories
Blog
Wiki
flaneth
Code
Commits
Branches
Tags
Search
Tree:
5ef4090
Branches
Tags
master
flaneth
firmware
config.c
DHCP by default
Stefan Schuermans
commited
5ef4090
at 2019-05-01 18:18:21
config.c
Blame
History
Raw
/* flaneth - flash and ethernet Copyright (C) 2007-2012 Stefan Schuermans <stefan@blinkenarea.org> Copyleft: GNU public license V2 - http://www.gnu.org/copyleft/gpl.html a BlinkenArea project - http://www.blinkenarea.org/ */ #include "config.h" // MAC address unsigned char ConfigMac[6] = { 0x02, 0xF7, 0xA4, 0xE7, 0x80, 0x00 }; // (extern) // IP configuration // - all zero for DHCP unsigned char ConfigIp[4] = { 0, 0, 0, 0 }; // own IP address (extern) unsigned char ConfigMask[4] = { 0, 0, 0, 0 }; // subnet mask (extern) unsigned char ConfigGw[4] = { 0, 0, 0, 0 }; // gateway IP address // (extern) // port for S8P unsigned short ConfigS8pPort = 8; // disabled if 0 (extern) // symmetric key for S8P unsigned char ConfigS8pKey[16] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; // (extern) // port for webserver unsigned short ConfigHttpPort = 80; // disabled if 0 (extern) // default output state unsigned char ConfigDefOut = 0x00; // (extern)