mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
chg: 'hf thinfilm info' - print text
This commit is contained in:
parent
2a054438ab
commit
5a2d0c4cc1
1 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ static int print_barcode(uint8_t *barcode, const size_t barcode_len, bool verbos
|
||||||
|
|
||||||
switch (barcode[1]) {
|
switch (barcode[1]) {
|
||||||
case 0:
|
case 0:
|
||||||
printf("Data Format Field: Reserved for allocation by tag manufacturer\n");
|
PrintAndLogEx(SUCCESS, " Data format : Reserved for allocation by tag manufacturer");
|
||||||
return PM3_SUCCESS;
|
return PM3_SUCCESS;
|
||||||
case 1:
|
case 1:
|
||||||
snprintf(s, sizeof(s), "http://www.");
|
snprintf(s, sizeof(s), "http://www.");
|
||||||
|
@ -74,7 +74,7 @@ static int print_barcode(uint8_t *barcode, const size_t barcode_len, bool verbos
|
||||||
PrintAndLogEx(SUCCESS, "EPC: %s", sprint_hex(barcode + 2, 12));
|
PrintAndLogEx(SUCCESS, "EPC: %s", sprint_hex(barcode + 2, 12));
|
||||||
return PM3_SUCCESS;
|
return PM3_SUCCESS;
|
||||||
default:
|
default:
|
||||||
PrintAndLogEx(SUCCESS, "Data Format Field: unknown (%02X)", barcode[1]);
|
PrintAndLogEx(SUCCESS, " Data format : RFU Reserved for future use (%02X)", barcode[1]);
|
||||||
if (!verbose)
|
if (!verbose)
|
||||||
PrintAndLogEx(SUCCESS, "Raw data with CRC: "_YELLOW_("%s"), sprint_hex(barcode, barcode_len));
|
PrintAndLogEx(SUCCESS, "Raw data with CRC: "_YELLOW_("%s"), sprint_hex(barcode, barcode_len));
|
||||||
return PM3_SUCCESS;
|
return PM3_SUCCESS;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue