Correlate Access Code - Tag Stream

From GNU Radio
Revision as of 04:51, 3 August 2019 by 777arc (talk | contribs)
Jump to navigation Jump to search

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

input: stream of floats (generally, soft decisions)

output: a tagged stream set of samples from the payload following the access code and header. See Correlate Access Code for a stream output.

This block searches for the given access code by slicing the soft decision symbol inputs. Once found, it expects the following 32 samples to contain a header that includes the frame length (16 bits for the length, repeated). It decodes the header to get the frame length in order to set up the the tagged stream key information.

The output of this block is appropriate for use with tagged stream blocks.

Parameters

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

Example Flowgraph

Insert description of flowgraph here, then show a screenshot of the flowgraph and the output if there is an interesting GUI. Currently we have no standard method of uploading the actual flowgraph to the wiki or git repo, unfortunately. The plan is to have an example flowgraph showing how the block might be used, for every block, and the flowgraphs will live in the git repo.

Source Files

C++ files
TODO
Header files
TODO
Public header files
TODO
Block definition
TODO