Open sgofferj opened 5 months ago
@sgofferj To gather some information: which firmware is your GD-73 running? According to #188, dev was done against "v1.11" - just to make sure that's not an issue. (Some more discussion in #371, but main thread was #188)
For the actual error message, if there are no secrets inside, could you attach the codeplug here or even try to strip it down to the parts causing the error? Most likely the parts that are reported in the error message? That should help @hmatuschek to find the cause.
Yeah, it's 1.11.
Nothing really secret. I'm mostly trying and testing. Don't like booting into Windows all the time, hence qdmr :smile: gd73.rdt.zip
I'll have a look. dmrconf
can decode the manufacturer CPS files (rdt):
dmrconf decode --manufacturer --radio=gd73 gd73.rdt --yaml
If you want to play along.
I get:
ERROR in lib/gd73_codeplug.cc@1459: Cannot link channel 'CMLDMR1', cannot resolve scanlist index 6.
ERROR in lib/gd73_codeplug.cc@1042: Cannot link channel at index 61.
ERROR in lib/gd73_codeplug.cc@2316: Cannot link channels.
ERROR in lib/gd73_codeplug.cc@2165: Cannot decode codeplug.
ERROR in cli/decodecodeplug.cc@50: Cannot decode binary codeplug file 'gd73.rdt'.
ERROR in cli/decodecodeplug.cc@117: Cannot decode codeplug 'gd73.rdt': In decodecodeplug.cc:50: Cannot decode binary codeplug file 'gd73.rdt'.
In gd73_codeplug.cc:2165: Cannot decode codeplug.
In gd73_codeplug.cc:2316: Cannot link channels.
In gd73_codeplug.cc:1042: Cannot link channel at index 61.
In gd73_codeplug.cc:1459: Cannot link channel 'CMLDMR1', cannot resolve scanlist index 6.
Oooh. That is a bug in the manufacturer CPS. There are only 5 scan lists defined, the channel "CMLDMR" references scan list 6 (indices are 0-based, so the 7th scan list).
Ok, I can be bug compatible. That is, I will just throw warnings for every unresolved reference I find.
Ok, should be fixed in the 414-relax-gd73-linking-errors
branch. Let me know, if it works for you.
I'll try to get to it at the weekend. Thanks!
Got some free slot. qdmr reads the radio now. It does not, however, seem to read CTCSS correctly. TM VLK has an RX tone configured but that doesn't show up. Also, when I try to write to the radio, I get a red message saying "Expected reference to a group call digital contact." but it doesn't say where or why.
The first issue should be resolved. I simply forgot to encode these settings. The latter might be correct, if the manufacturer does not allow for adding private calls to group lists. Usually, only group calls are allowed. Some firmwares (e.g., OpenGD77) however, handle private calls in group lists.
I've checked it with the manufacturer CPS, the GD-73 only supports group calls in group lists. So that error message is correct.
I actually have programmed the GD73 I'm reading with the manufacturer CPS. I don't have any private calls in the group list but I do have an all-call in the group list.
I'm trying to read a GD-73 with the devel branch downloaded today. The codeplug has been edited quite a bit with the original windows CPS. Stuff has been deleted and added and such. qdmr fails to decode the codeplug.
Log output:
Possibly related to #250