I just acquired a Bean+ to port my Arduino based ECG device to.
I did get it to work on an Ubuntu platform, my intention is to port it to Android later.
However, I am disappointed with the BLE speed I am achieving.
Initially, I used virtual serial, but that gave me a sampling rate on the analog port of at most 10 Hz, where I do need a few 100 Hz.
Using scratch characteristics, I can now reach about 50Hz, since the setScratchData call takes about 20 ms.
Packing multiple samples into one scratch buffer gives me some more speed, but also adds the complication that the sampling rate is not constant, since once every few samples I need to call setScratchData.
I assume BLE itself allows a much higher throughput, since one should be able to stream e.g. audio over it.
Is there any other API that can be used for this purpose?
If not, is the underlying firmware available so I can inspect and hopefully optimize it?