Intermec ck1 Reference Guide

Page of 390
Chapter 2 — Configuring the CK1 System 
64 
CK1 SDK Programmer’s Reference Manual 
Disabling the EXT5V Output (continued) 
 On-CK1 Parameters: None 
 
On-CK1 Return: -1 
 Function 
failed 
0 Function 
succeeded 
 On-Host Parameters: No 
action 
 
On-Host Return: 0 
Setting Backlight Timeout 
 
Purpose:  Set the time for the APM to turn off the backlight of the display CK1 
automatically. This value is the default value at next cold boot. When you 
set this value in APM enable status (after you call the devApmAuto() 
function ), APM restarts to count the time automatically. When you set 
this value in APM disable status (after you call the devApmManual() 
function ), APM starts to count the time after you call the devApmAuto() 
function. 
 
Syntax: 
int devApmSetBacklightOffTime( int ElSecs )
 
 On-CK1 Parameters:  ElSecs 
The time you want to set for auto turn off the backlight if no 
use (limit: 0-3600). 
The back light of display CK1 will turn on 
forever until entering Standby mode. 
1to 3600 
The back light of display CK1 will turn off after 
ElSecs if there were no any actions from user. 
 
On-CK1 Return: -1 
 Setting 
failed 
-2  Value failed to save 
0 Function 
succeeded 
 On-Host Parameters: None 
 
On-Host Return:  Always return 0 
Setting Idle Time 
 
Purpose:  Set the time for the APM to control the system into Idle mode. The CK1 
enters Idle mode automatically only when the APM is enabled. This value 
is the default value at next cold boot. When you set this value in APM 
enable status (after you call the devApmAuto() function), APM restarts to 
count the time automatically. When you set this value in APM disable 
status (after you call the devApmManual() function), APM starts to count 
the time after you call the devApmAuto() function. 
 
Syntax: 
int devApmSetIdleTime( int IdleSecs )