Intermec ck1 Reference Guide

Page of 390
Chapter 2 — Configuring the CK1 System 
CK1 SDK Programmer’s Reference Manual 
105 
Getting the Current Setting of the Boot Flag 
 
Purpose:  Get the current setting of the boot flag. BootFlag is less than 16 bytes. 
 
Syntax: 
int ReadBootFlag(char *BootFlag)
 
The boot flag is passed to the caller by BootFlag
 
On-CK1 Return: -1 
 Function 
failed 
0 Function 
succeeded 
 
On-Host Return:  Always return 0 if BootFlag equals manual 
Setting a New Boot Flag 
 
Purpose:  Set a new boot flag. BootFlag must be less than 16 bytes. 
 
Syntax: 
int WriteBootFlag(char *BootFlag)
 
 
On-CK1 Return: -1 
 Function 
failed 
0 Function 
succeeded 
 
On-Host Return:  Always return 0  
Getting the Current Setting of the Vendor Name 
 
Purpose:  Get the current setting of the vendor name. VendorName is less than 64 
bytes. 
 
Syntax: 
int ReadVendorName(char *VendorName)
 
The vendor name is passed to the caller by VendorName. 
 
On-CK1 Return: -1 
 Function 
failed 
0 Function 
succeeded 
 
On-Host Return:  Always return 0 if VendorName equals ESFIA 
Getting the Product Name 
 
Purpose:  Get the product name. ProductName is less than 16 bytes. 
 
Syntax: 
int ReadProductName(char *ProductName)
 
 
On-CK1 Return: -1 
 Function 
failed 
0 Function 
succeeded 
 
On-Host Return: ProductName CK1