mirror of
https://github.com/espressif/openthread.git
synced 2026-09-18 07:00:08 +00:00
[mle-types] add MeshLocalPrefix class (#4679)
This commit is contained in:
committed by
Jonathan Hui
parent
052047a15f
commit
ab81a256e4
@@ -106,10 +106,11 @@ void TestIphcVector::GetUncompressedStream(Message &aMessage)
|
||||
* This function initializes Thread Interface.
|
||||
*
|
||||
*/
|
||||
static void Init()
|
||||
static void Init(void)
|
||||
{
|
||||
otMeshLocalPrefix meshLocalPrefix = {{0xfd, 0x00, 0xca, 0xfe, 0xfa, 0xce, 0x12, 0x34}};
|
||||
sInstance->Get<Mle::MleRouter>().SetMeshLocalPrefix(meshLocalPrefix);
|
||||
|
||||
sInstance->Get<Mle::MleRouter>().SetMeshLocalPrefix(static_cast<Mle::MeshLocalPrefix &>(meshLocalPrefix));
|
||||
|
||||
// Emulate global prefixes with contextes.
|
||||
uint8_t mockNetworkData[] = {
|
||||
|
||||
Reference in New Issue
Block a user