/* ************************************************************************** * Copyright (C) 2023 INAF * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License * or (at your option) any later version. This program is distributed * in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU Lesser General Public License for more details. * You should have received a copy of the GNU Lesser General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. * * Authors: * * <>Valerio Pastore INAF-OAS Bologna valerio.pastore@inaf.it **************************************************************************** */ /** * @brief This file contains the definition of the recognizedPackets for Astri Horn. * * The recognizedPackets vector is a static member of the inaf::oasbo::Packets::AstriHorn namespace. * It stores tuples representing recognized packets, where each tuple contains three values: * - The first value represents the packet type. * - The second value represents the packet subtype. * - The third value represents the packet length. * */ #pragma once #include <vector> #include <tuple> namespace inaf::oasbo::Packets::AstriHorn { static std::vector<std::tuple<size_t, size_t, size_t>> recognizedPackets = { std::make_tuple(1, 1, 13268), std::make_tuple(1, 2, 13268), std::make_tuple(1, 3, 13268), std::make_tuple(1, 4, 13268), std::make_tuple(2, 1, 9568), std::make_tuple(2, 2, 10900), std::make_tuple(10, 1, 4526), std::make_tuple(10, 2, 19040), std::make_tuple(15, 1, 12) }; }