From 8ded452b4ecbae03630659e1ad04643109899d60 Mon Sep 17 00:00:00 2001 From: Hannes Matuschek Date: Sat, 17 Sep 2022 17:48:08 +0200 Subject: [PATCH] Fixed manual. Addresses #251. --- doc/manual/codeplug/contacts.xml | 44 +++++++++++++++++++++++++++++++- doc/manual/manual.xml | 2 +- lib/codeplug.cc | 2 +- 3 files changed, 45 insertions(+), 3 deletions(-) diff --git a/doc/manual/codeplug/contacts.xml b/doc/manual/codeplug/contacts.xml index 2325b6b9..e0c2146c 100644 --- a/doc/manual/codeplug/contacts.xml +++ b/doc/manual/codeplug/contacts.xml @@ -11,7 +11,7 @@ The contacts element specifies a list of all contacts. Each contact is a map that contains a single entry to specify the contact type. The key specifies the type name and - the value specifies the actual contact definition. Currently there are two possible contact + the value specifies the actual contact definition. Currently there are three possible contact types. @@ -85,6 +85,48 @@ +
+ + M17 Contacts (<token>m17</token>) + + + + An M17 contact is a simple object and is usually defined in one line. Each contact contains + an optional id that will be used to reference this contact throughout the + codeplug (e.g., in M17 channels). For now, M17 is only supported by radios running the + OpenRTX firmware. + + + + M17 Contact Fields + + id + + Specifies the identifier of the contact. This identifier can later be used to + reference the contact. Any unique string is valid. + + + + call + + Specifies the call (M17 ID) of the contact. This must be a string of not more than 9 + chars, containing only A-Z, 0-9, ., + / & -. See + M17 specification for details. + + + + broadcast + + Specifies whether the contact is the M17 broadcast destination. Default is + false. If true, the call is ignored. + + + +
+ +
Analog DMTF Contacts (<token>dtmf</token>) diff --git a/doc/manual/manual.xml b/doc/manual/manual.xml index b9246b8f..b57fd34f 100644 --- a/doc/manual/manual.xml +++ b/doc/manual/manual.xml @@ -20,7 +20,7 @@ - This document covers qdmr version 0.10.3. + This document covers qdmr version 0.11.0. diff --git a/lib/codeplug.cc b/lib/codeplug.cc index 70e9434e..28a2f285 100644 --- a/lib/codeplug.cc +++ b/lib/codeplug.cc @@ -587,7 +587,7 @@ Codeplug::Context::Context(Config *config) { // Add tables for common elements addTable(&DMRRadioID::staticMetaObject); - addTable(&DMRContact::staticMetaObject); + addTable(&DigitalContact::staticMetaObject); addTable(&DTMFContact::staticMetaObject); addTable(&RXGroupList::staticMetaObject); addTable(&Channel::staticMetaObject);