If I am not mistaken, the Open and Close are for loading and unloading
the library.

>From the API Reference, I find "The user can turn the radio on and off
with a setting in the preferences panel."

You might look at the preference reference manual...

http://www.accessdevnet.com/docs/palmos/PalmOSReference/Preferences.html

Or maybe with the BlueToothGeneral preferences with

http://www.accessdevnet.com/docs/palmos/PalmOSReference/BtLibRef_Mgt.html#1029612

Eric

On Wed, Sep 10, 2008 at 9:19 PM, Ben Rittgers <[EMAIL PROTECTED]> wrote:
> I think you are not supposed to turn it off programmaticly because you will
> introduce delay if the user switches to another application which uses
> Bluetooth.  It's like with the net library API call.  That allows someone to
> browse on the browser than send an e-mail without reconnecting.  If your
> connection is your Bluetooth enabled cell phone then is not desirable to
> shut off that connection when they exit your application.
>
> BtLibClose is sufficient to turn off BT for your application.  That way you
> don't break the send command functionality.
>
> Benjamin Rittgers
> http://writerbenjamin.com
> [EMAIL PROTECTED]
>
> Harald Schlangmann wrote:
>>
>> In my oppinion, neither BtLibOpen turns BT on nor does BtLibClose turn it
>> off. It is just about the programmatic connection to the physical device.
>> I
>> would be interested in a way to turn on / off the hardware (as it is done
>> in
>> the Bluetooth app) too...
>>
>> Grüße, Harald
>>
>> -
>> Harald Schlangmann
>> http://www.gps-laptimer.de
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: John Wilund [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 10.
>> September 2008 12:57
>> An: Palm Developer Forum
>> Betreff: Re: Bluetooth switch on or off
>>
>>> Hello,
>>> is there any way how to switch bluetooth programatically on or off? The
>>> only way I have found is BtLibOpen to turn on...
>>>
>>> Thanks in advance.
>>> Hynek Sladky
>>
>> Try BtLibClose!!!
>>
>>
>> http://www.accessdevnet.com/docs/palmos/PalmOSReference/BtLibRef_Mgt.html#10
>> 28751
>>
>> /John
>>
>
> --
> For information on using the ACCESS Developer Forums, or to unsubscribe,
> please see http://www.access-company.com/developers/forums/
>



-- 
Eric Bresie
[EMAIL PROTECTED]

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to