Tool/software:
Hi,
Currently I am working on basic_ble Peripheral profile project. And we are facing an issue when trying to send 1000 bytes of data in a interval of 100ms continuously on UART 115200 baud rate from module to mobile continuously with the MTU size of 20 bytes (we are you waiting for the previous notification to be sent before the next one is queued up to send). After multiple packet transmission from the module,
we are facing an link termination event. Where checking the reason of link termination has received #define LL_STATUS_ERROR_PEER_TERM 0x13 // Remote User Terminated Connection.
#define UART_MAX_READ_SIZE 1000
uint8_t uartReadBuffer[UART_MAX_READ_SIZE];
UART2_read(uart, &uartReadBuffer, UART_MAX_READ_SIZE, 0);
Status = SimpleGattProfile_setParameter(SIMPLEGATTPROFILE_CHAR4, 20, &uartReadBuffer[SentDataLen]);
And here we tried setting the interval calling SimpleGattProfile_setParameter() with 10 milliseconds and without delay. Still facing an disconnection.
Kindly help us with this issue.
SDK Version : simplelink_lowpower_f3_sdk_8_10_01_02
CCS version: CCS 12.7.1
regards,
Vignesh.