MAC address

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
2,245件の閲覧回数
vines
Contributor III

Hi All,

It seems that the MAC address for the MQX is generated depending on the parameters you pass it into.

ENET_get_mac_address(ENET_DEVICE, ipDataGlobal.ip, tempMAC);

Isn't suppose to be a running number based from the manufacturer? If no, can I just use any generated running number here and not worry about licenses or something?

Thank You.

1 解決策
1,505件の閲覧回数
ivanpajuelo
Contributor II

For testing you can use the MAC address you want.

For production you need to acquire a MAC range. Follow this link IEEE-SA - Registration Authority OUI

Some MCUs already have a registered MAC address of the manufacturer you can use.

元の投稿で解決策を見る

2 返答(返信)
1,505件の閲覧回数
Martin_
NXP Employee
NXP Employee

Ivan is right, just would like to add the function which should be modified for production: _bsp_get_mac_address() function in your BSP (init_enet.c source file).

1,506件の閲覧回数
ivanpajuelo
Contributor II

For testing you can use the MAC address you want.

For production you need to acquire a MAC range. Follow this link IEEE-SA - Registration Authority OUI

Some MCUs already have a registered MAC address of the manufacturer you can use.