Gateway Wireless Interface View on GitHub

Resource ID Access Type Multiple Instances Mandatory Type Range/Enumeration Units Description
Ifname 0 R,W Single Mandatory String / / This resource type returns the name of the wireless interface in human-readable form (e.g. wlan0)..
Mode 1 R,W Single Mandatory String / / This resource type returns the operation mode of the wireless interface.
Disabled 2 R,W Single Optional Boolean / / This resource type returns whether the interface is disabled or enabled.
SSID 3 R,W Single Mandatory String / / This resource type returns the broadcasted SSID.
Mac Addres 4 R,W Single Optional String / / This resource type returns the MAC address of the wireless interface.
IP Address List 5 R,W Single Optional String / / This resource type returns a list of IP addresses of the wireless interface.
Transmission Power 6 R,W Single Optional Int / dBm This resource type returns the transmission power.
Network 7 R,W Single Mandatory String / / This resource type returns the attached network interface.
The gateway wireless interface object contains the most basic functionalities for a configuration of a wireless nework interface of a gateway. Supported interface properties are manipulated as resources using standard LWM2M operations.
OpenWRT gateway native data model for wireless settings and wifi network definition
file://localhost/etc/config/system
The system section contains settings that apply to the most basic operation of the system.
Name Type Required Default Description
device string yes (first device id) Specifies the used wireless adapter.
mode string yes ap Selects the operation mode of the wireless interface.
disabled boolean no 0 When set to 1, wireless network is disabled.
ssid string yes OpenWrt The broadcasted SSID of the wireless network.
macaddr MAC address no (hostapd/driver default) Overrides the MAC address used for the wifi interface.
network string yes lan Specifies the network interface to attach the wireless to.