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

Examine input for specified access code, one bit at a time. More...

#include <correlate_access_code_tag_bb.h>

Inheritance diagram for gr::digital::correlate_access_code_tag_bb:

List of all members.

Public Types

typedef boost::shared_ptr
< correlate_access_code_tag_bb
sptr

Public Member Functions

virtual bool set_access_code (const std::string &access_code)=0

Static Public Member Functions

static sptr make (const std::string &access_code, int threshold, const std::string &tag_name)

Detailed Description

Examine input for specified access code, one bit at a time.

input: stream of bits, 1 bit per input byte (data in LSB) output: unaltered stream of bits (plus tags)

This block annotates the input stream with tags. The tags have key name [tag_name], specified in the constructor. Used for searching an input data stream for preambles, etc.


Member Typedef Documentation


Member Function Documentation

static sptr gr::digital::correlate_access_code_tag_bb::make ( const std::string &  access_code,
int  threshold,
const std::string &  tag_name 
) [static]
Parameters:
access_codeis represented with 1 byte per bit, e.g., "010101010111000100"
thresholdmaximum number of bits that may be wrong
tag_namekey of the tag inserted into the tag stream
virtual bool gr::digital::correlate_access_code_tag_bb::set_access_code ( const std::string &  access_code) [pure virtual]
Parameters:
access_codeis represented with 1 byte per bit, e.g., "010101010111000100"

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