from the Guide to Accessing Bluetooth Devices , I read that the Bluetooth API must be accessible from C or C ++. I found some C-headers (IOBluetoothUserLib.h, Bluetooth.h) in the IOBluetooth structure that are Bluetooth related and contain listings and data structured to define search creteria, but I can not find any function that accepts such Numbering or data structure as a parameter. According to the documentation, I would have to create a CBCentralManager, but I could not find a way to do this with C or C ++.
Reference Information. We use OS / X as a development platform to develop microcontrollers with BLE support. To update the firmware on these microcontrollers, I want to write a BLE bootloader, and I want the command line client to update the firmware. All code is written in C ++, and I would not want to learn objectiv-C for this small task.
Any pointers, documentation, examples?
Thank you
Thorsten
source share