zephyr/samples/bluetooth
Joakim Andersson 09b89ef585 Bluetooth: samples: Unref conn object on create connection timeout
Handle connected callback with error status not releasing the default
conn object in central samples. This can happen when the initiator fails
to create the connection within 3 seconds and is canceled by the host.

Also restart the scan role in this case.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2020-02-25 14:12:04 +02:00
..
beacon
central
central_hr
eddystone
handsfree
hci_pwr_ctrl
hci_rpmsg
hci_spi
hci_uart
hci_usb
ibeacon
ipsp
mesh
mesh_demo
mesh_provisioner
peripheral
peripheral_csc
peripheral_dis
peripheral_esp
peripheral_hids
peripheral_hr
peripheral_ht
peripheral_sc_only
scan_adv
st_ble_sensor
bluetooth.rst