Tom's Hardware > Forum > Smartphones & PDAs > Windows Mobile > How to distinguish external bluetooth devices

How to distinguish external bluetooth devices

Forum Smartphones & PDAs : Windows Mobile - How to distinguish external bluetooth devices

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.dotnet.framework.compactframework,comp.os.ms-windows.ce,microsoft.public.pocketpc (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

Sponsored Links
Register or log in to remove.
Tom's Hardware > Forum > Smartphones & PDAs > Windows Mobile > How to distinguish external bluetooth devices
Go to:

There are 1236 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them