wifi.mac readonly


The wifi.mac property gets the wireless access point MAC address as a string or nil if not connected.

Example

--! luart-extensions import wifi if wifi.connected then print("WIFI endpoint MAC adress : "..wifi.mac) else print("You are not connected to a wireless network") end