Part Number:CC2642R
执行断开事件GAP_LINK_TERMINATED_EVENT时,调用下面接口设置广播间隔和打开广播
uint16_t advInterval = 160;
GapAdv_setParam(advHandle, GAP_ADV_PARAM_PRIMARY_INTERVAL_MIN, &advInterval);
GapAdv_setParam(advHandle, GAP_ADV_PARAM_PRIMARY_INTERVAL_MAX, &advInterval);
GapAdv_enable(advHandle, GAP_ADV_ENABLE_OPTIONS_USE_MAX , 0);
可以收到GAP_EVT_ADV_START_AFTER_ENABLE事件,但是实际没有广播成功,用抓包器抓不到广播,GPIO监控 RF状态也是失败
工程使用 simple_peripheral_oad_onchip 改的,SDK版本是simplelink_cc13x2_26x2_sdk_5_20_00_52
Alex Zhang:
https://www.ti2k.com/wp-content/uploads/ti2k/DeyiSupport_Bluetooth_nodeContent
您好,关于您这边关于设置广播间隔的介绍,我为您提供了以上链接