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

Detailed Description

Code for the ESPNet protocol.

Classes

class  EspNetDevice
class  EspNetNode
struct  espnet_node_config_s
union  espnet_packet_union_t
class  EspNetPlugin
class  EspNetPortHelper
class  EspNetInputPort
class  EspNetOutputPort
class  RunLengthDecoder
class  ostringstream
 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...
class  map
 STL class. More...
class  string
 STL class. More...

Typedefs

typedef enum espnet_packet_type_e espnet_packet_type_t
typedef struct espnet_poll_s espnet_poll_t
typedef struct espnet_node_config_s espnet_node_config_t
typedef struct espnet_poll_reply_s espnet_poll_reply_t
typedef struct espnet_ack_s espnet_ack_t
typedef struct espnet_data_s espnet_data_t

Enumerations

enum  espnet_node_type {
  ESPNET_NODE_TYPE_SINGLE_OUT = 0x0001 , ESPNET_NODE_TYPE_SINGLE_IN = 0x0002 , ESPNET_NODE_TYPE_RS232 = 0x0060 , ESPNET_NODE_TYPE_IO = 0x0061 ,
  ESPNET_NODE_TYPE_LONWORKS = 0x0100
}
enum  { ESPNET_MAX_UNIVERSES = 512 }
enum  { ESPNET_NAME_LENGTH = 10 }
enum  { ESPNET_DATA_LENGTH = 200 }
enum  espnet_packet_type_e { ESPNET_POLL = 'E' << 24 | 'S' << 16 | 'P' << 8 | 'P' , ESPNET_REPLY = 'E' << 24 | 'S' << 16 | 'P' << 8 | 'R' , ESPNET_DMX = 'E' << 24 | 'S' << 16 | 'D' << 8 | 'D' , ESPNET_ACK = 'E' << 24 | 'S' << 16 | 'A' << 8 | 'P' }
enum  { PORTS_PER_DEVICE = 5 }

Functions

enum ola::plugin::espnet::espnet_packet_type_e __attribute__ ((packed))
 PACK (struct espnet_poll_s { uint32_t head;uint8_t type;})
 PACK (struct espnet_poll_reply_s { uint32_t head;uint8_t mac[ola::network::MACAddress::LENGTH];uint16_t type;uint8_t version;uint8_t sw;uint8_t name[ESPNET_NAME_LENGTH];uint8_t option;uint8_t tos;uint8_t ttl;espnet_node_config_t config;})
 PACK (struct espnet_ack_s { uint32_t head;uint8_t status;uint8_t crc;})
 PACK (struct espnet_data_s { uint32_t head;uint8_t universe;uint8_t start;uint8_t type;uint16_t size;uint8_t data[DMX_UNIVERSE_SIZE];})
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::espnet::espnet_node_config_s __attribute__