Added some doc to burst printer block. Issue #86

This commit is contained in:
Roman Khassraf 2015-07-13 13:58:25 +02:00
parent 634449656e
commit f1111eb047
2 changed files with 13 additions and 1 deletions

View File

@ -60,4 +60,16 @@
<name>bursts</name>
<type>message</type>
</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>

View File

@ -69,7 +69,7 @@ namespace gr {
if (d_prepend_fnr || d_prepend_frame_count)
{
std::cout << ":";
std::cout << ": ";
}
if (d_print_payload_only)