$ luna-atlas --cat bluetooth

Bluetooth luna-send commands.

Bluetooth pairing, devices, profiles and the remote's Bluetooth link. 336 methods in 9 services.

336methods
9services
245documented
210public
4flagged dangerous

open Bluetooth in the catalog ↗

Services

servicemethodswhat it does
com.webos.service.bluetooth2249Bluetooth stack service: manages the adapter, device discovery and pairing, and profiles such as A2DP, HFP and GATT for audio and input…
com.webos.service.blegatt32Bluetooth Low Energy GATT service: connects to BLE devices, discovers services, reads/writes characteristics and descriptors, and manages…
com.webos.service.bluetooth20Bluetooth service: adapter state and device discovery/pairing (GAP), trusted-device management, adapter firmware update, and Bluetooth…
com.webos.service.bthidmanager15Bluetooth HID manager: discovers, pairs, connects and removes input devices (remotes, keyboards, gamepads) and reports paired-device and…
com.webos.service.hfp11Bluetooth Hands-Free Profile (HFP) service: answers, holds, merges and terminates calls, controls call volume and voice recognition, and…
com.webos.service.blegattsoundbar4Soundbar control over Bluetooth LE GATT: starts/terminates the link and sends/gets commands to a paired soundbar.
com.palm.btmonitor2Legacy Palm/HP webOS Bluetooth radio monitor that reports the Bluetooth radio powering on and off.
com.webos.service.wampluggable.hbbtv2HbbTV (Hybrid Broadcast Broadband TV) service: manages HbbTV app lifecycle, reserves and releases broadcast resources, makes HTTP…
com.webos.service.btaudiosrc1Bluetooth audio-source service: discovers, connects and manages Bluetooth audio sink devices, handling pairing, device selection, volume…

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.

client/connect publiccom.webos.service.blegatt

Connects to GATT profile on remote device.

params: address, subscribe

$ luna-send -n 1 -f luna://com.webos.service.blegatt/client/connect '{}'
client/disconnect publiccom.webos.service.blegatt

Disconnects GATT.

params: address

$ luna-send -n 1 -f luna://com.webos.service.blegatt/client/disconnect '{}'
client/discoverServices publiccom.webos.service.blegatt

Discovers services.

params: address

$ luna-send -n 1 -f luna://com.webos.service.blegatt/client/discoverServices '{}'
client/getServices publiccom.webos.service.blegatt

Gets available services.

params: address

$ luna-send -n 1 -f luna://com.webos.service.blegatt/client/getServices '{}'
client/readCharacteristic publiccom.webos.service.blegatt

Reads a characteristic.

params: address, service, characteristic

$ luna-send -n 1 -f luna://com.webos.service.blegatt/client/readCharacteristic '{}'
client/readDescriptor publiccom.webos.service.blegatt

Reads a descriptor.

params: address, service, characteristic, descriptor

$ luna-send -n 1 -f luna://com.webos.service.blegatt/client/readDescriptor '{}'
client/setCharacteristicNotification publiccom.webos.service.blegatt

Enable/disable notifications for a characteristic.

params: address, service, characteristic, enable

$ luna-send -n 1 -f luna://com.webos.service.blegatt/client/setCharacteristicNotification '{}'
client/writeCharacteristic publiccom.webos.service.blegatt

Writes a characteristic value.

params: address, service, characteristic, value

$ luna-send -n 1 -f luna://com.webos.service.blegatt/client/writeCharacteristic '{}'
client/writeDescriptor publiccom.webos.service.blegatt

Writes a descriptor value.

params: address, service, characteristic, descriptor, value

$ luna-send -n 1 -f luna://com.webos.service.blegatt/client/writeDescriptor '{}'
getState publiccom.webos.service.blegatt

Scanning state, connected and paired devices.

params: subscribe

$ luna-send -n 1 -f luna://com.webos.service.blegatt/getState '{}'
isEnabled publiccom.webos.service.blegatt

Checks if Bluetooth is enabled.

params: subscribe

$ luna-send -n 1 -f luna://com.webos.service.blegatt/isEnabled '{}'
pair publiccom.webos.service.blegatt

Pairs a remote device.

params: address, subscribe

$ luna-send -n 1 -f luna://com.webos.service.blegatt/pair '{}'
startScan publiccom.webos.service.blegatt

Starts scanning for BLE devices.

params: subscribe, uuid, serviceData

$ luna-send -n 1 -f luna://com.webos.service.blegatt/startScan '{}'
stopScan publiccom.webos.service.blegatt

Stops BLE scanning.

params: uuid

$ luna-send -n 1 -f luna://com.webos.service.blegatt/stopScan '{}'
unpair publiccom.webos.service.blegatt

Unpairs a remote device.

params: address

$ luna-send -n 1 -f luna://com.webos.service.blegatt/unpair '{}'
gap/findDevices ssapcom.webos.service.bluetooth

Bluetooth gap/findDevices exposed through SSAP

$ luna-send -n 1 -f luna://com.webos.service.bluetooth/gap/findDevices '{}'
gap/getTrustedDevices ssapcom.webos.service.bluetooth

Bluetooth gap/getTrustedDevices exposed through SSAP

$ luna-send -n 1 -f luna://com.webos.service.bluetooth/gap/getTrustedDevices '{}'
gap/isWiFiOnly ssapcom.webos.service.bluetooth

Bluetooth gap/isWiFiOnly exposed through SSAP

$ luna-send -n 1 -f luna://com.webos.service.bluetooth/gap/isWiFiOnly '{}'
gap/removeTrustedDevice ssapcom.webos.service.bluetooth

Bluetooth gap/removeTrustedDevice exposed through SSAP

$ luna-send -n 1 -f luna://com.webos.service.bluetooth/gap/removeTrustedDevice '{}'
service/connect ssapcom.webos.service.bluetooth

Bluetooth service/connect exposed through SSAP

$ luna-send -n 1 -f luna://com.webos.service.bluetooth/service/connect '{}'
service/disconnect ssapcom.webos.service.bluetooth

Bluetooth service/disconnect exposed through SSAP

$ luna-send -n 1 -f luna://com.webos.service.bluetooth/service/disconnect '{}'
service/getStates ssapcom.webos.service.bluetooth

Bluetooth service/getStates exposed through SSAP

$ luna-send -n 1 -f luna://com.webos.service.bluetooth/service/getStates '{}'
service/subscribeNotifications ssapcom.webos.service.bluetooth

Bluetooth service/subscribeNotifications exposed through SSAP

$ luna-send -n 1 -f luna://com.webos.service.bluetooth/service/subscribeNotifications '{}'
a2dp/connect publiccom.webos.service.bluetooth2

Connects to the A2DP profile on the specified remote device.

params: address, subscribe, adapterAddress

$ luna-send -n 1 -f luna://com.webos.service.bluetooth2/a2dp/connect '{}'
a2dp/disableDelayReporting publiccom.webos.service.bluetooth2

Disables the AVDTP delay reporting.

params: adapterAddress

$ luna-send -n 1 -f luna://com.webos.service.bluetooth2/a2dp/disableDelayReporting '{}'
a2dp/disconnect publiccom.webos.service.bluetooth2

Drops the connection to the given remote device on the A2DP profile.

params: address, adapterAddress

$ luna-send -n 1 -f luna://com.webos.service.bluetooth2/a2dp/disconnect '{}'
a2dp/enableDelayReporting publiccom.webos.service.bluetooth2

Enables the AVDTP delay reporting.

params: adapterAddress

$ luna-send -n 1 -f luna://com.webos.service.bluetooth2/a2dp/enableDelayReporting '{}'
a2dp/getDelayReportingTime publiccom.webos.service.bluetooth2

Gets the AVDTP delay from a remote A2DP device, whenever the AVDTP delay is changed.

params: adapterAddress, address, subscribe

$ luna-send -n 1 -f luna://com.webos.service.bluetooth2/a2dp/getDelayReportingTime '{}'
a2dp/getStatus publiccom.webos.service.bluetooth2

Returns the status of the A2DP connection to a remote device. Note: If the address input parameter is not specified, the method will return the information of the device whose connection or playing status has been…

params: address, subscribe, adapterAddress

$ luna-send -n 1 -f luna://com.webos.service.bluetooth2/a2dp/getStatus '{}'
adapter/awaitPairingRequests publiccom.webos.service.bluetooth2

Awaits incoming pairing requests on the default Bluetooth adapter (only) by setting its state to be pairable. The caller must subscribe to this method. It expects the caller will stay subscribed to this method across…

params: subscribe

$ luna-send -n 1 -f luna://com.webos.service.bluetooth2/adapter/awaitPairingRequests '{}'
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