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?

565件の閲覧回数
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 返答(返信)