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 modify the IPs after calling NC_NetStart() function

Hi, everyone:

   while the programming is running, we want to modify the IPs when receiving the command and new IP from the PC clients. During the system initialization, we use static IPs. How to make it? thany you!

note: we use ccs3.3, bios5.31.02 and ndk_1_92_00_22_eval

  • Hi maoyang wu,

    Which hardware platform are you using?

    maoyang wu said:
    while the programming is running, we want to modify the IPs when receiving the command and new IP from the PC clients

    I assume you mean you want to update the IP address that your NDK application is using?

    If so, you should be able to use the function CfgRemoveEntry() to remove the IP address, and CfgAddEntry() to add a new one.

    You can find some example usage of the Cfg* functions in the NDK client example.

    Steve