Part Number: CC2642R
Other Parts Discussed in Thread: SYSCONFIG
SimpleCentral_processAppMsg function. Eventually, it also fails to enter the SimpleCentral_scanCb callback. Debug breakpoints cannot be triggered in these two locations. The rest of the SimpleCentral_processAppMsg function still executes normally.Our current BLE parameters are as follows:
// Default PHY for scanning
#define DEFAULT_SCAN_PHY SCAN_PRIM_PHY_1M
//Default Scan type (Active/Passive)
#define DEFAULT_SCAN_TYPE SCAN_TYPE_PASSIVE
// Default scan interval (in 625 us ticks)
#define DEFAULT_SCAN_INTERVAL 320
// Default scan window (in 625 us ticks)
#define DEFAULT_SCAN_WINDOW 160
// Default scan duration in 10 ms
#define DEFAULT_SCAN_DURATION 100
// Advertising report fields to keep in the list
#define ADV_RPT_FIELDS (SCAN_ADVRPT_FLD_ADDRESS | SCAN_ADVRPT_FLD_ADDRTYPE)
// Scanner Duplicate Filter
#define SCANNER_DUPLICATE_FILTER SCAN_FLT_DUP_DISABLE
// TRUE to filter discovery results on desired service UUID
#define DEFAULT_DEV_DISC_BY_SVC_UUID false
GapScan_enable(0, 0, 0); function at the end of the GAP_DEVICE_INIT_DONE_EVENT case inside the SimpleCentral_processGapMsg function, and the value of autoConnect is set to 0.