Re: "complex" Bluetooth handling
flat view
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Date: 2016-06-15 07:53:18
Hi Marco, On Wed, Jun 15, 2016 at 10:20 AM, Marco Trapanese [off-list ref] wrote:
Il 15/06/2016 08:54, Ben-melech, Shiran ha scritto:quoted
For BLE there is a library called TinyB which is pure c++ https://github.com/intel-iot-devkit/tinyb Although I'm not sure it support classic BL profiles but I guess you can start with that.Thanks, it's interesting but I think it's just a guide to make my own library because it doesn't support GATT server yet:quoted
At this time it is not possible to create a BLE server(from https://github.com/intel-iot-devkit/tinyb/issues/16) I found an example in Qt5: https://doc-snapshots.qt.io/qt5-dev/qtbluetooth-heartrate-server-example.html I will try it as soon as possible. If it works only ANCS is still uncovered.
I guess you don't want a mixed topology with both LE/BR, in that case you will probably need to work in support GATT over BR/EDR properly since the focus was on LE link. For audio, and media in general, that have been a lot of work around car IVI systems, so provided you use the same components (e.g. PulseAudio, oFono) this should work out of the box. -- Luiz Augusto von Dentz