Other Parts Discussed in Thread: CC2640,
Tool/software: TI-RTOS
Hi All,
CC2640 Newbie here, so please be as clear as you can... My issue is this:
I was able to compile and run "simple-peripheral" application on my demo board. Also, I've compiled an app on Android which scans for (connectable) BLE devices. All in all, everything works perfect, I am able to scan, connect, read services and characteristics of my demo board. There is one problem, however,
I need the demo board to be able to send 4Mb of data to Android application (using BLE, of course), and perhaps receive 1Mb of data from the Android app.
So, what is the best approach here? Shall the demo board be peripheral only? Is that enough to send and receive data?
Also, can anyone guide me to resources on how to modify the simple peripheral to send user defined data? I.e. if the advertisement data is sent using this function:
// Advertisement data (max size = 31 bytes, though this is
// best kept short to conserve power while advertising)
static uint8_t advertData[] =
{
...
}
It would be difficult to send all, 4Mb of data.
Can anyone help?