SPRINGCARD SAS PRNHSP01 用户手册
PMD2271-BA
page 52 of 118
S
PRING
C
ARD
PC/SC C
OUPLERS
- H663
GROUP
- Developer's reference manual
3.4. O
THER
S
PRING
C
ARD
-
SPECIFIC
INSTRUCTIONS
3.4.1.
READER CONTROL instruction
The READER CONTROL instruction allows driving the global behaviour of the H663 (LEDs, buzzer,
etc. depending on product physical characteristics).
For advanced operation, or if you want to interact with the H663 even when there's no card
inserted, use SCardControl instead (see chapter 6).
For advanced operation, or if you want to interact with the H663 even when there's no card
inserted, use SCardControl instead (see chapter 6).
If your coupler is multi-slot (contactless + contact or SAM), the READER CONTROL instruction is
sent to one slot (a logical coupler), but is likely to have a global impact to the whole physical
coupler.
coupler.
In other words, sending a READER CONTROL instruction to one card channel may have an impact
on another card channel.
on another card channel.
It is highly recommended to use a synchronisation object in your application(s) (mutex, critical
section, …) to prevent any concurrent access to the same physical coupler when the READER
section, …) to prevent any concurrent access to the same physical coupler when the READER
CONTROL instruction is called.
READER CONTROL command APDU
CLA
INS
P1
P2
Lc
Data In
Le
h
FF
h
F0
h
00
h
00
See
below
See below
See
below
a.
Driving coupler’s LEDs
For a coupler with only red and green LEDs, send the APDU:
FF F0 00 00 03 1E <red> <green>
For a coupler with red, green and yellow / blue LEDs, send the APDU:
FF F0 00 00 04 1E <red> <green> <yellow/blue>
Choose values for red, green and yellow/blue in this table:
h
00
LED is switched OFF
h
01
LED is switched ON
h
02
LED blinks slowly
h
03
LED is driven automatically by the H663’s firmware (default behaviour)
h
04
LED blinks quickly
h
05
LED performs the “heart-beat” sequence
SPRINGCARD, the SPRINGCARD logo, PRO ACTIVE and the PRO ACTIVE logo are registered trademarks of PRO ACTIVE SAS.
All other brand names, product names, or trademarks belong to their respective holders.
Information in this document is subject to change without notice. Reproduction without written permission of PRO ACTIVE is forbidden.