ipcfg_bind_dhcp_wait

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

ipcfg_bind_dhcp_wait

跳至解决方案
1,014 次查看
Mike_d
Contributor IV

Where is it that the timeout for trying to get a dhcp address can be changed?

0 项奖励
回复
1 解答
805 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi Michael:

Do you mean the  dhcp termination timeout? if yes, it is 60s.

ipcfg_bind_dhcp_wait is a blocking function, which means it does not return until ipcfg_bind_dhcp is finished, and ipcfg_bind_dhcp timeout value is 60s.

Please check the macro in rtcsglob.c

uint32_t _RTCS_dhcp_term_timeout = 60;

Regards

Daniel

在原帖中查看解决方案

1 回复
806 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi Michael:

Do you mean the  dhcp termination timeout? if yes, it is 60s.

ipcfg_bind_dhcp_wait is a blocking function, which means it does not return until ipcfg_bind_dhcp is finished, and ipcfg_bind_dhcp timeout value is 60s.

Please check the macro in rtcsglob.c

uint32_t _RTCS_dhcp_term_timeout = 60;

Regards

Daniel