Hi everyone, I am working on OFDM in gnuradio. I ran the benchmark_ofdm.py file. Everything worked well, I want to ask one thing that I didn't see the last packet on the terminal. I set the packet size to 400 bytes and total number of bytes to be transmitted to 1600. I should see 4 packets but i see only 3 packets. Where is the problem?? Portion of the code is given blelow: -------------------------------------------------------------------------------- nbytes = int(1600 * 1) //line that I changed n = 0 pktno = 0 pkt_size = int(400) //line that I changed
while n < nbytes: pkt_contents = struct.pack('!H', pktno) + (pkt_size - 2) * chr(pktno & 0xff) send_pkt(pkt_contents) n += pkt_size pktno += 1 --------------------------------------------------------------------------------- Output is shown below: >>> gr_fir_ccf: using SSE >>> gr_fir_ccc: using SSE >>> gr_fir_fff: using SSE ok: True pktno: 0 n_rcvd: 1 n_right: 1 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ok: True pktno: 1 n_rcvd: 2 n_right: 2 0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101 ok: True pktno: 2 n_rcvd: 3 n_right: 3 0202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202 Why fourth packet is not sent ? Or if it is sent then why it is not displayed in the output. I am using gnuradio 3.3.0. Please help me in this. Regards Smith
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio