Skip to main content

Class WiFiNetworkAdapter

Represents WiFi network adapter

Assembly: Meadow.dll
View Source
public class WiFiNetworkAdapter : NetworkAdapterBase, IWirelessNetworkAdapter, INetworkAdapter

Inheritance: System.Object -> Meadow.NetworkAdapterBase

Implements:
Meadow.Hardware.IWirelessNetworkAdapter, Meadow.Hardware.INetworkAdapter

Properties

IsConnected

Returns true if the adapter is connected, otherwise false

View Source
public override bool IsConnected { get; }

CurrentAntenna

Returns the current Antenna type

View Source
public AntennaType CurrentAntenna { get; }

Methods

SetAntenna(AntennaType, bool)

Sets the current antenna type used by the adapter

View Source
public void SetAntenna(AntennaType antenna, bool persist = true)
Parameters
TypeNameDescription
Meadow.Hardware.AntennaTypeantennaThe antenna type to use
System.BooleanpersistWhether or not the type should persist across OS restarts
Exceptions

System.NotImplementedException

Implements