Bug #10129

Explorer QRP-1 Settings menu is now showing blank

Added by Conrad Aquino 14 days ago. Updated 12 days ago.

Status:Closed Start date:11/20/2022
Priority:Normal Due date:
Assignee:Jim Unroe % Done:

100%

Category:-
Target version:chirp-daily
Chirp Version:daily Platform:All
Model affected:QRZ-1

Description

Attempted to update a previously saved config file created 10/10/2022, the setting menu comes up blank. Downloaded a fresh config from the radio, settings menu still comes up blank.

During the development work in #10023, this issue was encountered and mentioned in post #70.

debug.log - debug log (269.7 kB) Conrad Aquino, 11/20/2022 05:30 am

Explorer_QRZ-1_20221120.img (8.8 kB) Conrad Aquino, 11/20/2022 07:24 pm

Explorer_QRZ-1_20221120(fixed).img (8.8 kB) Jim Unroe, 11/20/2022 07:49 pm

Associated revisions

Revision 3821:e66b9303f0c1
Added by Jim Unroe 13 days ago

[QRZ-1] Add support for Intro Lines that are padded with null characters

The QRZ-1 (and variants like the TYT TH-UV88 and Retevis RT85) come from
the factory with the Intro Lines right-padded with spaces. The CHIRP driver
for these radios expects them to be padded with spaces.

It is now known that it is possible for the Intro Lines to also be right-
padded with null characters. When this is encountered, the Settings tabs
are blank.

This patch adds support to gracefully handle Intro Lines that have been
padded with null characters.

fixes #10129

History

Updated by Jim Unroe 13 days ago

  • Status changed from New to Feedback

This is usually an indication that one or more of the radio's settings is/are out-of-range. Attach a CHIRP Radio Images (*.img) file so it can be determined which setting(s) that might be.

Jim KC9HI

Updated by Conrad Aquino 13 days ago

Image file as requested...

Updated by Jim Unroe 13 days ago

Conrad Aquino wrote:

Image file as requested...

Thanks. The Intro Line 1: with your callsign was padded with nul (0x00) characters. I changed them to spaces (0x20). I edited the field several times with CHIRP and the field was always padded to the full 15 characters with spaces. I don't know how they got changed to null characters to begin with, unless perhaps it was done with another programming software?

Jim KC9HI

Updated by Conrad Aquino 13 days ago

Jim... thanks so much for the fixed image file. There is a possibility that in a senior moment, I inadvertently used the QRZ-1 Programmer (RT Systems) software that came with the radio, instead of CHIRP for an update... I'll be sure to be more careful and not do that again.

Updated by Jim Unroe 13 days ago

  • Status changed from Feedback to In Progress
  • Assignee set to Jim Unroe
  • Target version set to chirp-daily
  • Model affected changed from QRP-1 to QRZ-1
  • Platform changed from Windows to All

Conrad Aquino wrote:

Jim... thanks so much for the fixed image file. There is a possibility that in a senior moment, I inadvertently used the QRZ-1 Programmer (RT Systems) software that came with the radio, instead of CHIRP for an update... I'll be sure to be more careful and not do that again.

That makes sense. RT Systems has apparently decided to pad the characters to the right of the Intro Lines as null characters. There is nothing wrong with that as long as the radio supports it (and it apparently does).

The cousins of the QRZ-1 (TYT TH-UV88 and Retevis RT85 come from the factory with the Intro Lines padded with spaces so that is what the CHIRP driver was developed to support.

Now that it is known that there is a potential for null characters to be in the intro lines, it makes sense to give CHIRP the capability of gracefully handling them when they are present.

I will see if I can make the changes necessary to bring this about.

Jim KC9HI

Updated by Jim Unroe 13 days ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Patch submitted. Support will be in the next CHIRP daily build following acceptance.

Jim KC9HI

Updated by Anonymous 13 days ago

  • Status changed from Resolved to Closed

Applied in changeset e66b9303f0c1.

Updated by Jim Unroe 13 days ago

Using today's build (20221121) you can load your original "image" and the Settings tabs function normally.

Jim KC9HI

Updated by Conrad Aquino 12 days ago

Thanks Jim, I loaded in the original image file and CHIRP handled it with no problem.

Thanks again for your excellent help.

73 Conrad KN6VMK

Also available in: Atom PDF