Click here to get back home

About the ConnMgr's connections path selection logic

 HomeNewsGroups | Search | About
 microsoft.public.smartphone.developer    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
About the ConnMgr's connections path selection logic Leo 06-28-2006
Get Chitika Premium
Posted by Leo on June 28, 2006, 11:35 pm
Please log in for more thread options
Base on 2 questions as below:
1. How to do step debugging while use real carrier network like GPRS?
For my experiences, once you cradled, will use work network
automatically. Is that
true, or something options could solve the case?

2. If there are more connections, like WIFI, GPRS, the ConnMgr would
compulate the least cost
connections set since WiFi typically has higher bandwidth than GPRS.
My problem is : How can i specify the connection by myself, i don't
want to use any other connection except for GPRS.

A few article give some clues that ConnMgrMapConRef could do that,
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mobilesdk5/html/wce51grfConnMgrMapConRef.asp

How to fill these parameters, e is type of connection refernce, but
just 2 kinds. I don't the meaning even more.
szConRef can be any string?


Possible Soultion: If we could set up our Fixed connection path. may be the
first question will be resolved for not using work connection.
If not call ConnMgrMapURL, the Connction Planner would not select the
connections set?
the ConnMgrMapConRef just get the GUID only? or do extra works?
GUID gid = {0x436ef144,0xb4fb,0x4863,{0xa0, 0x41, 0x8f, 0x90, 0x5a,
0x62, 0xc5, 0x72}};
// I used the gid (actually is IID_DestNetInternet), filled the field
ConnInfo.guidDestNet.
// That does work, but cradled case still using work connection.
That confused me a lot, could you share your experiences?
Any help or clues will be much appreciated!

Thanks.

-Leo



Similar ThreadsPosted
Bluetooth max connections to a service. May 21, 2007, 6:04 am
How to turn on both GPRS and Wi-Fi connections at the same time?? March 21, 2006, 9:17 pm
ActiveSync passthrough and incoming TCP connections - no solution? July 4, 2005, 4:21 am
i'm trying to make a list of RAS connections on a pocket pc 2003 d September 28, 2007, 12:05 am
Item selection in a ListBox July 21, 2005, 3:03 am
Menu selection on reminders October 9, 2007, 6:52 am
About 'Capture Device Selection' in DirectShow February 7, 2006, 4:34 am
Listbox spin button vs. selection list August 3, 2005, 2:27 am
Path for ONEXIT.C July 6, 2005, 12:58 am
Call Voice Path on WM 5 August 27, 2006, 11:40 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap