I need sample code to detect bluetooth 4.0 devices. I am using iPhone 5 with iOS6.0 (iPhone 4s should also work since it uses Bluetooth 4.0)
Right now I have a Bluetooth 4.0 dongle that I can see in the iPhone Bluetooth setting page. However I took the sample code from Apple Developer CoreBluetooth HeartMonitor, changed UUID setting to Nil, but the app cannot find any devices using scanForPeripheralsWithServices method.
Please only bid if you know what I'm talking about. Your code must allow me to successfully scan the device.