Feature #2517

[uv-5r] Rework Firmware Version Support

Added by Jim Unroe over 2 years ago.

Status:New Start date:04/10/2015
Priority:Normal Due date:
Assignee:Jim Unroe % Done:

0%

Category:-
Target version:0.5.0
Chirp Version:daily Model affected:UV-5R

Description

The UV-5R driver need updated to make it easier to add support for the ever changing firmware numbering variations.

Baofeng have been making memory layout changes that make it necessary to determine if the image being uploaded is compatible with the radio. At the same time Baofeng is making it more challenging to determine which images are compatible with which radios. The time has come to require that the Image Firmware Version exactly matches the Radio Firmware Version to prevent problems that are created when an incompatible image is uploaded to a radio.

Associated revisions

Revision 2550:b33a1d22eda6
Added by Jim Unroe over 2 years ago

[uv-5r] Rework Firmware Version Support

remove:
def validate_orig(ident):
def validate_291(ident):

These "helpers" are not used.

rework:
def _my_version(self):

It is only necessary to differentiate between the BFB firmware versions
prior to BFB291. The rest of the firmware variations were removed.

new:
require the "image firmware version" to exactly match the "radio firmware version".

#2517

Also available in: Atom PDF