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.

[参考译文] CC2340R5:如何从应用中读取 FCFG

Guru**** 2535750 points


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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1547155/cc2340r5-how-to-read-fcfg-from-application

器件型号:CC2340R5


工具/软件:

您好论坛、

我想从应用程序读取 FCFG 中存在的器件 MAC 地址。 怎么会这样呢?  

此致
Vaibhav

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

    尊敬的 Vaibhav:

    以下是您要查找的内容:

    #include <string.h>
    #include <ti/devices/cc23x0r5/inc/hw_fcfg.h>
    uint8_t macAddr[8];
    //...
    memcpy(macAddr, fcfg->deviceInfo.macAddr, 8);

    此致、
    Ryan