Driver Maintenance: btech.py - Improve driver for downloading and uploading.
Recently I have been focused on improving the speed and reliably of the btech.py driver module. Bug @#9818@ was a first round attempt to bring about some improvements. This round, V2 if you will, has basically scrapped much of the original download/upload routines and has rebuilt them from the ground up to more closely match how the OEM programming software works.
During this process, I have been doing a lot of testing with the collection of the btech.py driver supported radios that I have here. I have also been testing with various CHIRP supported operating systems (Windows 7, Windows 10, Linux Mint 20.3, Raspberry Pi OS (64-bit) Bullseye and macOS Catalina). A limited number of testers have also been working with me to support this project with testing. So far, I am very happy with the results.
But before I submit the changes to be included into CHIRP, I want to reach out to a larger group of testers to validate this new code. Anyone with one of more of the following listed radios (and any additional models that are close variants of those listed) is encouraged to participate.
- UV-2501, UV-2501+220, UV-5001, UV-25X2, UV-25X4, UV-50X2, GMRS-50X1
- JT-6188 Mini, JT-6188 Plus
- OTG Radio v1
- KT-UV980, KT8900, KT8900R, KT7900D, KT8900D, KT5800, KT980PLUS, KT-8R
- QB25, DB25-G
I will soon be posting an update to this issue that will include the test driver module and instructions for how to use it. Standby.
Updated by Jim Unroe over 1 year ago
I have attached the first driver module for testing. Follow the instructions below to test and use the driver module with your CHIRP installation. Using an externally loaded driver module does not permanently change your CHIRP installation in any way. Once you close CHIRP after using the test driver module, you will have to load it again to do any additional testing.
Here are the instructions for how you use the test driver.
save the test driver (btech_v2.0.py) to a convenient location on your computer. Note: Do not right-click the test driver link to download. You must left-click the link and then choose the download link near the top of the page that loads.¶
click Help in the menu bar and then enable the Enable Developer Functions setting¶
click File in the menu bar and then select Load Module in the list that appears¶
locate and load the driver module that was saved in step #1¶
At this point CHIRP should have a red background to let you know that it is running with an externally loaded driver module.
Now you can test this test driver module with your radio(s), computer(s) and operating system(s). Test both downloading and uploading. Test with as many radios, computers, operating systems as you are willing to test.
Leave a comment noting the radio vendor/model tested, which operations system and version that CHIRP was running under and the approximate download/upload time for a successful test. If there is a problem, attach a debug.log file. Visit the "How to report issues":https://chirp.danplanet.com/projects/chirp/wiki/How_to_report_issues page for instructions on how to find the debug.log for the various supported operating systems.
Once you no longer want/need to do any more testing you can disable the Enable Developer Functions setting. But leaving it enabled does not hurt anything.
Thank you in advance for your testing,