zephyr/samples/bluetooth/central_gatt_write
Rubin Gerritsen f086afd47c samples: Bluetooth: Only connect to devices with rssi below -50
When the Bluetooth central samples in an open air environment
it is very likely that there are multiple devices nearby with
a received signal strength stronger than -70 dBm.

To avoid connecting to the wrong device, make the check stricter.

For tests using those samples, the NtNcable attenuation is changed
from the default 60 dBm to 40 dBm to satisfy the new requirement.

Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
2024-02-26 14:34:07 +01:00
..
src samples: Bluetooth: Only connect to devices with rssi below -50 2024-02-26 14:34:07 +01:00
CMakeLists.txt samples: Bluetooth: peripheral and central GATT write command use 2022-06-22 12:22:29 +02:00
prj.conf Bluetooth: Samples: Remove usage of BT_DEBUG_LOG 2023-06-07 13:56:55 -04:00
README.rst samples: Bluetooth: peripheral and central GATT write command use 2022-06-22 12:22:29 +02:00
sample.yaml samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00

.. _bluetooth_central_gatt_write:

Bluetooth: Central / GATT Write
###############################

Overview
********

Similar to the :ref:`Central <bluetooth_central>` sample, except that this
application use GATT Write Without Response.

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_gatt_write`
in the Zephyr tree.

See :ref:`bluetooth samples section <bluetooth-samples>` for details.