Intermec ck1 Guia De Referência

Página de 390
Chapter 2 — Configuring the CK1 System 
CK1 SDK Programmer’s Reference Manual 
63 
0 Function 
succeeded 
 On-Host Parameters: None 
 
On-Host Return:  Always return 0 
Disabling Backlight Control 
 
Purpose:  APM does not control the backlight. But the time to enter Idle mode is 
Backlight Off Time plus Idle Time still. 
 
Syntax: 
int devApmBacklightDisable( void )
 
 On-CK1 Parameters: None 
 
On-CK1 Return: -1 
 Function 
failed 
0 Function 
succeeded 
 On-Host Parameters: None 
 
On-Host Return:  Always return 0 
Getting Status of Backlight Control 
 
Purpose:  Get current status of backlight control. 
 
Syntax: 
int devApmGetBacklightStatus( void )
 
 On-CK1 Parameters: None 
 
On-CK1 Return:  1    The control of backlight is on. 
The control of backlight is off. 
 On-Host Parameters: None 
 
On-Host Return:  Always return 0 
Enabling EXT5V Output 
 
Purpose:  Turn on the external 5V output through serial port. 
 
Syntax: 
int devApmExt5vOn( void )
 
 On-Host Parameters: None 
 
On-Host Return: -1 
 Function 
failed 
0 Function 
succeeded 
Disabling the EXT5V Output 
 
Purpose:  Turn off the external 5V output through serial port. 
 
Syntax: 
int devApmExt5vOff( void )