How can I only connect to specific wifi access point

  • Thread starter Thread starter Smart
  • Start date Start date
S

Smart

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.
 
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.
 
Back
Top