[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r5807 - in gnuradio/branches/developers/gnychis/inband
From: |
gnychis |
Subject: |
[Commit-gnuradio] r5807 - in gnuradio/branches/developers/gnychis/inband/usrp/host: apps lib/inband |
Date: |
Thu, 21 Jun 2007 11:28:57 -0600 (MDT) |
Author: gnychis
Date: 2007-06-21 11:28:55 -0600 (Thu, 21 Jun 2007)
New Revision: 5807
Modified:
gnuradio/branches/developers/gnychis/inband/usrp/host/apps/read_packets.cc
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_rx.cc
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_usb_interface.cc
Log:
Displaying only the payload now for read packets
Modified:
gnuradio/branches/developers/gnychis/inband/usrp/host/apps/read_packets.cc
===================================================================
--- gnuradio/branches/developers/gnychis/inband/usrp/host/apps/read_packets.cc
2007-06-21 06:18:40 UTC (rev 5806)
+++ gnuradio/branches/developers/gnychis/inband/usrp/host/apps/read_packets.cc
2007-06-21 17:28:55 UTC (rev 5807)
@@ -59,8 +59,8 @@
printf("\tlength: \t%u\n", pkt->payload_len());
printf("\tpayload: \n");
- //for(int i=0; i < pkt->payload_len(); i++)
- for(int i=0; i < pkt->max_payload(); i++)
+ for(int i=0; i < pkt->payload_len(); i++)
+ //for(int i=0; i < pkt->max_payload(); i++)
printf("\t%d\t0x%x\n", i, *(pkt->payload()+i));
//printf("\t\t0x%x\n", pkt->payload()+i);
Modified:
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_rx.cc
===================================================================
--- gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_rx.cc
2007-06-21 06:18:40 UTC (rev 5806)
+++ gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_rx.cc
2007-06-21 17:28:55 UTC (rev 5807)
@@ -115,6 +115,9 @@
return;
}
+ if(underrun)
+ std::cout << "[usrp_rx] Underrun\n";
+
d_cs->send(s_response_usrp_rx_read,
pmt_list3(PMT_NIL, PMT_T, v_pkt));
if(verbose)
Modified:
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_usb_interface.cc
===================================================================
---
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_usb_interface.cc
2007-06-21 06:18:40 UTC (rev 5806)
+++
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_usb_interface.cc
2007-06-21 17:28:55 UTC (rev 5807)
@@ -238,7 +238,7 @@
// Open up a standard RX and TX for communication with the USRP
- std::string rbf = "blah.rbf";
+ std::string rbf = "sad.rbf";
//std::string rbf = "";
d_utx = usrp_standard_tx::make(which_usrp,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r5807 - in gnuradio/branches/developers/gnychis/inband/usrp/host: apps lib/inband,
gnychis <=