Re: [Discuss-gnuradio] Packet Header Generator and Stream CRC32

2015-07-14 Thread Martin Braun
On 13.07.2015 18:09, zs wrote: > Hi Martin, > > Thank you. > > 1.Why the packet length should be larger than 32 bits?Can you explain it? > > 2.For example,I'm using the OFDM example in gnuradio.If i want to have a > working CRC,I must set the length>=4?Is 4 OK? The *header* needs to be 32 bits.

Re: [Discuss-gnuradio] Packet Header Generator and Stream CRC32

2015-07-13 Thread zs
Hi Martin, Thank you. 1.Why the packet length should be larger than 32 bits?Can you explain it? 2.For example,I'm using the OFDM example in gnuradio.If i want to have a working CRC,I must set the length>=4?Is 4 OK? 3.Is the packet length means that the original length(for example len=a) or

Re: [Discuss-gnuradio] Packet Header Generator and Stream CRC32

2015-07-10 Thread Martin Braun
On 10 Jul 2015 01:38, "zs" wrote: > If I want to have a working CRC,what is the number of packet length at least? 32 bits. > If someone don't want to use the Stream CRC32 block,Packet Header Generator still will add the crc at bit 24-31.Is it right?I suggest the code should add a function to jud

[Discuss-gnuradio] Packet Header Generator and Stream CRC32

2015-07-10 Thread zs
Hello everyone, I have 3 questions want to ask you,thanks. 1.I look at this in the api, Uses the following header format: Bits 0-11: The packet length (what was stored in the tag with key len_tag_key) Bits 12-23: The header number (counts up everytime this function is called) Bit 24-31: 8-Bit