[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Explanation on how the preamble is inserted and how t
[Discuss-gnuradio] Explanation on how the preamble is inserted and how the packet is detected
Wed, 09 Aug 2017 16:28:54 +0000
If you check out the tx_stage6.grc example in the folder /src/gnuradio/gr-digital/example/packet/, you can see a Protocol Formatter. It generates a header which contains a preamble and some additional information, and pumps it out through the header output port. The other output port, called payload, outputs the original information from the signal source. And there is another module called Tagged Stream Mux. It combines the header and the payload, producing a packet.
As for the receiver, check out the packet_rx.grc. The Correlation Estimation correlates the received signal with the modulated preamble and finds out the beginning of each packet. The Header/Payload Demux splits the header from the payload.
Hope this answers your question.
I tried the examples but there is no information on how to detect the preamble. What I need to do is, once the Short Training Field is identified record the packet so that I can use the Long Training Field can be used for processing.
I've been looking in to the examples for a couple of days but I still don't have an idea on how the preamble is inserted and how to detect the Short Training Field in order to record the un-modulated, raw, time domain received signal.
I really appreciate if you can kindly provide some information on this.
Thanks a lot!