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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

905件の閲覧回数
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 返信

746件の閲覧回数
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 件の賞賛
返信