My App

NVRAM parameters

The 26 known UDAP NVRAM parameters, by category

NVRAM parameters

go-udap knows 26 canonical parameters. These are the only ones set accepts as --<param> flags, and the only ones read reports. Unknown parameters returned by the device appear as offset_NNN entries (visible with read --all).

Network

ParameterTypeDescription
lan_ip_modeInteger (0-1)0 = Static IP, 1 = DHCP
lan_network_addressIPv4Static IP address
lan_subnet_maskIPv4Subnet mask
lan_gatewayIPv4Default gateway
primary_dnsIPv4Primary DNS
secondary_dnsIPv4Secondary DNS
hostnameString (max 33)Device hostname
bridgingInteger (0-1)Enable/disable bridging
interfaceInteger (0-1)0 = Wireless, 1 = Wired

Server

ParameterTypeDescription
server_addressIPv4LMS address
lms_addressIPv4Alternative LMS address
squeezecenter_addressIPv4Alias for server_address
slimserver_addressIPv4Alias for server_address

The aliases (squeezecenter_address, slimserver_address, lms_address) all point at the same NVRAM offset. set accepts any of them; read emits the canonical server_address.

Wireless

ParameterTypeDescription
wireless_modeInteger (0-1)0 = Infrastructure, 1 = Ad-hoc
wireless_SSIDString (1-32)Network name
wireless_channelInteger (1-13)Channel
wireless_region_idIntegerRegion

Wireless security — WEP

ParameterTypeDescription
wireless_wep_onInteger (0-1)Enable/disable WEP
wireless_keylenInteger (5/13)WEP key length
wireless_wep_keyStringPrimary WEP key
wireless_wep_key_1.._3StringWEP key slots 1-3

Wireless security — WPA/WPA2

ParameterTypeDescription
wireless_wpa_onInteger (0-1)Enable/disable WPA
wireless_wpa_modeIntegerWPA mode
wireless_wpa_cipherIntegerWPA cipher
wireless_wpa_pskString (8-63)WPA pre-shared key

Factory reset

Factory reset is not exposed by the protocol. Perform it on the device itself: hold the front button for ~6 seconds until it blinks fast red. See the wiki.

On this page