-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RT3/MD380 with md380tools has more button settings #419
Comments
Another note: md380tools has a ContactDB, editcp can write it to the radio, so there is a Linux solution. Low Prio: if possible to detect the presence of the md380tools on the radio, enable ContactDB write to the radio. |
Is there a dedicated CPS for md380tools? Or can these buttons only be set on the radio itself? If so, I may only need the information, you already provided above. For now, I do not know how I could detect the md380tools firmware. |
The changes you proposed above, should have been enough. Had a look at the codeplug tool https://github.com/travisgoodspeed/md380tools/blob/master/md380_codeplug.py, it appears to be ok. |
Let me outline the changes needed:
|
Sorry, forgot the links: |
With https://github.com/hmatuschek/qdmr/tree/419-md380tools-button-settings the md380tools-specific button settings I used are read and written back correctly - thanks! Will check for more settings and report. |
A RT3/MD380 with installed md380tools has more options for the side buttons that QDMR currently can not decode and thus can not write back to the radio.
For example:
This note as a reminder, will provide more info when at the laptop next time..
ERROR in src/extensionwrapper.cc@572: Cannot map value 81 to enum ButtonAction. Ignore attribute but this points to an incompatibility in some codeplug. Consider reporting it to https://github.com/hmatuschek/qdmr/issues.
ERROR in src/extensionwrapper.cc@572: Cannot map value 86 to enum ButtonAction. Ignore attribute but this points to an incompatibility in some codeplug. Consider reporting it to https://github.com/hmatuschek/qdmr/issues.
Tried
*** tyt_extensions.hh.orig 2024-03-18 16:51:10.242894738 +0100
--- tyt_extensions.hh 2024-03-18 17:23:18.993810701 +0100
*** 308,314 ****
SwitchUpDown = 47, ///< Switch Channel A/B.
RightKey = 48, ///< Who knows?
LeftKey = 49, ///< Who knows?
! ZoneDecrement = 55 ///< Switch to previous zone.
};
Q_ENUM(ButtonAction)
--- 308,316 ----
SwitchUpDown = 47, ///< Switch Channel A/B.
RightKey = 48, ///< Who knows?
LeftKey = 49, ///< Who knows?
! ZoneDecrement = 55, ///< Switch to previous zone.
! SetTalkgroup = 81, ///< md380tools: set temp. TG
! PromiscOnOff = 86 ///< md380tools: enable/disable promiscuous mode
};
Q_ENUM(ButtonAction)
but that does not seem to be enough.
@hmatuschek : what information do you need and/or what files do I need to change and send you a diff with the additional settings for an md380tools enabled RT3?
The text was updated successfully, but these errors were encountered: