$ luna-atlas --cat connection

Connection Manager luna-send commands.

The connection manager: network connection state and switching between connections. 103 methods in 6 services.

103methods
6services
37documented
49public
3flagged dangerous

open Connection Manager in the catalog ↗

Services

servicemethodswhat it does
com.webos.service.nfc34NFC service: manages the NFC adapter, card emulation, tag read/write (NDEF), secure-element (eSE) communication, and connection handover.
com.webos.service.buddyconnector29Connects the TV to a paired companion ('buddy') mobile app: exchanges credentials, member and content lists, QR and EULA info, push…
com.webos.service.connectionmanager22Manages wired and Wi-Fi network connections: reports status and info, sets the default interface, configures IPv4/IPv6, DNS, proxy and…
com.webos.service.uwb16Ultra-wideband (UWB) service: opens and closes ranging sessions, starts discovery and ranging, and reports ranging data and UWB service…
com.palm.connectionmanager1Legacy connection manager that reports overall network connection status (wired/Wi-Fi) on the device.
com.webos.service.secondscreen.gateway1Second-screen gateway: pairs and lists companion devices, sets up app-to-app channels and host messaging, and reports power state and…

Documented methods to start with

Public and SSAP methods from LG's documentation, none flagged dangerous. Each opens in the catalog with its full parameter table. Run them on a rooted TV or in Developer Mode.

getStatus publiccom.palm.connectionmanager

Gets the current status of network connections (Wi-Fi and wired).

params: subscribe

$ luna-send -n 1 -f luna://com.palm.connectionmanager/getStatus '{}'
findProxyForURL publiccom.webos.service.connectionmanager

Provides the proxy server that was used to reach the target URL.

params: url, host

$ luna-send -n 1 -f luna://com.webos.service.connectionmanager/findProxyForURL '{}'
getinfo publiccom.webos.service.connectionmanager

Gets the MAC addresses for the Wi-Fi and wired interfaces. When subscribed, getInfo periodically checks for any changes in interface MAC addresses and notifies subscribers when changes are detected. The check interval…

params: subscribe

$ luna-send -n 1 -f luna://com.webos.service.connectionmanager/getinfo '{}'
getStatus publiccom.webos.service.connectionmanager

Provides the current status of Wi-Fi and wired network connections on the system.

params: subscribe

$ luna-send -n 1 -f luna://com.webos.service.connectionmanager/getStatus '{}'
monitorActivity publiccom.webos.service.connectionmanager

Monitors the data activity on the wired, Wi-Fi and WAN interfaces for bytes received or transmitted, errors, packets and dropped packets. A data counter will be started as soon as there is even a single subscriber and…

params: subscribe

$ luna-send -n 1 -f luna://com.webos.service.connectionmanager/monitorActivity '{}'
setDefaultInterface publiccom.webos.service.connectionmanager

Allows to set the default interface. This API allows to change the current default interface with another interface which is in connected state, for the same technology. For example, ethernet has multiple interfaces…

params: ifName

$ luna-send -n 1 -f luna://com.webos.service.connectionmanager/setDefaultInterface '{}'
setdns publiccom.webos.service.connectionmanager

Changes the DNS servers for the network. If a SSID value is not provided in the request then the modifications are applied to the wired connection. If interface option is not provided operation will be performed on…

params: dns, ssid, interfaceName

$ luna-send -n 1 -f luna://com.webos.service.connectionmanager/setdns '{}'
setipv4 publiccom.webos.service.connectionmanager

Modifies the parameters of an IPv4 connection (wired or Wi-Fi). If a SSID value is not provided in the request, the modifications are applied to the wired connection only. If interface option is not provided operation…

params: method, address, netmask, gateway, ssid, interfaceName

$ luna-send -n 1 -f luna://com.webos.service.connectionmanager/setipv4 '{}'
setipv6 publiccom.webos.service.connectionmanager

Modifies the parameters of an IPv6 connection (wired or Wi-Fi). If a SSID value is not provided in the request then the modifications are applied to the wired connection only. If interface option is not provided…

params: address, gateway, method, prefixLength, ssid, interfaceName

$ luna-send -n 1 -f luna://com.webos.service.connectionmanager/setipv6 '{}'
setProxy publiccom.webos.service.connectionmanager

Specifies the proxy server for the network.

params: method, url, servers, excludes, ssid

$ luna-send -n 1 -f luna://com.webos.service.connectionmanager/setProxy '{}'
setstate publiccom.webos.service.connectionmanager

Enables or disables the state of either or both the Wi-Fi and wired connections on the system. Note : While all parameters are optional, at least one parameter is required , or the method will return error.

params: wifi, wired, offlineMode

$ luna-send -n 1 -f luna://com.webos.service.connectionmanager/setstate '{}'
setTechnologyState publiccom.webos.service.connectionmanager

Enables or disables the available connection interfaces which can be: Wired (ethernet) Wi-Fi Note : If a technology is not available on the device, an error will be returned. The current status of the connection…

params: enabled, disabled

$ luna-send -n 1 -f luna://com.webos.service.connectionmanager/setTechnologyState '{}'
test/secure ssapcom.webos.service.secondscreen.gateway

SSAP self-test: reports whether connection is secure/cleared ({clearedForDuty:true})

$ luna-send -n 1 -f luna://com.webos.service.secondscreen.gateway/test/secure '{}'
getRangingInfo publiccom.webos.service.uwb

Retrieves ranging info for a session. Subscribe to this API to get a continuous notification of the ranging data.

params: subscribe

$ luna-send -n 1 -f luna://com.webos.service.uwb/getRangingInfo '{}'
getUwbServiceState publiccom.webos.service.uwb

Retrieves the state of the UWB service. If subscribe is set to true, the method sends an update if the values change.

params: subscribe

$ luna-send -n 1 -f luna://com.webos.service.uwb/getUwbServiceState '{}'
getUwbSpecificInfo publiccom.webos.service.uwb

Provides the capabilities and features of the device (supported UWB protocols and parameters).

params: subscribe

$ luna-send -n 1 -f luna://com.webos.service.uwb/getUwbSpecificInfo '{}'
Before you run anything. Methods marked dangerous can change, reset or break things on the TV. Running one from here is exactly as safe as typing the same luna-send yourself. See dangerous.md.

Other categories