mirror of
https://github.com/espressif/openthread.git
synced 2026-07-08 13:20:25 +00:00
Add otGetFactoryAssignedIeeeEui64() to API. (#592)
- Change cli.cpp to use OpenThread API rather than platform API.
This commit is contained in:
+1
-2
@@ -52,7 +52,6 @@
|
||||
#include <common/encoding.hpp>
|
||||
#include <common/new.hpp>
|
||||
#include <net/ip6.hpp>
|
||||
#include <platform/radio.h>
|
||||
#include <platform/random.h>
|
||||
#include <platform/uart.h>
|
||||
|
||||
@@ -556,7 +555,7 @@ void Interpreter::ProcessEui64(int argc, char *argv[])
|
||||
|
||||
VerifyOrExit(argc == 0, error = kThreadError_Parse);
|
||||
|
||||
otPlatRadioGetIeeeEui64(mInstance, extAddress.m8);
|
||||
otGetFactoryAssignedIeeeEui64(mInstance, &extAddress);
|
||||
OutputBytes(extAddress.m8, OT_EXT_ADDRESS_SIZE);
|
||||
sServer->OutputFormat("\r\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user