I always have to stop scanning before making a connection. If i keep the scanning on, the two devices wouldn't connect.
I always have to stop scanning before making a connection. If i keep the scanning on, the two devices wouldn't connect.
Which SDK and SoftDevice version are you using? Could you include some code? Are you saying that you have to call sd_ble_gap_scan_stop() before you call sd_ble_gap_connect()? Does sd_ble_gap_connect() return an error code if you don't call sd_ble_gap_scan_stop() first?
Which SDK and SoftDevice version are you using? Could you include some code? Are you saying that you have to call sd_ble_gap_scan_stop() before you call sd_ble_gap_connect()? Does sd_ble_gap_connect() return an error code if you don't call sd_ble_gap_scan_stop() first?