Re: about bluetooth status detect???
- From: "Fabien" <fab_00_2002@xxxxxxx>
- Date: 21 Sep 2006 04:52:22 -0700
Hi,
If you use WM 5.0, you can use the new State and Notifications Broker
API to retrieve system state information, there are lot of
functionnalities :
using Microsoft.WindowsMobile.Status then :
SystemState.ConnectionsBluetoothDescriptions
you will get a semicolon delimited string containing the description of
each of the Bluetooth connections...
BR
Fabien Decret
Windows Embedded Consultant
ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/
Peter Foot [MVP] a écrit :
It depends on the stack used on the device. For devices with the Microsoft
stack you can P/Invoke the BthGetMode API, or use this existing wrapper
library - http://32feet.net
--
Peter Foot
Device Application Development MVP
www.peterfoot.net | www.inthehand.com
"shany" <shany_cn@xxxxxxxxxxx> wrote in message
news:%23au0FHW3GHA.2152@xxxxxxxxxxxxxxxxxxxxxxx
Hi~
I'v developed a programme by Vb & .Net and it works well in wm5.0.
In the programme bluetooth working as a COM port.But there is a problem :
it can't detect bluetooth's status!
if bluetooth has been opend in system, it's OK. if not an "IOException"
would occur.
How can I solve this bug?
In programme I just simply open Com port like this :
--
shany
2006.9.21
.
- References:
- about bluetooth status detect???
- From: shany
- Re: about bluetooth status detect???
- From: Peter Foot [MVP]
- about bluetooth status detect???
- Prev by Date: Re: How to retrieve the count of the mailboxes on ppc2003
- Next by Date: Click at start of WAV playback
- Previous by thread: Re: about bluetooth status detect???
- Next by thread: Click at start of WAV playback
- Index(es):
Relevant Pages
|