Oneil microFlash2 Programming Reference Manual page 37

Table of Contents

Advertisement

Configure Infrared Protocol {CIP:nnn}
{
A left bracket begins the command set.
CIP:nnn
Overview: The CIP command selects which
protocol is to be used for Infrared
communications. IrDA is a bidirectional
communications protocol. All others are
unidirectional unless noted as 2WAY.
nnn selects which protocol is to be used for
infrared as followed
OFF = No infrared communications
IRDA = IrDA protocol
ASK = ASK (Amplitude Shift Keying)
ASK-CRC = ASK with CRC protocol
ASK-CRC-2W = Bidirectional ASK with CRC
DIRECT = DIRECT (IR on/off to send)
DIRECT-CRC = Direct with CRC protocol
DIRECT-CRC-2W = bidirectional DIRECT-
CRC.
PULSE - PULSE (IR with IrDA modulation
only)
PULSE-CRC = Pulse with CRC protocol
PULSE-CRC-2W = bidirection PULSE-CRC
Note: The CRC protocol appends a HEADER
and TRAILER onto the DATA as follows:
HEADER FORMAT:
BYTE #1 = STX (0x02)
BYTE #2 = LSB of Byte Count
BYTE #3 = MSB of Byte Count
TRAILER FORMAT:
BYTE #1 = ETX (0x03)
BYTE #2 = LSB of CRC
BYTE #3 = MSB of CRC
The CRC is a CRC-16 calculation. First byte
in the calculation is the LSB of the Byte
Count and the last byte in the calculation is
the ETX. If the CRC calculated by the
printer does not match the one sent, or if
the printer does not receive the full
transmission after it receives the opening
STX, the printer will beep. If the
transmission is received completely and
the CRCs match, the printer will print the
data.
}
A right bracket ends the command set.
Chapter 3: Using Easy Print Mode
O'Neil Programming Language Reference Manual
Original
Radio Ready
MF2, MF3, 2t, 4t
2t, 3l, 4t
X
36

Advertisement

Table of Contents
loading

Related Products for Oneil microFlash2

Table of Contents