summaryrefslogtreecommitdiff
path: root/usrp/host/apps-inband/read_packets.cc
diff options
context:
space:
mode:
authoreb2007-09-05 21:33:05 +0000
committereb2007-09-05 21:33:05 +0000
commitc274ae3e2f2891fb7f6c5f5360d91ee94d8ce534 (patch)
treebfeb3da1e2ae14b727a4c88f53b5a79ef396da8f /usrp/host/apps-inband/read_packets.cc
parent73b85d7840a0694b9deafc75e081dd67cb935169 (diff)
downloadgnuradio-c274ae3e2f2891fb7f6c5f5360d91ee94d8ce534.tar.gz
gnuradio-c274ae3e2f2891fb7f6c5f5360d91ee94d8ce534.tar.bz2
gnuradio-c274ae3e2f2891fb7f6c5f5360d91ee94d8ce534.zip
Merged George's changes from features/inband-usb r6309:6325 into trunk.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6327 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'usrp/host/apps-inband/read_packets.cc')
-rw-r--r--usrp/host/apps-inband/read_packets.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/usrp/host/apps-inband/read_packets.cc b/usrp/host/apps-inband/read_packets.cc
index 92d8baf0d..3d112d98f 100644
--- a/usrp/host/apps-inband/read_packets.cc
+++ b/usrp/host/apps-inband/read_packets.cc
@@ -73,6 +73,12 @@ int main(int argc, char *argv[]) {
// if(pkt->carrier_sense())
// printf("\tcarrier sense\n");
+ if(pkt->underrun())
+ printf("\tunderrun\n");
+
+ if(pkt->overrun())
+ printf("\toverrun\n");
+
printf("\tchannel: \t0x%x\n", pkt->chan());
printf("\ttimestamp: \t0x%x\n", pkt->timestamp());
//printf("\ttimestamp: \t%u\n", pkt->timestamp());