GNU Radio's SATNOGS Package
lrpt_decoder_impl.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * gr-satnogs: SatNOGS GNU Radio Out-Of-Tree Module
4  *
5  * Copyright (C) 2018, Libre Space Foundation <http://librespacefoundation.org/>
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  */
20 
21 #ifndef INCLUDED_SATNOGS_LRPT_DECODER_IMPL_H
22 #define INCLUDED_SATNOGS_LRPT_DECODER_IMPL_H
23 
24 #include <satnogs/lrpt_decoder.h>
26 #include <satnogs/whitening.h>
27 
28 namespace gr {
29 namespace satnogs {
30 
32 
33 public:
36 
37 private:
38  const size_t d_cadu_len;
39  const size_t d_coded_cadu_len;
40  const size_t d_mpdu_max_len;
41  whitening d_scrambler;
42  bool d_have_mpdu;
43 
44  uint8_t *d_coded_cadu_syms;
45  uint8_t *d_cadu;
46  uint8_t *d_mpdu;
47  void *d_vt;
48 
49  void
50  decode(pmt::pmt_t m);
51 
52  void
53  decode_ccsds_packet(const uint8_t *cvcdu);
54 };
55 
56 } // namespace satnogs
57 } // namespace gr
58 
59 #endif /* INCLUDED_SATNOGS_LRPT_DECODER_IMPL_H */
60 
Performs data whitening and de-whitening.
Definition: whitening.h:35
Definition: amsat_duv_decoder.h:29
<+description of block+>
Definition: lrpt_decoder.h:35
Definition: lrpt_decoder_impl.h:31