Skip to content

Commit

Permalink
fix: enabled extended discovery on chef/nrfconnect (#18022)
Browse files Browse the repository at this point in the history
Change-Id: I10d6456465f48134d1f8c5f5cbc257dd50dbb839
  • Loading branch information
rochaferraz authored May 4, 2022
1 parent 53c29b5 commit 0a9e871
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/chef/nrfconnect/CHIPProjectConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@
#define CHIP_CONFIG_ENABLE_ARG_PARSER 1

#define CHIP_DEVICE_CONFIG_DISABLE_SHELL_PING 1

#define CHIP_DEVICE_CONFIG_ENABLE_EXTENDED_DISCOVERY 1
2 changes: 2 additions & 0 deletions examples/chef/nrfconnect/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ CHIP_ERROR main()

// Device Attestation & Onboarding codes
chip::Credentials::SetDeviceAttestationCredentialsProvider(chip::Credentials::Examples::GetExampleDACProvider());
#if CHIP_DEVICE_CONFIG_ENABLE_EXTENDED_DISCOVERY
chip::app::DnssdServer::Instance().SetExtendedDiscoveryTimeoutSecs(kExtDiscoveryTimeoutSecs);
#endif /* CHIP_DEVICE_CONFIG_ENABLE_EXTENDED_DISCOVERY */

// Start IM server
static chip::CommonCaseDeviceServerInitParams initParams;
Expand Down

0 comments on commit 0a9e871

Please sign in to comment.