org.freedesktop.URfkill.Device

org.freedesktop.URfkill.Device — Device interface

Methods


Signals

Changed ()

Implemented Interfaces

Objects implementing org.freedesktop.URfkill.Device also implements org.freedesktop.DBus.Introspectable, org.freedesktop.DBus.Properties

Properties

'index'    read      'u'
'type'     read      'u'
'name'     read      's'
'soft'     read      'b'
'hard'     read      'b'
'platform' read      'b'

Description

Objects implementing this interface are usually discovered through the org.freedesktop.URfkill interface on the /org/freedesktop/URfkill object on the D-Bus system bus service with the well-known name org.freedesktop.URfkill using the EnumerateDevices method.

$ dbus-send --print-reply \
            --system \
            --dest=org.freedesktop.URfkill \
            /org/freedesktop/URfkill/devices/0 \
            org.freedesktop.DBus.Properties.GetAll \
            string:org.freedesktop.URfkill.Device

method return sender=:1.164 -> dest=:1.169 reply_serial=2
   array [
      dict entry(
         string "index"
         variant             uint32 0
      )
      dict entry(
         string "type"
         variant             uint32 2
      )
      dict entry(
         string "name"
         variant             string "tpacpi_bluetooth_sw"
      )
      dict entry(
         string "soft"
         variant             boolean true
      )
      dict entry(
         string "hard"
         variant             boolean true
      )
   ]
            

Details

Signal Details

The Changed signal

Changed ()

Emitted when a property of the device is changed.

Property Details

The "index" property

'index'  read      'u'

The index of the rfkill device


The "type" property

'type'  read      'u'

The type of the rfkill device

  • 0: All
  • 1: WLAN
  • 2: Bluetooth
  • 3: UWB
  • 4: WIMAX
  • 5: WWAN
  • 6: GPS
  • 7: FM

The "name" property

'name'  read      's'

The name of the rfkill device


The "soft" property

'soft'  read      'b'

Whether the soft block of the device is on or not


The "hard" property

'hard'  read      'b'

Whether the hard block of the device is on or not


The "platform" property

'platform'  read      'b'

Whether the device is generated by a platform driver or not