I am trying to come up with a BLE solution for a Linux based audio project. The Linux target would function as a hardware appliance and as such would appear as a BLE peripheral. An iOS device would control the target and as such would be the BLE central. The BLE HW on the Linux target is a USB device, so it could be a Nordic dongle.
I've looked into the BLE environment on Linux and it looks quite messy, between Bluez, the DBUS API, the various adapters for DBUS, etc.
Since I've already written a BLE peripheral app for NRF51822 which talks over UART to a STM32 host, and have iOS code to talk to that app, it might be more attractive to simply adapt that application to talk to the Linux host using a custom (but simple) protocol. The transport layer between Nordic App and Linux Host could be either "UART over USB" or USB HID.
So, two questions:
1. Is support for this sort of idea part of the ecosystem for the Nordic dongle? Any information about development flow and such would also be appreciated. Oh, BTW, I currently have an NRF51422 dev board and working development chain for it up and running and tested.
2. Are there any example programs that might vaguely resemble what I'm trying to do here.
Any help would be vastly appreciated.