GNU Radio's SATELLITES Package
nanocom_golay_decode_length_impl.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2025 Daniel Estevez <daniel@destevez.net>.
4 *
5 * This file is part of gr-satellites
6 *
7 * SPDX-License-Identifier: GPL-3.0-or-later
8 */
9
10#ifndef INCLUDED_SATELLITES_NANOCOM_GOLAY_DECODE_LENGTH_IMPL_H
11#define INCLUDED_SATELLITES_NANOCOM_GOLAY_DECODE_LENGTH_IMPL_H
12
13#include <pmt/pmt.h>
15
16namespace gr {
17namespace satellites {
18
20{
21private:
22 const pmt::pmt_t d_golay_start_tag_key;
23 const pmt::pmt_t d_length_tag_key;
24 const int k_golay_N = 24;
25
26public:
27 nanocom_golay_decode_length_impl(const std::string& golay_start_tag_key,
28 const std::string& length_tag_key);
30
31 int work(int noutput_items,
32 gr_vector_const_void_star& input_items,
33 gr_vector_void_star& output_items) override;
34};
35
36} // namespace satellites
37} // namespace gr
38
39#endif /* INCLUDED_SATELLITES_NANOCOM_GOLAY_DECODE_LENGTH_IMPL_H */
Definition: nanocom_golay_decode_length_impl.h:20
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) override
nanocom_golay_decode_length_impl(const std::string &golay_start_tag_key, const std::string &length_tag_key)
Decodes Golay field in NanoCom packets and adds a length tag.
Definition: nanocom_golay_decode_length.h:34
Definition: ax100_decode.h:17