STM32H5 - NetX Duo - Custom layer 2 ethernet protocol

LU 20 Reputation points
2023-11-03T08:59:25.38+00:00

Hi,

Thanks in advance for your attention.

I'm developing an application using STM32H5 and NetXDuo TCP/IP stack.
I was wondering if in NetXDuo there is a way to handle a custom layer 2 protocol.
This could allow to handle a custom ethernet protocol with a custom EthType in parallel with IP and upper layers protocols.
In my application this would allow to run some custom protocols in a LAN where the device (STM32H5) will operate, such as a custom discovery, keep-alive, ...

Thanks,

Luca

Azure RTOS
Azure RTOS
An Azure embedded development suite including a small but powerful operating system for resource-constrained devices.
326 questions
0 comments No comments
{count} votes

Accepted answer
  1. AshokPeddakotla-MSFT 29,231 Reputation points
    2023-11-03T14:02:54.23+00:00

    LU Greetings & Welcome to Microsoft Q&A forum!

    Did you check these docs Functional Components of Azure RTOS NetX Duo and Overview of Azure RTOS NetX Duo already?

    NetXDuo TCP/IP stack does support custom layer 2 protocols, and it is possible to handle a custom Ethernet protocol with a custom EthType in parallel with IP and upper layers protocols.

    To implement this, you can use the NetXDuo TCP/IP stack APIs to create a custom Ethernet driver that handles the custom EthType. You can refer to the above documentation for NetXDuo TCP/IP stack to get more detailed information on how to implement custom layer 2 protocols.

    Let us know if you have any further queries.

    0 comments No comments

0 additional answers

Sort by: Most helpful