Clipsal C-Bus Betriebsanweisung Seite 40

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 60
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 39
cbus Documentation, Release 0.1-dev
application = None
classmethod decode_packet(data, checksum, flags, destination_address_type, rc, dp, priority_class)
encode(source_addr=None)
group_address = None
level_request = False
status_request = False
pp_packet Module
class cbus.protocol.pp_packet.PointToPointPacket(checksum=True, priority_class=0,
unit_address=0, bridge_address=0,
hops=None)
Bases: cbus.protocol.base_packet.BasePacket
classmethod decode_packet(data, checksum, flags, destination_address_type, rc, dp, priority_class)
encode(source_addr=None)
reset_packet: PCI Reset Packet
class cbus.protocol.reset_packet.ResetPacket
Bases: cbus.protocol.base_packet.SpecialClientPacket
encode(source_addr=None)
scs_packet Module
class cbus.protocol.scs_packet.SmartConnectShortcutPacket
Bases: cbus.protocol.base_packet.SpecialClientPacket
encode(source_addr=None)
pciprotocol Module
class cbus.protocol.pciprotocol.PCIProtocol
Bases: twisted.protocols.basic.LineReceiver
Implements a twisted protocol for communicating with a CBus PCI over serial or TCP.
clock_datetime(when=None)
Sends the system’s local time to the CBus network.
Parameters when (datetime.datetime) The time and date to send to the CBus network. De-
faults to current local time.
connectionMade()
Called by twisted a connection is made to the PCI. This will perform a reset of the PCI to establish the
correct communications protocol.
decode_cbus_event(line)
Decodes a CBus event and calls an event handler appropriate to the event.
Do not override this.
36 Chapter 8. libcbus module index
Seitenansicht 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 59 60

Kommentare zu diesen Handbüchern

Keine Kommentare