diff --git a/src/README-Tetra b/src/README-Tetra new file mode 100644 index 00000000..f5228c26 --- /dev/null +++ b/src/README-Tetra @@ -0,0 +1,38 @@ +* +* Adi Bier / DL1HRC +* dl1hrc { at } gmx . de +* + +This branch only works if you have the following things: + +- Motorola MTM5x00, MTM800E, MTM800FuG +- active data cable, e.g. PMKN4104 +- (Sepura/Cleartone my work, but no warranty) + +The MS is completely controlled by AT-commands over the PEI interface + +Installation instructions from Frédéric/F1IWQ can be found here: +http://dl.free.fr/getfile.pl?file=/RabtkiOU + + +Here are two quick-and-dirty installation/update documentation, keep +in mind: No configuration will be done! + +1) first time installation (including German(!) voice announcements): + +You may use my semi-automatic installation-script from here +http://svxlink.ham-radio-op.net/svxlink/svxlink-tetra-contrib.sh + +Start installation as root: +wget -O - http://svxlink.ham-radio-op.net/svxlink/svxlink-tetra-contrib.sh | bash + + +2) Update an existing tetra-contrib installation made by the previous script +as root: + +systemctl stop svxlink +cd /home/svxlink/svxlink/src/build/ +git pull +make install +systemctl start svxlink + diff --git a/src/svxlink/svxlink/DapNetClient.cpp b/src/svxlink/svxlink/DapNetClient.cpp index 061df9c5..1a3a7680 100644 --- a/src/svxlink/svxlink/DapNetClient.cpp +++ b/src/svxlink/svxlink/DapNetClient.cpp @@ -1,6 +1,6 @@ /** @file DapNetClient.cpp -@brief Network connection manager for DapNet transceivers +@brief Network connection manager for DapNet @author Tobias Blomberg / SM0SVX & Adi Bier / DL1HRC @date 2021-02-07 diff --git a/src/svxlink/svxlink/DapNetClient.h b/src/svxlink/svxlink/DapNetClient.h index 90f0fd8b..4055096d 100644 --- a/src/svxlink/svxlink/DapNetClient.h +++ b/src/svxlink/svxlink/DapNetClient.h @@ -1,6 +1,6 @@ /** @file DapNetClient.h -@brief Network connection for DapNetClient transceivers +@brief Network connection manager for DapNet @author Tobias Blomberg / SM0SVX & Adi Bier / DL1HRC @date 2021-02-07 diff --git a/src/svxlink/svxlink/TetraLib.h b/src/svxlink/svxlink/TetraLib.h index 78e2da31..6862c306 100644 --- a/src/svxlink/svxlink/TetraLib.h +++ b/src/svxlink/svxlink/TetraLib.h @@ -490,7 +490,6 @@ void handleLipSds(std::string in, LipInfo &lipinfo) { lipinfo.longitude = tlo * 360.0 / 33554432; } - //std::cout << "tlo=" << tlo << ",lipinfo.longitude=" << lipinfo.longitude << std::endl; if (tla > 8388608) { @@ -500,7 +499,6 @@ void handleLipSds(std::string in, LipInfo &lipinfo) { lipinfo.latitude = tla * 360.0 / 33554432; } - //std::cout << "tla=" << tla << ",lipinfo.latitude=" << lipinfo.latitude << std::endl; // position error in meter lipinfo.positionerror = 2*pow(10,(std::stoi(in.substr(15,1),nullptr,16) & 0x03)); @@ -756,6 +754,12 @@ std::string getNextStr(std::string& h) std::string getPeiError(int errorcode) { + if (errorcode > 45) + { + std::stringstream ss; + ss << "Unknown Error occured (" << errorcode << ")" << std::endl; + return ss.str(); + } std::string error[] = { "0 - The MT was unable to send the data over the air (e.g. to the SwMI)", "1 - The MT can not establish a reliable communication with the TE",