[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r5632 - gnuradio/branches/developers/eb/ibu/usrp/host/
From: |
eb |
Subject: |
[Commit-gnuradio] r5632 - gnuradio/branches/developers/eb/ibu/usrp/host/apps |
Date: |
Sat, 2 Jun 2007 23:20:22 -0600 (MDT) |
Author: eb
Date: 2007-06-02 23:20:22 -0600 (Sat, 02 Jun 2007)
New Revision: 5632
Modified:
gnuradio/branches/developers/eb/ibu/usrp/host/apps/test_usrp_inband_tx.cc
Log:
work-in-progress on inband test code
Modified:
gnuradio/branches/developers/eb/ibu/usrp/host/apps/test_usrp_inband_tx.cc
===================================================================
--- gnuradio/branches/developers/eb/ibu/usrp/host/apps/test_usrp_inband_tx.cc
2007-06-03 05:18:42 UTC (rev 5631)
+++ gnuradio/branches/developers/eb/ibu/usrp/host/apps/test_usrp_inband_tx.cc
2007-06-03 05:20:22 UTC (rev 5632)
@@ -96,6 +96,7 @@
void allocate_channel();
void send_packets();
void enter_transmitting();
+ void build_and_send_next_frame();
};
test_usrp_tx::test_usrp_tx(mb_runtime *runtime, const std::string
&instance_name, pmt_t user_arg)
@@ -182,8 +183,7 @@
case CLOSING_CHANNEL:
case CLOSING_USRP:
default:
- std::cerr << "test_usrp_tx: unhandled state\n";
- return;
+ goto unhandled;
}
return;
@@ -220,6 +220,14 @@
void
test_usrp_tx::enter_transmitting()
{
+ d_state = TRANSMITTING;
+ d_nsamples_transmitted = 0;
+ build_and_send_next_frame();
+}
+
+void
+test_usrp_tx::build_and_send_next_frame()
+{
// FIXME
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r5632 - gnuradio/branches/developers/eb/ibu/usrp/host/apps,
eb <=