AET62 Reference Manual
Version 1.0
Page 35 of 37
idvation GmbH
Otto-Hesse-Straße 19 / T5
Phone +49 6151 4923021
D-64293 Darmstadt
Fax +49 6151 3689296
www.idvation.com
12. Appendix E. Sample Codes for Setting the LED
Example 1: To read the existing LED State
// Assume both Red and Green LEDs are OFF initially //
APDU = “
FF 00 40 00 04 00 00 00 00”
Response =
“90 00”.
RED and Green LEDs are OFF.
Example 2: To turn on RED and Green Color LEDs
// Assume both Red and Green LEDs are OFF initially //
APDU = “
FF 00 40 0F 04 00 00 00 00
”
Response = “
90 03
”. RED and Green LEDs are ON,
To turn off both RED and Green LEDs, APDU = “
FF 00 40 0C 04 00 00 00 00
”
Example 3: To turn off the RED Color LED only, and leave the Green Color LED unchanged
// Assume both Red and Green LEDs are ON initially //
APDU = “
FF 00 40 04 04 00 00 00 0
0”
Response = “
90 02
”. Green LED is not changed (ON); Red LED is OFF,