Skip to content

Commit

Permalink
doc: Updated KRKNWK-16728 known issue content
Browse files Browse the repository at this point in the history
The known issue doesn't mention it affects NCS 2.2.0 as well,
and additionally recommended workaround is not complete.

Signed-off-by: Kamil Kasperczyk <kamil.kasperczyk@nordicsemi.no>
  • Loading branch information
kkasperczyk-no committed Jun 30, 2023
1 parent 0af5b78 commit f222b78
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion doc/nrf/releases_and_maturity/known_issues.rst
Original file line number Diff line number Diff line change
Expand Up @@ -296,14 +296,15 @@ KRKNWK-17064: Incorrect links in the Matter documentation

**Workaround:** Change ``master`` to the ``9e6386c`` commit SHA in the page URLs to see the content valid for the |NCS| v2.4.0 release.

.. rst-class:: v2-3-0
.. rst-class:: v2-3-0 v2-2-0

KRKNWK-16728: Sleepy device may consume much power when commissioned to a commercial ecosystem
The controllers in the commercial ecosystem fabric establish a subscription to a Matter device's attributes.
The controller requests using some subscription intervals, and the Matter device may negotiate other values, but by default it just accepts the requested ones.
In some cases, the selected intervals can be small, and the Matter device will have to report status very often, which results in high power consumption.

**Workaround:** Implement ``OnSubscriptionRequested`` method in your application to set values of subscription report intervals that are appropriate for your use case.
Additionally, register your class implementation to make ``InteractionModelEngine`` use it.
This is an example of how your implementation could look:

.. code-block::
Expand All @@ -324,6 +325,19 @@ KRKNWK-16728: Sleepy device may consume much power when commissioned to a commer
return aReadHandler.SetReportingIntervals(exampleMaxInterval);
}
The class implementation can be registered in your application code the a following way:

.. code-block::
#include <app/InteractionModelEngine.h>
SubscriptionApplicationCallback myClassInstance;
chip::app::InteractionModelEngine::GetInstance()->RegisterReadHandlerAppCallback(&myClassInstance);
You can use the ``ICDUtil`` module implementation that was introduced in the |NCS| v2.4.0 as a reference.
It is located in the :file:`samples/matter/common/src/icd_util.cpp` file in the :file:`nrf` directory.

.. rst-class:: v2-3-0 v2-2-0

KRKNWK-16575: Applications with factory data support do not boot up properly on nRF5340
Expand Down

0 comments on commit f222b78

Please sign in to comment.