summaryrefslogtreecommitdiff
path: root/noncore
authorerik <erik>2007-02-08 01:43:09 (UTC)
committer erik <erik>2007-02-08 01:43:09 (UTC)
commit853b61f97e718359bef95147ab3c7beb0705acda (patch) (side-by-side diff)
tree7b374511f636951a2ab9ff0f9fec7ec2d64abd2a /noncore
parentc36a2e25a8875a31957968482ba8a0831a8b0aba (diff)
downloadopie-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') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/applet/bluezapplet.cpp4
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 {
btDevice = new Device( "/dev/tts/1", "bcsp", "921600" );
break;
case Model_iPAQ_H5xxx:
btDevice = new Device( "/dev/tts/1", "any", "921600" );
break;
#if OPIE_VERSION >= 102010
case Model_MyPal_716:
btDevice = new Device( "/dev/ttyS1", "bcsp", "921600" );
break;
#endif
+ case Model_HTC_Universal:
+ btDevice = new Device( "/dev/ttyS1", "texas", "115200" );
+ break;
+
case Model_iPAQ_H22xx:
btDevice = new Device( "/dev/tts/3", "any", "921600" );
break;
default:
btDevice = new Device( "/dev/ttySB0", "bcsp", "230400" );
break;
}
m_sync = sync;
connect(btDevice, SIGNAL(device(const QString&, bool)),
this, SLOT(slotDevice(const QString&, bool)));