Added some doc to burst printer block. Issue #86
This commit is contained in:
parent
634449656e
commit
f1111eb047
|
@ -60,4 +60,16 @@
|
||||||
<name>bursts</name>
|
<name>bursts</name>
|
||||||
<type>message</type>
|
<type>message</type>
|
||||||
</sink>
|
</sink>
|
||||||
|
|
||||||
|
<doc>
|
||||||
|
This block prints bursts to output. By default the whole burst including tail bits, stealing bits and training sequence is printed.
|
||||||
|
|
||||||
|
If "Prepend Frame Number" is enabled, then the framenumber is prepended to each burst.
|
||||||
|
|
||||||
|
If "Prepend Frame Count" is enabled, then the frame count for A5 is prependend to each burst.
|
||||||
|
|
||||||
|
If "Print payload only" is enabled, then only the two data blocks of a burst are printed, tail bits, stealing bits and training sequence are omitted.
|
||||||
|
|
||||||
|
Enabling all three options results in an output that is similar to the output of airprobe, i.e. the format is "frame_nr frame_count: databits"
|
||||||
|
</doc>
|
||||||
</block>
|
</block>
|
||||||
|
|
|
@ -69,7 +69,7 @@ namespace gr {
|
||||||
|
|
||||||
if (d_prepend_fnr || d_prepend_frame_count)
|
if (d_prepend_fnr || d_prepend_frame_count)
|
||||||
{
|
{
|
||||||
std::cout << ":";
|
std::cout << ": ";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (d_print_payload_only)
|
if (d_print_payload_only)
|
||||||
|
|
Loading…
Reference in New Issue