I'm developing a system of indoor position use wifi. however I am having problems with relation to this library of apple. was once private is now public.
where I use the code.
libHandle = dlopen(”/System/Library/SystemConfiguration/IPConfiguration.bundle/IPConfiguration”, RTLD_LAZY);
apple80211Open = dlsym(libHandle, “Apple80211Open”);
apple80211Bind = dlsym(libHandle, “Apple80211BindToInterface”);
apple80211Close = dlsym(libHandle, “Apple80211Close”);
apple80211Scan = dlsym(libHandle, “Apple80211Scan”);
apple80211Open(&airportHandle);
apple80211Bind(airportHandle, @”en0″);
this is code work in IOS6 - in root /Application
to scan the antenna next to the device in case an Iphone. and thus measure the distance in relation antennas.
put the apple blocked access to this library. I wonder if there is any other option for this development. a new library. that perform the same functions.
do not intend to jailbreak the app works perfect when installed in the root folder of the device.
however intend to publish the source code to the community. and even launch a test app in apple store.
thanks for the help. att Eduardo Rabelo email eduardorabelo@live.com
来源:https://stackoverflow.com/questions/13541993/iphone-802-11-scan