Project

General

Profile

Actions

Bug #10804

open

BF-V8A doesn't read settings page

Added by Chris Edwards over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
08/22/2023
Due date:
% Done:

0%

Estimated time:
Chirp Version:
next
Model affected:
BF-V8A
Platform:
Windows
Debug Log:
I read the instructions above:

Description

I get an error that 0 is out of range 1-5 when I open the settings page on a BF-V8A using the BF-V8A profile. If I use the BF-888 profile it works fine and displays the interface for editing basic settings.

Running next-20230810 on Windows 11

debug:

[2023-08-22 11:20:48,535] chirp.wxui.common - ERROR: Failed to run get_settings(, )
Traceback (most recent call last):
  File "chirp\wxui\common.py", line 276, in do_radio
  File "chirp\drivers\radtel_t18.py", line 952, in get_settings
  File "chirp\settings.py", line 96, in __init__
  File "chirp\settings.py", line 104, in set_value
chirp.settings.InvalidValueError: Value 0 not in range 1-5
[2023-08-22 11:20:48,546] chirp.wxui.common - ERROR: Context raised unexpected_exception
Traceback (most recent call last):
  File "chirp\wxui\settingsedit.py", line 49, in _initialize
  File "chirp\wxui\common.py", line 276, in do_radio
  File "chirp\drivers\radtel_t18.py", line 952, in get_settings
  File "chirp\settings.py", line 96, in __init__
  File "chirp\settings.py", line 104, in set_value
chirp.settings.InvalidValueError: Value 0 not in range 1-5
Traceback (most recent call last):
  File "wx\core.py", line 3427, in <lambda>
  File "chirp\wxui\settingsedit.py", line 49, in _initialize
  File "chirp\wxui\common.py", line 276, in do_radio
  File "chirp\drivers\radtel_t18.py", line 952, in get_settings
  File "chirp\settings.py", line 96, in __init__
  File "chirp\settings.py", line 104, in set_value
chirp.settings.InvalidValueError: Value 0 not in range 1-5
[2023-08-22 11:20:51,762] chirp.wxui.developer - DEBUG: Adding sub panel for Baofeng BF-V8A
[2023-08-22 11:20:51,819] chirp.wxui.developer - DEBUG: Adding sub panel for memory
[2023-08-22 11:20:51,847] chirp.wxui.developer - DEBUG: Adding sub panel for settings
[2023-08-22 11:20:51,877] chirp.wxui.developer - DEBUG: Adding sub panel for settings2
[2023-08-22 11:20:53,129] chirp.wxui.developer - DEBUG: Adding sub panel for unused2

Files

Baofeng_BF-V8A_20230811-Stock.img (1.17 KB) Baofeng_BF-V8A_20230811-Stock.img Stock .img Chris Edwards, 08/22/2023 10:34 AM
Baofeng_BF-888_20230811-Stock.img (1.15 KB) Baofeng_BF-888_20230811-Stock.img Stock when reading as BF-888 Chris Edwards, 08/22/2023 10:37 AM
bf-v8a_voxgain_fix.py (44.6 KB) bf-v8a_voxgain_fix.py Jim Unroe, 08/22/2023 12:46 PM
Actions #2

Updated by Chris Edwards over 1 year ago

Attached stock when reading as BF-888.

Actions #3

Updated by Jim Unroe over 1 year ago

This seems to be a bug in the radio and corresponding factory software. You are supposed to be able to enable VOX and set the gain to the desired level (1 - 5) by selecting the corresponding channel (1 - 5) and powering on the radio. The factory software (and CHIRP) expects the stored value to be 1 - 5. Unfortunately using channels 1 - 5 stores values 0 - 4 (0 being out-of-range).

The way to select valid VOX Gain values (1 - 5) from the radio is to use channels 2 - 6. Using channel 1 stores the invalid value of 0. My BF-V8A came from the factory with the VOX gain level correctly set to 1 so the issue was never experienced here.

I have attached a test driver that should overcome this bug in the radio (which the OEM software apparently seems to be doing the same thing). Instructions for loading and using this test driver is available here: LoadingTestModules

If testing indicates that this is satisfactory, I will make a formal patch and submit it for inclusion in CHIRP.

Actions

Also available in: Atom PDF