Re: Re:Re: [Discuss-gnuradio] PACKET FORMAT "error"

2010-05-13 Thread John Orlando
On Thu, May 13, 2010 at 9:29 AM, meco1982 wrote: > > Thanks so much > I'm deeply sorry but i have to disturb u again... > I changed the file "db_dbsrx.c"  in  "/gnuradio/usrp2/firmaware/lib"  to > insert a new method and c++ compiling at command window is not my best > assetWhich are the comma

RE: Re:Re: [Discuss-gnuradio] PACKET FORMAT "error"

2010-05-13 Thread meco1982
> [mailto:discuss-gnuradio-bounces+kray2=mail.uh@gnu.org] On Behalf Of > meco1982 > Sent: Thursday, May 13, 2010 8:46 AM > To: Discuss-gnuradio@gnu.org > Subject: Re: Re:Re: [Discuss-gnuradio] PACKET FORMAT "error" > > > Hi, can u help me? > I want to know which a

RE: Re:Re: [Discuss-gnuradio] PACKET FORMAT "error"

2010-05-13 Thread Kuntal
to:discuss-gnuradio-bounces+kray2=mail.uh@gnu.org] On Behalf Of meco1982 Sent: Thursday, May 13, 2010 8:46 AM To: Discuss-gnuradio@gnu.org Subject: Re: Re:Re: [Discuss-gnuradio] PACKET FORMAT "error" Hi, can u help me? I want to know which are the step and the file to recompile after a

Re: Re:Re: [Discuss-gnuradio] PACKET FORMAT "error"

2010-05-13 Thread meco1982
Hi, can u help me? I want to know which are the step and the file to recompile after a changing in .cc codeAfter add the printf code in .cc what have u done? I have to modify a .cc code to use this modification in a py script as a new methodbut i don't get on with the job Thanks, Domen

Re: Re: [Discuss-gnuradio] PACKET FORMAT "error"

2010-05-11 Thread Thomas Tsou
2010/5/11 zzw.1012 : >  Hi, Thomas >     thanks for your help ! you are right! > I add printf code in the function of usrp_basic.cc like this: > int usrp_basic_tx::write(const void *buf, int len, bool *underrun) > { >  ... >  printf ("len = %d\n", len); >  if (len < 0 || (len % 512) != 0) >  {

Re:Re: [Discuss-gnuradio] PACKET FORMAT "error"

2010-05-11 Thread zzw.1012
Hi, Thomas thanks for your help ! you are right! I add printf code in the function of usrp_basic.cc like this: int usrp_basic_tx::write(const void *buf, int len, bool *underrun) { ... printf ("len = %d\n", len); if (len < 0 || (len % 512) != 0) { fprintf(stderr, "usrp_basic_tx::writ

Re: [Discuss-gnuradio] PACKET FORMAT "error"

2010-05-10 Thread Thomas Tsou
On Sun, May 9, 2010 at 11:28 PM, zzw.1012 wrote: > Hi, >     I'm studying benchmark_tx.py now. I find that the packet size is not > right (at least I'd like to think so) in the process of making packet, which > can be seen in pkt.py and packet_utils.py. In the packet consist of 2 bytes > packed_pr