NetBurner 3.1
webif.h
Go to the documentation of this file.
1
/*NB_REVISION*/
2
3
/*NB_COPYRIGHT*/
4
9
#define APP_VERSION "Version 1.1 11-Jan-2018"
10
#define LOCAL_PORT 3333
11
#define DEST_PORT 3334
12
#define DEST_IPADDR "10.1.1.104"
13
14
#define POST_BUFSIZE (4096)
15
16
#define VERIFY_KEY (0x18256052) // NV Settings key code
17
#define MAX_IPADDR_LEN (20)
18
19
struct
NV_SettingsStruct
// Non-volatile storage structure
20
{
21
uint32_t VerifyKey = 0;
// Flash memory key for initialization
22
int
nLocalPort = 0;
// Local UDP port to listen on
23
int
nDestPort = 0;
// Destination UDP port to send serial data
24
char
szDestIpAddr[MAX_IPADDR_LEN];
// Destination UDP ip address
25
};
26
examples
udp
SimpleUDPToSerial
src
webif.h
Generated by
1.8.14