author | erik <erik> | 2007-02-08 01:43:09 (UTC) |
---|---|---|
committer | erik <erik> | 2007-02-08 01:43:09 (UTC) |
commit | 853b61f97e718359bef95147ab3c7beb0705acda (patch) (unidiff) | |
tree | 7b374511f636951a2ab9ff0f9fec7ec2d64abd2a /noncore/net/opietooth/applet/bluezapplet.cpp | |
parent | c36a2e25a8875a31957968482ba8a0831a8b0aba (diff) | |
download | opie-853b61f97e718359bef95147ab3c7beb0705acda.zip opie-853b61f97e718359bef95147ab3c7beb0705acda.tar.gz opie-853b61f97e718359bef95147ab3c7beb0705acda.tar.bz2 |
This commit adds support for the HTC Universal bluetooth device to
bluezapplet. This commit is based on a patch submitted by GoXbox Live
<goxboxlive at gmail dot com> to the opie-devel mailing list.
Thanks GoXbox Live!
Diffstat (limited to 'noncore/net/opietooth/applet/bluezapplet.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/applet/bluezapplet.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/net/opietooth/applet/bluezapplet.cpp b/noncore/net/opietooth/applet/bluezapplet.cpp index 8498afc..787abc6 100644 --- a/noncore/net/opietooth/applet/bluezapplet.cpp +++ b/noncore/net/opietooth/applet/bluezapplet.cpp | |||
@@ -129,24 +129,28 @@ namespace OpieTooth { | |||
129 | btDevice = new Device( "/dev/tts/1", "bcsp", "921600" ); | 129 | btDevice = new Device( "/dev/tts/1", "bcsp", "921600" ); |
130 | break; | 130 | break; |
131 | 131 | ||
132 | case Model_iPAQ_H5xxx: | 132 | case Model_iPAQ_H5xxx: |
133 | btDevice = new Device( "/dev/tts/1", "any", "921600" ); | 133 | btDevice = new Device( "/dev/tts/1", "any", "921600" ); |
134 | break; | 134 | break; |
135 | 135 | ||
136 | #if OPIE_VERSION >= 102010 | 136 | #if OPIE_VERSION >= 102010 |
137 | case Model_MyPal_716: | 137 | case Model_MyPal_716: |
138 | btDevice = new Device( "/dev/ttyS1", "bcsp", "921600" ); | 138 | btDevice = new Device( "/dev/ttyS1", "bcsp", "921600" ); |
139 | break; | 139 | break; |
140 | #endif | 140 | #endif |
141 | case Model_HTC_Universal: | ||
142 | btDevice = new Device( "/dev/ttyS1", "texas", "115200" ); | ||
143 | break; | ||
144 | |||
141 | case Model_iPAQ_H22xx: | 145 | case Model_iPAQ_H22xx: |
142 | btDevice = new Device( "/dev/tts/3", "any", "921600" ); | 146 | btDevice = new Device( "/dev/tts/3", "any", "921600" ); |
143 | break; | 147 | break; |
144 | 148 | ||
145 | default: | 149 | default: |
146 | btDevice = new Device( "/dev/ttySB0", "bcsp", "230400" ); | 150 | btDevice = new Device( "/dev/ttySB0", "bcsp", "230400" ); |
147 | break; | 151 | break; |
148 | } | 152 | } |
149 | m_sync = sync; | 153 | m_sync = sync; |
150 | connect(btDevice, SIGNAL(device(const QString&, bool)), | 154 | connect(btDevice, SIGNAL(device(const QString&, bool)), |
151 | this, SLOT(slotDevice(const QString&, bool))); | 155 | this, SLOT(slotDevice(const QString&, bool))); |
152 | 156 | ||