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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

447 次查看
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

标记 (5)
0 项奖励
0 回复数