EC200U QuecOpen Uart Demo

Module: EC200U-CNAA

Firmware version : LTE01R03A04_C_SDK_U

Application: uart_demo.c (Port 1)

Details:
a. TX & RX buffer size are 2048
b. connected external GPS module to the QL_UART_PORT1
c. receiving data

Problem:
a. Max Rx data length is 64 bytes.
b. how to receive the buffer data until CR /LF received on UART port?

reference: Cool host screenshot

Hi @Inventor_TM,
You can use a temporary variable and detect CR/LF with your own logic. The 64 bytes limitation cannot be changed.

Victor,
Thank you for the quick response.
Is 64 bytes is hardware limitation.
Incase, yes - I’m little curious,
what’s the meaning of defining RX Buffer size of 2048 in application?

The RX buffer size in the demo code is the size of said “temporary variable”.

General query:
During debug - Cool watcher displays restart from blue screen.
Is there any way to check which application / code has triggered restart / blue screen?

Please guide as this will be helpful to determine and address the actual bug

Coolwatcher should show blue screen logs in the event of blue screen. There you can find out which task was running, and that is very likely to be the cause.

currently, i am working with socket_demo.c

i have added delay on line no.273

this delay works upto 50 secs. and application runs properly. and receives the data in recv_buf

When the delay increased - say 120 secs. recv_buf - recv_len is 0 and applcation goes to branch loop: (line no. 184)

i wonder is there any timeout occours?