Re: [Discuss-gnuradio] Tunnel.py exception

2011-05-05 Thread David Barton
: [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

Re: [Discuss-gnuradio] Tunnel.py exception

2011-04-29 Thread Feng Andrew Ge
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

Re: [Discuss-gnuradio] Tunnel.py exception

2011-04-29 Thread David Barton
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

Re: [Discuss-gnuradio] Tunnel.py exception

2011-04-29 Thread Feng Andrew Ge
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

Re: [Discuss-gnuradio] Tunnel.py exception

2011-04-29 Thread David Barton
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

Re: [Discuss-gnuradio] Tunnel.py exception

2011-04-29 Thread Feng Andrew Ge
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

Re: [Discuss-gnuradio] Tunnel.py exception

2011-04-29 Thread David Barton
  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

Re: [Discuss-gnuradio] Tunnel.py exception

2011-04-27 Thread Thomas Hauer
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

Re: [Discuss-gnuradio] Tunnel.py exception

2011-04-25 Thread Feng Andrew Ge
: [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".

Re: [Discuss-gnuradio] Tunnel.py exception

2011-04-25 Thread David Barton
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 >

Re: [Discuss-gnuradio] Tunnel.py exception

2011-04-21 Thread Tom Rondeau
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

Re: [Discuss-gnuradio] Tunnel.py exception

2011-04-21 Thread Feng Andrew Ge
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-

Re: [Discuss-gnuradio] Tunnel.py exception

2011-04-21 Thread William Cox
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

Re: [Discuss-gnuradio] Tunnel.py exception

2011-04-21 Thread David Barton
: 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: >

Re: [Discuss-gnuradio] Tunnel.py exception

2011-04-21 Thread Tom Rondeau
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

[Discuss-gnuradio] Tunnel.py exception

2011-04-20 Thread David Barton
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