hi rpp0,
I am trying to decode the generated samples by encoder.
My grc is shown in the following figure. The data is 0x04 0x08 0xf0 0x00 0x00 0x00 0x00.
However I find listed problems:
The header part is decoded correctly. The payload part cannot be decoded. I print the encoder and decoder process into files. Result shows that the bins of the decoder are exactly 1 less the encoder bins.
As shown in the following two figure, in the second block, the bins in encoder are 50, 101, 74, 85, 109, 42, 90, 77. While the bins in the decoder is 49, 100, 73, 84, 108, 41, 89, 76.
The third block in the decoder is all zeros and it seems that the third block is not add in the encoder.
There are only two blocks according to the printed result in the encoder.
Encoder Result:
Decoder Result:
Hope you can give some possible reasons. Thanks a lot!
hi rpp0, I am trying to decode the generated samples by encoder. My grc is shown in the following figure. The data is 0x04 0x08 0xf0 0x00 0x00 0x00 0x00.
However I find listed problems:
The header part is decoded correctly. The payload part cannot be decoded. I print the encoder and decoder process into files. Result shows that the bins of the decoder are exactly 1 less the encoder bins. As shown in the following two figure, in the second block, the bins in encoder are 50, 101, 74, 85, 109, 42, 90, 77. While the bins in the decoder is 49, 100, 73, 84, 108, 41, 89, 76.
The third block in the decoder is all zeros and it seems that the third block is not add in the encoder. There are only two blocks according to the printed result in the encoder.
Encoder Result: Decoder Result:
Hope you can give some possible reasons. Thanks a lot!