GNU Radio 3.7.1 C++ API
|
Examine input for specified access code, one bit at a time. More...
#include <correlate_access_code_tag_bb.h>
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) |
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.
typedef boost::shared_ptr<correlate_access_code_tag_bb> gr::digital::correlate_access_code_tag_bb::sptr |
static sptr gr::digital::correlate_access_code_tag_bb::make | ( | const std::string & | access_code, |
int | threshold, | ||
const std::string & | tag_name | ||
) | [static] |
access_code | is represented with 1 byte per bit, e.g., "010101010111000100" |
threshold | maximum number of bits that may be wrong |
tag_name | key 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] |
access_code | is represented with 1 byte per bit, e.g., "010101010111000100" |