Block that accepts TCP messages with rigctl commands. Depending the command contents this block produces an appropriate PMT message to control other blocks in the flowgraph.
More...
#include <tcp_rigctl_msg_source.h>
|
static sptr | make (const std::string &addr, uint16_t port, bool server_mode, size_t interval_ms=1000, size_t mtu=1500) |
|
Block that accepts TCP messages with rigctl commands. Depending the command contents this block produces an appropriate PMT message to control other blocks in the flowgraph.
◆ sptr
◆ make()
static sptr gr::satnogs::tcp_rigctl_msg_source::make |
( |
const std::string & |
addr, |
|
|
uint16_t |
port, |
|
|
bool |
server_mode, |
|
|
size_t |
interval_ms = 1000 , |
|
|
size_t |
mtu = 1500 |
|
) |
| |
|
static |
Rigctl TCP command accepter
- Parameters
-
addr | the address of the interface to listen at |
port | the TCP port to listen or connect |
server_mode | If set to yes this block, act as a rigctl server. Otherwise as a rigctl client |
interval_ms | The interval in milliseconds at which the client request the frequency from the rigctl |
mtu | the maximum MTU |
- Returns
- shared pointer of the block
The documentation for this class was generated from the following file: