Project

General

Profile

New Model #935 » kguvd1new.py

Experimental driver for new wouxun kguvd1 purchased after 2/1/13 - Filippi Marco, 06/24/2013 04:00 AM

 
# Copyright 2011 Dan Smith <dsmith@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/>.


from chirp.wouxun import KGUVD1PRadio
from chirp import directory

@directory.register
class KGUVD1PNewRadio(KGUVD1PRadio):
"""Wouxun KG-UVD1P New (purchased after 2/1/13)"""
VENDOR = "Wouxun"
MODEL = "KG-UVD1P New"
_querymodel = "PROGUV6X\x02"
@classmethod
def get_experimental_warning(cls):
return ('This is a very experimental version of the Wouxun driver for new radios purchased after 2/1/13. '
'Please do not use it if not directed by a developer. You have been warned. Proceed at your own risk!')
(2-2/3)