工具与软件:
您好!
目前我正在处理示例 basic_ble 多角色 配置文件项目。 当器件在某个时间后进入挂起状态并处于持续扫描状态时。
当我尝试修改 Connection Interval Min (连接间隔最小值 )和 Connection Interval Max (连接间隔最大值)时、没有进行扫描。 这里是扫描参数。
/*********************************************************************
* @fn Menu_scanStartCB
*
* @brief A callback that will be called once the scan item in
* the scanningMenu is selected.
* Sets the parameters needed for a scan and starts the scan.
*
* @param index - the index in the menu
*
* @return none
*/
void Menu_scanStartCB(uint8 index)
{
bStatus_t status;
const BLEAppUtil_ScanStart_t centralScanStartParams =
{
/*! Zero for continuously scanning */
.scanPeriod = 1/*DEFAULT_SCAN_PERIOD*/, /* Units of 1.28sec */
/*! Scan Duration shall be greater than to scan interval,*/
/*! Zero continuously scanning. */
.scanDuration = 100 /*DEFAULT_SCAN_DURATION*/, /* Units of 10ms */
/*! If non-zero, the list of advertising reports will be */
/*! generated and come with @ref GAP_EVT_SCAN_DISABLED. */
.maxNumReport = APP_MAX_NUM_OF_ADV_REPORTS
};
status = BLEAppUtil_scanStart(¢ralScanStartParams);
// Print the status of the scan
MenuModule_printf(APP_MENU_GENERAL_STATUS_LINE, 0, "Call Status: ScanStart = "
MENU_MODULE_COLOR_BOLD MENU_MODULE_COLOR_RED "%d" MENU_MODULE_COLOR_RESET,
status);
}
我已经尝试修改连接参数中央设备、您能为 连续扫描建议连接参数以更新和扫描参数吗?

我想知道为什么会出现这种情况、以及我们如何解决这一问题。
SDK 版本:simplelink_lowpower_f3_sdk_8_10_01_02
CCS 版本:CCS 12.7.1
谢谢!
Vignesh。
