Project

General

Profile

Bug #1041 » kguv6V2.py

Experimental driver for new wouxun KG-UV6D V2 - Filippi Marco, 09/01/2013 04:31 AM

 
1
# Copyright 2011 Dan Smith <dsmith@danplanet.com>
2
#
3
# This program is free software: you can redistribute it and/or modify
4
# it under the terms of the GNU General Public License as published by
5
# the Free Software Foundation, either version 3 of the License, or
6
# (at your option) any later version.
7
#
8
# This program is distributed in the hope that it will be useful,
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11
# GNU General Public License for more details.
12
#
13
# You should have received a copy of the GNU General Public License
14
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
15

    
16

    
17
from chirp.wouxun import KGUV6DRadio
18
from chirp import directory
19

    
20
@directory.register
21
class KGUV6DV2Radio(KGUV6DRadio):
22
    """Wouxun KG-UV6D V2"""
23
    VENDOR = "Wouxun"
24
    MODEL = "KG-UV6DV2"
25
   
26
    _querymodel = "HiKGUVD1\x02"
27
    
28
    @classmethod
29
    def get_experimental_warning(cls):
30
        return ('This is a very experimental version of the Wouxun driver for new KG-UV6D V2 radios. '
31
                'Please do not use it if not directed by a developer. You have been warned. Proceed at your own risk!')
(7-7/7)