: [Discuss-gnuradio] Tunnel.py exception
From my experience, the patch does the trigger.
if (string_len> 18)& (string_len< 4095) :
Andrew
On 04/29/2011 04:00 PM, David Barton wrote:
Ok. Would the case I described also cause the same shape exception killing the
receive chain. Because
with 4095 which I cant figure out why.
Thanks,
Dave
*From:* Feng Andrew Ge
*To:* David Barton
*Cc:* discuss-gnuradio@gnu.org
*Sent:* Fri, April 29, 2011 2:57:28 PM
*Subject:* Re: [Discuss-gnuradio] Tunnel.py exception
Sent: Fri, April 29, 2011 2:57:28 PM
Subject: Re: [Discuss-gnuradio] Tunnel.py exception
Dave, yes, what you described is more likely to happen. That will corrupt
your
received data.
What I described is a special case (with less probability) explaining why you
got a payload with a length
Dave
*From:* Feng Andrew Ge
*To:* discuss-gnuradio@gnu.org; David Barton
*Sent:* Fri, April 29, 2011 10:35:52 AM
*Subject:* Re: [Discuss-gnuradio] Tunnel.py exception
Dave,
In the patch I told you, please change 4096 to 4095, that is
hanks,
Dave
From: Feng Andrew Ge
To: discuss-gnuradio@gnu.org; David Barton
Sent: Fri, April 29, 2011 10:35:52 AM
Subject: Re: [Discuss-gnuradio] Tunnel.py exception
Dave,
In the patch I told you, please change 4096 to 4095, that is,
if (string_len
Dave,
In the patch I told you, please change 4096 to 4095, that is,
if (string_len> 18)& (string_len< 4095) :
Here is how this happened:
When you send a packet in GNU Radio, there is a header right ahead the payload
(plus CRC bits).
The header has 4 bytes which consist of two same 2-byte
From: Thomas Hauer
To: William Cox ; David Barton
Cc: discuss-gnuradio@gnu.org
Sent: Wed, April 27, 2011 8:39:26 AM
Subject: AW: [Discuss-gnuradio] Tunnel.py exception
Hello William, Hello David,
i had this problem too.
I changed my tunnel.py to understand mac better into a simple program
es+th=thomashauer...@gnu.org] Im Auftrag von
William Cox
Gesendet: Donnerstag, 21. April 2011 16:40
An: David Barton
Cc: discuss-gnuradio@gnu.org
Betreff: Re: [Discuss-gnuradio] Tunnel.py exception
I've recently been using tunnel.py for 1/2 hr tests with no problems. I'm
using the basic_tx/r
: [Discuss-gnuradio] Tunnel.py exception
Message-ID:<294745.48676...@web120204.mail.ne1.yahoo.com>
Content-Type: text/plain; charset="us-ascii"
Andrew,
I tried making the change you suggested but it results in "NameError: global
name 'string_len' is not defined".
g_len < 4096) :
ok, payload = packet_utils.unmake_packet(msg.to_string(),
int(msg.arg1()))
Andrew
On 04/21/2011 12:00 PM, discuss-gnuradio-requ...@gnu.org wrote:
> Date: Thu, 21 Apr 2011 07:31:33 -0700 (PDT)
> From: David Barton
> To: Tom Rondeau
> Cc:discuss-gnuradio@gnu.org
>
33 -0700 (PDT)
>> From: David Barton
>> To: Tom Rondeau
>>
>> Cc:discuss-gnuradio@gnu.org
>> Subject: Re: [Discuss-gnuradio] Tunnel.py exception
>> Message-ID:<72896.27694...@web120212.mail.ne1.yahoo.com>
>> Content-Type: text/plain; charset="is
radio-requ...@gnu.org wrote:
Date: Thu, 21 Apr 2011 07:31:33 -0700 (PDT)
From: David Barton
To: Tom Rondeau
Cc:discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] Tunnel.py exception
Message-ID:<72896.27694...@web120212.mail.ne1.yahoo.com>
Content-Type: text/plain; charset="iso-
Thu, April 21, 2011 10:22:39 AM
> *Subject:* Re: [Discuss-gnuradio] Tunnel.py exception
>
> On Wed, Apr 20, 2011 at 9:25 AM, David Barton wrote:
>
>> I am running tunnel.py on gnuradio 3.3.0 . It run successfully for a
>> while but after a period of time (around an hour) the foll
: Thu, April 21, 2011 10:22:39 AM
Subject: Re: [Discuss-gnuradio] Tunnel.py exception
On Wed, Apr 20, 2011 at 9:25 AM, David Barton wrote:
I am running tunnel.py on gnuradio 3.3.0 . It run successfully for a while but
after a period of time (around an hour) the following exception prints out:
>
On Wed, Apr 20, 2011 at 9:25 AM, David Barton wrote:
> I am running tunnel.py on gnuradio 3.3.0 . It run successfully for a while
> but after a period of time (around an hour) the following exception prints
> out:
>
> Rx: ok = True len(payload) = 82
> Tx: len(payload) = 82
> Exception in thre
I am running tunnel.py on gnuradio 3.3.0 . It run successfully for a while but
after a period of time (around an hour) the following exception prints out:
Rx: ok = True len(payload) = 82
Tx: len(payload) = 82
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib64
16 matches
Mail list logo