I'm trying to look for other iphone via bluetooth with iphone app written in objective-C. I was inspired by this plugin to cordova: github.com/don/cordova-plugin-ble-central
by changing the part related to scanning: https://github.com/don/cordova-plugin-ble-central/blob/master/src/ios/BLECentralPlugin.m#L235
As per the documentation:https://developer.apple.com/library/prerelease/ios/documentation/CoreBluetooth/Reference/CBCentralManager_Class/index.html#//apple_ref/occ/instm/CBCentralManager/scanForPeripheralsWithServices:options:
you can not set any parameter to retrieve all devices with Bluetooth turned on in the vicinity, but this does not work.
Does anyone know how to fix?