bosesoundtouchapi.models.networkinfointerface

@export
class NetworkInfoInterface:

SoundTouch device NetworkInfoInterface configuration object.

This class contains the attributes and sub-items that represent a single network information interface configuration of the device.

NetworkInfoInterface(root: xml.etree.ElementTree.Element)

Initializes a new instance of the class.

Arguments:
  • root (Element): xmltree Element item to load arguments from.
    If specified, then other passed arguments are ignored.
FrequencyKhz

Frequency (in KiloHertz) the network uses to communicate with a wireless router (e.g. 2452000 = 2.4GHz, etc).

IpAddress

IPV4 address assigned to the device by the network.

MacAddress

MAC address (media access control address) assigned to the device.

Mode

Network interface mode (e.g. STATION, etc).

Name

Network interface name (e.g. "wlan0", "eth0", etc).

Signal

Network signal status indicator (e.g. "EXCELLENT_SIGNAL", "POOR_SIGNAL", etc).

Ssid

Network service set identifier (SSID) the device is connected to.

State

State of the network connection (e.g. "NETWORK_WIFI_CONNECTED", "NETWORK_WIFI_DISCONNECTED", "NETWORK_ETHERNET_DISCONNECTED", etc).

TypeValue

Type of interface (e.g. "WIFI_INTERFACE", "ETHERNET_INTERFACE", etc).

def ToString(self) -> str:

Returns a displayable string representation of the class.