EasyManua.ls Logo

Access IS LSR118 - Page 44

Access IS LSR118
77 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Page 44 of 77 Copyright © Access-IS 2020
7.5.1 MIFARE command bytes
MIFARE command bytes
Command header
Command code
Block number
Block data
[0x00]
[0x08]
Write block (Key A)
Block number
16 bytes
[0x18]
Write block (Key B)
[0x48]
Authenticate and write block (Key A)
[0x58]
Authenticate and write block (Key B)
[0x88] or [0xC8]
RF select, authenticate and write block (Key A)
[0x98] or [0xD8]
RF select, authenticate and write block (Key B)
7.5.2 MIFARE response bytes
MIFARE response bytes
Response header
Response code
Block number
Status bytes
[0x00]
Any one of the following
values
(Command code + 1)
[0x09] or [0x19]
Block number
[0x90][0x00]
Success
[0x69][Status Code]
Failure
Refer to page 55 for information on MIFARE failure status codes.
7.5.3 Example
This command successfully writes 16 bytes to block number 2, using the loaded key authenticated
against Key A in the media.
USB
Command:
[0x00][0x48][0x02][0x01][0x02][0x03][0x04][0x05][0x06h][0x07]
[0x08][0x09]0x10]0x11]0x12]0x13]0x14]0x15]0x16]
Response:
[0x00][0x49][0x02][0x90][0x00]
Serial
Command:
[0x6F][0x13][0x00][0x00][0x00][0x00][0x00][0x00][0x00][0x00]
[0x00][0x48][0x02][0x01][0x02][0x03][0x04][0x05][0x06][0x07]
[0x08][0x09][0x10][0x11][0x12][0x13][0x14][0x15][0x16]
Response:
[0x80][0x05][0x00][0x00][0x00][0x00][0x00][0x00][0x00][0x00]
[0x00][0x49][0x02][0x90][0x00]

Table of Contents

Related product manuals