summaryrefslogtreecommitdiff
authorzecke <zecke>2005-11-02 20:11:29 (UTC)
committer zecke <zecke>2005-11-02 20:11:29 (UTC)
commit18d6f344e4656e7f77497d345f1480cecd4d2f31 (patch) (side-by-side diff)
treebf9771459177e2835e1047a6178f11b420bed9e5
parent562ff5c89ae1da92172a086afc8c3ffb7eec23bd (diff)
downloadopie-18d6f344e4656e7f77497d345f1480cecd4d2f31.zip
opie-18d6f344e4656e7f77497d345f1480cecd4d2f31.tar.gz
opie-18d6f344e4656e7f77497d345f1480cecd4d2f31.tar.bz2
Opie Bluetooth Applet:
Start hciattach with the right commands for the Asus MyPal. Patch is courtsey Pawel Kolodziejski
Diffstat (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 e1c2341..5676e4f 100644
--- a/noncore/net/opietooth/applet/bluezapplet.cpp
+++ b/noncore/net/opietooth/applet/bluezapplet.cpp
@@ -103,24 +103,28 @@ int BluezApplet::position()
int BluezApplet::setBluezStatus(int c) {
if ( c == 1 ) {
switch ( ODevice::inst()->model() ) {
case Model_iPAQ_H39xx:
btDevice = new Device( "/dev/tts/1", "bcsp", "921600" );
break;
case Model_iPAQ_H5xxx:
btDevice = new Device( "/dev/tts/1", "any", "921600" );
break;
+ case Model_MyPal_716:
+ btDevice = new Device( "/dev/ttyS1", "bcsp", "921600" );
+ break;
+
default:
btDevice = new Device( "/dev/ttySB0", "bcsp", "230400" );
break;
}
} else {
if ( btDevice ) {
delete btDevice;
btDevice = 0;
}
}
return 0;
}