Re: Setting MAC address at boot? #stm32


Jukka Rissanen
 

Hi Anders,

there is also some info about MAC address setting in
https://github.com/zephyrproject-rtos/zephyr/discussions/39252

Note that if you are setting the MAC address from application, then
calling the net_if_set_link_addr() from app is not a proper way.

The MAC address is Ethernet concept, so we used the "link address" here
in order to use the same function in other network technologies.


Jukka

On Thu, 2021-10-28 at 23:39 -0700, Anders wrote:
Update! Problem solved. The function net_if_set_link_addr() sets the
MAC address.

Why isn't the function named net_if_set_mac_addr()?




Join users@lists.zephyrproject.org to automatically receive all group messages.