redvypr.devices.network.zeromq_device¶
zeromq device
Configuration options for a network device:
devicemodulename: network_device deviceconfig:
name: tcpserial1 # The name, must be unique config:
address: <ip> # Address IP, localhost. <broadcast> for UDP broadcast in local network. <ip> for local ip port: 10001 # Port serialize: str # yaml,str default yaml protocol: tcp # tcp, udp default tcp direction: publish # publish, receive default receive data: nmea # dictionary keys, default all tcp_reconnect: True # Try to reconnect to host if connection was closed tcp_numreconnect: 10 # The number of reconnection attempts
Functions
|
|
|
Functions that simply returns the input data, used as the basic field conversion function |
|
|
|
zeromq receiving data |
|
zeromq publishing. |
|