¡@

Home 

2014/10/15 ¤U¤È 10:04:43

iphone Programming Glossary: bssid

List / Scan for available WiFis iPhone

http://stackoverflow.com/questions/4735426/list-scan-for-available-wifis-iphone

bool changed for int i 0 i scan_networks count i if networks objectForKey scan_networks objectAtIndex i objectForKey @ BSSID nil networks objectForKey scan_networks objectAtIndex i objectForKey @ BSSID isEqualToDictionary scan_networks objectAtIndex.. objectAtIndex i objectForKey @ BSSID nil networks objectForKey scan_networks objectAtIndex i objectForKey @ BSSID isEqualToDictionary scan_networks objectAtIndex i changed true networks setObject scan_networks objectAtIndex i forKey scan_networks.. i changed true networks setObject scan_networks objectAtIndex i forKey scan_networks objectAtIndex i objectForKey @ BSSID if changed NSLog @ NetworksUpdated scanning false NSLog @ Scan Finished... NSLog @ Found i networks @ networks count networks..

iPhone get SSID without private library

http://stackoverflow.com/questions/5198716/iphone-get-ssid-without-private-library

fetchSSIDInfo Supported interfaces en0 2011 03 04 15 32 00.693 ShowSSID 4857 307 ShowSSIDAppDelegate fetchSSIDInfo en0 BSSID ca fe ca fe ca fe SSID XXXX SSIDDATA 01234567 01234567 01234567 Note that no ifs are supported on the simulator. Test on.. scutil on my Mac scutil show State Network Interface en1 AirPort dictionary Power Status 1 SecureIBSSEnabled FALSE BSSID data 0xcafecafecafe SSID_STR XXXX SSID data 0x012345670123456701234567 Busy FALSE CHANNEL dictionary CHANNEL 1 CHANNEL_FLAGS..

Am I using CNCopyCurrentNetworkInfo correctly?

http://stackoverflow.com/questions/5698039/am-i-using-cncopycurrentnetworkinfo-correctly

CNCopyCurrentNetworkInfo and was wondering if I'm doing something wrong. I'm using the following code to display the BSSID of the currently connected Access Point NSArray interfaces NSArray CNCopySupportedInterfaces for NSString interface in interfaces.. CFStringRef interface if networkDetails NSLog @ all details @ NSDictionary networkDetails NSLog @ BSSID @ NSString CFDictionaryGetValue networkDetails kCNNetworkInfoKeyBSSID CFRelease networkDetails By reviewing the NSLog statements.. details @ NSDictionary networkDetails NSLog @ BSSID @ NSString CFDictionaryGetValue networkDetails kCNNetworkInfoKeyBSSID CFRelease networkDetails By reviewing the NSLog statements it appears as though CNCopyCurrentNetworkInfo is hanging onto..