discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Ping through GNURadio


From: Maicon Kist
Subject: Re: [Discuss-gnuradio] Ping through GNURadio
Date: Wed, 3 Feb 2016 18:19:06 -0200

Hi Martin, 
thanks for the reply.

I dont want to build a TCP link per se. What I would like to do is to capture a network packet, like a sniffer does.
After having the packet bit stream (as if it the bits were generated inside GNURadio), perform the signal processing over it with GNU Radio to `transmit`. At the receiver end I would like to recover the original packet bits and send it to an application.

If everything is fine I would  capture a ping packet (from machine A to machine B), `transmit` it with GNU Radio.
At machine B, I would recover the original ping packet and reply it.
Pings are only an example, I could be any packet generate externally by another application.
   
Best regards

On February 1, 2016 at 11:27:58, Martin Braun (address@hidden) wrote:

Maicon,

I've seen people build TCP links using gr-mac and the OFDM stack you
mention. I'm not sure where the code is, but there's videos of Balint
playing networked games across a GNU Radio TCP link.

Cheers,
Martin

On 02/01/2016 04:11 AM, Maicon Kist wrote:
> Hello,
>
> I need some advice from you guys.
>
> What I did:
> - I modified the tx_ofdm.grc by adding a udp_sink right after the
> `Throttle` block. I configure it to send packets to the localhost
> -I modified the rx_ofdm.grc by adding a udp_source in the beginning. I
> also added a Qt Histogram and configured it to check if the data
> received in the UDP socket is fine.
>
> So basically, I (i) generate a number, (i) make all the signal
> processing stuff, (iiI) send the resulting data to a socket, (iv) get
> the resulting data in another flowgraph, and (v) perform the signal
> processing to recover the original number.
>
> What I would like to do:
> - I would like do something similar, but instead of numbers using other
> network packets.
> So, I would like:
> 1- Generate a specific packet (a ping or using Mausezahn for example),
> obtain this packet in the tx_ofdm.grc flowgraph
> 2- Perform the signal processing to transform it in a radio signal,
> redirect it with the udp_sink to another machine.
> 3- Get the data with rx_ofdm, restore the original packet (as generate
> by Mausezahn). Finally, make the packet available to another application.
>
> Did someone implemented something like that? Or give me some directions
> to where look at ?
>
> Best regards
>
> --
> Maicon Kist
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
-- 
Maicon Kist

reply via email to

[Prev in Thread] Current Thread [Next in Thread]