GNU Radio 3.4.0 C++ API
gr_correlate_access_code_bb.h File Reference
#include <gr_sync_block.h>
#include <string>
Include dependency graph for gr_correlate_access_code_bb.h:

Go to the source code of this file.

Classes

class  gr_correlate_access_code_bb
 Examine input for specified access code, one bit at a time.input: stream of bits, 1 bit per input byte (data in LSB) output: stream of bits, 2 bits per output byte (data in LSB, flag in next higher bit) More...

Functions

gr_correlate_access_code_bb_sptr gr_make_correlate_access_code_bb (const std::string &access_code, int threshold)

Function Documentation

gr_correlate_access_code_bb_sptr gr_make_correlate_access_code_bb ( const std::string &  access_code,
int  threshold 
)
Parameters:
access_codeis represented with 1 byte per bit, e.g., "010101010111000100"
thresholdmaximum number of bits that may be wrong