You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update return type of scan_start and delete_bonds functions to
void because the returned error values are not used.
* align setup of scan filters with other central samples.
Signed-off-by: Andreas Moltumyr <andreas.moltumyr@nordicsemi.no>
fixup to ble_nus_central sample cleanup 3
Copy file name to clipboardExpand all lines: samples/bluetooth/ble_nus_central/README.rst
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,21 +44,21 @@ In addition, the sample enables peer TX notifications to receive data from the p
44
44
User interface
45
45
**************
46
46
47
+
Button 3:
48
+
Press to disconnect from the connected peer device.
49
+
47
50
LED 0:
48
-
Lit when the device is initialized.
51
+
Lit when the device is initialized.
49
52
50
53
LED 1:
51
-
Lit when a device is connected.
52
-
53
-
Button 3:
54
-
Disconnects from the peer when pressed.
54
+
Lit when a device is connected.
55
55
56
56
.. note::
57
57
58
-
LEDs are only used in the normal UARTE configuration.
59
-
In LPUARTE mode, LEDs are disabled to avoid interfering with the RX pin and to allow proper low-power operation.
58
+
LEDs are only used in the normal UARTE configuration.
59
+
In LPUARTE mode, LEDs are disabled to avoid interfering with the RX pin and to allow proper low-power operation.
60
60
61
-
In LPUARTE mode, **LED 1** may appear lit even when no device is connected for some development kits, because it shares a pin with the RX signal; RX activity can toggle the LED, which is expected behavior.
61
+
In LPUARTE mode, **LED 1** may appear lit even when no device is connected for some development kits, because it shares a pin with the RX signal; RX activity can toggle the LED, which is expected behavior.
62
62
63
63
64
64
Building and running
@@ -94,12 +94,12 @@ You can test the sample in two ways, depending on the selected UART configuratio
94
94
#. Connect to the kit with a terminal emulator (for example, the `Serial Terminal app`_) for both UARTs on both development kits.
95
95
#. Reset the kits.
96
96
#. Observe that the device running the :ref:`ble_nus_central_sample` sample is configured to connect to ``nRF_BM_NUS``.
97
-
You can configure this name using the :kconfig:option:`SAMPLE_TARGET_PERIPHERAL_NAME` Kconfig option.
97
+
You can configure this name using the :kconfig:option:`CONFIG_SAMPLE_TARGET_PERIPHERAL_NAME` Kconfig option.
98
98
For information on how to do this, see `Configuring Kconfig`_.
99
99
#. Observe that the device running the :ref:`ble_nus_sample` sample is advertising under the default name ``nRF_BM_NUS``.
100
100
You can configure this name using the :kconfig:option:`CONFIG_SAMPLE_BLE_DEVICE_NAME` Kconfig option.
101
101
For information on how to do this, see `Configuring Kconfig`_.
102
-
#. Observe that the text ``BLE NUS central example started.`` is printed on the COM listener connected to the device running the :ref:`ble_nus_central_sample` sample.
102
+
#. Observe that the text ``BLE NUS central sample initialized`` is printed on the COM listener connected to the device running the :ref:`ble_nus_central_sample` sample.
103
103
#. Observe that the text ``BLE NUS sample initialized`` is printed on the COM listener connected to the device running the :ref:`ble_nus_sample` sample.
104
104
#. Write a text in the COM listener running on the computer and press Enter.
105
105
#. Observe that the text is displayed in the second COM listener running on the computer.
0 commit comments