mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
colors for kiwi
This commit is contained in:
parent
ce76e4e351
commit
d7f306084a
1 changed files with 2 additions and 2 deletions
|
@ -174,7 +174,7 @@ static void PrintATR(uint8_t *atr, size_t atrlen) {
|
||||||
|
|
||||||
if (T0 & 0x80) {
|
if (T0 & 0x80) {
|
||||||
uint8_t TD1 = atr[2 + T1len];
|
uint8_t TD1 = atr[2 + T1len];
|
||||||
PrintAndLogEx(INFO, " - TD1 (First offered transmission protocol, presence of TA2..TD2) [ 0x%02x ] Protocol T%d", TD1, TD1 & 0x0f);
|
PrintAndLogEx(INFO, " - TD1 (First offered transmission protocol, presence of TA2..TD2) [ 0x%02x ] Protocol " _GREEN_("T%d"), TD1, TD1 & 0x0f);
|
||||||
protocol_T0_present = false;
|
protocol_T0_present = false;
|
||||||
if ((TD1 & 0x0f) == 0) {
|
if ((TD1 & 0x0f) == 0) {
|
||||||
protocol_T0_present = true;
|
protocol_T0_present = true;
|
||||||
|
@ -199,7 +199,7 @@ static void PrintATR(uint8_t *atr, size_t atrlen) {
|
||||||
}
|
}
|
||||||
if (TD1 & 0x80) {
|
if (TD1 & 0x80) {
|
||||||
uint8_t TDi = atr[2 + T1len + TD1len];
|
uint8_t TDi = atr[2 + T1len + TD1len];
|
||||||
PrintAndLogEx(INFO, " - TD2 (A supported protocol or more global parameters, presence of TA3..TD3) [ 0x%02x ] Protocol T%d", TDi, TDi & 0x0f);
|
PrintAndLogEx(INFO, " - TD2 (A supported protocol or more global parameters, presence of TA3..TD3) [ 0x%02x ] Protocol " _GREEN_("T%d"), TDi, TDi & 0x0f);
|
||||||
if ((TDi & 0x0f) == 0) {
|
if ((TDi & 0x0f) == 0) {
|
||||||
protocol_T0_present = true;
|
protocol_T0_present = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue