mirror of
https://github.com/espressif/openthread.git
synced 2026-09-09 18:50:07 +00:00
Windows API DLL (#882)
* VS Solution files and minor fixes. * Move Tasklet into platform include file * Refactor data path APIs into openthread-ip6.h
This commit is contained in:
@@ -2033,6 +2033,10 @@ void Interpreter::ProcessState(int argc, char *argv[])
|
||||
{
|
||||
switch (otGetDeviceRole(mInstance))
|
||||
{
|
||||
case kDeviceRoleOffline:
|
||||
sServer->OutputFormat("offline\r\n");
|
||||
break;
|
||||
|
||||
case kDeviceRoleDisabled:
|
||||
sServer->OutputFormat("disabled\r\n");
|
||||
break;
|
||||
|
||||
@@ -42,6 +42,8 @@
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <openthread-ip6.h>
|
||||
#include <openthread-udp.h>
|
||||
#include <cli/cli_server.hpp>
|
||||
#include <net/icmp6.hpp>
|
||||
#include <common/timer.hpp>
|
||||
|
||||
Reference in New Issue
Block a user