mirror of
https://github.com/espressif/openthread.git
synced 2026-08-05 10:27:49 +00:00
[backbone-router] define C++ enum/types mirroring public definitions (#8809)
This commit defines C++ style types for use in core module mirroring the public OT C definitions. It also contains renames and smaller enhancements in BackBone Router modules.
This commit is contained in:
@@ -273,7 +273,7 @@ void DuaManager::NotifyDuplicateDomainUnicastAddress(void)
|
||||
void DuaManager::UpdateReregistrationDelay(void)
|
||||
{
|
||||
uint16_t delay = 0;
|
||||
otBackboneRouterConfig config;
|
||||
BackboneRouter::Config config;
|
||||
|
||||
VerifyOrExit(Get<BackboneRouter::Leader>().GetConfig(config) == kErrorNone);
|
||||
|
||||
@@ -338,8 +338,8 @@ exit:
|
||||
return;
|
||||
}
|
||||
|
||||
void DuaManager::HandleBackboneRouterPrimaryUpdate(BackboneRouter::Leader::State aState,
|
||||
const BackboneRouter::BackboneRouterConfig &aConfig)
|
||||
void DuaManager::HandleBackboneRouterPrimaryUpdate(BackboneRouter::Leader::State aState,
|
||||
const BackboneRouter::Config &aConfig)
|
||||
{
|
||||
OT_UNUSED_VARIABLE(aConfig);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user