|
| 1 | +.. note:: |
| 2 | + Currently, no commercially available smartphone application supports Matter commissioner functionality using NFC transport. |
| 3 | + To test NFC-based commissioning, you need a Matter commissioner that implements the Matter NFC Transport Layer (NTL). |
| 4 | + You can develop your own commissioner application based on the Matter 1.6 specification (`Matter Core Specification`_). |
| 5 | + |
| 6 | +To commission the |matter_type| over NFC using a Nordic Semiconductor DK, complete the following steps: |
| 7 | + |
| 8 | +1. Build the |matter_type| with the NFC commissioning support. |
| 9 | + |
| 10 | + See `NFC-based commissioning`_ for the required Kconfig options and supported DK targets. |
| 11 | + |
| 12 | +#. Ensure that a Thread dataset or Wi-Fi credentials are configured. |
| 13 | +#. Program the DK with the proper firmware and connect a terminal emulator to monitor the UART log. |
| 14 | +#. When the Matter server finishes initializing, the device automatically starts NFC tag emulation and serves an NDEF onboarding payload with the NFC rendezvous flag. |
| 15 | + No button press is required to start NFC commissioning. |
| 16 | + |
| 17 | +#. On a smartphone with a Matter commissioner application that supports Matter NTL, tap the NFC antenna area on the DK to start the commissioning session. |
| 18 | + |
| 19 | +#. Keep the smartphone within NFC range for the duration of the commissioning exchange. |
| 20 | + |
| 21 | + The required hold time depends on the network variant: |
| 22 | + |
| 23 | + .. tabs:: |
| 24 | + |
| 25 | + .. group-tab:: Matter over Thread |
| 26 | + |
| 27 | + Hold the tap for at least **9 seconds**. |
| 28 | + |
| 29 | + .. group-tab:: Matter over Wi-Fi |
| 30 | + |
| 31 | + Hold the tap for at least **20 seconds**. |
| 32 | + |
| 33 | +#. Keep the smartphone in the NFC field until the commissioner application indicates that commissioning has completed successfully. |
| 34 | + |
| 35 | + Once device is commissioned the |Second LED| stops blinking and the light is solid and the NFC tag emulation on the DK stops automatically. |
| 36 | + |
| 37 | + .. note:: |
| 38 | + |
| 39 | + If the commissioner loses connection with the device during the process, wait until the failsafe mechanism is triggered before attempting commissioning again. |
| 40 | + You will see the following UART log messages: |
| 41 | + |
| 42 | + .. code-block:: console |
| 43 | + |
| 44 | + I: 5419 [DL]NFC field lost: the NFC Reader/Writer moved away |
| 45 | + I: 5424 [DL]NFC tag emulation paused until fail-safe completes |
| 46 | + |
| 47 | + The failsafe timeout depends on the commissioner configuration. |
| 48 | + |
| 49 | + Press the reset button to clean-up the device faster and make it reachable over NFC again. |
| 50 | + |
| 51 | +#. Use the commissioner application to control the device and verify that the expected clusters and attributes are accessible. |
0 commit comments