Skip to content

Commit

Permalink
Enable operational advertising (and CASE server) in Darwin framework. (
Browse files Browse the repository at this point in the history
…#15951)

Operational advertising and a CASE server is needed for at least two things:

1. Subscriptions, so the other side can establish a CASE session if
   there isn't one already.

2. OTA provider server implementation.

Chances are, things using the framework will want at leasts one of
these things, so we just enable unconditionally when bringing up the
Matter stack.
  • Loading branch information
bzbarsky-apple authored and pull[bot] committed Apr 1, 2022
1 parent 3f989e5 commit 2960989
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/darwin/Framework/CHIP/CHIPDeviceController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ - (BOOL)startup:(_Nullable id<CHIPPersistentStorageDelegate>)storageDelegate
if (_listenPort) {
params.listenPort = _listenPort;
}
params.enableServerInteractions = true;

// Initialize device attestation verifier
// TODO: Replace testingRootStore with a AttestationTrustStore that has the necessary official PAA roots available
Expand Down

0 comments on commit 2960989

Please sign in to comment.