mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-27 05:35:22 +00:00
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> |
||
---|---|---|
.. | ||
src | ||
CMakeLists.txt | ||
prj.conf | ||
README.rst | ||
rv32m1_vega_ri5cy.overlay | ||
sample.yaml |
.. _bluetooth_central: Bluetooth: Central ################## Overview ******** Application demonstrating very basic BLE Central role functionality by scanning for other BLE devices and establishing a connection to the first one with a strong enough signal. Requirements ************ * BlueZ running on the host, or * A board with BLE support Building and Running ******************** This sample can be found under :zephyr_file:`samples/bluetooth/central` in the Zephyr tree. See :ref:`bluetooth samples section <bluetooth-samples>` for details.