Skip to content
Some GNU Radio blocks that I use.
Branch: maint-3.8
Clone or download
Latest commit d26261f Jun 6, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmake more porting Jun 6, 2019
grc cmake updates Feb 21, 2019
include/foo start applying changes from modtool Feb 21, 2019
lib more porting Jun 6, 2019
python more porting Jun 6, 2019
swig more porting Jun 6, 2019
utils perf-monitor: print load avg Apr 20, 2017
.gitignore gitignore add tags file Aug 25, 2014
CMakeLists.txt more porting Jun 6, 2019
MANIFEST.md add manifest Mar 20, 2015
README.md readme: update Jun 6, 2019

README.md

                     ____                 \
   ____ ______      / __/___  ____     \   \
  / __ `/ ___/_____/ /_/ __ \/ __ \  \  |   |
 / /_/ / /  /_____/ __/ /_/ / /_/ /  /  |   |
 \__, /_/        /_/  \____/\____/     /   /
/____/                                    /

Hi!

This is a collection of custom blocks that are not directly associated with a project. For sample applications see:

Development

Like GNU Radio, this module uses master and maint branches for development. These branches are supposed to be used with the corresponding GNU Radio branches. This means: the maint-3.7 branch is compatible with GNU Radio 3.7, maint-3.8 is compatible with GNU Radio 3.8, and master is compatible with GNU Radio master, which tracks the development towards GNU Radio 3.9.

Wireshark Connector

This blocks outputs PDUs in the PCAP format which is supported by all common network monitoring applications. Some examples are Wireshark, Tshark, and tcpdump. Currently, it supports WiFi packets with Radiotap header and ZigBee.

For further information about Radiotap, PCAP, and Wireshark see:

Packet Pad

Adds a configurable number of zeros before and after a burst. The burst has to be started with an tx_sob, and ended with a tx_eob tag. From time to time I had issues when I did not pad the sample stream. This block helps to investigate that. It is also handy for loopback testing when there is no continues sample stream. Furthermore, this block can add a tx_time tag to every burst that lies a configurable number of seconds in the future. This is handy to buffer the sample stream for a short time to avoid underruns during the transmission, which lead to corrupted signals. You have to set the sync option to 'PC source' for this feature.

Burst Tagger

Tags a burst / packet / bunch of samples with tx_sob and tx_eob tags. This is useful if the SDR is operating in half-duplex mode. With adding a tx_eob the USRP switches back to receive mode immediately. That way, direct responses like ACKs are not missed.

The block searches for a special tag that indicates the start of a burst. The name of this tag is configurable. The tag should indicate the length of the packet in samples. Also a multiplier can be specified, which multiples the length given in the tag.

Packet Dropper

Drops a configurable percentage of messages. I used it to test protocol logic like ACKs, retransmission and stuff.

Periodic Msg Source

This block sends messages at regular intervals much like the Message Strobe block in mainline GNU Radio. With this block you can also configure the number of packets that are sent. When all normal messages are sent, the blocks sends a final PMT_EOF message to indicate that it is done. I used this block for automated performance tests with no-GUI flow graphs.

Installation

git clone https://github.com/bastibl/gr-foo.git
cd gr-foo
mkdir build
cd build
cmake ..
make
sudo make install
sudo ldconfig
You can’t perform that action at this time.