Clear text crc, Encrypted crc, Format code – MagTek Bluetooth MagneSafe V5 Swipe Reader User Manual

Page 28: Programmable configuration options, Commands

Advertising
background image

Bluetooth MagneSafe V5 Swipe Reader


20

Clear Text CRC

This two byte Binary field contains a clear text version of a Cyclical Redundancy Check (CRC)
(least significant byte sent first). It provides a CRC of all characters sent prior to this CRC. The
CRC is converted to four characters of ASCII before being sent. The application may calculate a
CRC from the data received prior to this CRC and compare it to the CRC received. If they are
the same, the application can have high confidence that all the data was received correctly. The
Send Clear Text CRC property controls whether this field is sent. If the property is True, the
CRC is sent, if it is False, the CRC is not sent. The default state for this property is True.

Encrypted CRC

This 8-byte Binary field contains an encrypted version of a Cyclical Redundancy Check (CRC).
It provides a CRC of all characters sent prior to this CRC. The CRC is converted to 16
characters of ASCII before being sent. After the receiver decrypts the message, the CRC is
contained in the first 2 bytes of the message, all other bytes are meaningless. The application
may calculate a CRC from the data received prior to this CRC and compare it to the CRC
received. If they are the same, the application can have high confidence that all the data was
received correctly. The CRC Flag property controls whether this field is sent.

Format Code

This 4-character ASCII field contains the Format Code. The purpose of the Format Code is to
allow the receiver of this message to know how to find the different fields in the message. The
default Format Code for this reader is “0000”. If any of the properties that affect the format of
the message are changed, the first character of the Format Code will automatically change to a
“1”. The application may change the final three characters, but making such a change will
automatically cause the first character to a “1”.

PROGRAMMABLE CONFIGURATION OPTIONS

This reader has a number of programmable configuration properties. These properties are stored
in non-volatile memory. These properties can be configured at the factory or by the end user
using a program supplied by MagTek. Programming these parameters requires low level
communications with the reader. Details on how to communicate with the reader to change
programmable configuration properties follows in the next few sections. These details are
included as a reference only. Most users will not need to know these details because the reader
will be configured at the factory or by a program supplied by MagTek. Most users may want to
skip over the next few sections on low level communications and continue with the details of the
configuration properties.

COMMANDS

Most host applications do not need to send commands to the reader. Most host applications only
need to obtain card data from the reader as described previously in this section. This section of
the manual can be ignored by anyone who does not need to send commands to the reader.

Command requests and responses are sent to and received from the reader using command
strings. Command requests are sent to the reader via a serial port. The response to a command
is retrieved from the corresponding serial port.

Advertising