What role does your device have? Central, peripheral or both? You must be central to start CyBle_GapcStartScan() and get event CYBLE_EVT_GAPC_SCAN_PROGRESS_RESULT (see datasheet page 111: "APIs unique to designs configured as a GAP Central role. A letter 'c' is appended to the API name: CyBle_Gapc").
You were right, I configured the PRoC with Both roles and now I can see the event CYBLE_EVT_GAPC_SCAN_PROGRESS_RESULT is triggered. However, it is triggered always, even though no other device is range... Do you know why? According to the datasheet: The
CYBLE_EVT_GAPC_SCAN_PROGRESS_RESULT event is generated when a GAP peripheral device is
In your BLE Component-> GAP Settings -> Check the "Duplicate Filtering" check box. This will make sure that the event is triggered only once for each device.
- Madhu Sudhan