What is the parameter that the factory sets to this module?
Such as IP address and Subnet mask of the module?
Hi,
WIZ220IO have factory reset as the below.
uint8 code default_setting[EE_TOTAL - EE_IP1] =
{
192, 168, 11, 2, // IP address
255, 255, 255,0, // Subnet Mask
192, 168, 11, 1, // Gateway address
0x13, 0x88, // local port 5000
0x00, 0x50, // http port 5000
192, 168, 11, 231, // server IP Address
0x13, 0x88, // server Port
0, //operation mode
0, 0, // delimeter time
0, // static IP
1, // debug
HIGH(SW_VERSION), LOW(SW_VERSION), // version
0xfe, 8, 0, 1, 0,
1,1,1,1,1,1,1,1, // digital Input
0,0,0,0,0,0,0,0, // digital output
0x0f, 0xff, // analog input 0
0x0f, 0xff, // analog input 1
0,0, // analog output 0
0,0, // analog output 1
0 // Keep connection
};
[quote=“midnightcow”]Hi,
WIZ220IO have factory reset as the below.
uint8 code default_setting[EE_TOTAL - EE_IP1] =
{
192, 168, 11, 2, // IP address
255, 255, 255,0, // Subnet Mask
192, 168, 11, 1, // Gateway address
0x13, 0x88, // local port 5000
0x00, 0x50, // http port 5000
192, 168, 11, 231, // server IP Address
0x13, 0x88, // server Port
0, //operation mode
0, 0, // delimeter time
0, // static IP
1, // debug
HIGH(SW_VERSION), LOW(SW_VERSION), // version
0xfe, 8, 0, 1, 0,
1,1,1,1,1,1,1,1, // digital Input
0,0,0,0,0,0,0,0, // digital output
0x0f, 0xff, // analog input 0
0x0f, 0xff, // analog input 1
0,0, // analog output 0
0,0, // analog output 1
0 // Keep connection
};
[/quote]
thank you so much