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.

CC2640R2F: CC2640R2F BLE5广播间隔

Expert 2280 points
Part Number: CC2640R2F

CC2640R2F BLE5设置广播广播间隔:

根据 software-dl.ti.com/.../gap.html这个链接配置, 但是广播间隔不是设置的

// Stop advertising
GapAdv_disable(advHandleLegacy);

// Set a parameter
GapAdv_setParam(advHandleLegacy, GAP_ADV_PARAM_PRIMARY_INTERVAL_MIN, 160);
GapAdv_setParam(advHandleLegacy, GAP_ADV_PARAM_PRIMARY_INTERVAL_MAX, 160);

// Re-enable advertising
GapAdv_enable(advHandleLegacy, GAP_ADV_ENABLE_OPTIONS_USE_MAX , 0);