(1)没有创建 tcpip_thread 线程,把需要在 tcpip_thread 执行的代码,移植到 net_thread 线程上。该工作通过修改 tcpip_thread() 函数和异步调用函数(如tcpip_inpkt、tcpip_callback_with_block、tcpip_send_msg_wait_sem、tcpip_api_call)的实现来完成。 (2)设置 LWIP_TCPIP_CORE_LOCKING = 1 (3)对网...
What is the actual behavior? assert failed: tcpip_send_msg_wait_sem IDF/components/lwip/lwip/src/api/tcpip.c:455 (Invalid mbox) Steps to reproduce. esp_http_client_config_t config = { .url = file_url.c_str(), .cert_pem = (char *) server_cert_pem_start, .timeout_ms = 600000...
sys_arch_sem_wait(&api_lock_sem, 0); tcpip_send_msg_wait_sem((tcpip_callback_fn)esp_netif_api_cb, &msg, &api_sync_sem); sys_sem_signal(&api_lock_sem); return msg.ret; } #endif /!LWIP_TCPIP_CORE_LOCKING */ ESP_LOGD(TAG, "check: local, if=%p fn=%p\n", netif, fn)...