[chirp_devel] Patch for Issue #5595, new BJ-218 Driver

Rick DeWitt
Mon Feb 19 09:35:39 PST 2018


Attached is the first release of the proposed new Baojie BJ-218 driver 
with full dual-vfo settings. This should probably replace the Luiton 
Lt725uv, since it declares that radio as an alias of the BJ-218.
Related issues: #5595 (this new driver), and #5407, #4645 requests for 
BJ-218 support.

-- 
Rick DeWitt
AA0RD
Sequim, Washington, USA
360-681-3494

-------------- next part --------------
# HG changeset patch
# Parent  22de66209348f589a68eb482c7c1d19bb883f634
[bj218] Converted from lt725uv- added full settings support and aliases for Luiton, Zastone and Hesenate
Addresses previous issues #5407 and #4646 and new release but #5595

user: Rick DeWitt <aa0rd at yahoo.com>
branch 'default'
changed chirp/__init__.py
changed chirp/drivers/__init__.py
changed chirp/drivers/baojie_bj218.py

diff -r 22de66209348 -r 141998a54195 chirp/__init__.py
--- a/chirp/__init__.py	Fri Feb 09 16:10:18 2018 -0800
+++ b/chirp/__init__.py	Mon Feb 19 09:26:11 2018 -0800
@@ -1,27 +1,3 @@
-# Copyright 2008 Dan Smith <dsmith at danplanet.com>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-import os
-import sys
-from glob import glob
-
-CHIRP_VERSION = "0.3.0dev"
-
-module_dir = os.path.dirname(sys.modules["chirp"].__file__)
-__all__ = []
-for i in glob(os.path.join(module_dir, "*.py")):
-    name = os.path.basename(i)[:-3]
-    if not name.startswith("__"):
-        __all__.append(name)
+CHIRP_VERSION = "0.3.0dev"
+__all__ = ['bandplan', 'bandplan_au', 'bandplan_iaru_r1', 'bandplan_iaru_r2', 'bandplan_iaru_r3', 'bandplan_na', 'bitwise', 'bitwise_grammar', 'chirp_common', 'detect', 'directory', 'dmrmarc', 'elib_intl', 'errors', 'import_logic', 'logger', 'memmap', 'platform', 'pyPEG', 'radioreference', 'settings', 'util', 'xml_ll']
+
diff -r 22de66209348 -r 141998a54195 chirp/drivers/__init__.py
--- a/chirp/drivers/__init__.py	Fri Feb 09 16:10:18 2018 -0800
+++ b/chirp/drivers/__init__.py	Mon Feb 19 09:26:11 2018 -0800
@@ -1,10 +1,2 @@
-import os
-import sys
-from glob import glob
-
-module_dir = os.path.dirname(sys.modules["chirp.drivers"].__file__)
-__all__ = []
-for i in sorted(glob(os.path.join(module_dir, "*.py"))):
-    name = os.path.basename(i)[:-3]
-    if not name.startswith("__"):
-        __all__.append(name)
+__all__ = ['alinco', 'anytone', 'anytone_ht', 'ap510', 'baofeng_common', 'baofeng_uv3r', 'baofeng_wp970i', 'baojie_bj218', 'bf-t1', 'bj9900', 'bjuv55', 'btech', 'fd268', 'ft1802', 'ft1d', 'ft2800', 'ft2900', 'ft2d', 'ft50', 'ft60', 'ft7800', 'ft8100', 'ft817', 'ft857', 'ft90', 'ftm3200d', 'ftm350', 'generic_csv', 'generic_tpe', 'generic_xml', 'gmrsuv1', 'h777', 'hobbypcb', 'ic208', 'ic2100', 'ic2200', 'ic2300', 'ic2720', 'ic2730', 'ic2820', 'ic9x', 'ic9x_icf', 'ic9x_icf_ll', 'ic9x_ll', 'icf', 'icomciv', 'icp7', 'icq7', 'ict70', 'ict7h', 'ict8', 'icw32', 'icx8x', 'icx8x_ll', 'id31', 'id51', 'id51plus', 'id800', 'id880', 'idrp', 'kenwood_hmk', 'kenwood_itm', 'kenwood_live', 'kguv8d', 'kguv8dplus', 'kyd', 'kyd_IP620', 'leixen', 'lt725uv', 'mursv1', 'puxing', 'puxing_px888k', 'radtel_t18', 'repeaterbook', 'retevis_rt1', 'retevis_rt21', 'retevis_rt22', 'retevis_rt23', 'retevis_rt26', 'rfinder', 'rh5r_v2', 'tdxone_tdq8a', 'template', 'th7800', 'th9000', 'th9800', 'th_uv3r', 'th_uv3r25', 'th_uvf8d', 'thd72', 'thuv1f', 'tk270', 'tk760', 'tk760g', 'tk8102', 'tmv71', 'tmv71_ll', 'ts2000', 'uv5r', 'uv5x3', 'uv6r', 'uvb5', 'vgc', 'vx170', 'vx2', 'vx3', 'vx5', 'vx510', 'vx6', 'vx7', 'vx8', 'vxa700', 'wouxun', 'wouxun_common', 'yaesu_clone']
+


More information about the chirp_devel mailing list