Intermec ck1 Reference Guide
Chapter 2 — Configuring the CK1 System
CK1 SDK Programmer’s Reference Manual
99
Getting Host IP Address
Purpose: Get the host IP address of the remote upgrade host.
Syntax:
char *RUGetHostIP(void)
On-CK1 Parameters: None
On-CK1 Return: Host IP address of the remote upgrade host in the configuration file
Config File:
/etc/config/default_ru_host
On-Host Parameters: None
On-Host Return: Always return NULL
Setting Host IP Address
Purpose: Set the host IP address of the remote upgrade host.
Syntax:
int RUSetHostIP(char *hostIPAddr)
On-CK1 Parameters: hostIPAddr
Value to use as the host IP address of the remote upgrade
host
host
On-CK1 Return: -1
Set
failed
0 Set
succeeded
Config File:
/etc/config/default_ru_host
On-Host Parameters: ipaddr No
action
On-Host Return: Always return -1
Getting the Default Login Name
Purpose: Get the default user login name of the remote upgrade host.
Syntax:
char *RUGetLoginName(void)
On-CK1 Parameters: None
On-CK1 Return: User login name of the remote upgrade host in the configuration file
Config File:
/etc/config/default_ru_name
On-Host Parameters: None
On-Host Return: Always return NULL
Setting the Default Login Name
Purpose: Set the default user login name of the remote upgrade host.
Syntax:
int RUSetLoginName(char *logname)