|
|
|
start date: Fri, 13 Jul 2007 04:43:27 -0700,
posted on: microsoft.public.dotnet.framework.compactframework
back
| Thread Index |
|
1
Smart
|
|
2
Paul G. Tobey [eMVP] p space tobey no spam AT no instrument no spam DOT com
|
How can I only connect to specific wifi access point
We are developing a compact framework application requires only
connect to access point which user select, no matter GPRS or WIFI. We
got most parts figured out, only fail in one scenario. If the device
provisioned two preferred access points, when the wifi card is turned
on, it always connect the first one in preferred list. If this
connection to access point is not user selected, we switch access
point in preferred list, that works fine. But if the user select
access point fails, the second on the list will automatically connect.
When we ping ip, device get valid ip. So the code think user access
point is connected successfully.
So my question is, 1. is it possible to stop system automatic
connection when the wifi card is on? 2. how can I force the system
only connect selected access point, if connection fails, do not try to
connect other access point and return error instead.
We are using window mobile 5 and netcf 2.0 sp1
Thanks in advance.
Date:Fri, 13 Jul 2007 04:43:27 -0700
Author:
|
Re: How can I only connect to specific wifi access point
The basic answer is *don't have two SSID values in the preferred list*.
Only have the one that you want to connect with.
Paul T.
"Smart" wrote in message
news:1184327007.722540.76410@o61g2000hsh.googlegroups.com...
> We are developing a compact framework application requires only
> connect to access point which user select, no matter GPRS or WIFI. We
> got most parts figured out, only fail in one scenario. If the device
> provisioned two preferred access points, when the wifi card is turned
> on, it always connect the first one in preferred list. If this
> connection to access point is not user selected, we switch access
> point in preferred list, that works fine. But if the user select
> access point fails, the second on the list will automatically connect.
> When we ping ip, device get valid ip. So the code think user access
> point is connected successfully.
> So my question is, 1. is it possible to stop system automatic
> connection when the wifi card is on? 2. how can I force the system
> only connect selected access point, if connection fails, do not try to
> connect other access point and return error instead.
>
> We are using window mobile 5 and netcf 2.0 sp1
>
> Thanks in advance.
>
Date:Fri, 13 Jul 2007 08:24:49 -0700
Author:
|
|
|