Vous êtes sur la page 1sur 55

AnyReadTM SDK User Manual

Its RFID

Software Manual
3ALogics Evaluation System Series

Software : AnyReadTM SDK v3.1

This document contains software operation information offered with Evaluation system board. hardware and protocol information are not included in this document.

Other

http://www.3ALogics.com

Page 1

AnyReadTM SDK User Manual


Revision History
Date 2008. 04. 10 2008. 04 17 2008. 07 31 Version 0.1 3.0 3.1 Content Preliminary release 3.0 version release 3.1 version release

Notice : All referenced brands, product names, service name and trademarks are the property of their respective owners.

AnyRead - is a trademark of 3ALogics.

Disclaimer
The information provided is as is without any type of warranty. To the maximum extent permitted by law, 3ALogics accepts no responsibility on all warranties, including without limitation any implied warranties of merchant ability, fitness for a particular purpose, and non-infringement. recipient. The entire risk from the use or performance of the product and documentation remains with the In no event shall 3ALogics or its suppliers be liable for any consequential, incidental, direct, indirect, special, punitive or other damages whatsoever including without limitation damages for loss of business, profits, business interruption, loss of business information or other losses.

Contact
3Alogics Inc.
7th Fl., Hyundai-office Bldg., 9-4, Sunae-dong, Bundang-gu, Seongnam-si, Gyeonggi-do, 463-783 Korea TEL FAX : : (82)-(31)-715-7117 (82)-(31)-719-7551

E-mail : rfid@3ALogics.com Homepage : http://www.3ALogics.com

Printed in the Republic of Korea.

Page 2

AnyReadTM SDK User Manual


Document Contents
Chapter1
1.1 1.2 1.3 1.4

General Information __________________________________________________6

Outline ______________________________________________________________________________ 6 Copyright ___________________________________________________________________________ 6 Minimum Installation Requirement and Caution ________________________________ 6 Connecting to System _____________________________________________________________ 7

Chapter2
2.1 2.2

Starting Software _____________________________________________________8

Preparing Files before Starting ___________________________________________________ 8 Starting Software __________________________________________________________________ 9

Chapter3
3.1 3.2 3.3 3.4
1) 2)

Software GUI Configuration________________________________________ 11

AnyRead GUI (Graphic User Interface) _________________________________________ 11 Menu _____________________________________________________________________________ 12 Tool bar ___________________________________________________________________________ 13 Register Control __________________________________________________________________ 13
Read _______________________________________________________________________________________ 13 Write _______________________________________________________________________________________ 14

3.5 3.6

Reader Monitoring _______________________________________________________________ 14 Reader Control ___________________________________________________________________ 14

Chapter4
4.1 4.2 4.3 4.4
1) 2) 3) 4)

Software Protocol Execution _______________________________________ 15

Scope _____________________________________________________________________________ 15 Auto ______________________________________________________________________________ 15 Card Detect_______________________________________________________________________ 16 ISO14443A _______________________________________________________________________ 18


Register A __________________________________________________________________________________ 19 REQA_______________________________________________________________________________________ 19 HLTA _______________________________________________________________________________________ 19 WUPA ______________________________________________________________________________________ 20

Page 3

AnyReadTM SDK User Manual


5) 6) 7) 8) 9) Anticollision 1______________________________________________________________________________ 20 Anticollision 2______________________________________________________________________________ 20 Anticollision 3______________________________________________________________________________ 21 Select 1 ____________________________________________________________________________________ 21 Select 2 ____________________________________________________________________________________ 21

10) Select 3 ____________________________________________________________________________________ 22 11) ISO 14443 A _______________________________________________________________________________ 22 12) ISO 14443A Loop __________________________________________________________________________ 22

4.5
1) 2) 3) 4) 5) 6) 7)

ISO14443B ________________________________________________________________________ 23
Register B __________________________________________________________________________________ 24 REQB _______________________________________________________________________________________ 24 HLTB _______________________________________________________________________________________ 24 WUPB ______________________________________________________________________________________ 24 ATTRIB _____________________________________________________________________________________ 25 ISO 14443 B _______________________________________________________________________________ 25 ISO 14443 B Loop _________________________________________________________________________ 25

4.6
1) 2) 3) 4) 5) 6) 7) 8) 9)

ISO15693 _________________________________________________________________________ 27
Register 15693 _____________________________________________________________________________ 28 Inventory___________________________________________________________________________________ 28 Select ______________________________________________________________________________________ 28 Lock Block _________________________________________________________________________________ 28 Read Single Block__________________________________________________________________________ 29 Write Single Block _________________________________________________________________________ 29 Read Multi Blocks__________________________________________________________________________ 30 Write Multi Blocks _________________________________________________________________________ 30 Stay Quiet__________________________________________________________________________________ 31

10) Reset To Ready ____________________________________________________________________________ 32 11) Write AFI ___________________________________________________________________________________ 32 12) Lock AFI____________________________________________________________________________________ 33 13) Write DSFID________________________________________________________________________________ 33 14) Lock DSFID ________________________________________________________________________________ 34 15) Get Information ____________________________________________________________________________ 34 16) Get Security Status ________________________________________________________________________ 35 17) ISO 15693__________________________________________________________________________________ 35 18) ISO 15693 Loop ___________________________________________________________________________ 35

4.7
1)

Tag-It _____________________________________________________________________________ 36
Register Tag-It _____________________________________________________________________________ 37

Page 4

AnyReadTM SDK User Manual


2) 3) 4) 5) 6) 7) 8) Get Version ________________________________________________________________________________ 37 Get Block __________________________________________________________________________________ 37 Lock Block _________________________________________________________________________________ 38 Put Block___________________________________________________________________________________ 38 Put Block Lock _____________________________________________________________________________ 39 Tag-It_______________________________________________________________________________________ 39 Tag-It Loop ________________________________________________________________________________ 39

4.8
1) 2) 3) 4)

I-CODE ____________________________________________________________________________ 40
Register I-CODE ___________________________________________________________________________ 41 Anticollision / Select _______________________________________________________________________ 41 I-CODE _____________________________________________________________________________________ 41 I-CODE Loop _______________________________________________________________________________ 42

4.9
1) 2) 3) 4) 5) 6) 7) 8) 9)

Jewel ______________________________________________________________________________ 42
Register Jewel______________________________________________________________________________ 44 REQA_______________________________________________________________________________________ 44 WUPA ______________________________________________________________________________________ 44 RID _________________________________________________________________________________________ 44 RALL _______________________________________________________________________________________ 45 Read _______________________________________________________________________________________ 45 Write E _____________________________________________________________________________________ 45 Write NE ___________________________________________________________________________________ 46 Jewel _______________________________________________________________________________________ 46

10) Jewel Loop _________________________________________________________________________________ 46

4.10 Inside _____________________________________________________________________________ 48


1) 2) 3) 4) 5) 6) 7) Register Inside _____________________________________________________________________________ 49 Act All______________________________________________________________________________________ 49 Act _________________________________________________________________________________________ 49 Identify_____________________________________________________________________________________ 50 Select ______________________________________________________________________________________ 50 Inside ______________________________________________________________________________________ 50 Inside Loop ________________________________________________________________________________ 51

4.11 Felica______________________________________________________________________________ 52
1) 2) 3) 4) Register Felica _____________________________________________________________________________ 53 Polling _____________________________________________________________________________________ 53 Felica _______________________________________________________________________________________ 53 Felica Loop ________________________________________________________________________________ 54

Page 5

AnyReadTM SDK User Manual

Chapter1 General Information


1.1 Outline
This document contains 3ALogics Evaluation system (RSK100/200L/300), AnyReadTM SDK set up, and using AnyReadTM SDK..

1.2 Copyright
Software copyright belongs to 3ALogics. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electric or mechanical, by photocopying, recording, or otherwise, without the prior written consent of 3ALogics Inc.

1.3 Minimum Installation Requirement and Caution


Hardware:
PC (Pentium 100MHz / RAM 32MB) RS232 Serial Port 200MB free hard disk space CD-ROM or DVD-ROM drive Ethernet (For internet connection : Java program download / update)

Software:
Windows 2000 Windows XP Installation screen is based on Windows XP environment. version of Windows program. Close all other programs prior to installing SDK. It may differ in different

Page 6

AnyReadTM SDK User Manual

1.4 Connecting to System


SDK offered with RSK board can be controlled through PC using RS232 cable. connect RSK board as seen in Picture 1-1 below. Before starting,

Picture 1-1. Connecting RSK Evaluation Board

Page 7

AnyReadTM SDK User Manual

Chapter2

Starting Software

2.1 Preparing Files before Starting


Files in SDK install file folder are listed in below Chart 2-1. Since software uses java language, user must have JVM (Java Virtual Machine) in PC. Chart 2-1. Install Files Offered in RSK Series File name Software Java Serial communication setup file Java install file

AnyRead v3.1.exe
Comm.jar Javax.comm.properties Win32com.dll jre-6u3-windows-i586-p.exe

(SDK V3.1 install file: JVM Included)

Page 8

AnyReadTM SDK User Manual

2.2 Starting Software


For installation of AnyRead SDK below JVM installation steps are required. connected to internet, and if not, use installation file comes with RSK board. PC must be

Picture 2-1. JVM Installation Process 1

Picture 2-2. JVM Installation Process 2

Page 9

AnyReadTM SDK User Manual

Picture 2-3. JVM Installation Process 3

After installing JVM, check if Java Serial communication setup file appears as below path. When installing for first time, it sets up automatically as below. C:\Program Files\Java\jre1.6.0_03 : JVM install directory

C:\Program Files\Java\jre1.6.0_03\lib\ext\Comm.jar C:\Program Files\Java\jre1.6.0_03\lib\Javax.comm.properties C:\Program Files\Java\jre1.6.0_03\bin\Win32com.dll User can

After completing installation of JVM and serial communication set up, activate software. update JVM version accordingly per user requirement. (Caution: After activating software, select chip according to system board.)

Page 10

AnyReadTM SDK User Manual

Chapter3

Software GUI Configuration

3.1 AnyRead GUI (Graphic User Interface)


This software has 5 menus and actual screen is displayed in Picture 3-1. Menu / Tool bar / Register control / Reader monitoring / Reader control

1) Menu 2) Tool bar

3) Register control

4) Reader monitoring

5) Reader control

Picture 3-1. AnyReadTM SDK Version3.1

Page 11

AnyReadTM SDK User Manual

3.2 Menu
Main control functions for Software; Connect, Chip, Interface, Protocol, and Help are listed in Chart 3-1. Chart 3-1. Menu Configuration

Item
Connect Exit Chip SPI Interface parallel Auto Protocol Default setting Program ends TRH031M

Description
Connect to RSK board GUI window: Connect, not connect I/O setting Serial or USB (default: Serial) Serial communication setting : Baud rate 9600, 8bit data communication default

Option Connect

Use with RSK100 Evaluation system board Based on TRH031M chip Use with RSK200L/RSK300 Evaluation board Based on TRH033M chip

TRH033M

RSK series TRH03XM and MCU interface setting Automatic tag reading by each protocol supported with RSK board

Protocol select Activate each Protocol reader control window Change by protocol from Auto mode to Interactive mode Change by Register set (Refer to Reader control)

Help

About AnyReadTM SDK SDK version

Page 12

AnyReadTM SDK User Manual

3.3 Tool bar


Tool Bar offers convenient selection icon of often used features such as Connect (On/Off), Card Detect, protocol (ISO14443A, ISO14443B, ISO15693, Tag-It, I-CODE, Jewel, Inside, Felica).

3.4 Register Control


Register Control is a GUI (Graphic User Interface) control panel to read and write TRH031M/TRH033M register value.

1)

Read

Command to

read data

stored

in

TRH031M/TRH033M register. As seen in Picture 3-2, select register from Register Name or enter register address in Hex value (0x00~0x31) from Register Address Text. After completing register selection, click Read button to read register value.

Picture 3-2. Register Read

Page 13

AnyReadTM SDK User Manual

2)

Write

Command to write specific value to TRH031M/TRH033M selecting register, register. using After Bit Register

button (Picture 3-3) to set Bit data. Also enter Hex value or Decimal value and clicking Write button will write to TRH031M Register. (Remark: protocols; ISO15693, supports 8 RSK-100 ISO14443A, and Tag-IT. protocols; supports 4

ISO14443B, RSK-300 ISO14443A,

ISO14443B, ISO15693, Tag-IT, I-CODE, Jewel, Inside, and Felica)

Picture 3-3. Register Write

3.5 Reader Monitoring


Reader monitoring screen allows user to check data received from RSK board. from Reader. Its divided

into UID is that outputs each protocol tag UID and History that outputs message received

3.6 Reader Control


Reader Control screen allows user to execute commands for each protocol. It comprises of

buttons to execute each commands and data entry section for executing commands.

Page 14

AnyReadTM SDK User Manual

Chapter4
4.1 Scope

Software Protocol Execution

AnyRead SDK application transfers data to RSK board following steps listed in Picture 4-1.
select Command data
STX 0x02 Protocol 0x03

Len
0x04

D1
0x36

D2~
0x01 ~

Dn

EXT

Check SUM

Picture 4-1. SDK Command Flow chart to Transfer Data to Reader

4.2 Auto
Picture 4-2 is GUI screen for Auto Mode. mode Auto is a command to execute Changing to interactive auto mode requires from all protocol.

executing of each protocol register set and not able to change on by selecting protocol. Picture 4-2. Auto GUI

Page 15

AnyReadTM SDK User Manual

4.3 Card Detect

Picture 4-3 is Card Detect GUI screen. This feature executes reading tag ID when tag is detected through reader antenna. Card Detect is only supported with RSK-300.

Picture 4-3. Card detect GUI

Chart 4-1. Command Set Description for Card detection Chart 4-1 Card Detection - Host to RSK Command Set Protocol Command All ISO14443A ISO14443B ISO15693 Tag-IT I-CODE Inside Jewel Felica Value(hex) A1 A2 A3 A4 A5 A6 A7 A8 A9 09(hex): Card Detection Actions Description Execute all protocol commands when card detect. Execute ISO14443A command when card detect. Execute ISO14443B command when card detect. Execute ISO15693 command when card detect. Execute Tag-IT command when card detect. Execute I-CODE command when card detect. Execute Inside command when card detect. Execute Jewel command when card detect. Execute Felica command when card detect. Remark

Page 16

AnyReadTM SDK User Manual

Picture 4-4 displays Card detect function execution result and command examples.

STX 0x02

Protocol 0x09

Len 0x00

Command 0xA1

ETX 0x03

Checksum 0xA9

(a) ALL Protocol

STX 0x02

Protocol 0x09

Len 0x00

Command 0xA2

ETX 0x03

Checksum 0xAA

(b) ISO/IEC 14443 A Picture 4-4 Card detect command data & execution result monitoring

Each protocol command structure is same. different.

As seen in Chart 4-2, only Checksum data are

Chart 4-2 Checksum value of Card detect By protocol


14443A 0xAA 14443B 0xAB 15693 0xAC Tag-it 0xAD I-CODE 0xAE Inside 0xAF Jewel 0xA0 Felica 0xA1 ALL 0xA9

Page 17

AnyReadTM SDK User Manual

4.4 ISO14443A

Picture 4-5 is ISO14443A GUI screen. From RSK series, ISO14443A control commands are REQA, SELECT, and WUPA, HLTA. ANTICOLLISION,

Commands to function ISO14443A are Register A, ISO14443A, and ISO14443A Loop.

Picture 4-5. ISO14443A GUI

Chart 4-3. ISO14443A Protocol Command Protocol Command


ISO14443A REG SET REQA Anti-Collision(Cascade level 1) Anti-Collision(Cascade level 2) Anti-Collision(Cascade level 3) SELECT(Cascade level 1) SELECT(Cascade level 2) SELECT(Cascade level 3) HLTA WUPA ISO14443A ISO14443A Loop

01(hex): ISO14443A Action Value(hex)


A1 26 93 95 97 94 96 98 50 52 F0 F1

Description
ISO14443A register setting for TRH03XM. Send ISO14443A REQA Command to Card. Send ISO14443A Cascade level 1 Anti-CollisionCommand to Card. Send ISO14443A Cascade level 2 Anti-CollisionCommand to Card. Send ISO14443A Cascade level 3 Anti-CollisionCommand to Card. Send ISO14443A Cascade level 1 SELECT Command to Card. Send ISO14443A Cascade level 2 SELECT Command to Card. Send ISO14443A Cascade level 3 SELECT Command to Card. Send ISO14443A Halt Command to Card. Send ISO14443A Wake up Command to Card. One time execution of ISO14443A Command. Card in RF-field, retrieve UID once. Command for only executing ISO14443A Command. If ISO14443A Card in RF-field, retrieve UID continuously. If ISO14443A

Remark

Page 18

AnyReadTM SDK User Manual

1)

Register A

STX 0x02

Protocol 0x01

Len 0x00

Command 0xA1

ETX 0x03

Checksum 0xA1

Register ISO14443A.

command

executes

It must start before

executing ISO14443A commands.

Picture 4-6. Register A command

2)

REQA

STX 0x02

Protocol 0x01

Len 0x00

Command 0x26

ETX 0x03

Checksum 0x26

REQA

command

requests

from

Reader to ISO14443A tag. reader area. Request, Type A).

It checks

if ISO14443A Tag is available in Tag receiving this command sends ATQA (Answer To Picture 4-7. REQA command

3)

HLTA

STX 0x02

Protocol 0x01

Len 0x00

Command 0x50

ETX 0x03

Checksum 0x50

HLTA command halts tag.

Tag

receiving this command remains in half status and waits for WUPA Command.

Picture 4-8. HLTA command

Page 19

AnyReadTM SDK User Manual

4)

WUPA

STX 0x02

Protocol 0x01

Len 0x00

Command 0x52

ETX 0x03

Checksum 0x52

WUPA command re-activates tag from Halt status. ATQA to Reader. Tag then sends

Picture 4-9. WUPA command

5)

Anticollision 1

STX 0x02

Protocol 0x01

Len 0x00

Command 0x93

ETX 0x03

Checksum 0x93

Anticollision multiple clashing. (4 bytes). tags

command response

allows from

Anticollision1 command is

sent when Tag UID is Cascade level1

Picture 4-10. Anticollision1 command

6)

Anticollision 2

STX 0x02

Protocol 0x01

Len 0x00

Command 0x95

ETX 0x03

Checksum 0x95

Anticollision2 bytes).

command

is

sent

when Tag UID is Cascade Level 2 (7

Picture 4-11. Anticollision2 command

Page 20

AnyReadTM SDK User Manual

7)

Anticollision 3

STX 0x02

Protocol 0x01

Len 0x00

Command 0x97

ETX 0x03

Checksum 0x97

Anticollision3 bytes).

command

is

sent

when Tag UID is Cascade Level 3 (10

Picture 4-12. Anticollision3 command

8)

Select 1

STX 0x02

Protocol 0x01

Len 0x00

Command 0x94

ETX 0x03

Checksum 0x94

Select returns UID received by AntiCollision command back to tag. If UID in Select command is same, Select command sends SAK (Select Acknowledge, Type A). Select1 is a command to select after performing Anticollision1.

Picture 4-13. Select1 command

9)

Select 2

STX 0x02

Protocol 0x01

Len 0x00

Command 0x96

ETX 0x03

Checksum 0x96

Select2 command is to select after performing Anticollision2.

Picture 4-14. Select2 command

Page 21

AnyReadTM SDK User Manual

10) Select 3

STX 0x02

Protocol 0x01

Len 0x00

Command 0x98

ETX 0x03

Checksum 0x98

Select3 command is to select after performing Anticollision3.

Picture 4-15. Select3 command

11) ISO 14443 A

STX 0x02

Protocol 0x01

Len 0x00

Command 0xF0

ETX 0x03

Checksum 0xF0

ISO14443A executing only once. of

command ISO14443A

allows protocol

Picture 4-16. ISO 14443A command

12) ISO 14443A Loop

STX 0x02

Protocol 0x01

Len 0x00

Command 0xF1

ETX 0x03

Checksum 0xF1

ISO14443A

Loop

command

executes ISO14443A protocol and reads UID continuously.

Picture 4-17. ISO 14443A Loop Command

Page 22

AnyReadTM SDK User Manual

4.5 ISO14443B
Picture 4-18 displays ISO14443B GUI screen. In RSK series, ISO14443B Execution protocol control commands are REQB, WUPB, ATTRIB, and HLTB. and ISO14443B Loop. commands are Register B, ISO14443B,

Picture 4-18. ISO14443B GUI

Chart 4-4. ISO14443B Protocol Command Protocol Command ISO14443B REG SET REQB ATTRIB HLTB WUPB ISO14443B ISO14443B Loop Value(hex) A2 00 1D 50 08 F0 F1 02(hex): ISO14443B Actions Description Register setting for TRH03XM ISO14443B. Send ISO14443B REQB command to Card. Send ISO14443B ATTRIB command to Card. Send ISO14443B Halt command to Card. Send ISO14443B Wake-up command to Card. One time execution of ISO14443B Command. ISO14443B Card in RF-field, retrieve UID once. Command for only executing ISO14443B Command. If ISO14443B Card in RF-field, retrieve UID continuously. If Remark

Page 23

AnyReadTM SDK User Manual


1) Register B

STX 0x02

Protocol 0x02

Len 0x00

Command 0xA2

ETX 0x03

Checksum 0xA2

Register ISO14443B.

command

executes

It must start before

executing ISO14443B commands.

Picture 4-19. Register B command

2)

REQB
REQB command requests from Reader
STX 0x02 Protocol 0x02 Len 0x00 Command 0x00 ETX 0x03 Checksum 0x03

to

ISO14443B

tag.

It

checks

if

ISO14443B Tag is available in reader area. B). Tag receiving this command sends ATQB (Answer To Request, Type

Picture 4-20. REQB command

3)

HLTB

STX 0x02

Protocol 0x02

Len 0x00

Command 0x50

ETX 0x03

Checksum 0x53

HLTB command halts tag.

Tag

receiving this command remains in half status and waits for WUPB command.

Picture 4-21. HLTB command

4)

WUPB

STX 0x02

Protocol 0x02

Len 0x00

Command 0x08

ETX 0x03

Checksum 0x0B

WUPB command re-activates tag

Page 24

AnyReadTM SDK User Manual


from Halt status. ATQB to Reader. Tag then sends

Picture 4-22. WUPB command

5)

ATTRIB

STX 0x02

Protocol 0x02

Len 0x00

Command 0x1D

ETX 0x03

Checksum 0x1E

ATTRIB command is to select one Tag.

Picture 4-23. ATTRIB command

6)

ISO 14443 B

STX 0x02

Protocol 0x02

Len 0x00

Command 0xF0

ETX 0x03

Checksum 0xF3

ISO14443B only once.

command

allows

executing of ISO14443B protocol

Picture 4-24. ISO 14443B command

7)

ISO 14443 B Loop

STX 0x02

Protocol 0x02

Len 0x00

Command 0xF1

ETX 0x03

Checksum 0xF2

ISO14443B

Loop

command

Page 25

AnyReadTM SDK User Manual


executes ISO14443B protocol and reads UID continuously.

Picture 4-25. ISO 14443B Loop command

Page 26

AnyReadTM SDK User Manual

4.6 ISO15693
Picture 4-26 displays ISO15693 GUI screen. ISO15693 control commands are Inventory, Stay quiet, Read single block, Write single block, Lock block, Read multiple block, Write multiple block, Select, Reset to ready, Write AFI, Lock AFI, Write DSFID, Lock DSFID, Get system information, and Get multiple block security status. In RSK series, command to activate ISO15693 commands are Register 15693, ISO15693, and ISO15693 Picture 4-26. ISO15693 GUI Loop.

Chart 4-5. ISO15693 Protocol Command


Protocol Command ISO15693 REG SET Inventory Stay quiet Read single block Write single block Lock block Read multiple blocks Select Reset to ready Write AFI Lock AFI Write DSFID Lock DSFID Get system information Get multiple block security status ISO15693 ISO15693 Loop F0 F1 Value(hex) A3 01 02 20 21 22 23 25 26 27 28 29 2A 2B 2C 03(hex): ISO15693 Actions Description Register setting for TRH03*M ISO15693. Send ISO15693 Inventory command to Card. Send ISO15693 Stay quiet command to Card. Send ISO15693 Read single block Command to Card. SEND ISO15693 Write single block Command to Card. SEND ISO15693 Lock block Command to Card. SEND ISO15693 Read multiple blocks Command to Card. SEND ISO15693 Select Command to Card. SEND ISO15693 Reset to ready Command to Card. SEND ISO15693 Write AFI Command to Card. SEND ISO15693 Lock AFI Command to Card. SEND ISO15693 Write DSFID Command to Card. SEND ISO15693 Inventory Command to Card. SEND ISO15693 Get system information Command to Card. SEND ISO15693 Get multiple block security status Command to Card. One time execution of ISO15693 Command. RF-field, retrieve UID once. Command for only executing ISO15693 Command. If ISO15693 Card in RF-field, retrieve UID continuously. If ISO15693 Card in Remark

Page 27

AnyReadTM SDK User Manual

1)

Register 15693

STX 0x02

Protocol 0x03

Len 0x00

Command 0xA3

ETX 0x03

Checksum 0xA1

Register 15693 command executes ISO15693. It must start before executing ISO15693 commands.

Picture 4-27. Register 15693 command

2)

Inventory

STX

Protocol

Len

Command
0x01 0x36

ETX

Checksum

Inventory command request reader to ISO15693 Tag. It checks if ISO15693 Tag is available in reader area and retrieves UID. This tag executes Anticollision to send UID.

0x02

0x03

0x04

0x01 0x00 0x00

0x03

0x30

Picture 4-28. Inventory command

3)

Select

STX 0x02

Protocol 0x03

Len 0x02

Command
0x25 0x22 0x25

ETX 0x03

Checksum 0x22

Select command converts Tag to Select status. This tag sends response.

Picture 4-29. Select command

4)

Lock Block

Page 28

AnyReadTM SDK User Manual


Lock Block command locks tag memory block. This tag locks this
0x03 0x01

STX 0x02

Protocol 0x03

Len 0x03

Command
0x22 0x02 0x22 0x02

ETX

Checksum

block permanently.

To use Lock

Block (Picture 4-30), enter block address in Address then click Lock Block button. After executing Lock Block command, re-writing to this Block is not possible as seen in Picture 4-31.

Picture 4-30. Lock Block command

Picture 4-31. Lock Block Status

5)

Read Single Block

STX 0x02

Protocol 0x03

Len 0x03

Command
0x20 0x02 0x20 0x02

ETX 0x03

Checksum 0x01

Read Single Block command is to read only ISO15693 Tag memory block (4 byte). To use Read Single Block (Picture 4-32), enter Block address in Hex value to Address then click Read Single Block button.

Picture 4-32. Read Single Block command

6)

Write Single Block

Page 29

AnyReadTM SDK User Manual


Write Single Block command is to write ISO15693 tag memory block (4 bytes).
0x03 0x27

STX

Protocol

Len

Command
0x21 0x02 0x21 0x02 0x11 0xAA 0x22 0xBB

ETX

Checksum

To use Write Single Block

0x02

0x03

0x07

(Picture 4-33), enter Block address in Hex value to Address then enter data (4 bytes) in Hex value and click Write Single Block button.

Picture 4-33. Write Single Block command

7)

Read Multi Blocks

STX

Protocol

Len

Command
0x23 0x02

ETX

Checksum

Read Multi Block command reads ISO15693 tag memory multi block (One block 4 bytes) data. To use

0x02

0x03

0x04

0x23 0x02 0x02

0x03

0x04

Read Multi Block (Picture 4-34), enter start block address (0x00) and last block address (0x02) in Number of Blocks. button. Then, click Multi Blocks

Picture 4-34. Read Multi Blocks command

8)

Write Multi Blocks

Page 30

AnyReadTM SDK User Manual


Write Multi Block command writes ISO15693 tag memory multi block (One block 4 bytes) data. To use Write Multi Block (Picture 4-35), enter start block address (0x00) and last block address (0x01) in Number of Blocks. Picture 4-35. Write Multi Blocks Then, click Write Multi Blocks button. ( This command is not
currently available.)

9)

Stay Quiet

STX 0x02

Protocol 0x03

Len 0x02

Command
0x02 0x62 0x02

ETX 0x03

Checksum 0x62

Stay

Quiet

command

keeps

ISO15693 Tag in Quiet mode.

Picture 4-36. Stay Quiet command

Page 31

AnyReadTM SDK User Manual

10) Reset To Ready

STX 0x02

Protocol 0x03

Len 0x02

Command
0x26 0x02 0x26

ETX 0x03

Checksum 0x02

Reset To Ready command converts 15693 tag from quite mode to ready mode.

Picture 4-37. Reset To Ready command

11) Write AFI

STX 0x02

Protocol 0x03

Len 0x03

Command
0x27 0x02 0x27 0x01

ETX 0x03

Checksum 0x02

Write AFI command is to write AFI (application family identifier) to ISO15693 tag memory. To use

Write AFI (Picture 4-38), enter AFI value to AFI and click Write AFI button.

Picture 4-38. Write AFI command

Page 32

AnyReadTM SDK User Manual

12) Lock AFI

STX 0x02

Protocol 0x03

Len 0x02

Command
0x28 0x02 0x28

ETX 0x03

Checksum 0x02

Lock AFI command locks AFI value permanently. Tag receiving Lock AFI Once Lock command stores AFI value to tag memory permanently. AFI command is executed, user can not re-write as seen in Picture 4-39 (b).

(a)

Lock AFI

(b)

Lock AFI status

Picture 4-39. Lock AFI command

13) Write DSFID

STX 0x02

Protocol 0x03

Len 0x00

Command 0x

ETX 0x03

Checksum 0x

Write DSFID

DSFID (Data

command Storage

writes Format

Identifier) to ISO15693 tag memory. To use Write DSFID (Picture 4-40 (a)), enter DSFID value to DSFID text then click Write AFI button.
(a) Write DFID

To confirm if

Write DSFID is applied, executing Inventory command (Picture 4-40 (b)) to confirm DSFID with UID.

(b)

Write DSFID confirm

Picture 4-40. Write DSFID command

Page 33

AnyReadTM SDK User Manual

14) Lock DSFID

STX 0x02

Protocol 0x03

Len 0x02

Command
0x2A 0x02 0x2A

ETX 0x03

Checksum 0x02

Lock DSFID command locks tag memory block. This tag locks this block permanently. Tag receiving Lock DSFID command stores DSFID value in memory permanently. After executing Lock DSFID command, tag is not re-writable as seen in Picture 4-41 (b).

(a)

Lock DSFID

(b)

Lock DSFID status

Picture 4-41. Lock DSFID command

15) Get Information

STX 0x02

Protocol 0x03

Len 0x02

Command
0x2B 0x02 0x2B

ETX 0x03

Checksum 0x02

Get Information command obtains Tag System Information.

Picture 4-42. Get Information command

Page 34

AnyReadTM SDK User Manual

16) Get Security Status

STX

Protocol

Len

Command
0x2C 0x02

ETX

Checksum

Get

Security

Status

command

obtains Tag Block Security status.


0x03 0x07

0x02

0x03

0x04

0x2C 0x01 0x02

Picture 4-43. Get Security Status command

17) ISO 15693

STX 0x02

Protocol 0x03

Len 0x00

Command 0xF0

ETX 0x03

Checksum 0xF2

ISO15693

command

activates

ISO15693 protocol.

Picture 4-44. ISO 15693 command

18) ISO 15693 Loop

STX 0x02

Protocol 0x03

Len 0x00

Command 0xF1

ETX 0x03

Checksum 0xF3

ISO15693 loop command executes ISO15693 protocol and reads UID continuously.

Picture 4-45. ISO 15693 Loop command

Page 35

AnyReadTM SDK User Manual

4.7 Tag-It
Picture 4-46 is Tag-It GUI screen. TagIt control commands are Get Block, Get Version, Put Block, Put Block Lock, and Lock block. From RSK series Tag-It execution commands are Register Tag-It, Tag-It, and Tag-It Loop.

Picture 4-46. Tag-It GUI

Chart 4-6. Tag-It Protocol Command Protocol Command Tag-It REG SET Get_Block Get_Version Put_Block Put_Block_Lock Lock_Block Tag-It Tag-It Loop Value(hex) A4 01 03 05 07 08 F0 F1 04(hex): Tag-It Protocol Command Description Register setting for TRH03XM Tag-IT. Send Tag-IT Get_Block command to Card. Send Tag-IT Get_Version command to Card. Send Tag-IT Put_Block command to Card. Send Tag-IT Put_Block_Lock command to Card. Send Tag-IT Lock_Block Command Card. One time execution of Tag-IT command. Card in RF-field, retrieve UID once. Command for only executing Tag-IT command. If Tag-IT Card in RF-field, retrieve UID continuously. If Tag-IT Remark

Page 36

AnyReadTM SDK User Manual

1)

Register Tag-It

STX 0x02

Protocol 0x04

Len 0x00

Command 0xA4

ETX 0x03

Checksum 0xA1

Register Tag-IT command executes Tag-IT. It must start before executing Tag-IT commands.

Picture 4-47. Register Tag-It command

2)

Get Version

STX 0x02

Protocol 0x04

Len 0x01

Command
0x03 0x03

ETX 0x03

Checksum 0x04

Get Version command obtains TagIt Version information. Sending Get Version command receives Tag-It UID and information.

Picture 4-48. Get Version command

3)

Get Block

STX 0x02

Protocol 0x04

Len 0x02

Command
0x01 0x01 0x02

ETX 0x03

Checksum 0xF3

Get Block command reads Tag-IT one memory block (4 byte). Block (Picture 4-49), To use Get enter Block

address in Hex value in Address then click Get Block button.

Picture 4-49. Get Block command

Page 37

AnyReadTM SDK User Manual

4)

Lock Block

STX 0x02

Protocol 0x04

Len 0x02

Command
0x08 0x08 0x02

ETX 0x03

Checksum 0x05

Lock

Block block

command

locks

Tag Tag

memory

permanently.

receiving Lock Block command locks Tag completely.

Picture 4-50. Lock Block command

5)

Put Block

STX

Protocol

Len

Command
0x05 0x05 0x02

ETX

Checksum

Put Block command is to write to Tag-It one memory block (4 bytes). To use Put Block (Picture 4-51 (a))

0x02

0x04

0x06

0xAB 0xCD 0xEF 0x12

0x03

0x9A

enter Block address in Hex value to Address. Enter data (4bytes) in Hex value then click Put Block button. After executing Put Block, Picture confirm Get Block as seen on Picture 4-51 (b).

(a)

Put Block

(b)

Put Block confirm

Picture 4-51. Lock Block command

Page 38

AnyReadTM SDK User Manual

6)

Put Block Lock

STX

Protocol

Len

Command
0x07 0x07 0x02

ETX

Checksum

Put Block Lock command stores specific block value in tag memory and locks.

0x02

0x04

0x06

0x11 0x22 0x33 0x44

0x03

0x45

Picture 4-52. Put Block Lock command

7)

Tag-It

STX 0x02

Protocol 0x04

Len 0x00

Command 0xF0

ETX 0x03

Checksum 0xF5

Tag-It

command

executes

Tag-It

protocol only once.

Picture 4-53. Tag-It command

8)

Tag-It Loop

STX 0x02

Protocol 0x04

Len 0x00

Command 0xF1

ETX 0x03

Checksum 0xF4

Tag-It Loop command executes Tag-It protocol and reads UID continuously.

Picture 4-54. Tag-It Loop command

Page 39

AnyReadTM SDK User Manual

4.8 I-CODE
Picture 4-55 is I-CODE GUI screen. I-CODE control command From RSK-300 is IAnticollision/Select.

CODE execution commands are Register ICODE, I-CODE, and I-CODE Loop.

Picture 4-55. I-CODE GUI

Chart 4-7. ICODE Protocol Command Protocol Command ICODE REG SET Anticollision/Select ICODE ICODE Loop Value(hex) A5 20 F0 F1 05(hex): ICODE Action Description Register setting for TRH033M ICODE. Send ICODE Anticollision/Select command to Card. One time execution of ICODE command. ICODE Card in RF-field, retrieve UID once. Command for only executing ICODE command. If ICODE Card in RF-field, retrieve UID continuously. If Remark

Page 40

AnyReadTM SDK User Manual

1)

Register I-CODE

STX 0x02

Protocol 0x05

Len 0x00

Command 0xA5

ETX 0x03

Checksum 0xA1

Register I-CODE command executes ICODE from RSK-300. It must start before executing I-CODE commands.

Picture 4-56. Register I-CODE command

2)

Anticollision / Select

STX

Protocol

Len

Command
0x20 0x20 0x00

ETX

Checksum

Anticollision/Select command request reader to I-CODE Tag.

0x02

0x05

0x06

0x00 0x00 0x00 0x00

0x03

0x02

Picture 4-57. Anticollision/Select command

3)

I-CODE

STX 0x02

Protocol 0x05

Len 0x00

Command 0xF0

ETX 0x03

Checksum 0xF4

I-CODE command executes I-CODE protocol only once.

Picture 4-58. I-CODE command

Page 41

AnyReadTM SDK User Manual

4)

I-CODE Loop

STX 0x02

Protocol 0x05

Len 0x00

Command 0xF1

ETX 0x03

Checksum 0xF5

I-CODE Loop command executes ICODE protocol and reads UID continuously.

Picture 4-59. I-CODE Loop command

4.9 Jewel
Picture 4-60 is Jewel GUI screen. Jewel

control commands are REQA, WUPA, RID, RALL, Read, Write E, and Write NE. From RSK-300 Jewel execution commands are Register Jewel, Jewel, and Jewel Loop.

Picture 4-60. Jewel GUI

Chart 4-8. Jewel Protocol Command Protocol Command Jewel REG SET REQA WUPA RID Value(hex) A7 26 52 78 06(hex): Jewel Protocol Command Description Register setting for TRH033M Jewel. Send Jewel REQA command to Card. Send Jewel WUPA command to Card. Send Jewel RID command to Card. Remark

Page 42

AnyReadTM SDK User Manual


RALL READ WRITE-E WRITE-NE Jewel Jewel Loop 00 01 53 1A F0 F1 Send Jewel RALL command to Card. Send Jewel READ command to Card. Send Jewel WRITE-E command to Card. Send Jewel WRITE-NE command to Card. One time execution of Jewel command. Card in RF-field, retrieve UID once. Command for only executing Jewel command. If Jewel Card in RF-field, retrieve UID continuously. If Jewel

Page 43

AnyReadTM SDK User Manual

1)

Register Jewel

STX 0x02

Protocol 0x06

Len 0x00

Command 0xA7

ETX 0x03

Checksum 0xA0

Register

Jewel

command

executes

Jewel from RSK-300.

It must start

before executing Jewel commands.

Picture 4-61. Register Jewel command

2)

REQA

STX 0x02

Protocol 0x06

Len 0x00

Command 0x26

ETX 0x03

Checksum 0x21

REQA

command

requests

from

Reader to Jewel tag.

It checks if

Jewel Tag is available in reader area. Tag receiving this command sends ATQA (Answer To Request, Type A). Picture 4-62. REQA command

3)

WUPA

STX 0x02

Protocol 0x06

Len 0x00

Command 0x52

ETX 0x03

Checksum 0x55

WUPB command re-activates tag from IDLE status. ATQB to Reader. Tag then sends

Picture 4-63. WUPA command

4)

RID

STX 0x02

Protocol 0x06

Len 0x00

Command 0x78

ETX 0x03

Checksum 0x7F

RID command is Read Identification

Page 44

AnyReadTM SDK User Manual


and reads Jewel Tag UID.

Picture 4-64. RID command

5)

RALL

STX 0x02

Protocol 0x06

Len 0x00

Command 0x00

ETX 0x03

Checksum 0x07

RALL command is Read ALL blocks and reads Jewel Tag total memory block.

Picture 4-65. RALL command

6)

Read

STX 0x02

Protocol 0x06

Len 0x01

Command 0x01 0x04

ETX 0x03

Checksum 0x03

Read command is to read only Jewel Tag memory block (1 byte). To use Read command (Picture 466), enter Block address in Hex value to Address then click Read button.

Picture 4-66. Read command

7)

Write E

STX 0x02

Protocol 0x06

Len 0x02

Command 0x53 0x0A 0x11

ETX 0x03

Checksum 0x4D

Write-E command is Write-Erase Byte used to access memory. This command allows memory erase and

Page 45

AnyReadTM SDK User Manual


write. To use Write-E (Picture 4-67),

enter Block address in Hex value to Address then enter data (1 bytes) in Hex value and click Write E button. Picture 4-67. Write E command

8)

Write NE

STX 0x02

Protocol 0x06

Len 0x02

Command 0x1A 0x0A 0x11

ETX 0x03

Checksum 0x04

Write-NE command is Write-NoErase Byte. This command is used to write 1 byte to Jewel Tag Memory without erasing memory. To use Write-NE (Picture 4-68), enter date 1 byte in Hex value to Address and click Write NE button.

Picture 4-68. Write NE command

9)

Jewel

STX 0x02

Protocol 0x06

Len 0x00

Command 0xF0

ETX 0x03

Checksum 0xF7

Jewel

command

executes

Jewel

protocol only once.

Picture 4-69. Jewel command

10) Jewel Loop

STX 0x02

Protocol 0x06

Len 0x00

Command 0xF1

ETX 0x03

Checksum 0xF6

Jewel Loop command executes Jewel

Page 46

AnyReadTM SDK User Manual


protocol and reads UID continuously.

Picture 4-70. Jewel Loop command

Page 47

AnyReadTM SDK User Manual

4.10 Inside
Picture 4-71 is Inside GUI screen. Commands to control Inside are Act All, Act, Identify, and Select. From RSK-300 Inside control commands are Register Inside, Inside, and Inside Loop.

Picture 4-71. Inside GUI

Chart 4-9. Inside Protocol Command Protocol Command Inside REG SET ACTALL ACT IDENTIFY SELECT Inside Inside Loop Value(hex) A6 0A 8E 0C 81 F0 F1 07(hex): Inside Command Description Register setting for TRH033M Inside. Send Inside ACTALL command to Card. Send Inside ACT command to Card. Send Inside IDENTIFY command to card. Send Inside SELECT command to card. One time execution of Inside command. in RF-field, retrieve UID once. Command for only executing Inside command. If Inside Card in RF-field, retrieve UID continuously. If Inside Card Remark

Page 48

AnyReadTM SDK User Manual

1)

Register Inside

STX 0x02

Protocol 0x07

Len 0x00

Command 0xA6

ETX 0x03

Checksum 0xA0

Register Inside command executes Inside from RSK-300. It must start before executing Inside commands.

Picture 4-72. Register Inside command

2)

Act All

STX 0x02

Protocol 0x07

Len 0x00

Command 0x0A

ETX 0x03

Checksum 0x0C

Act All command activates nonHalt tags within Reader field.

Picture 4-73. Act All command

3)

Act

STX 0x02

Protocol 0x07

Len 0x00

Command 0x8E

ETX 0x03

Checksum 0x88

Act

command

performs

Tag

Request.

Picture 4-74. Act command

Page 49

AnyReadTM SDK User Manual

4)

Identify

STX 0x02

Protocol 0x07

Len 0x00

Command 0x0C

ETX 0x03

Checksum 0x0A

Identity command reads Tag UID.

Picture 4-75. Identify command

5)

Select

STX 0x02

Protocol 0x07

Len 0x00

Command 0x81

ETX 0x03

Checksum 0x87

Select command selects Tag.

Picture 4-76. Select command

6)

Inside

STX 0x02

Protocol 0x07

Len 0x00

Command 0xF0

ETX 0x03

Checksum 0xF6

Inside command executes Inside protocol only once.

Picture 4-77. Inside command

Page 50

AnyReadTM SDK User Manual

7)

Inside Loop

STX 0x02

Protocol 0x07

Len 0x00

Command 0xF1

ETX 0x03

Checksum 0xF7

Inside Loop command executes Inside protocol and reads UID continuously.

Picture 4-78. Inside Loop command

Page 51

AnyReadTM SDK User Manual

4.11 Felica
Picture 4-79 is Felica GUI screen. control command is Polling. 300 Felica execution commands Felica are

From RSK-

Register Felica, Felica, and Felica Loop.

Picture 4-79. Inside GUI

Chart 4-10. Felica Protocol Command Protocol Command Felica REG SET Polling Felica Felica Loop Value(hex) A8 43 F0 F1 08(hex): Felica Command Description Register setting for TRH033M Felica. Send Felica Polling command to Card. One time execution of Felica command. Felica Card in RF-field, retrieve UID once. Command for only executing Felica command. If Felica Card in RF-field, retrieve UID continuously. If Remark

Page 52

AnyReadTM SDK User Manual

1)

Register Felica

STX 0x02

Protocol 0x08

Len 0x00

Command 0xA8

ETX 0x03

Checksum 0xA1

Register Felica command executes Felica from RSK-300. It must start before executing Felica commands.

Picture 4-80. Register Felica command

2)

Polling

STX 0x02

Protocol 0x08

Len 0x00

Command 0x43

ETX 0x03

Checksum 0x4A

Polling command reads UID by send Request to Felica Tag.

Picture 4-81. Polling command

3)

Felica

STX 0x02

Protocol 0x08

Len 0x00

Command 0xF0

ETX 0x03

Checksum 0xF9

Felica

command

executes

Felica

protocol only once.

Picture 4-82. Felica command

Page 53

AnyReadTM SDK User Manual

4)

Felica Loop

STX 0x02

Protocol 0x08

Len 0x00

Command 0xF1

ETX 0x03

Checksum 0xF8

Felica Loop command executes Felica protocol and reads UID continuously.

Picture 4-83. Felica Loop command

Page 54

AnyReadTM SDK User Manual

3ALogics 13.56MHz Muti-protocol RFID reader system AnyReadTM SDK User manual

Contact
3Alogics Inc.
7th Fl., Hyundai-office Bldg., 9-4, Sunae-dong, Bundang-gu, Seongnam-si,

Its RFID
RFID & Mobile SoC for Ubiquitous Technology

Gyeonggi-do, 463-783 Korea TEL : (82) (31) 715 -7117 FAX : (82) (31) 719 -7551

Homepage : http://www.3alogics.com Email : rfid@3alogics.com

Page 55

Vous aimerez peut-être aussi