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.

[参考译文] LAUNCHXL-CC1352P:更改简单外设项目的 MAC 地址

Guru**** 2609895 points


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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1197433/launchxl-cc1352p-changing-mac-address-of-simple-peripheral-project

器件型号:LAUNCHXL-CC1352P

您好!

我目前正在开发 Linux BLE 服务器。 服务器充当中央设备、并按顺序连接到运行 tirtos7简单外设示例(SDK v6)的2个 TI cc13x2 Launchpad 电路板、并读取/写入其 GATT 数据。 服务器通过两个设备的 MAC 地址连接到这两个设备、我使用 bluetoothctl 来查找这两个板的 MAC 地址。 但是、我注意到、几分钟后、Mac 地址将发生变化、我必须更新服务器代码中的新地址。

出于安全原因、我经常假设 Mac 地址发生更改? 我想问一下、我是否可以对简单外设代码进行更改、以便使 Mac 地址保持不变、而不是在每次插入 launchpad 板时随机生成/在插入时每隔几分钟生成一次。 如果我可以更改简单外设代码以执行此操作、我在哪里/如何在 CCS 中进行这些更改?

提前感谢您的帮助!

John。