Open Lighting Architecture 0.10.9
Loading...
Searching...
No Matches
ola::plugin::pathport Namespace Reference

Detailed Description

Code for the Pathport protocol.

Classes

class  PathportDevice
class  PathportNode
struct  pathport_pdu_getrep_alv_s
class  PathportPlugin
class  PathportPortHelper
class  PathportInputPort
class  PathportOutputPort
class  ostringstream
 STL class. More...
class  vector
 STL class. More...
class  string
 STL class. More...
class  map
 STL class. More...
class  IPV4Address
 Represents a IPv4 Address. More...
class  IPV4SocketAddress
 An IPv4 SocketAddress. More...
class  UDPSocket
class  Callback0
 A 0 argument callback which can be called multiple times. More...

Typedefs

typedef enum pathport_packet_type_e pathport_packet_type_t
typedef struct pathport_pdu_data_s pathport_pdu_data
typedef struct pathport_pdu_get_s pathport_pdu_get
typedef struct pathport_pdu_getrep_s pathport_pdu_getrep
typedef struct pathport_pdu_getrep_alv_s pathport_pdu_getrep_alv
typedef struct pathport_pdu_arp_reply_s pathport_pdu_arp_reply
typedef struct pathport_pdu_header_s pathport_pdu_header
typedef struct pathport_packet_pdu_s pathport_packet_pdu
typedef struct pathport_packet_header_s pathport_packet_header

Enumerations

enum  pathport_packet_type_e {
  PATHPORT_DATA = 0x0100 , PATHPORT_PATCH = 0x0200 , PATHPORT_PATCHREP = 0x0210 , PATHPORT_GET = 0x0222 ,
  PATHPORT_GET_REPLY = 0x0223 , PATHPORT_ARP_REQUEST = 0x0301 , PATHPORT_ARP_REPLY = 0x0302 , PATHPORT_SET = 0x0400
}

Functions

enum ola::plugin::pathport::pathport_packet_type_e __attribute__ ((packed))
 PACK (struct pathport_pdu_data_s { uint16_t type;uint16_t channel_count;uint8_t universe;uint8_t start_code;uint16_t offset;uint8_t data[0];})
 PACK (struct pathport_pdu_get_s { uint16_t params[0];})
 PACK (struct pathport_pdu_getrep_s { uint8_t params[0];})
 PACK (struct pathport_pdu_arp_reply_s { uint32_t id;uint8_t ip[ola::network::IPV4Address::LENGTH];uint8_t manufacturer_code;uint8_t device_class;uint8_t device_type;uint8_t component_count;})
 PACK (struct pathport_pdu_header_s { uint16_t type;uint16_t len;})
 PACK (struct pathport_packet_pdu_s { pathport_pdu_header head;union { pathport_pdu_data data;pathport_pdu_get get;pathport_pdu_getrep getrep;pathport_pdu_arp_reply arp_reply;} d;})
 PACK (struct pathport_packet_header_s { uint16_t protocol;uint8_t version_major;uint8_t version_minor;uint16_t sequence;uint8_t reserved[6];uint32_t source;uint32_t destination;})
 PACK (struct pathport_packet_s { pathport_packet_header header;union { uint8_t data[1480];pathport_packet_pdu pdu;} d;})
uint16_t HostToNetwork (uint16_t value)
 16-bit unsigned host to network conversion.
uint16_t NetworkToHost (uint16_t value)
 16-bit unsigned network to host conversion.

Variables

struct ola::plugin::pathport::pathport_pdu_getrep_alv_s __attribute__