# Communicating between 2 usrps realtime using tcp

**URL:** <https://www.ruby-forum.com/t/communicating-between-2-usrps-realtime-using-tcp/227953>\
**Category:** GNU Radio\
**Created:** [April 4, 2013, 12:32pm UTC](https://www.ruby-forum.com/t/communicating-between-2-usrps-realtime-using-tcp/227953 "2013-04-04T12:32:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![karan\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/e47774/32.png) [@karan\_t](https://www.ruby-forum.com/u/karan_t)\
**Post date:** [April 4, 2013, 12:32pm UTC](https://www.ruby-forum.com/t/communicating-between-2-usrps-realtime-using-tcp/227953/1 "2013-04-04T12:32:59Z")

</div>

Hi,  
I am new to gnuradio. I am looking at ways to communicate between 2  
usrp’s using tcp protocol in realtime. I used tunnel.py but it is giving  
a  
lot of false packets even after fiddling with delay time and sleep  
variables. Moreover tunnel.py is not being advised in the forum to be  
used.  
Can anybody suggest a better program or method to communicate between  
usrp’s

---

<div class="post-metadata">

**Author:** ![karan\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/e47774/32.png) [@karan\_t](https://www.ruby-forum.com/u/karan_t)\
**Post date:** [April 4, 2013, 8:51pm UTC](https://www.ruby-forum.com/t/communicating-between-2-usrps-realtime-using-tcp/227953/2 "2013-04-04T20:51:31Z")

</div>

On 04/04/2013 05:31 AM, Karan T. wrote:

> Hi,  
> I am new to gnuradio. I am looking at ways to communicate between 2  
> usrp’s using tcp protocol in realtime. I used tunnel.py but it is giving a  
> lot of false packets even after fiddling with delay time and sleep  
> variables. Moreover tunnel.py is not being advised in the forum to be used.  
> Can anybody suggest a better program or method to communicate between usrp’s

Checkout [https://github.com/jmalsbury/pre-cog/wiki](https://github.com/jmalsbury/pre-cog/wiki)

Somewhere there is a youtube video of this where there is a TCP block  
connected to the mac layer and using netcat on either computer to make a  
quick instant messenger.

-josh

---

<div class="post-metadata">

**Author:** ![karan\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/e47774/32.png) [@karan\_t](https://www.ruby-forum.com/u/karan_t)\
**Post date:** [April 4, 2013, 9:05pm UTC](https://www.ruby-forum.com/t/communicating-between-2-usrps-realtime-using-tcp/227953/3 "2013-04-04T21:05:32Z")

</div>

Here’s the video Josh was referencing:

[![](https://img.youtube.com/vi/pF_4dFQHAZE/maxresdefault.jpg "gr-hackfest RAW: gr-easyMAC (formerly pre-cog)") ](https://www.youtube.com/watch?v=pF_4dFQHAZE)

Very Respectfully,

Dan CaJacob

– This email contains sensitive proprietary and confidential  
information.  
The technical data contained herein is/may be controlled under the U.S.  
International Traffic in Arms Regulations (ITAR) and may not be exported  
to  
a Foreign Person, either in the U.S. or abroad, without the proper  
authorization by the U.S. Department of State. –
