Other Parts Discussed in Thread: CC2640
I m using SPP BLE SERVER example. I need to receive data from another board and send it over BLE as multiple notifications. I m successful in receiving data upto size of 256 from UART. But as the size goes beyond 256, i receive only 256 characters. I have following #defines
//! \brief Max bytes received from UART send to App
#define MAX_UART_LENGTH 512
// UART ISR Buffer define
#define UART_ISR_BUF_SIZE 512 //128
#define UART_ISR_BUF_CNT 4 //2
#define SDI_TL_BUF_SIZE 300
I am using SDIRxBuf_ReadFromRxBuf(buf, length) API to receive data from UART. length and buf is declared as uint16 length and buf[SDI_TL_BUF_SIZE] ={0x00,};
Stack used is v.2.2.1 and compiler is 5.2.6. also CCS v7 is the IDE.
Is there any other parameters that i should look on to avoid the issue??