libdrmconf 0.12.1
A library to program DMR radios.
Loading...
Searching...
No Matches
AnytoneCodeplug::CTCSS Struct Reference

Implements encoding of CTCSS tones. More...

#include <anytone_codeplug.hh>

Collaboration diagram for AnytoneCodeplug::CTCSS:

Static Public Member Functions

static uint8_t encode (const SelectiveCall &tone)
 Encodes Signaling::Code CTCSS tones.
 
static SelectiveCall decode (uint8_t code)
 Decodes to Signaling::Code CTCSS tones.
 

Static Protected Attributes

static SelectiveCall _codeTable [52]
 Translation table.
 

Detailed Description

Implements encoding of CTCSS tones.

Member Data Documentation

◆ _codeTable

SelectiveCall AnytoneCodeplug::CTCSS::_codeTable
staticprotected
Initial value:
= {
SelectiveCall(97.4), SelectiveCall(100.0), SelectiveCall(103.5), SelectiveCall(107.2),
SelectiveCall(110.9), SelectiveCall(114.8), SelectiveCall(118.8), SelectiveCall(123.0),
SelectiveCall(127.3), SelectiveCall(131.8), SelectiveCall(136.5), SelectiveCall(141.3),
SelectiveCall(146.2), SelectiveCall(151.4), SelectiveCall(156.7), SelectiveCall(159.8),
SelectiveCall(162.2), SelectiveCall(165.5), SelectiveCall(167.9), SelectiveCall(171.3),
SelectiveCall(173.8), SelectiveCall(177.3), SelectiveCall(179.9), SelectiveCall(183.5),
SelectiveCall(186.2), SelectiveCall(189.9), SelectiveCall(192.8), SelectiveCall(196.6),
SelectiveCall(199.5), SelectiveCall(203.5), SelectiveCall(206.5), SelectiveCall(210.7),
SelectiveCall(218.1), SelectiveCall(225.7), SelectiveCall(229.1), SelectiveCall(233.6),
}
Encodes a selective call.
Definition signaling.hh:13

Translation table.


The documentation for this struct was generated from the following files: