GNU Radio 3.7.1 C++ API
gr::digital::simple_framer Class Reference

add sync field, seq number and command field to payload More...

#include <simple_framer.h>

Inheritance diagram for gr::digital::simple_framer:

List of all members.

Public Types

typedef boost::shared_ptr
< simple_framer
sptr

Static Public Member Functions

static sptr make (int payload_bytesize)

Detailed Description

add sync field, seq number and command field to payload

Takes in enough samples to create a full output frame. The frame is prepended with the GRSF_SYNC (defind in simple_framer_sync.h) and an 8-bit sequence number.


Member Typedef Documentation


Member Function Documentation

static sptr gr::digital::simple_framer::make ( int  payload_bytesize) [static]

Make a simple_framer block.

Parameters:
payload_bytesizeThe size of the payload in bytes.

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