.Mac Property

Top  Previous  Next

 

Function:

Sets/returns the MAC address of the Wi-Fi interface.

Type:

Dot-decimal string

Value Range:

Any valid MAC address, i.e. "0.1.2.3.4.5". Default= "0.0.0.0.0.0".

See Also:

Setting MAC Address

 


Details

There are certain rules on MAC address selection -- see Setting MAC Address topic for details.

This property can only be written to while the Wi-Fi hardware is not operational (wln.enabled= 0- NO) and when no socket is engaged in communications through the Wi-Fi interface, i.e. there is no socket for which sock.statesimple<> 0- PL_SSTS_CLOSED and sock.currentinterface= 2- PL_INTERFACE_WLN.