I'm trying to communicate between an iOS app and Raspberry Pi using Bluetooth. The Raspberry Pi is using a Python script for this purpose.
I was originally using the PyBluez
library, however this does not support Bluetooth LE and thus can't be used with CoreBluetooth
on iOS.
My next solution was to use the private BluetoothManager
framework to communicate with the Pi, but this doesn't work on iOS 7.
I've researched a bit more and have seen suggestions for manually sending/receiving LE packets with PyBluez, but this seems incredibly complex and I really have no idea where to start.
So at the moment, I'm stuck. I need either:
- A solution to communicate with a non-LE Bluetooth device via iOS, or
- A solution for advertising and communicating as a LE device on the Raspberry Pi via Python