This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TMDSRM48HDK:NTP 服务器

Guru**** 2535150 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/851351/tmdsrm48hdk-ntp-server

器件型号:TMDSRM48HDK

设计

是否有任何方法可以使用 RM48HDK 从互联网执行 NTP 服务器或时间同步等操作? 我们正在尝试连接 RM48HDK 以从接收来自特定网关的数据和时间戳、并对其进行处理并将数据返回到另一个网关。 因此、我们需要在 RM48HDK 内执行时间戳同步过程。

请提供建议。

此致

Khesbak  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Khesbak

    RM48HDK 依靠 LWIP 来提供网络协议服务。 移植的 lwip 版本为1.4.1、此时没有可用的 NTP 代码。

    对于最新的 Lwip 2.1.2版本,有可用的 SNTP 客户端:请参阅 https://savannah.nongnu.org/projects/lwip/ Addon 应用程序:HTTP (S)服务器、SNTP 客户端、SMTP (S)客户端、ping、NetBIOS 名称服务器、 mDNS 响应器、MQTT 客户端、TFTP 服务器。 源代码位于 src\apps\SNTP 下。 您可以考虑将此 SNTP 客户端代码移植到 RM48 LWIP 包。

    此致、Eric