dlizewski opened a new pull request, #18815:
URL: https://github.com/apache/nuttx/pull/18815

   
   ## Summary
   
   * Added support for USB CDC-ECM host class. This host class is used for many 
USB-Ethernet adaptors as well as USB modems.
   
   * I also added support to select different configurations since the 
USB-Ethernet adaptor I have only presents CDC-ECM as the 2nd configuration. I 
split this into a separate commit. 
   
   ## Impact
   
   * Added a new host class
   * Adds ability to sleect different USB configurations
   * All changes behind Kconfigs so changes will only be seen if enabled
   
   ## Testing
   
   * I have tested with with a few Quectel Modems that support CDC-ECM as well 
as a USB Ethernet adaptor I had.
    In the attached logs I loaded nucleo-h563zi:nshusbnet and connected the 
USB-Ethernet adaptor nucleo-h563zi:nshusbnet (A Realtek RTL8153 Gigabit 
Ethernet Adaptor with integrated hub).
    
    I then enabled the interface, set DHCP, verified it got an IP, then pinged 
8.8.8.8 with no packet loss.
    
   Commands run:
    ```
    ifconfig
    ifup eth0
    ifconfig eth0 dhcp
    ifconfig
    ping 8.8.8.8
    ```
    
   [ecm_log.txt](https://github.com/user-attachments/files/27136407/ecm_log.txt)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to