SNTP_oneshot

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

SNTP_oneshot

1,697 次查看
shelleylockwood
Contributor I

I am using MQX V 4.1 and using SNTP_oneshot to set real time clock for my embedded system.  After many hours, this call starts timing out and never recovers.   The TCP/IP stack continues to work, and the RTCS_resolve_ip_address() does give me an IP address for the nist servers.   Also, I have verified that I do have enough memory(RAM) at this time.

Any Ideas would be appreciated.

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

1,411 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi SHelley:

Which error code returns with SNTP_oneshot ?

Regards

Daniel

0 项奖励
回复

1,411 次查看
shelleylockwood
Contributor I

Hi Daniel,

0x1103 or a timeout

Thanks,

Shelley

0 项奖励
回复

1,411 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi Shelley:

It seems a network issue.  Maybe the gateway is unreachable or other network issue. Your board can't get a valid SNTP packet.

Regards

Daniel

0 项奖励
回复

1,411 次查看
shelleylockwood
Contributor I

Hi,

Normally i would say this is true, except that the code runs perfectly and then is unable to get NTP forever after that time.

I have watched it and occasionally see the NTP fail, which I would expect. But in this case, the NTP continually fails and never recovers.

Thanks, Shelley

0 项奖励
回复