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.

[参考译文] CC2650:当我提供按钮中断时、启用 cc2650 BLE 器件发现

Guru**** 2555630 points
Other Parts Discussed in Thread: CC2650

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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/855171/cc2650-when-i-give-the-button-interrupt-then-enable-the-cc2650-ble-device-discovery

器件型号:CC2650

您好!

我正在使用 CC2650 BLE Stack。 我的要求是当我提供按钮中断时,只启用 cc2650 BLE 设备发现。  其中我可以更改  cc2650 Simple Peripheral  代码。

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

    您可以使用以下代码在触发中断时开始广播。

    uint8_t advertEnabled = true;

    GAPRole_SetParameter (GAPROLE_Adverte_enabled、sizeof (uint8_t)、

                  advertEnabled (advertEnabled)(&D);