radio_tool 0.2.1
Loading...
Searching...
No Matches
Classes | Enumerations | Variables
radio_tool::codeplug Namespace Reference

Classes

class  CodeplugFactory
 
class  CodeplugSupport
 
class  RDT
 
class  RDTGeneral
 
class  RDTHeader
 

Enumerations

enum class  RDTType : uint8_t { Unknown = 0 , TYT = 1 , Anytone = 2 }
 

Variables

const std::vector< std::pair< std::function< bool(const std::string &)>, std::function< std::unique_ptr< CodeplugSupport >()> > > AllCodeplugs
 
const std::vector< std::tuple< std::string, uint32_t, uint32_t > > RadioConfigs
 

Detailed Description

This file is part of radio_tool. Copyright (c) 2020 v0l radio.nosp@m._too.nosp@m.l@v0l.nosp@m..io

radio_tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

radio_tool 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 General Public License for more details.

You should have received a copy of the GNU General Public License along with radio_tool. If not, see https://www.gnu.org/licenses/.

Enumeration Type Documentation

◆ RDTType

enum class radio_tool::codeplug::RDTType : uint8_t
strong

Definition at line 39 of file rdt_header.hpp.

Variable Documentation

◆ AllCodeplugs

const std::vector<std::pair<std::function<bool(const std::string &)>, std::function<std::unique_ptr<CodeplugSupport>()> > > radio_tool::codeplug::AllCodeplugs
Initial value:
= {
{RDT::SupportsCodeplug, RDT::Create}
}

All codeplug handlers

Definition at line 32 of file codeplug_factory.hpp.

◆ RadioConfigs

const std::vector<std::tuple<std::string, uint32_t, uint32_t> > radio_tool::codeplug::RadioConfigs
Initial value:
= {
{ "DM-1701"s, 0x2001u, 0x2040u },
{ "2017"s, 0x2001u, 0x2040u },
{ "DR780"s, 0x2001u, 0x2040u }
}

Definition at line 32 of file rdt_header.hpp.