How can I only connect to specific wifi access point

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.
 
P

Paul G. Tobey [eMVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top