Added HTC Universal bluezapplet.cpp

"GoXbox Live" <[email protected]> Thu, 25 Jan 2007 14:37:57 +0100
Newsgroups gmane.comp.handhelds.opie.devel
Message-ID <[email protected]>
Hi.
This patch adds HTC Universal to the bluezapplet.cpp. I have tried it today
and it works. I have an issue with "discover" though, but at least the
enabling/disabling bluetooth with the applet is starting/stoping hciattach .


goxboxlive

_______________________________________________

http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndex

Opie-devel mailing list
[email protected]
https://handhelds.org/mailman/listinfo/opie-devel
bluezapplet.cpp.patch (application/octet-stream, 820 B)
Index: noncore/net/opietooth/applet/bluezapplet.cpp
===================================================================
RCS file: /cvs/opie/noncore/net/opietooth/applet/bluezapplet.cpp,v
retrieving revision 1.30
diff -u -r1.30 bluezapplet.cpp
--- noncore/net/opietooth/applet/bluezapplet.cpp        7 Jul 2006 10:39:20 -0000       1.30
+++ noncore/net/opietooth/applet/bluezapplet.cpp        25 Jan 2007 13:31:44 -0000
@@ -138,6 +138,10 @@
                 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;