objective c - How to detect on ios7 all available bluetooth devices? -
objective c - How to detect on ios7 all available bluetooth devices? -
i find available bluetooth devices (device name, , rssi) on ios7, dont know how. tried utilize core bluetooth framework, doesnt see android phone, , windows notebook... if go settings -> bluetooth show phone , other devices.
which framework should have utilize this?
(i utilize ipad 3 test application.)
use lgbluetooth, here basic code scanning peripherals.
[[lgcentralmanager sharedinstance] scanforperipheralsbyinterval:4 completion:^(nsarray *peripherals) { (lgperipheral *peripheral in peripherals) { nslog(@"name: %@ rssi: %d", peripheral.name, peripheral.rssi); } }];
objective-c iphone ios7 bluetooth
Comments
Post a Comment