(xQueueGenericReceive)- assert failed!
Posted: Mon Nov 19, 2018 6:56 am
Hi,
I am getting assertion failed error as below:
/components/freertos/queue.c:1445 (xQueueGenericReceive)- assert failed!
I am using ESP-32 in AP-STA mode.
When I start my module, it gets connected to the AP by reading the data stored in nvs. After connection, data is sent to UART in queue (2 queues are used to receive UART data). Out of 2 queue, 1 queue is received by the http client which sends data to http server and the other queue is received by tcp_server to send data to tcp client. When a station tries to connect to AP after few data exchange over UART, it gets rebooted and throw the above error and then allows the station to connect with the AP.
There are three tasks running in esp with stack size of 4096 each.
Please suggest as how to handle this error. Where is it coming from??
Thanks
R.
I am getting assertion failed error as below:
/components/freertos/queue.c:1445 (xQueueGenericReceive)- assert failed!
I am using ESP-32 in AP-STA mode.
When I start my module, it gets connected to the AP by reading the data stored in nvs. After connection, data is sent to UART in queue (2 queues are used to receive UART data). Out of 2 queue, 1 queue is received by the http client which sends data to http server and the other queue is received by tcp_server to send data to tcp client. When a station tries to connect to AP after few data exchange over UART, it gets rebooted and throw the above error and then allows the station to connect with the AP.
There are three tasks running in esp with stack size of 4096 each.
Please suggest as how to handle this error. Where is it coming from??
Thanks
R.