Skip to content

Commit

Permalink
Remove not used OnDiscoveryExpiration callback (project-chip#21486)
Browse files Browse the repository at this point in the history
It seems that this is a leftover from project-chip#20007.
  • Loading branch information
arkq authored and isiu-apple committed Sep 16, 2022
1 parent 7f70b3b commit 2040fed
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/app/server/Dnssd.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,6 @@ class DLL_EXPORT DnssdServer
// assume the commissioning mode is kDisabled.
void SetCommissioningModeProvider(CommissioningModeProvider * provider) { mCommissioningModeProvider = provider; }

/// Callback from Discovery Expiration timer
/// Checks if discovery has expired and if so,
/// kicks off extend discovery (when enabled)
/// otherwise, stops commissionable node advertising
/// Discovery Expiration refers here to commissionable node advertising when in commissioning mode
void OnDiscoveryExpiration(System::Layer * aSystemLayer, void * aAppState);

#if CHIP_DEVICE_CONFIG_ENABLE_EXTENDED_DISCOVERY
/// Sets the extended discovery timeout. Value will be persisted across reboots
void SetExtendedDiscoveryTimeoutSecs(int32_t secs);
Expand Down

0 comments on commit 2040fed

Please sign in to comment.