Intermec ck1 Reference Guide

Page of 390
Chapter 2 — Configuring the CK1 System 
38 
CK1 SDK Programmer’s Reference Manual 
 
 
  for(i=0; 
i<RepeatTime; 
i++) 
 
 
 
 
 
printf("\t***** Buzzer APP Test %d Times *****\n",i+1); 
 
 
 
for(j = 1; j <= BUZAPPITEMNUM; j++ ){ 
    chi 
'0' 
j; 
#ifdef  BUZ_APP_TEST_DEBUG 
    printf("chi 
%c\n",chi); 
#endif 
    SelectOpt(chi); 
 
 
 
 
 
 
 
 
 
 
 }else{ 
  PrintMsg(filename); 
  return; 
 } 
 
printf("\t================Buzzer APP Test End===============\n"); 
 return 
0; 
 
 
Getting Buzzer Keyclick Status 
 
Purpose:  Get the current keyclick status 
 
Syntax: 
int envBuzzerGetKeyclick (void)
 
 On-CK1 Parameters: None 
 
On-CK1 Return:  BuzzerKeyClickOff 
Current keyclick status is off 
BuzzerKeyClickOn 
Current keyclick status is on 
 On-Host Parameters: None 
 
On-Host Return:  Always return BuzzerKeyClickOff 
Setting Buzzer Keyclick Status 
 
Purpose:  Set the keyclick status with the specified value. 
 
Syntax: 
int envBuzzerSetKeyclick(int iSwitch)
 
 On-CK1 Parameters:  iSwitch 
Value to use as the new keyclick status 
BuzzerKeyClickOn 
Keyclick status is on 
BuzzerKeyClickOff 
Keyclick status is off 
 
On-CK1 Return: -1 
 Function 
failed 
0 Function 
succeeded 
 On-Host Parameters:  iSwitch No 
action 
 
On-Host Return:  Always return 0