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.

[参考译文] CC2652RB:连接后更新广播间隔、需要禁用?

Guru**** 2549890 points


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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/993577/cc2652rb-updating-advertising-interval-when-connected-disable-required

器件型号:CC2652RB

如果广播处于活动状态,则需要在使用  GapAdv_disable()更新广播间隔之前禁用广播间隔。  但是、如果连接的器件正在修改此值、是否仍为真、是否正在使用此原型?

// device is connected to iOS app here
GapAdv_disable(advParams1); // required?
uint32_t newInterval = 1600;
GapAdv_setParam(advParams1,GAP_ADV_PARAM_PRIMARY_INTERVAL_MIN,newInterval);
GapAdv_setParam(advParams1,GAP_ADV_PARAM_PRIMARY_INTERVAL_MAX,newInterval);
GapAdv_enable(advParams1); // required?