sorry for the wrong information
actually when baudrate is 115200 is receiving upto 170000 bytes data from mobile if more then that it is not receiving and also it is expecting reset.
if baudrate is 57600 it is receiving more then 170000 bytes data.
I suspect that the WDT resetting the device. The default watchdog timeout is set to 2 seconds and watchdog petting is done in the idle thread.
Could you please add an appropriate wiced_rtos_delay_milliseconds() inside the PUART receive callback and try?
Set ALLOW_THREAD_TO_SLEEP as delay_type for RTOS delay.
I did more testing on this issue.
Since, this is 20706 chip, rtos functionality will not be there. Please ignore my previous comment about rtos.
Could you please use wiced_hal_wdog_restart() API to pet the watchdog timer periodically? Please let me know if it fixes the issue.