AZURE RTOS NetX DUO debug packets

dvescovi 1 Reputation point
2021-03-22T23:59:01.427+00:00

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
Azure RTOS
An Azure embedded development suite including a small but powerful operating system for resource-constrained devices.
324 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 27,311 Reputation points
    2021-03-24T12:59:32.387+00:00

    @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.

    0 comments No comments