Is there a way to get Signal strength from Iphone using wifi ? I know that Public API's do not allow. Istumbler allows it. But it is closed.
With the Private API's is it possible ? I do not want to keep on app store, so I do not mind that.
Would the code for that be available ?
Thanks for that.
I found one code for that :
int getSignalStrength()
{
void *libHandle = dlopen("/System/Library/Frameworks/CoreTelephony.framework/CoreTelephony", RTLD_LAZY);
int (*CTGetSignalStrength)();
CTGetSignalStrength = dlsym(libHandle, "CTGetSignalStrength");
if( CTGetSignalStrength == NULL) NSLog(@"Could not find CTGetSignalStrength");
int result = CTGetSignalStrength();
dlclose(libHandle);
return result;
}
But I dont know what I should pass in "/System/Library/Frameworks/CoreTelephony.framework/CoreTelephony".
I have never used IOS development. But I want to run this and test. Can anyone help me what I should do ?
How I should keep the code ?