textual...

This commit is contained in:
iceman1001 2020-06-11 20:58:31 +02:00
commit 6dc0aa53c7

View file

@ -115,11 +115,11 @@ void SendCommandOLD(uint64_t cmd, uint64_t arg0, uint64_t arg1, uint64_t arg2, v
static void SendCommandNG_internal(uint16_t cmd, uint8_t *data, size_t len, bool ng) { static void SendCommandNG_internal(uint16_t cmd, uint8_t *data, size_t len, bool ng) {
#ifdef COMMS_DEBUG #ifdef COMMS_DEBUG
PrintAndLogEx(NORMAL, "Sending %s", ng ? "NG" : "MIX"); PrintAndLogEx(INFO, "Sending %s", ng ? "NG" : "MIX");
#endif #endif
if (!session.pm3_present) { if (!session.pm3_present) {
PrintAndLogEx(NORMAL, "Sending bytes to proxmark failed - offline"); PrintAndLogEx(INFO, "Sending bytes to proxmark failed - offline");
return; return;
} }
if (len > PM3_CMD_DATA_SIZE) { if (len > PM3_CMD_DATA_SIZE) {
@ -289,7 +289,8 @@ static void PacketResponseReceived(PacketResponseNG *packet) {
} }
if (flag & FLAG_LOG) { if (flag & FLAG_LOG) {
PrintAndLogEx(NORMAL, "[" _MAGENTA_("pm3") "] ["_BLUE_("#")"] " "%s", s); //PrintAndLogEx(NORMAL, "[" _MAGENTA_("pm3") "] ["_BLUE_("#")"] " "%s", s);
PrintAndLogEx(NORMAL, "[" _BLUE_("#") "] %s", s);
} else { } else {
if (flag & FLAG_INPLACE) if (flag & FLAG_INPLACE)
printf("\r"); printf("\r");