Starting the rainmaker agent alongside the matter may cause matter commissioning
to fail due to low heap memory. This happens because matter CASE and rainmaker’s
MQTT connection occur simultaneously, and both operations are memory-intensive,
potentially leading to failures.
examples: moved app_matter apis as component at examples/matter/common
examples/matter/matter_light: renamed app_matter to app_matter_light
examples/matter/matter_light: fixed for thread
examples/matter/matter_light: moved forward declaration to app_priv.h
examples/matter/matter_switch: Updated to include app_matter as component
examples/matter/matter_controller: Updated to include app_matter as component
examples/matter/matter_controller_with_touchscreen: Updated to include app_matter as component
removed namespace declaration from header file.
- led_light: Use the new bulk write callback (single callback invoked just once
for multiple param writes) and use esp_rmaker_param_update()
so that all updated params are also reported together.
- Other examples: Just replace esp_rmaker_param_update_and_report with
esp_rmaker_param_update() and let the Rainmaker core report all
updated params together.