DummyRDM RDMNet

asyncrdmnet

Broker descriptor

Broker Description

class RDMNet.brokerdescription.BrokerDescription

Placeholder for our broker information for further processing

fromzconfinfo(info)

Creates a broker description from a zconf info object

Broker PDU handlers

RDMNet Broker Handlers.

A selection of handlers for E1.33 RDMNet broker protocol. Currently the only handlers implemented are broker_null and connect_reply, as these are the minimum required for a device.

Todo:
  • Implement Broker redirect vectors
  • Implement Dynamic UIDs maybe?
RDMNet.brokerhandlers.broker_connect_reply(self, data)

Handles the broker_connect_reply vector.

Todo:
  • Report the broker details
RDMNet.brokerhandlers.broker_null(self, data)

Handles the broker_null (heartbeat) vector.

Todo:
  • Reset the heatbeat timer for the connection.
RDMNet.brokerhandlers.handle(self, data)

Main handler for E1.33 RDMnet Broker PDUs. Switches the handler based on the broker vector as defined in RDMNet.vectors.

RDMNet PDUs

E1.33 RDMNet PDU definitions Any PDUs contained here should have a serialise() function and a self.message object if appropriate (nested PDUs) Todo:

  • Add Message argument to constructors
  • Allow ACNTCPPreamble to have multiple nested RLP PDUs
  • Implement de-serialise methods
class RDMNet.pdus.ACNTCPPreamble

Container for ACNTCPPreamble data

serialise()

Serialises the PDU, including any nested PDUs

class RDMNet.pdus.BrokerNull

Container for a Broker Null (hearbeat) PDU

serialise()

Serialises the PDU, this PDU has no nested options

class RDMNet.pdus.ClientConnect(scope, searchdomain, connectionflags=0)

Container for a Client Connect PDU

serialise()

Serialises the PDU, including any nested PDUs

class RDMNet.pdus.ClientEntry

Container for a Client Entry PDU

serialise()

Serialises the PDU, this PDU has no nested options

class RDMNet.pdus.ConnectReply

Container for a Connect Reply PDU

class RDMNet.pdus.RDMCommandPDU

Container for an RDM Command PDU

serialise()

Serialises the PDU, including any nested PDUs

class RDMNet.pdus.RLPPDU(vector, CID)

Container for an RLP PDU

serialise()

Serialises the PDU, including any nested PDUs

class RDMNet.pdus.RPTNotificationPDU

Container for an RPT Notification PDU

serialise()

Serialises the PDU, including any nested PDUs

class RDMNet.pdus.RptPdu(vector, destuid, destendpoint, srcuid, srcendpoint, sequence)

Container for an RPT PDU

serialise()

Serialises the PDU, including any nested PDUs

RPT PDU handlers

Vectors

RDMNet Vectors.

All vectors defined in E1.33

Zconf Listener

A zeroconf listener for an RDMNet device.