Home
last modified time | relevance | path

Searched refs:otThreadGetDeviceRole (Results 1 – 12 of 12) sorted by relevance

/openthread-latest/src/core/api/
Dlink_raw_api.cpp231 otDeviceRole otThreadGetDeviceRole(otInstance *aInstance) in otThreadGetDeviceRole() function
Dthread_api.cpp312 otDeviceRole otThreadGetDeviceRole(otInstance *aInstance) in otThreadGetDeviceRole() function
/openthread-latest/include/openthread/
Dthread.h752 otDeviceRole otThreadGetDeviceRole(otInstance *aInstance);
/openthread-latest/src/ncp/
Dncp_base_mtd.cpp505 return mEncoder.WriteBool(otThreadGetDeviceRole(mInstance) != OT_DEVICE_ROLE_DISABLED); in HandlePropertyGet()
516 if (enabled != (otThreadGetDeviceRole(mInstance) != OT_DEVICE_ROLE_DISABLED)) in HandlePropertySet()
536 switch (otThreadGetDeviceRole(mInstance)) in HandlePropertyGet()
4722 switch (otThreadGetDeviceRole(mInstance)) in ProcessThreadChangedFlags()
4734 … if ((otThreadGetDeviceRole(mInstance) == OT_DEVICE_ROLE_LEADER) && otThreadIsSingleton(mInstance)) in ProcessThreadChangedFlags()
Dncp_base.cpp2243 if (otThreadGetDeviceRole(mInstance) != OT_DEVICE_ROLE_DISABLED) in HandlePropertySet()
/openthread-latest/tests/unit/
Dtest_srp_server.cpp219 VerifyOrQuit(otThreadGetDeviceRole(sInstance) == OT_DEVICE_ROLE_LEADER); in InitTest()
Dtest_dns_client.cpp223 VerifyOrQuit(otThreadGetDeviceRole(sInstance) == OT_DEVICE_ROLE_LEADER); in InitTest()
Dtest_srp_adv_proxy.cpp555 VerifyOrQuit(otThreadGetDeviceRole(sInstance) == OT_DEVICE_ROLE_LEADER); in InitTest()
Dtest_dnssd_discovery_proxy.cpp228 VerifyOrQuit(otThreadGetDeviceRole(sInstance) == OT_DEVICE_ROLE_LEADER); in InitTest()
Dtest_routing_manager.cpp1209 VerifyOrQuit(otThreadGetDeviceRole(sInstance) == OT_DEVICE_ROLE_LEADER); in InitTest()
/openthread-latest/src/posix/platform/
Dnetif.cpp1236 … settings.mLinkSecurityEnabled = (otThreadGetDeviceRole(aInstance) != OT_DEVICE_ROLE_DISABLED); in processTransmit()
/openthread-latest/src/cli/
Dcli.cpp6399 OutputLine("%s", otThreadDeviceRoleToString(otThreadGetDeviceRole(GetInstancePtr()))); in Process()