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

Sync csa branch with main #314

Merged
merged 13 commits into from
Mar 5, 2025
Merged

Sync csa branch with main #314

merged 13 commits into from
Mar 5, 2025

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Mar 5, 2025

This PR syncs the csa branch with the main branch.

PR MUST BE MERGED WITH MERGE COMMIT - ADMIN MUST ENABLE THE OPTION

mkardous-silabs and others added 13 commits March 4, 2025 00:27
…atforms (#37810)

* Refactor structure for the SiWx platform

* Fix compilation errors for WifiInterface

* Update WifiInterface consummers

* Wf200 transition to the WifiInterface class structure

* Implement rs9116 wifi interface

* Fix wf200 init

* Fix 917 NCP

* Clean up

* Fix builds

* Update src/platform/silabs/NetworkCommissioningWiFiDriver.cpp

Co-authored-by: Rohan Sahay <103027015+rosahay-silabs@users.noreply.github.com>

* Add error code to log

---------

Co-authored-by: Rohan Sahay <103027015+rosahay-silabs@users.noreply.github.com>
Increased COMMON_LIBC_MALLOC_ARENA_SIZE for W91.
This fixes ecosystems sharing commissioning.
Tested on AppleHome, Tuya and GHA.

Co-authored-by: interfer <diman1436@gmail.com>
…of having global delegate array. (#37799)

* Actions: Use instance of the Actions cluster per endpoint instead of having global delegate array.

* Fix unit tests.

* Addressed review comments.

* Add error logs.
Co-authored-by: Andrei Litvin <andreilitvin@google.com>
* Update CameraAVStreamMgmt xml to reflect spec changes.

* Run zap regen.
* XML changes to WebRTC cluster based on Spec fixes in Spec PR#11309

* Run zap-regen.

* Add missing description tag in the WebRTC cluster xml files and re-run zap-regen script.
…arts. (#37856)

The goal is to avoid Thread congestion issues.
…g passcode in commission (#37278)

* [Amazon] StopConnect for UDC in Android tv-casting-app

Updated Android & iOS tv-casting-app to send stopConnect command when user
exits UDC before confirming passcode

Changes
1. Added IsPendingPasscodeFromUser() to CastingPlayer. This function
   will return true if we are still connecting and pending user action
   for passcode
2. ConnectionExampleFragment.java onDestroy() calls stopConnect() if user
   has not confirmed passcode
4. MCConnectionExampleView ConnectingView dissapear calls stopConnect()
   if user has not confirmed passcode

Test
1. Manually verified UDC attempt is successful both Android iOS for following
   1. Attempt UDC attempt (both commissionee & commissioner generated passcode)
   2. Navigate back to discovery page
   3. Start new UDC attempt (both commissionee & commissioner generated passcode)

2. Manually verified UDC attempt is successful both Android iOS for following. UDC will finish in the background.
   1. Attempt UDC attempt (both commissionee & commissioner generated passcode)
   2. Confirm passcode on TV app or casting app depending on who
      generated passcode
   3. Navigate back before commission fnishes.

3. Manual regression test following
   * UDC attempt happy path (no navigate back) for both commissinee &
     commissioner generated passcode

* [Amazon] StopConnect for UDC in Android tv-casting-app

Updated native layer and iOS tv-casting-app to use native layer
ConnectionState instead of a pendingPasscode customer check.

Changes
* Expose native layer ConnectionState to iOS tv-casting-app
* Update iOS tv-casting-app to use ConnectionState to determine if we
  should call stopConnect()
* Only call stopConnect() on navigate back from ConnectionExampleView
* Updated doc to indicate when a object method will free itself as a
  side effect

Test
1. Manually verified UDC attempt is successful both Android iOS for following
   1. Attempt UDC attempt (both commissionee & commissioner generated passcode)
   2. Navigate back to discovery page
   3. Start new UDC attempt (both commissionee & commissioner generated passcode)

2. Manually verified UDC attempt is successful both Android iOS for following. UDC will finish in the background.
   1. Attempt UDC attempt (both commissionee & commissioner generated passcode)
   2. Confirm passcode on TV app or casting app depending on who
      generated passcode
   3. Navigate back before commission fnishes.

3. Manual regression test following
   * UDC attempt happy path (no navigate back) for both commissinee &
     commissioner generated passcode

* [Amazon] StopConnect for UDC in Android tv-casting-app

Updated JNI and Android tv-casting-app to use native layer
ConnectionState instead of a pendingPasscode customer check.

Changes
* Expose native layer ConnectionState to Android tv-casting-app
* Update Android tv-casting-app to use ConnectionState to determine if we
  should call stopConnect()
* Only call stopConnect() on navigate back from
  ConnectionExampleFragmnet

Test
1. Manually verified UDC attempt is successful both Android iOS for following
   1. Attempt UDC attempt (both commissionee & commissioner generated passcode)
   2. Navigate back to discovery page
   3. Start new UDC attempt (both commissionee & commissioner generated passcode)

2. Manually verified UDC attempt is successful both Android iOS for following. UDC will finish in the background.
   1. Attempt UDC attempt (both commissionee & commissioner generated passcode)
   2. Confirm passcode on TV app or casting app depending on who
      generated passcode
   3. Navigate back before commission fnishes.

3. Manual regression test following
   * UDC attempt happy path (no navigate back) for both commissinee &
     commissioner generated passcode

* [Amazon] StopConnect for UDC in Android tv-casting-app

Applied restyle formatting

* [Amazon] StopConnect for UDC in Android tv-casting-app

Fix restyle CI error

* [Amazon] StopConnect for UDC in Android tv-casting-app

Updated JNI and Android tv-casting-app to use CharToStringUTF
util function to create jstring and handle NULL JNIEnv interface

Changes
* JNI to use CharToStringUTF util function to create jstring
* Updated documentation for new JNI functions

Test
1. Manually verified UDC attempt is successful both Android iOS for following
   1. Attempt UDC attempt (both commissionee & commissioner generated passcode)
   2. Navigate back to discovery page
   3. Start new UDC attempt (both commissionee & commissioner generated passcode)

2. Manually verified UDC attempt is successful both Android iOS for following. UDC will finish in the background.
   1. Attempt UDC attempt (both commissionee & commissioner generated passcode)
   2. Confirm passcode on TV app or casting app depending on who
      generated passcode
   3. Navigate back before commission fnishes.

3. Manual regression test following
   * UDC attempt happy path (no navigate back) for both commissinee &
     commissioner generated passcode

* [Amazon] StopConnect for UDC in Android tv-casting-app

Updated JNI and Android tv-casting-app to use CharToStringUTF
util function to create jstring and handle NULL JNIEnv interface

Changes
* JNI to use CharToStringUTF util function to create jstring for all
  ConnectionState and not just errors

Test
1. Manually verified UDC attempt is successful both Android iOS for following
   1. Attempt UDC attempt (both commissionee & commissioner generated passcode)
   2. Navigate back to discovery page
   3. Start new UDC attempt (both commissionee & commissioner generated passcode)

2. Manually verified UDC attempt is successful both Android iOS for following. UDC will finish in the background.
   1. Attempt UDC attempt (both commissionee & commissioner generated passcode)
   2. Confirm passcode on TV app or casting app depending on who
      generated passcode
   3. Navigate back before commission fnishes.

3. Manual regression test following
   * UDC attempt happy path (no navigate back) for both commissinee &
     commissioner generated passcode
…37871)

There's a really good chance this attempt will in fact succeed, so don't touch
it.

As a followup, we will need to figure out a better state machine here.
…37875)

The node ID and compressed fabric ID can mutate in
controllerConfigurationUpdated:, and that can race with the property getters;
ensure we don't have a data race in that situation.
* [Telink] Update Docker image (Zephyr 3.3 & 3.7 support)

* [Telink] Remove Telink Zephyr 3.3 from chip-build-vscode
…7878)

1. Log which values get filtered on reports, so we know what's in the cache.
2. Log some state around our network features after we load information from
   persistent storage.
Copy link
Author

github-actions bot commented Mar 5, 2025

The check for sl-require-admin-action label CI failure for this job is normal. An admin must do the merge.

@mkardous-silabs mkardous-silabs merged commit 3283579 into main Mar 5, 2025
64 of 75 checks passed
@mkardous-silabs mkardous-silabs deleted the automation/update_main branch March 5, 2025 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants