Bug #9911

Driver Maintenance: radtel_t18.py

Added by Jim Unroe 6 months ago. Updated 5 months ago.

Status:Closed Start date:06/15/2022
Priority:Normal Due date:
Assignee:Jim Unroe % Done:

100%

Category:-
Target version:chirp-daily
Chirp Version:daily Platform:All
Model affected:Radtel T18 and others

Description

The Radtel T18 driver (radtel_t18.py) supports several radio models (see list below). During the cloning operation, some models need to have the driver send/receive and acknowledgement (ACK) after each of the blocks are transferred. Some models do not need these ACKs.

Models that require ACKs
Radtel T18
Baofeng Tech FRS-B1

Models that don't require ACKs
Retevis RT22S, RB18, RB618, RT68, RT668, RB17, RB617, RB17V, RB85, RB75

Although cloning does work for all of the supported models, the code that determines if CHIRP should ACK or not is improperly implemented. This often causes part of the ACK process to be used during the transfers to/from radios that don't need ACKs. These unnecessary ACKs cause the transfer to be shower than it could be. In some cases, the transfers are noticeably slower than what they are when using the OEM software.

Jim KC9HI

Associated revisions

Revision 3696:3dd3da8a8935
Added by Jim Unroe 5 months ago

Driver Maintenance: radtel_t18.py

The Radtel T18 driver (radtel_t18.py) supports several radio models (see list
below). During the cloning operation, some models need to have the driver
send/receive an acknowledgement (ACK) after each of the blocks are transferred.
Some models do not need these ACKs.

Models that require ACKs
Radtel T18
Baofeng Tech FRS-B1

Models that don't require ACKs
Retevis RT22S, RB18, RB618, RT68, RT668, RB17, RB617, RB17V, RB85, RB75

Although cloning does work for all of the supported models, the code that
determines if CHIRP should ACK or not is improperly implemented. This often
causes part of the ACK process to be used during the transfers to/from radios
that don't need ACKs. These unnecessary ACKs cause the transfer to be shower
than it could be. In some cases, the transfers are noticeably slower than what
they are when using the OEM software.

This patch corrects the above issue so that ACKs are only used when required.
All of the radios listed above were reverified to make sure that that
cloning process still works and is as fast or faster as it was previously.

fixes #9911

History

Updated by Jim Unroe 6 months ago

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

A patch has been submitted.

Jim KC9HI

Updated by Anonymous 5 months ago

  • Status changed from Resolved to Closed

Applied in changeset 3dd3da8a8935.

Also available in: Atom PDF