A-34
A4
C.9 ip_number
The ip_number procedure is used to read/modify the static IP number. If
static_ip_mode is set TRUE, then the Edevice will use a static IP (see the
static_ip_mode function) and will need a netmask and gateway IP.
struct IP_Number_Parms {
unsigned int action;
unsigned
char ip[4];
};
struct IP_Number_Resp {
unsigned int error;
unsigned
char
ip[4];
};
IP_Number_Resp ip_number (IP_Number_Parms) = 9;
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 ip must be exactly 4-bytes in length. An error of 5 is returned and the cur-
rent IP is unchanged if the IP is determined to be invalid.
The returned IP_Number_Resp structure will always contain the current IP,
irrespective of the error value.
* Note that the IP will only be used if Static IP is selected.
error Meaning
0
No error
1
Syntax error
5
Parameter error
Summary of Contents for 9099
Page 20: ...1 16 1 Figure 1 1 9009 Outline Dimensions ...
Page 24: ...1 20 1 Figure 1 3 9099 Certificate of Compliance ...
Page 54: ...3 8 3 Figure 3 1 Status Reporting Structure Flash Configuration Reset ...
Page 94: ...3 48 3 This page left intentionally blank ...
Page 100: ...4 4 6 This page is left intentionally blank ...