|Subject:||Re: [Discuss-gnuradio] Error using Packet Encoder --> Packet Decoder|
|Date:||Wed, 27 May 2015 13:18:35 +0700|
Would you mind to give an example or reference about it?I try random bit but I still have nothing.SuryaOn Sat, May 23, 2015 at 2:57 PM, Laur Joost <address@hidden> wrote:
I'm away from my computer right now, so I can't verify anything. But here's what I remeber from getting it to work.
For testing whether it works, just set them to a bunch of 1-s and 0-s.
Preamble is used by the demodulator for carrier and symbol timing recovery, so it should have many transitions and be long enough to give the recovery loops time to lock (I think I tried 32 bits and it worked).
Access code is used to detect the start of packet after the preamble, so it should have low autocorrelation, i.e. it should be as different as possible from shifted versions of itself (Meaning, don't set it to 10101010. It could work when simulating perfect signals, but it's a Bad Idea).
There are criteria and methods for selecting good ones for both, check the relevant Wikipedia articles for relevant articles :D
All the best
Laur23.05.2015 9:49 kirjutas kuupäeval "Surya Agam" <address@hidden>:I leave it blank. My setting for Encoder is
Sample/Symbol = 2Bit/Symbol = 1 (based on documentation for BPSK)preamble = blankaccess code = blankUSRP pad = noPayload Strength = 0My DecoderAccess code = blankThreshold = -1How to set the preamble and access code?SuryaOn Sat, May 23, 2015 at 11:37 AM, Laur Joost <address@hidden> wrote:
Have you set the preamble and access code? The "leave blank for automatic" didn't work for me.
Laur23.05.2015 6:53 kirjutas kuupäeval "Surya Agam" <address@hidden>:_______________________________________________Hello everyone,I want to simulate file transmission using BPSK modulation, with block diagramFile Source --> Packet Encoder --> BPSK Mod --> BPSK Demod --> Packet Decoder --> File SinkBut the result is 0 kB. Then I remove the Encoder-Decoder and Modulation block.File Source --> File SinkThen I have the file and it's operable (-5 bytes from original file)Next step I add Packet Encoder - DecoderFile Source --> Packet Encoder --> Packet Decoder --> File SinkBut the file size is 0 kBI don't know what is wrong with the Encoder-Decoder.Thank youRegards, Surya Agam
Discuss-gnuradio mailing list
|[Prev in Thread]||Current Thread||[Next in Thread]|