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.

[参考译文] LP-EM-CC2745R10-Q1:如何将 Random_seyAutomatic ()与 CC2745配合使用?

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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1523270/lp-em-cc2745r10-q1-how-can-i-use-random_seedautomatic-with-cc2745

器件型号:LP-EM-CC2745R10-Q1

工具/软件:

您好、

我正尝试使用 Random_seyAutomatic ()和 Random_GetBytes ()在 Random.h 中获得6字节的随机值

在 Random.h 中查看 Random_seyAutomatic ()后、我发现 CC2745不属于 DeviceFamily_parent 功能处理部分。

// code in the Random_seedAutomatic() function
/* If neither a TRNG nor a unique ID are available, use a constant */
    state[0] = 0x00000001;
    state[1] = 0x00000002;
    state[2] = 0x00000003;
    state[3] = 0x00000004;
    state[4] = 0x00000005;

    return Random_STATUS_SUCCESS;

我确认没有生成随机种子、因为执行了上述代码。

如何对 CC2745使用 Random_seyAutomatic ()?

谢谢你。

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

    你好、Jaeun、  

    我将调查您的问题、并在下周初(2010年6月)提供答复。  

    谢谢、
    Isaac

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

    你好、Jaeun、  

    CC27xx 器件系列不使用或包含 random.h 文件或函数。 您需要使用 TRNG 或 RNG 来生成随机值。 我可以在下周二(2010年6月)提供更多信息。  

    谢谢、
    Isaac