This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to configure Static IP and DHCP at run time in F28m35

Hi All,

I need support on Concerto f28m35 board and NDK configuration.

I'm developing an application that need to change the IP parameters Runtime (i.e. during running application), this is why the user can choose IP static or dinamic during its setup made  with a GUI istance.

For Static IP address Runtime change i'm using "Hook function"(LocalIPAddr).

I'm facing some problem:

1.How to configure Static and DHCP configuration based on user configuration.

2. Is Posible to switch between Static and  DHCP in code.

Please share any DhcpClient.c and DhcpServer.c code example.

Thank you

Basavanagouda