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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

892 次查看
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!

标签 (1)
0 项奖励
回复
1 回复

733 次查看
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 项奖励
回复