This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

CMSIS ENET : Enable/disable DHCP at run time

Hi,

I'm developping an ethernet application with LPC4337.
I would like to be able to enable or disable DHCP at run time using CMSIS network library.

There is one function to disable DHCP at run time : dhcp_disable()
works fine.

Then I would like to enable it again. There is no function to do that so I tried to re-initialize network: net_initialize()

This works but if I do the same operation 5 times, net_initialize() hangs.
I guess it's because network ressources are not released and they are allocated each time I call the function but there is no function to release/uninit. ressources.

Does someone have a solution for my application (I really don t want to reset the system each time I want enable the DHCP)?

Thank you.

Parents Reply Children
No data