/openthread-latest/src/lib/spinel/ |
D | spinel_buffer.cpp | 365 EXPECT(mWriteDirection != kUnknown, error = OT_ERROR_INVALID_STATE); in InFrameFeedByte() 380 EXPECT(mWriteDirection != kUnknown, error = OT_ERROR_INVALID_STATE); in InFrameFeedData() 401 EXPECT(mWriteDirection != kUnknown, error = OT_ERROR_INVALID_STATE); in InFrameFeedMessage() 421 EXPECT(mWriteDirection != kUnknown, error = OT_ERROR_INVALID_STATE); in InFrameGetPosition() 440 EXPECT(mWriteDirection != kUnknown, error = OT_ERROR_INVALID_STATE); in InFrameOverwrite() 489 EXPECT(mWriteDirection != kUnknown, error = OT_ERROR_INVALID_STATE); in InFrameReset() 509 EXPECT(mWriteDirection != kUnknown, error = OT_ERROR_INVALID_STATE); in InFrameEnd()
|
D | spinel_encoder.cpp | 200 EXPECT(mNumOpenStructs < kMaxNestedStructs, error = OT_ERROR_INVALID_STATE); in OpenStruct() 219 EXPECT(mNumOpenStructs > 0, error = OT_ERROR_INVALID_STATE); in CloseStruct() 224 EXPECT(len >= sizeof(uint16_t), error = OT_ERROR_INVALID_STATE); in CloseStruct()
|
D | spinel_decoder.cpp | 342 EXPECT(mNumOpenStructs < kMaxNestedStructs, error = OT_ERROR_INVALID_STATE); in OpenStruct() 359 EXPECT(mNumOpenStructs > 0, error = OT_ERROR_INVALID_STATE); in CloseStruct() 390 EXPECT(IsSavedPositionValid(), error = OT_ERROR_INVALID_STATE); in ResetToSaved()
|
D | spinel_helper.cpp | 78 ret = OT_ERROR_INVALID_STATE; in SpinelStatusToOtError()
|
D | radio_spinel.cpp | 1602 otError error = OT_ERROR_INVALID_STATE; in Transmit() 1683 EXPECT(mState != kStateDisabled, error = OT_ERROR_INVALID_STATE); in Receive() 1727 error = OT_ERROR_INVALID_STATE; in Sleep() 1765 EXPECT(mState == kStateSleep, error = OT_ERROR_INVALID_STATE); in Disable()
|
/openthread-latest/src/cli/ |
D | cli_tcp.cpp | 297 VerifyOrExit(mInitialized, error = OT_ERROR_INVALID_STATE); in Process() 349 VerifyOrExit(mInitialized, error = OT_ERROR_INVALID_STATE); in Process() 396 VerifyOrExit(mInitialized, error = OT_ERROR_INVALID_STATE); in Process() 475 VerifyOrExit(mInitialized, error = OT_ERROR_INVALID_STATE); in Process() 657 VerifyOrExit(mInitialized, error = OT_ERROR_INVALID_STATE); in Process() 683 VerifyOrExit(mInitialized, error = OT_ERROR_INVALID_STATE); in Process() 717 VerifyOrExit(mInitialized, error = OT_ERROR_INVALID_STATE); in Process() 745 VerifyOrExit(mInitialized, error = OT_ERROR_INVALID_STATE); in Process()
|
D | cli_udp.cpp | 259 VerifyOrExit(otUdpIsOpen(GetInstancePtr(), &mSocket), error = OT_ERROR_INVALID_STATE); in Process()
|
D | cli_coap.cpp | 85 VerifyOrExit(mRequestTokenLength != 0, error = OT_ERROR_INVALID_STATE); in CancelResourceSubscription()
|
/openthread-latest/src/posix/platform/ |
D | trel.cpp | 213 VerifyOrExit(sSocket >= 0, error = OT_ERROR_INVALID_STATE); in SendPacket() 235 error = OT_ERROR_INVALID_STATE; in SendPacket() 306 …if (SendPacket(packet->mBuffer, packet->mLength, &packet->mDestSockAddr) == OT_ERROR_INVALID_STATE) in SendQueuedPackets() 529 (SendPacket(aUdpPayload, aUdpPayloadLen, aDestSockAddr) == OT_ERROR_INVALID_STATE)) in otPlatTrelSend()
|
D | netif.cpp | 656 VerifyOrExit(netifIdx > 0, error = OT_ERROR_INVALID_STATE); in AddRoute() 657 VerifyOrExit(sNetlinkFd >= 0, error = OT_ERROR_INVALID_STATE); in AddRoute() 711 VerifyOrExit(netifIdx > 0, error = OT_ERROR_INVALID_STATE); in DeleteRoute() 712 VerifyOrExit(sNetlinkFd >= 0, error = OT_ERROR_INVALID_STATE); in DeleteRoute()
|
D | udp.cpp | 157 error = (errno == EINVAL) ? OT_ERROR_INVALID_STATE : OT_ERROR_FAILED; in transmitPacket()
|
D | spi_interface.cpp | 398 …(mReceiveFrameCallback != nullptr) && (mRxFrameBuffer != nullptr), error = OT_ERROR_INVALID_STATE); in PushPullSpi()
|
/openthread-latest/include/openthread/ |
D | error.h | 128 OT_ERROR_INVALID_STATE = 13, enumerator
|
/openthread-latest/tests/unit/ |
D | test_spinel_buffer.cpp | 730 VerifyOrQuit(ncpBuffer.InFrameFeedData(sOpenThreadText, 1) == OT_ERROR_INVALID_STATE); in TestBuffer() 731 VerifyOrQuit(ncpBuffer.InFrameFeedData(sOpenThreadText, 0) == OT_ERROR_INVALID_STATE); in TestBuffer() 732 VerifyOrQuit(ncpBuffer.InFrameFeedData(sOpenThreadText, 0) == OT_ERROR_INVALID_STATE); in TestBuffer() 733 VerifyOrQuit(ncpBuffer.InFrameEnd() == OT_ERROR_INVALID_STATE); in TestBuffer() 738 VerifyOrQuit(ncpBuffer.InFrameFeedMessage(message) == OT_ERROR_INVALID_STATE); in TestBuffer() 740 VerifyOrQuit(ncpBuffer.InFrameEnd() == OT_ERROR_INVALID_STATE); in TestBuffer() 801 VerifyOrQuit(ncpBuffer.InFrameGetPosition(pos2) == OT_ERROR_INVALID_STATE); in TestBuffer() 812 VerifyOrQuit(ncpBuffer.InFrameGetPosition(pos2) == OT_ERROR_INVALID_STATE); in TestBuffer()
|
D | test_spinel_decoder.cpp | 193 VerifyOrQuit(decoder.ResetToSaved() == OT_ERROR_INVALID_STATE); in TestDecoder() 213 VerifyOrQuit(decoder.ResetToSaved() == OT_ERROR_INVALID_STATE); in TestDecoder() 284 VerifyOrQuit(decoder.ResetToSaved() == OT_ERROR_INVALID_STATE); in TestDecoder() 290 VerifyOrQuit(decoder.ResetToSaved() == OT_ERROR_INVALID_STATE); in TestDecoder() 598 VerifyOrQuit(decoder.ResetToSaved() == OT_ERROR_INVALID_STATE); in TestDecoder()
|
/openthread-latest/examples/platforms/utils/ |
D | uart_rtt.c | 103 otEXPECT_ACTION(sUartPendingUp, error = OT_ERROR_INVALID_STATE); in otPlatUartFlush()
|
/openthread-latest/src/core/common/ |
D | error.hpp | 69 constexpr Error kErrorInvalidState = OT_ERROR_INVALID_STATE;
|
/openthread-latest/examples/platforms/simulation/ |
D | radio.c | 264 …ACTION(sFilterMode != (deny ? kFilterAllowList : kFilterDenyList), error = OT_ERROR_INVALID_STATE); in ProcessNodeIdFilter() 469 otEXPECT_ACTION(sState == OT_RADIO_STATE_SLEEP, error = OT_ERROR_INVALID_STATE); in otPlatRadioDisable() 483 otError error = OT_ERROR_INVALID_STATE; in otPlatRadioSleep() 500 otError error = OT_ERROR_INVALID_STATE; in otPlatRadioReceive() 522 otError error = OT_ERROR_INVALID_STATE; in otPlatRadioTransmit()
|
D | ble.c | 149 otEXPECT_ACTION(sFd != -1, error = OT_ERROR_INVALID_STATE); in otPlatBleGattServerIndicate()
|
D | uart.c | 191 otEXPECT_ACTION(s_write_buffer != NULL && s_write_length > 0, error = OT_ERROR_INVALID_STATE); in otPlatUartFlush()
|
/openthread-latest/src/core/api/ |
D | nat64_api.cpp | 165 err = OT_ERROR_INVALID_STATE); in otNat64SynthesizeIp6Address()
|
/openthread-latest/src/ncp/ |
D | ncp_base.cpp | 149 case OT_ERROR_INVALID_STATE: in ThreadErrorToSpinelStatus() 570 VerifyOrExit(!mDisableStreamWrite, error = OT_ERROR_INVALID_STATE); in StreamWrite() 571 … VerifyOrExit(!mChangedPropsSet.IsPropertyFiltered(streamPropKey), error = OT_ERROR_INVALID_STATE); in StreamWrite() 735 VerifyOrExit(!mDisableStreamWrite, error = OT_ERROR_INVALID_STATE); in Log() 1821 …rifyOrExit(mCurScanChannel[mCurCommandIid] == kInvalidScanChannel, error = OT_ERROR_INVALID_STATE); in HandlePropertySet() 2792 otError error = OT_ERROR_INVALID_STATE; in otNcpStreamWrite()
|
D | ncp_base_radio.cpp | 497 VerifyOrExit(otLinkRawIsEnabled(mInstance), error = OT_ERROR_INVALID_STATE); in HandlePropertySet_SPINEL_PROP_STREAM_RAW()
|
D | ncp_base_mtd.cpp | 1003 VerifyOrExit(mAllowLocalNetworkDataChange, error = OT_ERROR_INVALID_STATE); in HandlePropertyInsert() 1044 VerifyOrExit(mAllowLocalNetworkDataChange, error = OT_ERROR_INVALID_STATE); in HandlePropertyRemove() 1104 VerifyOrExit(mAllowLocalServerDataChange, error = OT_ERROR_INVALID_STATE); in HandlePropertyInsert() 1138 VerifyOrExit(mAllowLocalServerDataChange, error = OT_ERROR_INVALID_STATE); in HandlePropertyRemove() 2308 VerifyOrExit(mAllowLocalNetworkDataChange, error = OT_ERROR_INVALID_STATE); in HandlePropertyInsert() 2334 VerifyOrExit(mAllowLocalNetworkDataChange, error = OT_ERROR_INVALID_STATE); in HandlePropertyRemove()
|
D | ncp_base_ftd.cpp | 1155 if (error == OT_ERROR_INVALID_STATE) in HandlePropertyRemove()
|