How to change IP address when http and snmp servers are running?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to change IP address when http and snmp servers are running?

417 Views
david_g
Contributor I

Hi,

In my firmware (MQX 4.1.1) I have http and snmp servers running without problems but I need to change static IP address dynamically. If I have only http server running, this process works fine:

1) execute ipcfg_unbind

2) execute ipcfg_bind_staticip with new IP data

But if I have both http and snmp servers running at once, the ipcfg_unbind function is halted and both servers stop their execution. I have tried to call SNMP_stop before ipcfg_unbind but it didn't work. Any idea?

Thank you very much!

Labels (1)
0 Kudos
1 Reply

258 Views
soledad
NXP Employee
NXP Employee

Hello David,

Could you please try using the RTCS_if_unbind() and RTCS_if_bind()

Description of the RTCS functions can be found in the RTCS Reference Manual.


Have a great day,

Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos