Welcome to Soft32 Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

How to distinguish external bluetooth devices

 
   Soft32 Home -> PDA -> Pocket PC General RSS
Next:  Pocket PC 2003  
Author Message
Francesco

External


Since: Jun 24, 2004
Posts: 4



(Msg. 1) Posted: Wed Jun 23, 2004 7:22 pm
Post subject: How to distinguish external bluetooth devices
Archived from groups: microsoft>public>dotnet>framework>compactframework, others (more info?)

Hi all,
I am writing a connection manager component for my application.
I need to create connections and all other parameters via code, then I
use OpennetCF connection Manager to connect to the destination I need.
In more detail, I do the following steps:

- Create Ras Connection, using the modem I'll define next step, using
the ras API.

- Create a new HKLM\ExtModems\New_Modem voice with the infos about the
extra AT commands and the port to use. For example:
[HKEY_LOCAL_MACHINE\ExtModems\GPRS Bluetooth]
"Port"="BTC1:"
"DeviceType"=dword:00000001
"FriendlyName"="GPRS Bluetooth"
"init"="AT+CGDCONT=1,\"IP\",\"web.omnitel.it\"

- Create a new HKLM\SOFTWARE\Microsoft\ConnMgr\Destinations\New_destination
wih the info about the destination I will choose using connection
Manager's connect method. For example:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ConnMgr\Destinations\GPRS]
"DestId"="{EE19A8C7-1A5B-40D7-85A9-B7AAD441D828}"

- Bind the info about the RAS connection I created, adding the correct
values in the registry at
HKLM\SOFTWARE\Microsoft\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\Connections\Ras_Entry
for example:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\Connections\GPRSNokia]
"RequirePw"=dword:00000001
"Enabled"=dword:00000001
"EntryType"=dword:00000000
"DestId"="{EE19A8C7-1A5B-40D7-85A9-B7AAD441D828}"


Doing so, when I connect to the GPRS destination, The GPRSNokia Ras
connection should be dialled, using the modem I specified under the
extmodems key.
My problem is that the extmodem is the bluetooth port, which connects
to a Nokia phone. But I have also a UMTS phone associated with the
PDA, and the call is send to that phone instead of the nokia one. so
the question is:

How can I distinguish between all the dispositives associated to my
PDA via bluetooth, to be able to talk with the one I need?

My hardware is: Hp Ipaq 5550, pocket Pc 2003; Nokia i6310; motorola
a835
Hope someone can help me!!
Thanks
Francesco
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Move Programs To External Card - I know that it is possible to choose an expansion card when installing programs to my PocketPC, but is it possible to t...

unresolved external symbol __chkesp - Hi all, I have tried to link a static lib under eMbVC++ 4.0 and got the following message. ib.lib(bit.obj) : error L...

External battery pack for 5450 problems - A while ago I bought an external battery pack that runs on 4 AA alkaline batterys and clips on to the cradle chare/sync...

iPaq 4150 + External USB2.0 HD = possible? - Is it possible to connect an external USB 2.0 harddisk to iPaq 4150? Through iPaq's existing port or additional add-on?...

external input device (joystick, gamepad etc) - Hi group! Anyone knows some vendors of input devices for a pocket pc, preferentially bluetooth? I'm not looking for a ...

External VGA adapters and HP Ipaq H5550 - The Westtek ClearVue Suite for Pocket PC ( http://www.westtek.com/ppc.htm ) supports external VGA adapters with e.g. Po...
       Soft32 Home -> PDA -> Pocket PC General All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
 Windows
 Linux
 Mac
  PDA


[ Contact us | Terms of Service/Privacy Policy ]