LIRC libraries
LinuxInfraredRemoteControl
 All Classes Files Functions Variables Typedefs Enumerations Macros Modules Pages
client.py File Reference

(c46974b 2017-01-23 02:17:12 +0100)

Top-level python bindings for the lircd socket interface. More...

Go to the source code of this file.

Classes

class  lirc.client.BadPacketException
 Malformed or otherwise unparsable packet received. More...
 
class  lirc.client.TimeoutException
 Timeout receiving data from remote host. More...
 
class  lirc.client.AbstractConnection
 Abstract interface for all connections. More...
 
class  lirc.client.RawConnection
 Interface to receive code strings as described in lircd(8). More...
 
class  lirc.client.LircdConnection
 Interface to receive lircrc-translated keypresses. More...
 
class  lirc.client.CommandConnection
 Extends the parent with a send() method. More...
 
class  lirc.client.Result
 Public reply parser result, available when completed. More...
 
class  lirc.client.Command
 Command, parser and connection container with a run() method. More...
 
class  lirc.client.Reply
 The status/result from parsing a command reply. More...
 
class  lirc.client.ReplyParser
 Handles the actual parsing of a command reply. More...
 
class  lirc.client._State
 Internal FSM state. More...
 
class  lirc.client.SimulateCommand
 Simulate a button press, see SIMULATE in lircd(8) manpage. More...
 
class  lirc.client.ListRemotesCommand
 List available remotes, see LIST in lircd(8) manpage. More...
 
class  lirc.client.ListKeysCommand
 List available keys in given remote, see LIST in lircd(8) manpage. More...
 
class  lirc.client.StartRepeatCommand
 Start repeating given key, see SEND_START in lircd(8) manpage. More...
 
class  lirc.client.StopRepeatCommand
 Stop repeating given key, see SEND_STOP in lircd(8) manpage. More...
 
class  lirc.client.SendCommand
 Send given key, see SEND_ONCE in lircd(8) manpage. More...
 
class  lirc.client.SetTransmittersCommand
 Set transmitters to use, see SET_TRANSMITTERS in lircd(8) manpage. More...
 
class  lirc.client.VersionCommand
 Get lircd version, see VERSION in lircd(8) manpage. More...
 
class  lirc.client.DrvOptionCommand
 Set a driver option value, see DRV_OPTION in lircd(8) manpage. More...
 
class  lirc.client.SetLogCommand
 Start/stop logging lircd output , see SET_INPUTLOG in lircd(8) manpage. More...
 
class  lirc.client.IdentCommand
 Identify client using the prog token, see IDENT in lircrcd(8) More...
 
class  lirc.client.CodeCommand
 Translate a keypress to application string, see CODE in lircrcd(8) More...
 
class  lirc.client.GetModeCommand
 Get current translation mode, see GETMODE in lircrcd(8) More...
 
class  lirc.client.SetModeCommand
 Set current translation mode, see SETMODE in lircrcd(8) More...
 

Functions

def lirc.client.get_default_socket_path
 Get default value for the lircd socket path, using (falling priority): More...
 
def lirc.client.get_default_lircrc_path
 Get default path to the lircrc file according to (falling priority): More...
 

Variables

string lirc.client._DEFAULT_PROG
 
 lirc.client.result
 
 lirc.client._state
 
 lirc.client.sighup
 
 lirc.client.success
 
 lirc.client._lines_expected
 

Detailed Description

Top-level python bindings for the lircd socket interface.

Author
Alec Leamas Python bindings for a subset of the lirc_client.h interface.

Definition in file client.py.