You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add initial feature logic for Terms and Conditions (TC) acknowledgements
This commit introduces the initial logic for handling Terms and
Conditions (TC) acknowledgements in the General Commissioning cluster.
The logic includes support for setting and checking TC acknowledgements
and versions during the commissioning process.
Changes include:
- Handling TC acknowledgements and TC acknowledgement version in the
pairing command.
- Logic to read TC attributes and check TC acceptance in the General
Commissioning server.
- Introduction of classes to manage TC acceptance logic.
- Initialization and use of TC providers in the server setup.
- Addition of a new commissioning stage for TC acknowledgements in the
commissioning flow.
The feature logic is currently disabled and will be enabled in an
example in a subsequent commit.
* ./scripts/helpers/restyle-diff.sh @{u}
* Ignore file reference check on TermsAndConditionsManager.cpp
The TermsAndConditionsManager.cpp file is only referenced within sample
apps that utilize the Terms and Conditions feature.
* Make `terms and conditions required` build configurable:
- Moved the configuration from core into app buildconfig
- renamed the flag to expand `TC` into `TERMS AND CONDITIONS`
- updated includes in general-commissioning to include the right header
- added the configuration as a build option into targets.py/host.py
- updated unit test
* Move terms and conditions to its own target and include cpp file
- Create a separate source set for terms and conditions
- include the manager cpp in that file
- make the build conditional (this required flag moving)
- fixed typo in targets.py to make things compile
Compile-tested only (the -terms-and-conditions variant of all clusters
compiled)
* Fix mangled license blurb
* Remove edited date for CHIPConfig.h
* Fix unit tests dependencies
* Add back some includes
---------
Co-authored-by: Andrei Litvin <andy314@gmail.com>
0 commit comments