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

UDP message/command accepter. More...

#include <udp_msg_source.h>

Inheritance diagram for gr::satnogs::udp_msg_source:
gr::satnogs::udp_msg_source_impl

Public Types

typedef boost::shared_ptr< udp_msg_sourcesptr
 

Static Public Member Functions

static sptr make (const std::string &addr, uint16_t port, size_t mtu=1500, size_t type=0)
 

Detailed Description

UDP message/command accepter.

This block received UDP messages from localhost or other network hosts and produces PMT messages.

Member Typedef Documentation

◆ sptr

Member Function Documentation

◆ make()

static sptr gr::satnogs::udp_msg_source::make ( const std::string &  addr,
uint16_t  port,
size_t  mtu = 1500,
size_t  type = 0 
)
static

Creates a UDP message accepter block

Parameters
addrthe address to bind the UDP socket
portthe UDP port to wait for packets
mtuthe maximum MTU. Used to pre-allocate a maximum packet size
typecode of the data type of each message. 0 corresponds to raw bytes, 1 to 32-bit signed integers and 2 to 3 bit unsigned integers.

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