zephyr/samples/bluetooth/central
Filip Kokosinski e9e5498a51 samples/bluetooth/central: fix error code reporting
`bt_conn_le_create` returns a signed value. Error message format string
expects an unsigned value.

This commit changes the expected value in the format string to a signed
one, to match what `bt_conn_le_create` returns.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2023-04-17 15:12:32 +02:00
..
boards
src samples/bluetooth/central: fix error code reporting 2023-04-17 15:12:32 +02:00
CMakeLists.txt
README.rst
prj.conf
sample.yaml

README.rst

.. _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.