From a1ba8519f5330dabed74194dac2629dfb6a5c834 Mon Sep 17 00:00:00 2001 From: Alexandre Bard Date: Mon, 31 May 2021 11:38:45 +0200 Subject: [PATCH] Show tag and length of bd fields --- board/netmodule/nm-common/bdparser.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/netmodule/nm-common/bdparser.c b/board/netmodule/nm-common/bdparser.c index ad140376cb..b3138af772 100644 --- a/board/netmodule/nm-common/bdparser.c +++ b/board/netmodule/nm-common/bdparser.c @@ -548,6 +548,7 @@ bd_bool_t BD_ImportData( BD_Context* pCtx, const void* pData ) tag = bd_getUInt16( pTemp + 0 ); len = bd_getUInt16( pTemp + 2 ); pTemp += 4; + printf("tag: %d, len: %d\n", tag, len); /* Validate length field */ if ( len > BD_MAX_ENTRY_LEN )