mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-07-05 20:41:34 -07:00
Update cmdhficlass.c
Improved code comments Signed-off-by: Antiklesys <syselkitna@gmail.com>
This commit is contained in:
parent
c504d43398
commit
f5254880b9
1 changed files with 4 additions and 4 deletions
|
@ -5974,10 +5974,10 @@ static int CmdHFiClassSAM(const char *Cmd) {
|
|||
WaitForResponse(CMD_HF_SAM_PICOPASS, &resp);
|
||||
|
||||
bool is_snmp = false;
|
||||
uint8_t snmp_pattern[] = {0xBD, 0x81, 0xFF, 0x8A, 0x81, 0xFF}; // 0xFF is a placeholder for the length message
|
||||
bool snmp_mask[] = {true, true, false, true, true, false}; // false means wildcard
|
||||
uint8_t ack_pattern[] = {0xBD, 0xFF, 0x8A}; // 0xFF is a placeholder for the length message
|
||||
bool ack_mask[] = {true, false, true}; // false means wildcard
|
||||
uint8_t snmp_pattern[] = {0xBD, 0x81, 0xFF, 0x8A, 0x81, 0xFF}; // SNMP Response header pattern, 0xFF is a wildcard value for message length
|
||||
bool snmp_mask[] = {true, true, false, true, true, false}; // false means wildcard value in that position
|
||||
uint8_t ack_pattern[] = {0xBD, 0xFF, 0x8A}; // Acknowledge Response header pattern, 0xFF is a wildcard value for message length
|
||||
bool ack_mask[] = {true, false, true}; // false means wildcard value in that position
|
||||
|
||||
switch (resp.status) {
|
||||
case PM3_SUCCESS:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue