Re: [Discuss-gnuradio] benchmark tx and rx help

2010-04-12 Thread Kyle Zhou
Please check line 113 of benchmark_tx.py data = (pkt_size - 2) * chr(pktno 0xff) Therefore, only the LSB 8 bit of pktno is transmitted in the payload. And please note 257=0x0101, 514=0x0202. So they are payload contents for packet 1 and 2, respectively. You've just missed packet 0. Not quite

Re: [Discuss-gnuradio] benchmark tx and rx help

2010-04-11 Thread merve_aydogan
nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; Thanks again for replies.. nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;I'm looking for transmitted data (dbpsk mod).For instance (package_size=1500) when pktno=0 (first loop) package should contain 1498 'x00' and package no. At the receiver side i'm looking into the package

Re: [Discuss-gnuradio] benchmark tx and rx help

2010-04-09 Thread merve_aydogan
Thanks for your reply.. I got the point about package format and where the actual data is. But in the transmitter side i want to create my own data in a file and send it by using --from-file option but what should be the extension of this file? Best Regards.. Merve

[Discuss-gnuradio] benchmark tx and rx help

2010-04-07 Thread merve_aydogan
Hello.. I'm trying to make dbpsk modulation using benchmark tx/rx(two usrp1s(RFX 1800) and two computers).I set costas alpha to 0.05 and gain mu to 0.001 as advised here.When i run the codes i got ok=True for all packages and pktno increases one by one every packet is received properly.But i

Re: [Discuss-gnuradio] benchmark tx and rx help

2010-04-07 Thread Kyle Zhou
Hi Merve, benchmark_rx.py only extracts the first two bytes of the received data payload[0:2], which contains the packet number (pktno) and ignores the rest. You need to insert some code into the function 'rx_callback' [line 61-70] in order to show or use the rest of data, payload[2:]. Kyle