I've got some questions about setting up a connection.
I want to connect as fast as possible with a UUID filter. Is it possible to connect directly on the first advertising or does the softdevice always need to wait for a second one?
What about when I'm sending the UUID with the scan reponse? Is it possible to connect directly after the scan reponse or do I have to wait for another advertising?
Thanks in advance,
You need to wait for the second one. You find the device you want to connect to on the first advertising packet, call sd_ble_gap_connect(), and the connect will happen on the second one.
Thanks for your reply!
How about the scan option "connect_if_match"? Does this also need the second advertising?
Stephan Hanselmann said:Does this also need the second advertising?
The sd_ble_gap_connect() will start scanning, and will initiate the connection on the next(second one) advertising packet.