1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# -*- coding: utf-8 -*-
# Copyright (C) 2007-2009 Vodafone EspaƱa, S.A.
# Copyright (C) 2008-2009 Warp Networks, S.L.
# Author: Andrew Bird
#
# 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 2 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, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
from wader.common.hardware.icera import IceraWCDMADevicePlugin
from wader.common.consts import MM_IP_METHOD_STATIC
class ZTEK3805(IceraWCDMADevicePlugin):
""":class:`~wader.common.plugin.DevicePlugin` for ZTE's Vodafone K3805"""
name = "ZTE K3805"
version = "0.1"
author = "Andrew Bird"
__remote_name__ = "K3805-z"
__properties__ = {
'usb_device.vendor_id': [0x19d2],
'usb_device.product_id': [0x1003],
}
hardcoded_ports = (0, 1)
dialer = 'hso_native'
ipmethod = MM_IP_METHOD_STATIC
zte_k3805 = ZTEK3805()
|