Hi,
In softDevice S120 can we make second sd_ble_gap_connect on different peer, without waiting confirmation connect of the first one ?
Bests Regards, Jérôme
Hi,
In softDevice S120 can we make second sd_ble_gap_connect on different peer, without waiting confirmation connect of the first one ?
Bests Regards, Jérôme
Hi
You should not start scanning for a new peripheral unless a connection establishment is complete with a current peripheral. The connection establishment is complete when you get a CONNECTED event from the softdevice, so start scanning before that is not recommended. I am not sure what will happen if you start scanning before the CONNECTED event arrives, but at least it is a risk for things to go wrong.
Hi
You should not start scanning for a new peripheral unless a connection establishment is complete with a current peripheral. The connection establishment is complete when you get a CONNECTED event from the softdevice, so start scanning before that is not recommended. I am not sure what will happen if you start scanning before the CONNECTED event arrives, but at least it is a risk for things to go wrong.