A-33
A4
C.8
static_ip_mode
The static_ip_mode procedure is used to read/modify the static IP mode. If
static_ip_mode is set TRUE, then the Edevice will use a static IP and will need
a netmask and gateway IP.
struct Static_IP_Parms {
unsigned
int
action;
unsigned
int
mode;
};
struct Static_IP_Resp {
unsigned
int
error;
unsigned
int
mode;
};
Static_IP_Resp static_ip_mode (Static_IP_Parms) = 8;
The action value determines whether the client wishes to execute a read of the
current setting, or a modification of the current value.
action = 0 = read of current value
action = 1 = modify current value
If the action value is other than 0 or 1, then an error value of 5 is returned.
If the RPC message is of insufficient length to satisfy the required length, an
error value of 1 is returned.
The mode must be either 0 (dynamic) or 1 (static). An error of 5 is returned and
the static IP mode is unchanged if the mode field is any other value.
The returned Static_IP_Resp structure will always contain the current static IP
mode, irrespective of the error value.
error Meaning
0
No error
1
Syntax error
5
Parameter error
Содержание 8099
Страница 20: ...1 16 1 This page intentionally left blank...
Страница 40: ...3 4 3 Figure 3 1 Status Reporting Structure Flash Data Corrupted...
Страница 156: ...Index 6 I This page intentionally left blank...