I want to build a Raspberry Pi app to communicate with 3 or 4 Bluetooth LE servers (which will be Arduino 101’s, in fact). The Bluez library on the Pi (and elsewhere) is notoriously short on documentation, particularly for the API. I can communicate with my 101’s fine using command-line tools, but these are not, unfortunately, direct commands – first I have to invoke a special environment (eg bluetoothctl). Otherwise I could look at Soft Declare or Spawn.
But rather than use command-line tools via one of these mechanisms I feel it must be better to use a direct API.
Does anyone have any experience, advice, examples or working code which implements BLE on the Pi in Xojo?