question

dvescovi avatar image
0 Votes"
dvescovi asked AshokPeddakotla-MSFT answered

AZURE RTOS NetX DUO debug packets

see issue #22 in the github Netx Duo repo. I am trying to debug incoming packets but not how to build a "debug" version to examine rx packet

azure-rtos
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@dvescovi I see that there is an engagement from our team on your issue raised on Github: https://github.com/azure-rtos/netxduo/issues/22.
Request you to continue the discussion there to avoid duplicate efforts and will update this thread with more findings once your query is answered.

0 Votes 0 ·

1 Answer

AshokPeddakotla-MSFT avatar image
0 Votes"
AshokPeddakotla-MSFT answered

@dvescovi Sharing the response here for the benefit of community.

The option NX_DEBUG_PACKET is used by driver. Here is the reference from ram driver: https://github.com/azure-rtos/netxduo/blob/617d1f0bb79ed1623efdeebabb100e299ef266ce/common/src/nx_ram_network_driver.c#L667

 netxduo/common/src/nx_ram_network_driver.c        
  #ifdef NX_DEBUG_PACKET 

You will need to implement it by yourself.
And option NX_ENABLE_PACKET_DEBUG_INFO is used to trace the packet in NetXDuo but not the content.

If an answer is helpful, please "Accept answer" or "Up-Vote" for the same which might be beneficial to other community members reading this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.