Appendix B - Examples
eDynamo| Secure Card Reader Authenticator | Programmer’s Manual (COMMANDS)
Page 202 of 245 (
D998200115-17
)
B.1.3
Example: Configuring a Device Before Encryption Is Enabled (HID Only)
This example configures the device to use the USB-HID data format (see section
; This script demonstrates configuration commands for HID mode.
; It assumes the device is at Security Level 2 and that the Device
; Serial Number has never been set.
00 01 10 ; Get current interface
Request : CMND=00, LEN=01, DATA=10
Response : RC= 00, LEN=01, DATA=01
01 02 10 00 ; Set Interface to HID
Request : CMND=01, LEN=02, DATA=10 00
Response : RC= 00, LEN=00, DATA=
02 00 ; Reset so changes take effect
Request : CMND=02, LEN=00, DATA=
Response : RC= 00, LEN=00, DATA=
Delay : (waited 5 seconds)
00 01 10 ; Get current interface (should return 0)
Request : CMND=00, LEN=01, DATA=10
Response : RC= 00, LEN=01, DATA=00