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.

[参考译文] CC2652PSIP:CC2652PSIP 在线高级射频功率控制

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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1207362/cc2652psip-cc2652psip-on-line-adv-rf-power-control

器件型号:CC2652PSIP

您好!

我的基于 simple_Peripheral -的 CC2652PSIP 项目在运行时尝试控制 ODID ADV 的射频功率。 它不是 ISR:

void simple_peripheral_SetPower (void *pValue)

bStatus_t tmp_status =成功;

tmp_status = GapAdv_disable (advHandleLegacy);

Task_sleep (100);

tmp_status = GapAdv_setParam (advHandleLegacy、GAP_ADV_PARAM_TX_POWER、pValue);

Task_sleep (100);

tmp_status = GapAdv_enable (advHandleLegacy、GAP_ADV_ENABLE_OPTIONS _USE_MAX、0);

Task_sleep (100);

}

想法是停止蓝牙改进、调整射频功率、然后使用新功率重新启动。

固件在 GapAdv_disable (advHandleLegacy)上冻结、不从此函数返回。 什么可能出错、或者应该更改什么?

谢谢。

Alex  

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

    尊敬的 Alex:

    您是否可以在调试器打开的情况下运行此程序,并尝试跳转到函数以查看 GapAdv_diable()函数的挂起位置。

    此致、

    Rogelio