mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
Fix sniffing command.
Refactor hf list felica.
This commit is contained in:
parent
76215fffc6
commit
1a852e02c7
4 changed files with 36 additions and 18 deletions
|
@ -97,6 +97,10 @@ uint8_t iso15693_CRC_check(uint8_t *d, uint8_t n) {
|
|||
return check_crc(CRC_15693, d, n);
|
||||
}
|
||||
|
||||
uint8_t felica_CRC_check(uint8_t *d, uint8_t n) {
|
||||
return check_crc(CRC_FELICA, d, n);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief iclass_CRC_Ok Checks CRC in command or response
|
||||
* @param isResponse
|
||||
|
@ -889,8 +893,7 @@ void annotateLegic(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize) {
|
|||
}
|
||||
|
||||
void annotateFelica(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize) {
|
||||
|
||||
switch (cmd[0]) {
|
||||
switch (cmd[3]) {
|
||||
case FELICA_POLL_REQ:
|
||||
snprintf(exp, size, "POLLING");
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue