Uart/Rs-232 Communications Property (Uart/Rs-232 Readers Only) - Magtek MagneSafe V5 Reference Manual

Table of Contents

Advertisement

Example Set Max Packet Size property Response (Hex):
Result Code
00
Example Get Max Packet Size property Request (Hex):
Cmd Num
00
Example Get Max Packet Size property Response (Hex):
Result Code
00

UART/RS-232 COMMUNICATIONS PROPERTY (UART/RS-232 READERS ONLY)

Property ID:
0x0A
Property Type:
Byte
Length:
1 byte
Get Property:
Yes
Set Property:
Yes
Default Value:
0x02
Description:
This property specifies the speed, stop bits, and parity for RS-232
Communications. The speed, stop bits, and parity are independently
selectable. Note that once this command is accepted and the reader is reset or
power cycled, the new communications parameters are in effect. An
application that wishes to communicate with the reader must use the correct
speed and parity. There is no method of bringing a reader to a "default" speed
and parity, thus the user that changes this must be aware of the settings, or
must discover the settings by sending repeated commands in the range of
possible settings (48 possible configurations). The number of data bits in each
character is dependent on the parity setting, see the table below.
Note that Mark parity (see below) can be interpreted two ways:
1. 7 bit characters, parity always equals 1, one stop bit, or
2. 7 bit characters, no parity, 2 stop bits.
The Stop Bits specification applies only to data transmitted from the reader; the
reader never requires more than one stop bit from the host but will function
normally if the host includes more than one stop bit.
The following table defines how to interpret the values this property may have.
Data Len
Data
00
Data Len
Prp ID
01
0A
Data Len
Prp Value
01
08
Section 2. Communications
33

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MagneSafe V5 and is the answer not in the manual?

Questions and answers

Table of Contents