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 Oct 19, 2023
1 parent 55a385e commit 2709343
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 2709343

Please sign in to comment.