mirror of
https://github.com/espressif/openthread.git
synced 2026-07-25 21:44:07 +00:00
[topology] define 'Neighbor::Info', 'Child::Info', and 'Router::Info' (#5328)
This commit adds new class definitions in `topology` to represent neighbor/child/router info.
This commit is contained in:
committed by
GitHub
parent
5c6c798576
commit
481f69703b
@@ -304,7 +304,7 @@ otError otThreadGetNextNeighborInfo(otInstance *aInstance, otNeighborInfoIterato
|
||||
|
||||
OT_ASSERT((aInfo != nullptr) && (aIterator != nullptr));
|
||||
|
||||
return instance.Get<Mle::MleRouter>().GetNextNeighborInfo(*aIterator, *aInfo);
|
||||
return instance.Get<Mle::MleRouter>().GetNextNeighborInfo(*aIterator, *static_cast<Neighbor::Info *>(aInfo));
|
||||
}
|
||||
|
||||
otDeviceRole otThreadGetDeviceRole(otInstance *aInstance)
|
||||
|
||||
Reference in New Issue
Block a user