-
Bug
-
Resolution: Fixed
-
Medium
-
SimpleLink CC13x2-26x2 SDK BLE5 Stack
-
BLE_AGAMA-2851
-
BLE Stack BLE5-2.2.0 RC9
-
-
CC26X2R1
SDK: 4.30.00.54
Example: multi_role
Summary: the scan parameters set in SysConfig are not used (instead we use some default parameters set in gap_scanner.h).
Suggested solution:
In multi_role_scanInit():
Replace:
// Set Scan PHY parameters{{}}
GapScan_setPhyParams(DEFAULT_SCAN_PHY, SCAN_TYPE_ACTIVE,
SCAN_PARAM_DFLT_INTERVAL, SCAN_PARAM_DFLT_WINDOW);
By:
// Set Scan PHY parameters{{}}
GapScan_setPhyParams(DEFAULT_SCAN_PHY, DEFAULT_SCAN_TYPE,
DEFAULT_SCAN_INTERVAL, DEFAULT_SCAN_WINDOW);
Bonus: the comment right before the function multi_role_advertInit() has a wrong copy/paste:
Replace:
* @fn multi_role_scanInit
By:
* @fn multi_role_advertInit
Thanks!