8 - Commands
eDynamo| Secure Card Reader Authenticator | Programmer’s Manual (COMMANDS)
Page 80 of 245 (D998200115-17)
8.3.10 Command 0x15 - Get / Set Security Level (MAC)
This command is used to set or get the the device’s current Security Level (see section 4 Security
Levels). The host can use this to raise the Security Level, but can not lower it.
When using this command to set the device’s security level, the host should include the specified data in
the request, and the device will not return an explicit response. When using this command to get the
device’s current security level, the host should include no data, and the device will return a response.
Table 8-17 - Request Data for Command 0x15 - Get / Set Security Level (MAC)
Optional: if present must be either 0x03 or 0x04. If absent, this is a query
for the current Security Level.
Four byte MAC to secure the command [see section 4.1 About Message
Authentication Codes (MAC)]. If the host does not include a value for
Security Level, it should not include the MAC value.
Table 8-18 - Response Data for Command 0x15 - Get / Set Security Level (MAC)
Only present if there was no Data in the request. This value gives the current
Security Level.
Result codes:
0x00 = Success
0x02 = Bad Parameters. The Data field in the request is not a correct length OR the specified Security
Level is invalid; OR the current Security Level is 4.
0x07 = Incorrect MAC; command not authorized
Example Set Security Level Request (Hex)
03 xx xx xx xx, where xx xx xx xx is a valid MAC
Example Set Security Level Response (Hex)
Example Get Request (Hex)
Example Get Security Level Response (Hex)