Project

General

Profile

Actions

Bug #11392

closed

Add IJV 3.x module for Quansheng UV K5

Added by Matteo Fabbroni 5 months ago. Updated 5 months ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
06/19/2024
Due date:
% Done:

0%

Estimated time:
Chirp Version:
next
Model affected:
UV K5
Platform:
Linux
Debug Log:
I read the instructions above:
Yes

Description

Hello,
I'm on nixos: can you add the attached module from https://www.universirius.com/preppers/quansheng-uv-k5-manuale-del-firmware-ijv_v3/ to be able to program the Quansheng UV K5 ?


Files

uvk5_IJV_v3_48.py (108 KB) uvk5_IJV_v3_48.py Matteo Fabbroni, 06/19/2024 09:34 AM
uvk5_IJV_vX3_48.py (108 KB) uvk5_IJV_vX3_48.py Matteo Fabbroni, 06/19/2024 09:37 AM
Actions #2

Updated by Dan Smith 5 months ago

  • Status changed from New to Rejected

Hi,

No, we can't just include that module. CHIRP already supports the UV-K5 with multiple firmware variants. That module just duplicates almost all of the existing driver, does not contain fixes and changes that have been made since it forked off, and does not follow the coding style conventions of the rest of the code. Just including it creates a maintenance nightmare for this project.

Someone interested in having that variant supported natively in CHIRP is welcome to subclass the existing base driver and create a variant that avoids the duplication. Example here:

https://github.com/kk7ds/chirp/blob/master/chirp/drivers/uvk5_egzumer.py

I will be glad to help and review such an effort, but that's the only path forward.

Actions

Also available in: Atom PDF