Link API cleanup.

This commit is contained in:
Jonathan Hui
2017-03-02 10:24:55 -08:00
parent 98da7f3166
commit 0746a44a7c
25 changed files with 1127 additions and 1116 deletions
+2 -2
View File
@@ -130,7 +130,7 @@ void TestFuzz(uint32_t aSeconds)
VerifyOrQuit(aInstance != NULL, "Failed to initialize otInstance");
// Start the Thread network
otSetPanId(aInstance, (otPanId)0xFACE);
otLinkSetPanId(aInstance, (otPanId)0xFACE);
otIp6SetEnabled(aInstance, true);
otThreadStart(aInstance);
@@ -186,7 +186,7 @@ void TestFuzz(uint32_t aSeconds)
#endif
// Hack to get a receive poll immediately
otSetChannel(aInstance, 11);
otLinkSetChannel(aInstance, 11);
}
}
}