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

[Silabs][Wi-Fi] Added Implementation for timeouts waiting for a TX Confirmation Event BLE #1

Closed
wants to merge 270 commits into from

Conversation

shgutte
Copy link
Owner

@shgutte shgutte commented Jan 30, 2024

Description of Problem/Feature:
Missing the Implementation for timeouts waiting for a TX Confirmation Event for WiFi BLE

Description of Fix/Solution:
Added Implementation for timeouts waiting for a TX Confirmation Event BLE.

Testing Done:
917 NCP + 4186C
917 SOC+ 4187C

mideayanghui and others added 30 commits January 9, 2024 02:02
…chip#31176)

* fix project-chip#27931 [OPSTATE] specific phase in the list should not null

* Restyled by clang-format

* remove unuseful namespace

* modify the document of api

* modify the document for api

---------

Co-authored-by: Restyled.io <commits@restyled.io>
* Access checker test: WIP

Tests that access is granted or denied properly for each attribue
on each cluster of the device. Read only currently, will test write
and command in forthcoming commits.

* missed one change.

* Restyled by isort

* start of write

* add to CI

* Fix write access checker

* More fixes to write

* Catch value error on return

* Restyled by isort

* Tests

* Restyled by isort

* appease the linter

* Address review comments

* Add optional tag to return type

* address review comments

* Manually fix a couple of data model XMLs

---------

Co-authored-by: Restyled.io <commits@restyled.io>
* enabling brd4338a to github ci

* Restyled by autopep8

* renaming 917-soc to 917_soc

* reverting the linux file

* fixing the linux test case

* adding the suggestion from the linux to fix that ci

* adding the rps flag only for soc

---------

Co-authored-by: Restyled.io <commits@restyled.io>
project-chip#31277)

* Added code to random address generation using hardware API's.

* Made changes as per review comments

* Restyled by clang-format

* Made trng key array constant as per comments.

---------

Co-authored-by: Restyled.io <commits@restyled.io>
…-chip#31303)

* Add onTransitionToActiveMode event to the ICDM cluster

* generated files
* sleep enabled on 917 soc

* some cleanup and changes

* removing alarm based wakeup by default and adding a parameter

* cleanup of logging and updating matter support pointer

* adding the header and removing the extern C

* Restyled by whitespace

* Restyled by clang-format

* Restyled by gn

* addressing the review comments

* renaming the API name

* adding the display enabled define

* adding the config which was adding the define

* Restyled by gn

---------

Co-authored-by: Restyled.io <commits@restyled.io>
…chip#31144)

* Add support for Aliro credential provisioning in door locks

- Add enums, attributes and commands for supporting Aliro credential provisioning to door locks

- Add auto generated code corresponding to changes in the XML

* Update src/app/zap-templates/zcl/data-model/chip/door-lock-cluster.xml

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

* Update src/app/zap-templates/zcl/data-model/chip/door-lock-cluster.xml

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

* Update src/app/zap-templates/zcl/data-model/chip/door-lock-cluster.xml

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

* Update src/app/zap-templates/zcl/data-model/chip/door-lock-cluster.xml

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

* Apply suggestions from code review

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

* Regenerate the zap files

* Add AliroExpeditedTransactionSupportedProtocolVersions and AliroSupportedBLEUWBProtocolVersions attributes as lists

---------

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

* [Python] Parse Interface ID from IP address string as well

Currently, when passing a link-local address with an interface specified
using the %<interface> notation leads to "CHIP Error 0x0000002F: Invalid
argument".

Correctly parse the interface ID as well and pass it to the PeerAddress
object.

* Restyled by clang-format

---------

Co-authored-by: Restyled.io <commits@restyled.io>
…#31319)

* [icd] create callback to indicate an alive subscription

* Restyled by clang-format

---------

Co-authored-by: Restyled.io <commits@restyled.io>
* added new attribute as per latest changes

* regen after updating cpid
BitFlags already has these constexpr, it seems we likely want
the same from bit masks.
…ome useless comments (project-chip#31345)

* Cleanup some callbacks" remove client attribute support and remove non-useful comments

* zap regen
* ICDHandler initialization

* ICDHandler initialization

* Restyled by gn

* Update src/app/icd/ICDHandler.cpp

Co-authored-by: Jean-Francois Penven <67962328+jepenven-silabs@users.noreply.github.com>

* ICDHandler initialization

* ICDHandler initialization

* ICDHandler initialization

* Restyled by gn

* ICDHandler initialization

* ICDHandler initialization

* Restyled by gn

* ICDHandler initialization

* Restyled by gn

* ICDHandler initialization

* ICDHandler initialization

* ICDHandler initialization

* ICDHandler initialization

* ICDHandler initialization

* Moved counter validation to DefaultICDClientStorage.

* Renamed ICDHandler to CheckInHandler

* Included CheckInDelegate in BUILD.gn

* Restyled by gn

* Added DefaultCheckInDelegate

* Restyled by whitespace

* Restyled by gn

* Modified error codes

* Updated variables

* Added condition for VerifyOrReturnError

* Resolve conflicts with master branch

* Added CheckInHandler init in chiptool

* Restyled by clang-format

* Restyled by gn

* Added include file

* Modified the access operator

* Added ICD client deps for tv-casting-app

* Restyled by gn

* Added unit test case for ProcessCheckInPayload

* Updated doxygen comments

* Addressed review comments

* Addressed review comments

* Addressed review comments.

* Moved checkin counter validation to CheckInHandler.

* Removed TestDefaultICDClientStorage from iotsdk.

* Restyled by gn

* add CheckInExchangeDispatch to accept unsecure check-in message

* Restyled by clang-format

* Removed DefaultICDClientInfoPersistentStorage.cpp.

* Addressed a few review comments.

* Modified a macro to make sure it is taken as a 64-bit interger.

* Restyled by clang-format

* Removed redundant error code CHIP_ERROR_DUPLICATE_MESSAGE

* Restyled by clang-format

* Modified the datatype for checkInCounter to CounterType from auto.

* Added code to refresh key.

* ICDHandler initialization

* ICDHandler initialization

* Resolve conflicts with master branch

* Added CheckInHandler init in chiptool

* Moved checkin counter validation to CheckInHandler.

* [icd] integrate ICD management command into CHIP tool (project-chip#30863)

* [icd] integrate ICD management command into CHIP tool

* Delete entry on failure

* Fix build

* ICDHandler initialization

* Added CheckInHandler init in chiptool

* Fixing merge conflicts

* Added OnRefreshKey callback

* Restyled by gn

* Modified APPDATA_LENGTh macro to inline consexpr variable.

* Modified CheckInDelegate and CheckInHandler to static members in chiptool.

* Return CHIP_NO_ERROR for failures in processing checkin message.

* Addressed review comments

* Fixed a spelling error

* Moved variable definition

* Reenable TestDefaultClientStorage for open iot.

* Restyled by gn

* Modified code to use updated API

* Removed obsolete comments

* Added comments

* Addressed review comments

* Improve ICDClientStorage (project-chip#30931)

* Added const qualifier to payload

* Return CHIP_NO_ERROR for duplicate check in message and log error.

* Return CHIP_NO_ERROR on duplicate checkin messages

* Added OnRefreshKeyRetrieve and addressed review comments

* Update src/lib/core/CHIPError.h

Co-authored-by: mkardous-silabs <84793247+mkardous-silabs@users.noreply.github.com>

* Restyled by whitespace

* Restyled by clang-format

* Restyled by gn

* Added a temporary suppression of error for including <unordered_map>

* Added a comment to suppress Lint error

* Addressed review comments

* Addressed review comments

* Addressed review comments.

* Removed code pertaining to key refresh. Will be a separate PR.

* Added a link to an issue

---------

Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: Jean-Francois Penven <67962328+jepenven-silabs@users.noreply.github.com>
Co-authored-by: yunhanw <yunhanw@google.com>
Co-authored-by: Song GUO <songguo@google.com>
Co-authored-by: mkardous-silabs <84793247+mkardous-silabs@users.noreply.github.com>
* Implement TimeSnapshot command properly

* Add TC-DGGEN-2.4

* Restyled by clang-format

* Restyled by isort

* Fix lint

* Try to fix build

* Fix lint some more

* Restyled by gn

* Address review comments

* Restyled by clang-format

* Restyled by gn

---------

Co-authored-by: tennessee.carmelveilleux@gmail.com <tennessee@google.com>
Co-authored-by: Restyled.io <commits@restyled.io>
* Add an option to set subscription capacity for linux examples

* Add basic subscription resumption cirque test and subscription resumption capacity cirque test

* Change the test app for subscription resumption test to lit-icd-app

* Restyled by clang-format

* Restyled by gn

* Restyled by autopep8

* Restyled by isort

* Fix Subscriptions capacity option type cast

* lints changes

* review changes

* typo changes

* Restyled by autopep8

* Restyled by isort

* ci fixes

---------

Co-authored-by: Restyled.io <commits@restyled.io>
* adding missing clusters to python script

* Restyled by isort

---------

Co-authored-by: Restyled.io <commits@restyled.io>
* Quick fix for Chef RVC compilation failure

* [Chef] Add new contactsensor device with powersource cluster

* Remove unused clusters

* Restyled by clang-format

---------

Co-authored-by: Restyled.io <commits@restyled.io>
* Update ICD device Info parameter

* Restyled by whitespace

* Restyled by google-java-format

* Restyled by clang-format

* Update ICDDeviceInfo, Add ChipTool UX(Toast message)

* Restyled by clang-format

* Change fabricIndex variable type

---------

Co-authored-by: Restyled.io <commits@restyled.io>
* Fix Chef RVC compilation failure

* Restyled by clang-format

---------

Co-authored-by: Restyled.io <commits@restyled.io>
…roject-chip#31353)

* Added builder for energy-management-app for Linux (host) and ESP32

* Added option to enable test event triggers for EVSE but in a generic way for future.

* Updated expected targets.
* Fix typo in washer-controls-cluster.xml

* Updating zap/matter files after fixing typos in washer-controls-cluster.xml
shgutte pushed a commit that referenced this pull request Aug 26, 2024
* pw_unit_test migration: lib support batch #1

* apply restyled patch

* integrate comments
shgutte pushed a commit that referenced this pull request Aug 26, 2024
…t-chip#34322)

* Fix the metadata module to make the wheel buildable

* Added the fix for metadata import

* Added fixes as per module build for metadata_testing_infrastructure

* Restyled by shfmt

* Make CI checks run

* Update build_python.sh

* Delete admin_storage.json

* Make metadata_parser python module wheel buildable within src/python_testing/matter_testing_infrastructure/ (#1)

* Adding metadata buildable wheel to src/python_testing/matter_testing_infrastructure
* Update build_python.sh
* Delete src/python_testing/matter_testing_infrastructure/build/lib/metadata_parser directory

---------

Co-authored-by: Restyled.io <commits@restyled.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment