Good day
I have BLE Stack v1.31 installed and wanted to try the SerialApp from the wiki to see how it operates. I tried to port it as explained here (http://processors.wiki.ti.com/index.php/LPRF_BLE_Porting_Projects). So in the LIB group I only have CC2540_BLE.lib and in the NPI group I have npi.c and npi.h.
After compiling I had errors that it couldn't find HCI_ProcessEvent, so in OSAL_SerialPeripheral.c I added
/* HCI */
#include "hci_tl.h"
So, next I keep receiving Error[e104]. It seems it generally occurs with a large heap size, so people suggest decreasing INT_HEAP_LEN to 1000. This app is already 1024 standard, and decreasing it still yields the same error.
I also tried commenting out some subs and variables not used with no luck.
Any help to get this running would be greatly appreciated.
Also, I'm planning on modding it to run on two CC2540 USB dongles from the dev kits.