How could I change MAC address of network interface without using NIMU API - i.e. using NDK 1.92 or 1.93 which has no NIMU?
Is it possible to change MAC during stack initialization or it has to be done inside HAL driver (driver is not NIMU-based)?
Shoud I modify netctrl.lib/netctrl.c supplying MAC to NC_NetStart() and EtherConfig()?
// Create an Ethernet Device for each physical device
for(i=0; i<EtherDeviceCount; i++)
{
// Create the Ethernet object. Note the physical index
// is "1" based.
hEther[i] = EtherNew(i+1);
// We must configure the Ethernet device. This is so
// we can handle non-standard devices.
if( hEther[i] )
EtherConfig( hEther[i], 1518, 14, 0, 6, 12, 4, NULL);
}
Edit: I see MAC is set inside EMAC_64LC_getConfig(). That's satisfying me - probably I will not need to change MAC at runtime.
Edit 2: 'Delete message' option would be usefull.