8 - Commands
eDynamo| Secure Card Reader Authenticator | Programmer’s Manual (COMMANDS)
Page 112 of 245 (
D998200115-17
)
8.5.3
Extended Command 0x0307 - Modify Application Configuration (MAC)
Like all extended commands, the host initiates this command by calling
Extended Command Packet (Extended Commands Only)
, and receives a response as documented
there.
This command is used to modify EMV Application configurations. See
Read Application Configuration
and the Application Settings subsections in
Configuration changes will be lost after a power cycle or reset unless the host sends
Command 0x030E - Commit Configuration
after making all configuration changes.
Table 8-44 - Request Data for Extended Command 0x0307 - Modify Application Configuration (MAC)
Offset Field Name
Value
0
Type of MAC
MAC algorithm designator
0x00 = ISO 9797 MAC Algorithm 3, Padding Method 1.
1
Slot Number
EMV Application Slot Number
See
Appendix E EMV Factory Defaults (EMV Only)
application slots the device has for the selected database.
2
Operation
0x01 = Write Operation
3
Database
Selector
(Contact Only)
0x00 = EMV Contact L2
4..19
Device Serial
Number
(DSN)
16 Bytes DSN
20..n
Objects to
Write
FA<len> /* container for generic data */
<tag><len><value>
…
<tag><len><value>
n..n+3
MAC
MAC computed on
Device Serial Number (DSN)
and
Objects to Write
fields.
Response Data: None. The response to this command only contains a result code.
Result codes:
0x0000 = Success
0x0390 = Device Has No Keys
0x0391 = Invalid Device Serial Number
0x0392 = Invalid Type of MAC field
0x0393 = Invalid Slot Number field
0x0394 = Invalid Operation field
0x0395 = Invalid Database Selector field
0x0396 = Invalid Objects to Write field
0x0397 = Invalid MAC