User manual
Copyright © 2011, Unitech America Inc. All rights reserved.
Page 32 of 61
MS246 User Manual
4. Mask Option Setting: (for enhanced encryption format only)
Command: 53 86 01 <Mask Option>
Mask Option: (Default: 0x07)
bit0: 1 – tk1 mask data allowed to send when encrypted.
bit1: 1 – tk2 mask data allowed to send when encrypted.
bit2: 1 – tk3 mask data allowed to send when encrypted.
When mask option bit is set – if data is encrypted (but not force encrypted), the
mask data will be sent. If mask option is not set, the mask data will not be sent
under the same condition.
Settings for OPOS:
1. Assume reader is under default setting (Encrypt Structure 0).
2. Set to new Encrypt Structure 1:
53 85 01 31
The OPOS driver/application may also send the following command when changed
(Decode/Raw format)
(Set raw or decode data format)
53 1D 01 30 // RAW data format
53 1D 01 31 // Decoded format
Card data is sent out in the following format
<STX><LenL><LenH><Card Data><CheckLRC><CheckSum><ETX>
0 STX
1 Data Length low byte
2 Data Length high byte
3 Card Encode Type
1
4 Track 1-3 Status
2
5 Track 1 data length
6 Track 2 data length
7 Track 3 data length
8 Clear/masked data sent status
3
9 Encrypted/Hash data sent status
4
10 Track 1 clear/mask data
Track 2 clear/mask data
Track 3 clear/mask data
Track 1 encrypted data
Track 2 encrypted data
Track 3 encrypted data
Session ID (8 bytes) (Security level 4 only)