Unique identifier for the model instance
Network interface name (e.g., 'eth0', 'wlan0', 'lo')
Interface type identifier (e.g., 'ethernet', 'wifi', 'loopback')
NetworkManager device state code indicating connection status
Hardware MAC address of the network interface
Maximum Transmission Unit size for the interface
Whether the interface is currently configured and active
Interface categorization for organizational purposes
Optional wifiWiFi-specific connection data including SSID, signal strength, and security
Optional ethernetEthernet-specific connection data including carrier status, speed, and duplex
Optional ip4settingsIPv4 network settings including address, gateway, and DNS configuration
NetworkInterface - Network interface management and monitoring for KOS devices.
The NetworkInterface model provides comprehensive network interface management capabilities, including WiFi and Ethernet configuration, IP settings, and real-time network state monitoring. This model is essential for applications that need to display network status, configure network connections, or manage network interfaces on KOS devices.
Key Features
Network Interface Categories
The model categorizes interfaces for easier management:
Common Use Cases
Example: Basic Usage
Use Declared Type
See