SNTP_oneshot

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

SNTP_oneshot

1,681件の閲覧回数
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,395件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi SHelley:

Which error code returns with SNTP_oneshot ?

Regards

Daniel

0 件の賞賛
返信

1,395件の閲覧回数
shelleylockwood
Contributor I

Hi Daniel,

0x1103 or a timeout

Thanks,

Shelley

0 件の賞賛
返信

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