Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from project-chip:master #599

Merged
merged 40 commits into from
Oct 17, 2024

Conversation

pull[bot]
Copy link

@pull pull bot commented Oct 15, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

pidarped and others added 16 commits October 13, 2024 22:40
* Definition of the Camera AV StreamManagement Cluster.

Define StreamTypeEnum in global-enums.xml, moving from WebRTC Provider
cluster and AV Stream Management.

Spec in `cameras` branch.
Draft PR: CHIP-Specifications/connectedhomeip-spec#10004

* Keep the jclass and its corresponding constructor jmethod inside a scope block.

This is to prevent duplicate declaration error when multiple
variables of the same struct type are present.

* Auto-generated files from zap-regen for Camera AV Stream Management.
* [Python] After SubscriptionTransaction has an error, calling Shutdown() will crash

* Add a comment

* update comment
…32817)

* fix arm64 build failure when bluetooth enabled on linux platform

* Use C++ keyword for getting type

---------

Co-authored-by: sabollim <satyanaag.bollimpalli@silabs.com>
Co-authored-by: Arkadiusz Bokowy <a.bokowy@samsung.com>
…p: Add comment explaining the use of isinstance for list detection (#36063)
… iOS. (#36062)

* [darwin-framework-tool] Add a step in CI to ensure darwin-framework-tool can be built on iOS

* [darwin-framework-tool] Build fixes
* MCORE-FS-1.4: Wait for dynamic endpoint to appear on TH_FSA

Fixes #35348

* Timeout for getting dynamic endpoint
…36064)

* [Matter.framework] Follow-up to address remaining issues from #36015

* Update src/darwin/Framework/CHIP/MTRBaseDevice.mm

Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>

---------

Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
…36069)

There were some errors in the xml generation for some of the later
spec changes in PR#35841.

Note: The auto-generated code merged in is correct and reflect the latest
      spec changes to the cluster.
…ubfolders (#34233)

* Move files and add indexes

* Fix references for new paths

* Fix references

* Fix up some new references

* move darwin back into guides

* remove darwin from platforms

* Restyled by prettier-markdown

* whoops, didn't save

* Restyled by prettier-markdown

* fix dishwasher readme

* fix boufallolabs readme

* fix links

---------

Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: Andrei Litvin <andy314@gmail.com>
The prefix is redundant because these are all Matter device types anyway, and is
not present in the spec.
Introduce the following flags:
- CONFIG_APP_BUTTON_ENABLED - flag to configure if ButtonApp instance is registered.
- CONFIG_BLE_BUTTON_ENABLED - flag to configure if ButtonBle instance is registered.
- CONFIG_APP_BUTTON_HANDLE_SDK_PREDEFINED - flag to configure if the button handle
is predefined in the SDK or not. If not set, the handle will be defined and initialized
explicitly in the file.

Signed-off-by: marius-alex-tache <marius.tache@nxp.com>
* TC-DA-1.2: Better error messages

Test: Added a bad der file in the cd-certs dir, saw failure on
      ToT, no failure with this fix.

* whoops, forgot to add this change

* linter
bzbarsky-apple and others added 18 commits October 16, 2024 14:52
* Updates logs

* Removed ./chip-tool when in interactive mode, added the description about comissioning TH1

* Added ./chiptool to precondition steps

---------

Co-authored-by: lpbeliveau-silabs <louis-philip.beliveau@silabs.com>
This uses the ember internal function instead of the ember compatibility
functions override. It is somewhat unclear why we have an override that
replaces one method with a single method that is identical except
arguments.

Co-authored-by: Andrei Litvin <andreilitvin@google.com>
* Added scene handler to mode select cluster

* Corrected wrong define usage and applied a fix to attribute-storage function

* Applied suggestions
Do not close PRs nor Issues
Make the stale threshold to about 6 months, to match general release
cycle for CHIP. Even if this changes at some point to anually, this
still seems to be a more reasonable default if we actively triage and
manage issues and PRs.
…3) (#36033)

* [Fabric-Admin] Implement the bridge subscription API

* Restyle

* Address review comments

* Reset the subscription state only in OnDone

* Keep subscription
…nce (#36096)

* Start an issue triage document

* Restyle

* Restyled by prettier-markdown

* Triaged is a word

* Move things around, added more notes, removed pyspelling

* Update spell check exclude list

* Restyled by prettier-markdown

* Update docs/issue_triage.md

Co-authored-by: jamesharrow <93921463+jamesharrow@users.noreply.github.com>

* Cleanup based on review comments

* Restyled by prettier-markdown

* Add issue triage to the toc tree

* Added apple home integration traging notes

* Restyle

* Fix link

* Restyle

* attempt to fix links even more ... this doc check is very strict

---------

Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: jamesharrow <93921463+jamesharrow@users.noreply.github.com>
…36106)

* Fixes #36074, #36073, #36072 - remove OnMode and Startup Mode from all-clusters-app.zap in DEMM, EEVSEM, WHM

* Fixes #36074, #36073, #36072 - remove OnMode and Startup Mode from all-clusters-app.zap in DEMM, EEVSEM, WHM
* [NXP][rt1170] Matter enablement on RT1170

It includes:

- Matter port files for RT1170
- example files for Laundry-washer, thermostat and all-cluster-app
- documentations

Signed-off-by: Gatien Chapon <gatien.chapon@nxp.com>

[border router][rt1170] RT1170 platform and README updates to support OTBR with new OT stack version

(cherry picked from commit f97d5c58c866774c787ec4417bca075ce45eece0)

[platform][rt1170] Enable lwip and ephemeral key CLI addons

(cherry picked from commit fb3320eabd3c3f6c8c75c4094d6426fcc0cfed57)

[2.16][rt1170] SDK 2.16 rt1170 API name changed

Signed-off-by: Gatien Chapon <gatien.chapon@nxp.com>
(cherry picked from commit 67f183263466267bc1c7da6fd3a05743fd268ea2)

Signed-off-by: Gatien Chapon <gatien.chapon@nxp.com>

[examples][rt1170] Enable Disgnostic log for thermostat app

Signed-off-by: Martin Girardot <martin.girardot@nxp.com>
(cherry picked from commit cce6267446d035e7966c7f5f17d112fb5f1557c5)

[platform][rt1170] Rename rt_nvm_component to nxp_nvm_component

Signed-off-by: Dina Benamar <dina.benamarelmaaroufi@nxp.com>
(cherry picked from commit f5fb5f4e8b2be45fc97c2a7c7a2d5a453adf9b34)

[doc][rt1170] update OTA guidelines to generate mcuboot binary

(cherry picked from commit 27f58810a07343234d0d884f385eb407998a9220)

* [NXP][rt1060] Adding RT1060 Matter support

It includes following changes:

- Matter port files for RT1060
- examples support for Laundry-washer, thermostat and all-cluster-app
- Support for configurations: RT1060 evkb+8801, RT1060 evkb+IW416, RT1060 evkc+IW612 and RT1060 evkb+k32w0

Signed-off-by: Gatien Chapon <gatien.chapon@nxp.com>

[platform][rt1060] Rename rt_nvm_component to nxp_nvm_component

Signed-off-by: Dina Benamar <dina.benamarelmaaroufi@nxp.com>
(cherry picked from commit 316450da02b365aa61bcb53a0dc6b50512fb6435)

[border router][rt1060] RT1060 platform and README updates to support OTBR with new OT stack version

(cherry picked from commit 231a4c15c4abca40d5759194fb61b9636c8f67e8)

[platform][rt1060] Enable lwip and ephemeral key CLI addons

(cherry picked from commit 463749a12abcc68fc5f6569f98c27b574b3516bd)

[2.16][rt1060] SDK 2.16 rt1060 API name changed

Signed-off-by: Gatien Chapon <gatien.chapon@nxp.com>
(cherry picked from commit 42f7d8771329172aaeedfde1b2bab86b1799f6d9)

[examples][rt1060] Enable Diagnostic log for thermostat app

Signed-off-by: Martin Girardot <martin.girardot@nxp.com>
(cherry picked from commit 7c4cbeb41d3a00ec90525bb084f7bc278d5ecb8e)

* [NXP][rt1060][doc] Update WiFi build instructions

* [NXP][border router][rt1060] Platform updates to support TBR cluster and secondary nwk if

A new gn variable was created, chip_enable_secondary_nwk_if, to enable or disable Thread as secondary network commissioning interface when building with BR support.

* [NXP][border router][rt1170] Platform updates to support TBR cluster and secondary nwk if

A new gn variable was created, chip_enable_secondary_nwk_if, to enable or disable Thread as secondary network commissioning interface when building with BR support.

* [NXP] Add targets RT1060 and RT1170 to NXP builds

* [NXP][OTA][doc] update OTA doc for RTs boards

* [NXP][border router][rt1060] fix compilation issue

* [NXP][border router][rt1170] fix compilation issue

* [NXP][doc][rt1060] minor changes

* [NXP] [rt1060] OTA requestor enablement on RT1060-EVKC+Firecrest

* [NXP] Add OTA variant to RT1060 and RT1170 builds

* [NXP][doc][rt] changes since workflow feedback

* [NXP][examples][rt1060] Update empty button registration path

Signed-off-by: marius-alex-tache <marius.tache@nxp.com>

* [NXP][examples][rt1170] Update empty button registration path

Signed-off-by: marius-alex-tache <marius.tache@nxp.com>

* [NXP] [gn] Restyle gn files

* [NXP][doc] Restyle md files

* [NXP] Restyle build scripts

* [NXP][RT] fix OTBR compile issue

* [NXP][RT][doc] rework documentation

* [NXP] Reduce and collapse NXP targets list

* [NXP] filter which target to be build on PR

* [NXP] [rt1170] remove useless flag

* [NXP] [rt1060] remove useless flag

* [NXP] [doc] fix path to referenced docs since NXP documentation moved

---------

Signed-off-by: marius-alex-tache <marius.tache@nxp.com>
Co-authored-by: Gatien Chapon <gatien.chapon@nxp.com>
Co-authored-by: Mihai Ignat <mihai.ignat@nxp.com>
Co-authored-by: Marius Preda <marius.preda@nxp.com>
Co-authored-by: marius-alex-tache <marius.tache@nxp.com>
Co-authored-by: Restyled.io <commits@restyled.io>
* Use default value for initialization

The default value returns a valid value for the initialization according
to the type hints. This lowers the type hints errors using mypy from 838
to 354.

* Make response_type an optional string if initialized to None

This reduced mypy type errors from 354 to 163.

* Use non-string type annotations

Python 3.7 and newer don't need strings for type annotations anymore.
This makes type annotations more readable in most editors.

* regen
* Handle logging.info at matter_testing_support.py

* Move self.print_step instruction

* restyled
* [NXP][third_party] Border router updates and fixes

Fixed selecting correct DnsSd implementation when Border Router is enabled.
Fix an issue with the SRP client starting even when the device is running
in Border Router mode.
Removed ChipDnssdShutdown function, there is no use for it.
Removed unused OpenThread define.

Signed-off-by: Marius Preda <marius.preda@nxp.com>

* Restyled by clang-format

---------

Signed-off-by: Marius Preda <marius.preda@nxp.com>
Co-authored-by: Restyled.io <commits@restyled.io>
)

CodegenDataModel is using caching to speed up queries on clusters.
However dynamic endpoints can be created/removed at will and in those
cases old cluster pointers should not be re-used.
@woody-apple woody-apple merged commit dead378 into woody-apple:master Oct 17, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment