Looking for a exact place to put flag in the Lwip stack
Dear forum, greetings.
I need a recommendation with my Lwip stack project.
First of all, I would mention that I have successfully installed lwip stack with freertos on h723 nucleo board and I can get ping.
My project scenario is;
There are multiple nodes on a network and each with a different fixed ip address. Each node in the network listen incoming packet requests from the PC. Whenever request packet income to the ip address matching node, then it will respond immediately. Unmatched ip address boards will stay Idle state.
My question is;
I just want to release separate semaphores or set user flags as soon as the data packet matching the ip address comes from the pc, and as soon as I send a reply back to the pc.
Where is the right place to put these flags or semaphores for this in the LWIP stack?
My main aim is to change or read the register of the PHY just before and just after the node with the matching ip address sends a response to the pc.
I tried to add these In the RX and TX callback functions in the ethernetif.c file but it didnt worked as expected.
Protocols will be UDP, TCP or (ICMP) Ping.
Any recommendation appriciated.
