UrfEnum

UrfEnum — Enumerations for switch types and switch states

Types and Values

Includes

#include <urfkill.h>

Description

This header stores the definition of switch types and switch states

Functions

Types and Values

enum UrfEnumState

The state of the switch

Members

URF_ENUM_STATE_NO_ADAPTER

switch doesn't exist

 

URF_ENUM_STATE_UNBLOCKED

switch is unblocked

 

URF_ENUM_STATE_SOFT_BLOCKED

switch is soft-blocked.

 

URF_ENUM_STATE_HARD_BLOCKED

switch is hard-blocked.

 

enum UrfEnumType

The type of the rfkill device following the definition in <linux/rfkill.h>

Members

URF_ENUM_TYPE_ALL

toggles all switches (requests only - not a switch type)

 

URF_ENUM_TYPE_WLAN

switch is on a 802.11 wireless network device.

 

URF_ENUM_TYPE_BLUETOOTH

switch is on a bluetooth device.

 

URF_ENUM_TYPE_UWB

switch is on a ultra wideband device.

 

URF_ENUM_TYPE_WIMAX

switch is on a WiMAX device.

 

URF_ENUM_TYPE_WWAN

switch is on a wireless WAN device.

 

URF_ENUM_TYPE_GPS

switch is on a GPS device.

 

URF_ENUM_TYPE_FM

switch is on a FM radio device.

 

URF_ENUM_TYPE_NFC

switch is on a NFC device.

 

URF_ENUM_TYPE_NUM

number of defined rfkill types

 

See Also

UrfClient, UrfDevice