Skip to main content

GHIElectronics.Endpoint.Devices.Network

The network driver for Endpoint.

Classes​

ClassSummary
NetworkControllerOne of the board's network interfaces, by type (Ethernet, WiFi, PC-shared). The system takes care of the hardware - an Ethernet controller matches the built-in PHY or any USB Ethernet adapter; a WiFi controller matches a built-in WiFi module or any WiFi USB stick. Enable / Disable apply synchronously and throw on failure (no interface present, bad settings, wpa_supplicant / udhcpc failure). Settings persist in /config/network.json through NetworkController.GetInterfaceSettings / NetworkController.SetInterfaceSettings. Status (addresses, link, DNS, speed) is the standard NetworkInformation.NetworkInterface this controller exposes.
NetworkInterfaceSettingsSettings for an Ethernet or PC-shared network interface (IP, routing, DNS, MAC pinning). Read with NetworkController.GetInterfaceSettings and apply with NetworkController.SetInterfaceSettings. For WiFi use Network.WiFiNetworkInterfaceSettings.
WiFiNetworkInterfaceSettingsSettings for a WiFi interface. Inherits IP / DNS / MAC fields from Network.NetworkInterfaceSettings and adds the SSID and password used to associate with the access point.

Enums​

EnumSummary
NetworkTypeWhat a network interface is, as the user sees it in network.json. The driver takes care of the hardware: an Ethernet value matches the board's built-in PHY or any USB Ethernet adapter; a WiFi value matches a built-in WiFi module or any WiFi USB stick.
WiFiSecurityTypeHow a WiFi network authenticates clients.