This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Discussion about USB over Ethernet driver

Hello Everyone,

i'm reading the USB over Ethernet from the below link

http://www.keil.com/pack/doc/mw/USB/html/dev_cdc_ncm.html.

i'm trying to build the software in the similar manner with few changes. but i'm not getting the following things.

1. who is acting as server and who is acting as client ?

2. whether it is possible to change the IP address ?if YES then how to change it ?

3. whether USB over Ethernet is acting as the DHCP server and client configuration. if YES please explain how?.

Parents
  • Hello Milorad Cvjetkovic,

    Thank you for your response on this.

    I got how the CDC NCM works as Ethernet over USB.

    I tried the create a DHCP server for our Embedded Board following the steps given in the below link.

    www.keil.com/.../network_create_app.html

    i'm using the following API to GET the IP address and SET the IP address respectively

    1. netIF_GetOption function to get the option.
    2. netIF_SetOption function to set the option.

    but i'm neither able to assign the IP address to client nor get the IP address from client.

    can you please clarify or explain how these APIs works.

    and also

    using these APIs
    1. how to set the IP address to embedded board ?
    2. how to set the IP client machine(Linux machine)?

Reply
  • Hello Milorad Cvjetkovic,

    Thank you for your response on this.

    I got how the CDC NCM works as Ethernet over USB.

    I tried the create a DHCP server for our Embedded Board following the steps given in the below link.

    www.keil.com/.../network_create_app.html

    i'm using the following API to GET the IP address and SET the IP address respectively

    1. netIF_GetOption function to get the option.
    2. netIF_SetOption function to set the option.

    but i'm neither able to assign the IP address to client nor get the IP address from client.

    can you please clarify or explain how these APIs works.

    and also

    using these APIs
    1. how to set the IP address to embedded board ?
    2. how to set the IP client machine(Linux machine)?

Children