Project

General

Profile

Actions

Bug #9231

closed

Cannot Set Duplex to "off" for Baofeng P10-UV (Radioddity GA-510)

Added by Young G over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
07/18/2021
Due date:
% Done:

100%

Estimated time:
Chirp Version:
daily
Model affected:
Baofeng P10-UV
Platform:
All

Description

When using Chirp to program Baofeng P10-UV (with radio model set to Radioddity GA-510 as instructed), the duplex mode cannot be set to "off". Doing so will trigger an error message and the duplex mode will be reset. This is caused by incorrect set_raw method call on arrayDataElement instance in line 397 of /chirp/drivers/ga510.py.

Line 396:397 of /chirp/drivers/ga510.py:

elif mem.duplex == 'off':
_mem.txfreq.set_raw(b'\xff\xff\xff\xff')

Replacing it with the following code fixed the problem:

elif mem.duplex == 'off':
for i in range(0, 4):
_mem.txfreq[i].set_raw("\xFF")

This is because _mem.txfreq is an arrayDataElement instance, therefore the method set_raw should not be called.

Actions #1

Updated by Jim Unroe over 1 year ago

  • Status changed from New to In Progress
  • Assignee set to Jim Unroe
  • Target version set to chirp-daily
  • Platform changed from MacOS to All

I will see if I can get a patch submitted to address this bug.

Jim KC9HI

Actions #2

Updated by Jim Unroe over 1 year ago

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

Patches submitted. Support should be in the next CHIRP daily build following acceptance.

Note: Also affects Tidradio TD-H6 and other variants such as Baofeng BF-H6

Jim KC9HI

Actions #3

Updated by Anonymous over 1 year ago

  • Status changed from Resolved to Closed

Applied in changeset commit:0095bef840de.

Actions

Also available in: Atom PDF