User's Manual

Page 4
Introduction
This reference manual describes the command interface with INSIDE Contactless couplers and readers.
Host ā€“ Coupler protocol
Description
The commands are modeled on the ISO 7816 command set. This protocol is used by all INSIDEā€™s couplers
A typical protocol exchange includes:
1. The host sends a command to the coupler
2. The coupler executes the command
3. The host receives a response from the coupler
Coupler command is always constituted of 5 bytes :
CLASS : always 80h
INSTRUCTION : command to be executed by the coupler (like SelectCard)
P1 : Command parameter
P2 : Command parameter
P3 : Command parameter
Depending on the command, coupler answers data, status words.
There are 4 cases of data exchange:
Case Host to coupler Coupler to host ISO Type
1 None None ISO None
2 None Yes ISO Out
3 Yes None ISO In
4 Yes Yes ISO In/Out
Note : In case 4, data has to be sent and received from the coupler. With T=0
protocol, it is not possible in a single command, so this command has to be split
into 2 commands:
Couplers - Reference Manuel V1.3