Apex PDT Technical Reference Manual
7 Apex Programming Resource
COAM30002
Rev. 2.00
8/13/02
7-19
ToUpca
Syntax:
int ToUpca(char far *string, unsigned far *decodedCount,
int far *codetype)
Input:
Pointers to NULL terminated UPC-E string, decoded
count, code type.
Returns:
0 on success, non-zero on failure.
Notes:
Converts a UPC-E string in the form NXXXXXXC, where
N is the number system character, X is a data character,
and C is the checksum character, to a UPC-A string in the
form NXXXXXXXXXXC by expanding per the UCC
rules, changing the decoded count, and updating the code
type. No overflow checking is performed.
Serial Port Functions
GetComPortMode
Syntax:
unsigned char GetComPortMode(void)
Input:
None
Returns:
0 = RS-232, 1 = Infrared. The symbolic names RS232 and
IR are defined in
[a3lib.h]
.
Notes:
Retrieves the active serial communication mode,
infrared (IR) or RS-232.
SetComPortMode
Syntax:
unsigned char SetComPortMode(unsigned char mode)
Input:
0 for RS-232, 1 for Infrared.
Returns:
Previous setting. The symbolic names RS232 and IR are
defined in
[a3lib.h]
.
Notes:
Enables either the infrared (IR) port or the RS-232 port for
serial communications.
Содержание Apex III
Страница 2: ...This Page Intentionally Left Blank...
Страница 12: ...Apex PDT Technical Reference Manual Table Of Contents COAM30002 Rev 2 00 8 13 02 viii...
Страница 108: ...Apex PDT Technical Reference Manual 6 Utility Programs COAM30002 Rev 2 00 8 13 02 6 36...
Страница 132: ...Apex PDT Technical Reference Manual 7 Apex Programming Resource COAM30002 Rev 2 00 8 13 02 7 24...
Страница 152: ...Apex PDT Technical Reference Manual 10 Power Management COAM30002 Rev 2 00 8 13 02 10 8...
Страница 160: ...Apex III Technical Reference Manual 11 Technical Specifications COAM30002 Rev 2 00 8 13 02 11 8...
Страница 166: ...Apex III Technical Reference Manual Appendix A COAM30002 Rev 1 03 08 13 02 A 6...
Страница 167: ...This Page Intentionally Left Blank...
Страница 168: ...Compsee Inc A Subsidiary of McRae Industries Inc Compsee Inc Contact Information www compsee com 1 800 628 3888...