Connect to an iOS8.1 Bluetooth Mobile Device

New to all CoreBlooth stuff here. I have successfully written a small application to connect to a Wahoo Blue HR heart rate monitor and extract bpm for heart rate, etc. I used the tutorial below, but rewrote the code quickly.

Tutorial Link

Now I'm trying to write a simple application to get the blood pressure readings from the Bluetooth LE BP reader that I have. The model in question is iHealth BP5.

When I browse this device using the following code, I get nothing.

func centralManagerDidUpdateState(central: CBCentralManager!) {

    if central.state == CBCentralManagerState.PoweredOff {
        println("CoreBluetooth BLE hardware is powered off")
    }
    else if central.state == CBCentralManagerState.PoweredOn {
        println("CoreBluetooth BLE hardware is powered on and ready")
        let IHEALTHBP5_BP_DEVICE_INFO_SERVICE_UUID = CBUUID(string:"1810")
        let services = [IHEALTHBP5_BP_DEVICE_INFO_SERVICE_UUID]
        centralManager!.scanForPeripheralsWithServices(services, options: nil)
    }

}

I obviously changed the service UUID to a BP monitor and checked using the LightBlue iPad and the start of the blood pressure service. Does it work fine with an iPad simulating a BP service, but not with the BP5 device itself?

- , ? , .

, BP5 "" Bluetooth iOS , . , -, BP5 ?

, , bluetooth.

.

PS , "" bluetooth, bluetooth , , .

let connectedPeripherals =   centralManager!.retrieveConnectedPeripheralsWithServices(services)
        println("Number of Connected Devices : \(connectedPeripherals.count)")
+1
1

- , " : Bluetooth V3.0 + EDR Class 2 SPP", "" " Bluetooth, Bluetooth Low Energy/Bluetooth 4.0. , Core Bluetooth.

. , MFi, , , , BLE BP, GATT.

+6

All Articles