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.

[参考译文] LPSTK-CC1352R:如何记录当前时间? 在 SDK6.30中找不到示例。

Guru**** 2540720 points


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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1178865/lpstk-cc1352r-how-to-record-the-current-time-example-not-be-found-in-sdk6-30

器件型号:LPSTK-CC1352R

大家好、

以下是客户的请求:

SDK:simplelink_cc13xx_cc26xx_sdk_6_30_00_84。  此版本 SDK 中未找到日历时钟示例。

客户需要做什么来记录当前时间?

他可以使用 osal_getClock 吗? 如何使用它?

您可以帮助检查此案例吗? 谢谢。

此致、                                                         

Nick

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

    您好、Nick Sun、

    您可以尝试  位于 C:\ti\simplelink_cc13xx_cc26xx_sdk_6_20_00_29\source\ti\con\time 的 util_clock UTC_clock。 在使用此功能之前、您需要从智能手机或手动更新时间(如果您愿意)。 如果发生器件复位、您需要再次更新时间。

    -kel

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

    尊敬的 Markel:

    客户只能找到  TIME_CLOCK 和 UTC_CLOCK 、而不能找到 util_CLOCK?

    您可以帮助检查此案例吗? 谢谢。

    此致、                                                         

    Nick

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

    很抱歉、让我自己纠正它是 UTC_CLOCK。

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

    感谢  Markel、这将会很有帮助。