This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Error code 8 when sd_ble_gap_scan_start() SDK13

Hi all,

I have two nRF52 connecting, transmitting, disconnecting and sleep mode when are in normal operation, now I am experimenting a randomly error code 8 when calling sd_ble_gap_scan_start()

The two nRF52 works perfectly in normal operation when it goes to sleep. Now I am performing a throughput test and is when the randomly error code 8 appears.

I found that same issue in others threads: devzone.nordicsemi.com/.../ devzone.nordicsemi.com/.../

I am using a sniffer to be sure the devices are disconnected and before call the scan_start I always use sd_ble_gap_scan_stop()

static void scan_start(void)
{    
	ret_code_t err_code;	
    	(void) sd_ble_gap_scan_stop();
	  
    	err_code = sd_ble_gap_scan_start(&m_scan_params);
   	//APP_ERROR_CHECK(err_code); // I had to disable it to solve
}

I had to comment the APP_ERROR_CHECK I know it is not recommend, but is there a more elegant solution?

Thanks

Parents Reply Children
No Data
Related