ARCHITECTURE
iap_get_keypad_state()
E355/E265 USER AND BEST PRACTICES GUIDE 27
Table 10 presents the PMR-MUX2 status strings.
Table 11 lists the PMR-MUX2 error codes.
Table 10 PMR-MUX2 Status Strings
Message Status String Name Description
<0xFF><0x5A>a<num><crc> ACK Indication This Message Status is a method for either end of the
link to send and ACK status to the other end. This
indicates that the previous message was received
properly. The <num> parameter is an ASCII number
from 2 to 6 to specify the channel number. The <crc>
field is a 16 bit CRC of the complete message including
the 2 byte header and the data field.
<0xFF><0x5A>n<num><code><crc> NAK indication This Message Status is a method for either end of the
link to send NAK error codes to the other end in the
event of a message error. The error codes are a single
byte ASCII values. The specific error codes are
described below. The <num> parameter is an ASCII
number from 2 to 6 to specify the channel number. The
<crc> field is a 16 bit CRC of the complete message
including the 2 byte header and the data field.
Table 11 PMR-MUX2 Error Codes
Error
Code
Code Name Description
0x31 Channel not open The OS sends this error when the smart device application attempts to write
to a mux channel that it has not opened.
0x32 Invalid Channel Number The OS sends this error when the smart device app specifies a bad channel
number in an open or close command.
0x33 No Channel is selected The OS sends this error when a command doesn't contain a channel number.
0x34 Unknown Command The OS sends this error when a command byte is received that it does not
recognize.
0x35 Channel Already Open The OS sends this error when the smart device application tries to open a
channel that is already open.
0x36 Channel Already Closed The OS sends this error when the smart device application tries to close a
channel that is already closed.
0x37 Application Not Open The OS sends this error when the smart device application tries to open or
write to a channel in which the Verix application has not opened the channel.