Luna service - com.webos.service.bluetooth

Source

Service responsible for bluetooth connectivity. Reversed on webOS 3.8. For equivalent service on webOS 4.x and newer see com.webos.service.bluetooth2

"HID" here generally means Sony DualShock4 controllers.

Methods

luna://com.webos.service.bluetooth/service/disconnect

Disconnect Bluetooth device. Returns immediately

Required permissions: devices, private

Request

Response

luna://com.webos.service.bluetooth/service/connect

Connect Bluetooth device. Returns immediately

Required permissions: devices, private

Request

Response

luna://com.webos.service.bluetooth/service/subscribeNotifications

Subscribe to connect/disconnect events

Required permissions: devices, private

Request

Response

luna://com.webos.service.bluetooth/gap/getTrustedDevices

Lists trusted devices

Required permissions: devices, private

Request

Response

luna://com.webos.service.bluetooth/gap/findDevices

Scan for devices

Required permissions: devices, private

Request

Response

luna://com.webos.service.bluetooth/gap/removeTrustedDevice

Removes trusted/bonded device

Required permissions: devices, private

Request

Response

Links