Skip to content

Commit a8187ee

Browse files
Restyled by prettier-markdown (#19)
Co-authored-by: Restyled.io <commits@restyled.io>
1 parent 39e0ca1 commit a8187ee

File tree

1 file changed

+31
-29
lines changed

1 file changed

+31
-29
lines changed

examples/window-app/nrfconnect/README.md

+31-29
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ with other Thread devices in the network.
9191

9292
### Device Firmware Upgrade
9393

94-
The example supports over-the-air (OTA) device firmware upgrade (DFU) using
95-
the Matter OTA update, which is mandatory for Matter-compliant devices and enabled
94+
The example supports over-the-air (OTA) device firmware upgrade (DFU) using the
95+
Matter OTA update, which is mandatory for Matter-compliant devices and enabled
9696
by default.
9797

9898
For this method, the
@@ -175,16 +175,16 @@ following states are possible:
175175
- _Solid On_ &mdash; The device is fully provisioned and has full Thread
176176
network and service connectivity.
177177

178-
**LED 2** indicates the lift position of the shutter, which is represented by the
179-
brightness of the LED. The brightness level ranges from 0 to 255, where the
180-
switched off LED with brightness level 0 indicates a fully opened shutter (lifted)
181-
and 255 indicates a fully closed shutter (lowered).
178+
**LED 2** indicates the lift position of the shutter, which is represented by
179+
the brightness of the LED. The brightness level ranges from 0 to 255, where the
180+
switched off LED with brightness level 0 indicates a fully opened shutter
181+
(lifted) and 255 indicates a fully closed shutter (lowered).
182182

183-
**LED 3** indicates the tilt position of the shutter, which is represented by the
184-
brightness of the LED. The brightness level ranges from 0 to 255, where the
185-
switched off LED with brightness level 0 indicates a fully opened shutter (tilted
186-
to a horizontal position) and 255 indicates a fully closed shutter (tilted
187-
to a vertical position).
183+
**LED 3** indicates the tilt position of the shutter, which is represented by
184+
the brightness of the LED. The brightness level ranges from 0 to 255, where the
185+
switched off LED with brightness level 0 indicates a fully opened shutter
186+
(tilted to a horizontal position) and 255 indicates a fully closed shutter
187+
(tilted to a vertical position).
188188

189189
**Button 1** can be used for the following purposes:
190190

@@ -200,25 +200,27 @@ to a vertical position).
200200
instruction.
201201

202202
**Button 2** &mdash; Pressing the button once moves the shutter towards the open
203-
position by one step. Depending on the current movement mode, the button decreases
204-
the brightness of **LED2** for the lift mode and **LED3** for the tilt mode.
203+
position by one step. Depending on the current movement mode, the button
204+
decreases the brightness of **LED2** for the lift mode and **LED3** for the tilt
205+
mode.
205206

206-
**Button 3** &mdash; Pressing the button once moves the shutter towards the closed
207-
position by one step. Depending on the current movement mode, the button increases
208-
the brightness of **LED2** for the lift mode and **LED3** for the tilt mode.
207+
**Button 3** &mdash; Pressing the button once moves the shutter towards the
208+
closed position by one step. Depending on the current movement mode, the button
209+
increases the brightness of **LED2** for the lift mode and **LED3** for the tilt
210+
mode.
209211

210-
**Button 2** and **Button 3** &mdash; Pressing both buttons at the same time toggles
211-
the shutter movement mode between lift and tilt. After each device reset,
212-
the mode is set to lift by default.
212+
**Button 2** and **Button 3** &mdash; Pressing both buttons at the same time
213+
toggles the shutter movement mode between lift and tilt. After each device
214+
reset, the mode is set to lift by default.
213215

214216
> **Note**:
215217
>
216218
> Completely opening and closing the shutter requires 20 button presses (steps).
217219
> Each step takes approximately 200 ms to simulate the real shutter movement.
218220
> The shutter position and LED brightness values are stored in non-volatile
219-
> memory and are restored after every device reset. After the firmware update
220-
> or factory reset both LEDs are switched off by default, which corresponds
221-
> to the shutter being fully open, both lift-wise and tilt-wise.
221+
> memory and are restored after every device reset. After the firmware update or
222+
> factory reset both LEDs are switched off by default, which corresponds to the
223+
> shutter being fully open, both lift-wise and tilt-wise.
222224
223225
**Button 4** &mdash; Pressing the button once starts the NFC tag emulation and
224226
enables Bluetooth LE advertising for the predefined period of time (15 minutes
@@ -467,14 +469,14 @@ Before you start testing the application, you can select one of the build types
467469
supported by the sample. This sample supports the following build types,
468470
depending on the selected board:
469471

470-
- debug &mdash; Debug version of the application - can be used to enable additional
471-
features for verifying the application behavior, such as logs or
472+
- debug &mdash; Debug version of the application - can be used to enable
473+
additional features for verifying the application behavior, such as logs or
472474
command-line shell.
473-
- release &mdash; Release version of the application - can be used to enable only
474-
the necessary application functionalities to optimize its performance.
475-
- no_dfu &mdash; Debug version of the application without Device Firmware Upgrade
476-
feature support - can be used only for the nRF52840 DK and nRF5340 DK, as
477-
those platforms have DFU enabled by default.
475+
- release &mdash; Release version of the application - can be used to enable
476+
only the necessary application functionalities to optimize its performance.
477+
- no_dfu &mdash; Debug version of the application without Device Firmware
478+
Upgrade feature support - can be used only for the nRF52840 DK and nRF5340
479+
DK, as those platforms have DFU enabled by default.
478480

479481
For more information, see the
480482
[Configuring nRF Connect SDK examples](../../../docs/guides/nrfconnect_examples_configuration.md)

0 commit comments

Comments
 (0)