3

Given I have a bluetooth device which returns some serial data - how do I read it using CoreBluetooth?

There is no Characteristics or Services. Just some binary data in known (actually obd ii) format.

  • 2
    That's weird. A Bluetooth Low Energy device should have services and characteristic. Are you sure it use Bluetooth Low Energy, or just "classical" Bluetooth? – Larme May 14 '13 at 08:22
  • I'm also trying to do the same. However my peripheral isn't a device. It's a Windows program running on Windows 7 which simulates OBD II data through a COM port via BLE. But my iOS app doesn't detect it. – Isuru Aug 13 '16 at 12:15

3 Answers3

0

I think iOS blocks the access to the serial port over bluetooth.

You might need to buy extra hardware, use WiFi, or jailbreak it.

RS232 for iOS device

Community
  • 1
  • 1
Eric Smekens
  • 1,602
  • 20
  • 32
0

Try using roqyOBD if you manage to jailbreak your iPhone. I believe that it creates a TCP server that you can use FuzzyLuke's OBD2Kit and thus read the PID's that are sent from the OBD-II interface to the iPhone.

Let me know how it goes! I myself am tinkering OBD-II with iPhone and am learning just like you.

Michael
  • 31
  • 5
0

You probably have a Bluetooth 2.0 or 3.0 device which is not BTLE compliant. CoreBluetooth is an implementation of BTLE, hence you can't use said device on (non-jailbroken) iOS. There are a lot of BTLE compliant devices these days, so better get one of those, if you want to interface with iOS.

DrMickeyLauer
  • 4,455
  • 3
  • 31
  • 67