GNU Radio's SATNOGS Package
gr::satnogs::tcp_rigctl_msg_source Class Reference

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>

Inheritance diagram for gr::satnogs::tcp_rigctl_msg_source:
gr::satnogs::tcp_rigctl_msg_source_impl

Public Types

typedef boost::shared_ptr< tcp_rigctl_msg_sourcesptr
 

Static Public Member Functions

static sptr make (const std::string &addr, uint16_t port, bool server_mode, size_t interval_ms=1000, size_t mtu=1500)
 

Detailed Description

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.

Member Typedef Documentation

◆ sptr

Member Function Documentation

◆ 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
addrthe address of the interface to listen at
portthe TCP port to listen or connect
server_modeIf set to yes this block, act as a rigctl server. Otherwise as a rigctl client
interval_msThe interval in milliseconds at which the client request the frequency from the rigctl
mtuthe maximum MTU
Returns
shared pointer of the block

The documentation for this class was generated from the following file: