eclipse-threadx / netxduo

Eclipse ThreadX - NetXDuo is an advanced, industrial-grade TCP/IP network stack designed specifically for deeply embedded real-time and IoT applications
https://github.com/eclipse-threadx/rtos-docs/blob/main/rtos-docs/netx-duo/index.md
MIT License
242 stars 137 forks source link

SPI Ethernet driver or PPP over serial driver for netxduo #96

Closed nilesh-dryad closed 2 years ago

nilesh-dryad commented 2 years ago

Is there any example for SPI Ethernet driver or PPPoS ? I have seen sample in this repository but there is no proper documentation or ready to use example for that. In the sample example, it is using static IP in PPP. How can PPP be used with static IP? May be there is a different use of that but I can't find documentation on that example.

bo-ms commented 2 years ago

Hi @nilesh-dryad here is the PPP user guide. The PPP sample demonstrates the PPP client and PPP server, I guess the static IP you saw is set in PPP server, not for PPP client. We also support PPP over Ethernet (PPPoE).

dsilva-vd commented 2 years ago

@nilesh-dryad if you look at ST Microelectronics' x-cube-cellular FW package you can see how a PPPoS interface has been created. Not sure what platform you have but hope this helps

nilesh-dryad commented 2 years ago

@dsilva-vd x-cube-cellular FW package is exactly I was looking for my PPP over serial example. It has BG96 support. But I can modify to make it work for my telit modem. I did the same in esp-idf. Thanks for suggestion.

I am still looking for SPI Ethernet driver for NetxDue for W5500. I can give a try to custom network driver.

@bo-ms I have already seen a user guide. May be I am missing something. PPPoE is different. I have low level driver to read and write through SPI to Ethernet. I want to link low level SPI driver to NetXDue so that I can use TCP and UDP application on top of that.

bo-ms commented 2 years ago

closing, feel free to reopen if you have further issue.