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

merge master #7

Merged
merged 32 commits into from
May 5, 2021
Merged

Conversation

Jagadish-NXP
Copy link
Owner

Problem

<<<<<FILL ME IN - the issue this PR is intended to address>>>>>

Summary of Changes

<<<<<FILL ME IN - what's in this PR>>>>>

Fixes #<<<<<FILL ME IN - issue number(s). If no issue, please create one>>>>>

srickardti and others added 30 commits May 3, 2021 11:04
* Add configuration to enable the OpenThread SRP client
* Add default GN option to add the CHIP platform mDNS code
* Add Crypto API to verify the CSR and get pubkey

* fix test build

* Detect if CSR parsing is not supported

* reduce stack usage in the test

* disable CSR processing for embedded targets
* Remove emberAfMaximumApsPayloadLength method

 #### Problem
 Ember has a limit on the actual message payload. Currently this limit is `82` and it starts to be
 too small for reading `List` attributes.
 Futhermore, there is a method named `emberAfMaximumApsPayloadLength` use to calculate the size
 of the payload depending on some routing parameters as far as I can tell. It is unclear to me
 that CHIP will ever use those.

 #### Summary of changes
 * Remove `emberAfMaximumApsPayloadLength` and some dependencies
 * Upgrade the maximum payload size from `82` to `1024`

* Update gen/ folders
…letion handler (#6411)

* Make sure string data are available when passed to the registered completion handler

* Update gen/ folders
* Add APIs to generate minimal CHIP x509 encoded certificates

* fix build errors

* address review comments

* address some review comments

* some more cleanup

* Fix test stack usage

* remove PutRaw() and add a TODO

* add anonymous namespace

* Check that serial number is not negative
* [ZAP] Replace 'uint8_t *' by 'chip::ByteSpan' for OCTET_STRING

* Update gen/ folders
* Implement general commisioning callbacks

* Address review comments

* Return CHIP_ERROR_NOT_IMPLEMENTED for unimplemented functions

* Use static memeber function instead of friend member function
#6358)

* Add Pairing API in CHIPFramework that takes in an onboarding payload string

* Restyled by whitespace

* Restyled by clang-format

* Fixing headers

* Restyled by clang-format

* Correct ordering of imports

Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: Justin Wood <woody@apple.com>
… of the Data Model (#6445)

* Add a Test Cluster

* Activate the Test Cluster server into multiples ZAP configuration

* Update Darwin tests to use the Test Cluster

* Update gen/ folders
…nds (#6417)

Problem
TV example app does not support on and off commands
TV example app does not support level control commands

Summary of Changes
- Added attribute change callback so that developper can detect on-off attribute change and implement logic for TV
- Added LevelControl.cpp file so that developper can use it and change current level-control.h file. We do not need all the logic from the current level-control cluster. Handeling step command is enough.

Test
- Tested locally using chip-tool client and newly created tv-server
- Used the zap_regen_all.py and gn_build.sh to verify the building is successful
* Use ObjC naming convention for Cluster Method names

* Add generated files

* Update CHIP Tool

* Restyled by clang-format

* Fix tests

* Regenrate the test source

* Fix responseHandler name

* Regenerate tests

* Regen everything again

Co-authored-by: Restyled.io <commits@restyled.io>
* Disable CRMP if we send/receive messages not over UDP transport

* Declare reliableTransmissionRequested when it is first use
* Delete RendezvousSession, and move code to controller and server

* some cleanup

* some more cleanup

* fix Android build

* more fixes to Android build

* update commented out code
This gets printed earlier, but it's easier to find in the logs
if we just print it when we go to the QR code screen.
* Use uint16_t instead of uint8_t for the size member of EmberAfAttributeMetadata

* Update gen/ folders
* Pin versions for connectedhomeip/chip-build image

Signed-off-by: Victor Morales <v.morales@samsung.com>

* Pin versions for connectedhomeip/chip-build-efr32 image

Signed-off-by: Victor Morales <v.morales@samsung.com>

* Pin versions for connectedhomeip/chip-build-android image

Signed-off-by: Victor Morales <v.morales@samsung.com>

* Pin versions for connectedhomeip/chip-build-cirque image

Signed-off-by: Victor Morales <v.morales@samsung.com>

* Pin versions for connectedhomeip/chip-build-esp32 image

Signed-off-by: Victor Morales <v.morales@samsung.com>

* Pin versions for connectedhomeip/chip-build-esp32-qemu image

Signed-off-by: Victor Morales <v.morales@samsung.com>

* Pin versions for connectedhomeip/chip-build-k32w image

Signed-off-by: Victor Morales <v.morales@samsung.com>

* Pin versions for connectedhomeip/chip-build-nrf-platform image

Signed-off-by: Victor Morales <v.morales@samsung.com>

Co-authored-by: Victor Morales <v.morales@samsung.com>
…o upper layer (#6333)

* Move packetHeader decoding from transport to messaging

* Move encoding from transport layer to messaging layer

* Remove CRMP rewind

* Address the review comments

* remove extra return check.

* Update src/transport/SecureSessionMgr.h

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

* Update src/transport/TransportMgr.h

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

* Update src/transport/raw/TCP.cpp

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

* Update src/transport/raw/Tuple.h

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

* Add UDP checking back

Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
* Move Internal APIs to an Internal Header

* Restyled by clang-format

Co-authored-by: Restyled.io <commits@restyled.io>
* OpCreds Fabric Management functionality

    Adds functionality for reading the fabrics list attribute which gets updated after any updates to the admin pairing table.
    Adds functionary for removeFabric.
    Adds a setFabric command as a temporary command before AddOptCert is implemented. This allows the commissioner to set their vendorId for their fabric and returns to them their fabricId
    Remove the label field of FabricDescriptor struct because a bug in the generated code makes it that the whole list is corrupted if if is present (we need to fix whatever is wrong with OCTET_STRING in lists). This means that the UpdateFabricLabel implementation is not included in this patch.
    UI updates in the iOS demo app

* regen files

* Restyled by whitespace

* Restyled by clang-format

* Restyled by gn

* Restyled by whitespace

* Restyled by clang-format

* Fixing unused variable

Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: Justin Wood <woody@apple.com>
@Jagadish-NXP Jagadish-NXP merged commit 5004194 into Jagadish-NXP:feature/PBKDF-HSM May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.