Am 21.04.2021 um 15:21 schrieb Tomas Mudrunka:
> I even tried to lock the TCPIP core like this, but it didn't helped at
> all:
>
>
>    p = pbuf_alloc(PBUF_RAW,rx_len,PBUF_POOL);
>    pbuf_take(p, rx_buf, rx_len);
> + LOCK_TCPIP_CORE();
>    if(netif->input(p, netif) != ERR_OK) {
>      ESP_LOGE(TAG, "Input failed!");
>      pbuf_free(p);
>    }
> + UNLOCK_TCPIP_CORE();
>

I'm not sure you even need this. What's the function behind the
netif->input pointer?

Regards,
Simon


_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to