Hello everyone,
I am trying to develop a windows application using the same example from pc-ble-driver-4.1.1\examples\heart_rate_collector/main.c. When i call the function 'sd_ble_gap_scan_start', the error code is 0x6. My scan parameters are,
extended = 0x00; // Set if accept extended advertising packetets.
report_incomplete_evts = 0x00; // Set if report incomplete reports.
active = 0x00; // Set if active scanning.
filter_policy = 0x00; //BLE_GAP_SCAN_FP_ACCEPT_ALL Accept all advertising packets except directed advertising packets
scan_phys = 0x01;//BLE_GAP_PHY_1MBPS /**< 1 Mbps PHY. */
interval = 0x00A0; /*< Determines scan interval in units of 0.625 milliseconds. */
window = 0x0050; /*< Determines scan window in units of 0.625 milliseconds. */
timeout = 0x0; /*< Scan timeout between 0x01 and 0xFFFF in seconds, 0x0 disables timeout. */
ch_mask_Byte = { 0, 0, 0, 0, 0 };
I am wrapping from the driver:
nrf-ble-driver-4.1.1-win_x86_32
Can anyone help me with this?
Thank you, LC