real-time data and caching/forwarding

08 Mar 2012

Hi guys,

I'm trying to record real-time data sampling at 150 times a second. These samples are stored on a linked list and later sent to a Bluetooth module via serial interface. The problem I'm having is that every time the data is pushed to the bluetooth module, there is a slight delay. Therefore, data cannot be recorded. Currently's it's just a standard C program (iterative). I was just wondering what are some possible solutions to overcome this (data has to be sent through Bluetooth).

Cheers, Eric

08 Mar 2012

My first question is, do you really need your data to be in a linked list? The easiest solution I see would be to use 2 arrays (for double buffering) and send one by GPDMA while writing into the other.

04 Dec 2012

Bluetooth, ACL, Ubertooth, Proof of Concept, promisuous mode, mac harvesting, Dearborn Michigan mbed1768, online compiler, NXP Open1768. -> Tiberious Initiative