In the CDC Ethernet over USB code there appears to be an IP address in the code, why?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

In the CDC Ethernet over USB code there appears to be an IP address in the code, why?

427 Views
rickstuart
Contributor V

Hi,

I'm thinking along the lines that the CDC Ethernet over USB (cdc_vnic_twrk70f120m) code should only pass traffic from USB to Ethernet and back and have no need for an IP address.  But in the file "virtuial_nic_enet.h" there appears to be an IP address:

On Line 65 (or there abouts):

    #define ENET_IPADDR  IPADDR(169,254,3,3)/* Default IP Address */

Does this serve a purpose?  Perhaps if I understand this I could better understand how the Freescale example works.

-thanks

Tags (5)
0 Kudos
0 Replies