wifi.channel readonly


The wifi.channel property gets the current wireless connection channel.

Example

--! luart-extensions import wifi if wifi.connected then print("WIFI channel is "..wifi.channel) else print("You are not connected to a wireless network") end