View Full Version : Turn on / off Bluetooth
MC-Bechtmann
10th October 2009, 11:29 PM
Hello,
i want to turn on bluetooth on my Touch Pro 2.
I tried it with BthSetMode( BTH_CONNECTABLE ); but doesn't work. nothing happen.
The function returns (int) 1359:
ERROR_INTERNAL_ERROR --> An internal error occurred.
Is there another way to turn on bluetooth on my phone?
Thanks
MC-Bechtmann
MC-Bechtmann
11th October 2009, 01:31 AM
ok, i found a solution myself. I have to use the widcomm SDK. Now, i can start Bluetooth with creating a new CBtIf Object. But how can i turn off Bluetooth?
I tried it with WIDCOMMSDK_Shutdown(), but it doesn't work. i close my application and bluetooth still turned on.
How can i turn it off?
atomclock
6th June 2010, 04:46 PM
ok, i found a solution myself. I have to use the widcomm SDK. Now, i can start Bluetooth with creating a new CBtIf Object. But how can i turn off Bluetooth?
I tried it with WIDCOMMSDK_Shutdown(), but it doesn't work. i close my application and bluetooth still turned on.
How can i turn it off?
I have tried the same thing with no luck. Has anyone found a solution to this?
thanks
Aaron McCarthy
7th June 2010, 07:30 AM
uh.... why dont you just go into your com manager and turn the bluetooth on and off?
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.