Hello everyone,

I am having issues connecting to a network that is physically located next to 
my N1.  I am using the 2.1 SDK.  The code snippet for my connection is:

WifiConfiguration wifiConfig = new WifiConfiguration();
wifiConfig.BSSID="00:0C:41:F5:B0:08";
wifiConfig.SSID="\"linksys\"";
wifiConfig.hiddenSSID=false;
wifiConfig.priority=1000;
                
WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE);
int netId = wifi.addNetwork(wifiConfig);
wifi.enableNetwork(netId, true);

I have the appropriate Wifi permissions set in my manifest file.  When looking 
at ddms, I do not see any errors when enabling the network, but the connection 
is not made.  I do not see any association packets being sent to my access 
point.  In the N1 Wireless Management page, I see the definition for the 
network that I defined, but the status of the entry is "Not in range, 
remembered".

If you have any pointers, sample code, or guides, that would be greatly 
appreciated!

Take care,

Dan


-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to