hmatuschek / qdmr

A GUI application for configuring and programming cheap DMR radios under Linux and MacOS X.
https://dm3mat.darc.de/qdmr/
GNU General Public License v3.0
223 stars 46 forks source link

D878UV: Rx Tone not supported #111

Closed reald closed 3 years ago

reald commented 3 years ago

When reading a codeplug from D878UV the RxTone setting is lost (always "-"). TxTone works.

Analog  Name                Receive   Transmit   Power Scan TOT RO Admit  Squelch RxTone TxTone Width APRS
[...]
10      "G-NET 2"           145.45000 145.45000  High  -    -   -  -      1       -      79.9   12.5  1
hmatuschek commented 3 years ago

I cannot reproduce it here for now. To which frequency was it set?

reald commented 3 years ago

RxTone was 79.9 Hz like this:

Analog  Name                Receive   Transmit   Power Scan TOT RO Admit  Squelch RxTone TxTone Width APRS
[...]
10      "G-NET 2"           145.45000 145.45000  High  -    -   -  -      1       79.9   79.9   12.5  1

Steps to reproduce:

Selecting an RxTone in qdmr and saving it to disk works. Also reloading this codeplug from disk works. Have not tried to flash an RxTone with qdmr yet.

hmatuschek commented 3 years ago

Ahh, yes. This way I can reproduce it.

However, it is actually intentional: Have you set the Squelch mode to CTCSS/DCS?

In my opinion, the RX CTCSS/DCS makes no sense if it does not control the squelch. As the internal codeplug representation in qdmr has no field to hold the squelch control separately from the RX CTCSS/DCS, I interpret a carrier based squelch as a disabled RX CTCSS/DCS.

hmatuschek commented 3 years ago

There is, however, a situation where a proper CTCSS tone may be read a disabled: The D878UV supports non-standard CTCSS frequencies, I do not support in qdmr. In these cases, the CTCSS setting is cleared for both RX and TX.

reald commented 3 years ago

Yes, squelch mode was carrier. I changed it for one channel to CTCSS/DCS, flashed it with CPS 1.23, read it back with qdmr and now all (!) RxTones were visible. Then changed squelch mode back to carrier for this one channel, flashed again with CPS 1.23 and read back with qdmr. Still all RXTones are visible! Even after restart of qdmr. Did not change anything else. confused Setting squelch mode to CTCSS/DCS seems to work.

Is the squelch mode visible in qdmr? The "squelch" settings looks more like a squelch level but I think the D878 does not support individual squelch levels for each channel. => Set automaticly to CTCSS/DCS if RxTone used.

But found another issue: qdmr shows 79.9 Hz, but in AT CPS "77 Hz" was selected. Shall I open another issue?

hmatuschek commented 3 years ago

Ok, this appears to be another issue with the decoding of the codeplut. We can keep this bug issue for it.

hmatuschek commented 3 years ago

Found it. There was an entry missing, so all frequency indices were off by one.