From c1430bd97e649bd793dc6309801a5ad5b3fdd860 Mon Sep 17 00:00:00 2001 From: "g3gg0.de" Date: Sat, 21 Jan 2023 01:51:36 +0100 Subject: [PATCH] increase sniff log size --- applications/main/nfc/scenes/nfc_scene_nfcv_sniff.c | 2 +- lib/nfc/protocols/nfcv.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/applications/main/nfc/scenes/nfc_scene_nfcv_sniff.c b/applications/main/nfc/scenes/nfc_scene_nfcv_sniff.c index b2cb58d9f..2c0f17981 100644 --- a/applications/main/nfc/scenes/nfc_scene_nfcv_sniff.c +++ b/applications/main/nfc/scenes/nfc_scene_nfcv_sniff.c @@ -1,6 +1,6 @@ #include "../nfc_i.h" -#define NFC_SCENE_EMULATE_NFCV_LOG_SIZE_MAX (200) +#define NFC_SCENE_EMULATE_NFCV_LOG_SIZE_MAX (800) enum { NfcSceneNfcVSniffStateWidget, diff --git a/lib/nfc/protocols/nfcv.c b/lib/nfc/protocols/nfcv.c index b2b04f878..e18552340 100644 --- a/lib/nfc/protocols/nfcv.c +++ b/lib/nfc/protocols/nfcv.c @@ -836,7 +836,8 @@ void nfcv_emu_sniff_packet( switch(ctx->command) { case ISO15693_INVENTORY: { - snprintf(nfcv_data->last_command, sizeof(nfcv_data->last_command), "INVENTORY"); + snprintf( + nfcv_data->last_command, sizeof(nfcv_data->last_command), "%s INVENTORY", flags_string); break; }