/openthread-latest/src/lib/spinel/ |
D | spinel_encoder.hpp | 77 otError BeginFrame(Spinel::Buffer::Priority aPriority); 94 otError BeginFrame(uint8_t aHeader, unsigned int aCommand); 116 otError BeginFrame(uint8_t aHeader, unsigned int aCommand, spinel_prop_key_t aKey); 132 otError OverwriteWithLastStatusError(spinel_status_t aStatus); 150 otError EndFrame(void); 167 otError WriteBool(bool aBool) { return mNcpBuffer.InFrameFeedByte(aBool ? 0x01 : 0x00); } in WriteBool() 184 otError WriteUint8(uint8_t aUint8) { return mNcpBuffer.InFrameFeedByte(aUint8); } in WriteUint8() 201 otError WriteInt8(int8_t aInt8) { return WriteUint8(static_cast<uint8_t>(aInt8)); } in WriteInt8() 218 otError WriteUint16(uint16_t aUint16); 235 otError WriteInt16(int16_t aInt16) { return WriteUint16(static_cast<uint16_t>(aInt16)); } in WriteInt16() [all …]
|
D | spinel_decoder.hpp | 124 otError ReadBool(bool &aBool); 136 otError ReadInt8(int8_t &aInt8); 148 otError ReadUint8(uint8_t &aUint8); 160 otError ReadInt16(int16_t &aInt16); 172 otError ReadUint16(uint16_t &aUint16); 184 otError ReadInt32(int32_t &aInt32); 196 otError ReadUint32(uint32_t &aUint32); 208 otError ReadInt64(int64_t &aInt64); 220 otError ReadUint64(uint64_t &aUint64); 232 otError ReadUintPacked(unsigned int &aUint); [all …]
|
D | radio_spinel.hpp | 202 otError SetPromiscuous(bool aEnable); 213 otError SetRxOnWhenIdle(bool aEnable); 224 otError SetShortAddress(uint16_t aAddress); 235 otError SetAlternateShortAddress(uint16_t aAddress); 247 otError GetIeeeEui64(uint8_t *aIeeeEui64); 258 otError SetExtendedAddress(const otExtAddress &aExtAddress); 269 otError SetPanId(uint16_t aPanId); 280 otError GetTransmitPower(int8_t &aPower); 291 otError SetTransmitPower(int8_t aPower); 302 otError GetCcaEnergyDetectThreshold(int8_t &aThreshold); [all …]
|
D | spinel_decoder.cpp | 70 otError Decoder::ReadBool(bool &aBool) in ReadBool() 72 otError error = OT_ERROR_NONE; in ReadBool() 95 otError Decoder::ReadUint8(uint8_t &aUint8) in ReadUint8() 97 otError error = OT_ERROR_NONE; in ReadUint8() 107 otError Decoder::ReadInt8(int8_t &aInt8) in ReadInt8() 109 otError error = OT_ERROR_NONE; in ReadInt8() 119 otError Decoder::ReadUint16(uint16_t &aUint16) in ReadUint16() 121 otError error = OT_ERROR_NONE; in ReadUint16() 133 otError Decoder::ReadInt16(int16_t &aInt16) in ReadInt16() 135 otError error = OT_ERROR_NONE; in ReadInt16() [all …]
|
D | spinel_encoder.cpp | 42 otError Encoder::BeginFrame(Spinel::Buffer::Priority aPriority) in BeginFrame() 49 otError Encoder::BeginFrame(uint8_t aHeader, unsigned int aCommand) in BeginFrame() 51 otError error = OT_ERROR_NONE; in BeginFrame() 71 otError Encoder::BeginFrame(uint8_t aHeader, unsigned int aCommand, spinel_prop_key_t aKey) in BeginFrame() 73 otError error = OT_ERROR_NONE; in BeginFrame() 90 otError Encoder::OverwriteWithLastStatusError(spinel_status_t aStatus) in OverwriteWithLastStatusError() 92 otError error = OT_ERROR_NONE; in OverwriteWithLastStatusError() 102 otError Encoder::EndFrame(void) in EndFrame() 104 otError error = OT_ERROR_NONE; in EndFrame() 117 otError Encoder::WriteUint16(uint16_t aUint16) in WriteUint16() [all …]
|
/openthread-latest/src/core/utils/ |
D | parse_cmdline.hpp | 69 otError ParseAsUint8(const char *aString, uint8_t &aUint8); 82 otError ParseAsUint16(const char *aString, uint16_t &aUint16); 95 otError ParseAsUint32(const char *aString, uint32_t &aUint32); 108 otError ParseAsUint64(const char *aString, uint64_t &aUint64); 122 otError ParseAsInt8(const char *aString, int8_t &aInt8); 136 otError ParseAsInt16(const char *aString, int16_t &aInt16); 150 otError ParseAsInt32(const char *aString, int32_t &aInt32); 163 otError ParseAsBool(const char *aString, bool &aBool); 176 otError ParseAsIp6Address(const char *aString, otIp6Address &aAddress); 187 otError ParseAsIp4Address(const char *aString, otIp4Address &aAddress); [all …]
|
/openthread-latest/include/openthread/platform/ |
D | crypto.h | 241 otError otPlatCryptoImportKey(otCryptoKeyRef *aKeyRef, 263 otError otPlatCryptoExportKey(otCryptoKeyRef aKeyRef, uint8_t *aBuffer, size_t aBufferLen, size_t *… 275 otError otPlatCryptoDestroyKey(otCryptoKeyRef aKeyRef); 301 otError otPlatCryptoHmacSha256Init(otCryptoContext *aContext); 312 otError otPlatCryptoHmacSha256Deinit(otCryptoContext *aContext); 324 otError otPlatCryptoHmacSha256Start(otCryptoContext *aContext, const otCryptoKey *aKey); 337 otError otPlatCryptoHmacSha256Update(otCryptoContext *aContext, const void *aBuf, uint16_t aBufLeng… 350 otError otPlatCryptoHmacSha256Finish(otCryptoContext *aContext, uint8_t *aBuf, size_t aBufLength); 365 otError otPlatCryptoAesInit(otCryptoContext *aContext); 377 otError otPlatCryptoAesSetKey(otCryptoContext *aContext, const otCryptoKey *aKey); [all …]
|
D | radio.h | 584 otError otPlatRadioGetTransmitPower(otInstance *aInstance, int8_t *aPower); 598 otError otPlatRadioSetTransmitPower(otInstance *aInstance, int8_t aPower); 610 otError otPlatRadioGetCcaEnergyDetectThreshold(otInstance *aInstance, int8_t *aThreshold); 622 otError otPlatRadioSetCcaEnergyDetectThreshold(otInstance *aInstance, int8_t aThreshold); 634 otError otPlatRadioGetFemLnaGain(otInstance *aInstance, int8_t *aGain); 645 otError otPlatRadioSetFemLnaGain(otInstance *aInstance, int8_t aGain); 818 otError otPlatRadioEnable(otInstance *aInstance); 828 otError otPlatRadioDisable(otInstance *aInstance); 848 otError otPlatRadioSleep(otInstance *aInstance); 859 otError otPlatRadioReceive(otInstance *aInstance, uint8_t aChannel); [all …]
|
D | diag.h | 95 otError otPlatDiagProcess(otInstance *aInstance, uint8_t aArgsLength, char *aArgs[]); 132 void otPlatDiagRadioReceived(otInstance *aInstance, otRadioFrame *aFrame, otError aError); 153 otError otPlatDiagGpioSet(uint32_t aGpio, bool aValue); 167 otError otPlatDiagGpioGet(uint32_t aGpio, bool *aValue); 181 otError otPlatDiagGpioSetMode(uint32_t aGpio, otGpioMode aMode); 196 otError otPlatDiagGpioGetMode(uint32_t aGpio, otGpioMode *aMode); 209 otError otPlatDiagRadioSetRawPowerSetting(otInstance *aInstance, 227 otError otPlatDiagRadioGetRawPowerSetting(otInstance *aInstance, 240 otError otPlatDiagRadioRawPowerSettingEnable(otInstance *aInstance, bool aEnable); 252 otError otPlatDiagRadioTransmitCarrier(otInstance *aInstance, bool aEnable); [all …]
|
/openthread-latest/include/openthread/ |
D | link_raw.h | 61 typedef void (*otLinkRawReceiveDone)(otInstance *aInstance, otRadioFrame *aFrame, otError aError); 74 otError otLinkRawSetReceiveDone(otInstance *aInstance, otLinkRawReceiveDone aCallback); 105 otError otLinkRawSetPromiscuous(otInstance *aInstance, bool aEnable); 116 otError otLinkRawSetShortAddress(otInstance *aInstance, uint16_t aShortAddress); 136 otError otLinkRawSetAlternateShortAddress(otInstance *aInstance, otShortAddress aShortAddress); 148 otError otLinkRawSleep(otInstance *aInstance); 159 otError otLinkRawReceive(otInstance *aInstance); 189 otError aError); 207 otError otLinkRawTransmit(otInstance *aInstance, otLinkRawTransmitDone aCallback); 248 otError otLinkRawEnergyScan(otInstance *aInstance, [all …]
|
D | mdns.h | 159 otError otMdnsSetEnabled(otInstance *aInstance, bool aEnable, uint32_t aInfraIfIndex); 241 otError otMdnsRegisterHost(otInstance *aInstance, 265 otError otMdnsUnregisterHost(otInstance *aInstance, const otMdnsHost *aHost); 303 otError otMdnsRegisterService(otInstance *aInstance, 330 otError otMdnsUnregisterService(otInstance *aInstance, const otMdnsService *aService); 360 otError otMdnsRegisterKey(otInstance *aInstance, 388 otError otMdnsUnregisterKey(otInstance *aInstance, const otMdnsKey *aKey); 430 otError otMdnsGetNextHost(otInstance *aInstance, 453 otError otMdnsGetNextService(otInstance *aInstance, 475 otError otMdnsGetNextKey(otInstance *aInstance, otMdnsIterator *aIterator, otMdnsKey *aKey, otMdnsE… [all …]
|
D | coap.h | 340 otError aResult); 369 typedef otError (*otCoapBlockwiseReceiveHook)(void *aContext, 395 typedef otError (*otCoapBlockwiseTransmitHook)(void *aContext, 490 otError otCoapMessageInitResponse(otMessage *aResponse, const otMessage *aRequest, otCoapType aType… 502 otError otCoapMessageSetToken(otMessage *aMessage, const uint8_t *aToken, uint8_t aTokenLength); 530 otError otCoapMessageAppendContentFormatOption(otMessage *aMessage, otCoapOptionContentFormat aCont… 544 otError otCoapMessageAppendOption(otMessage *aMessage, uint16_t aNumber, uint16_t aLength, const vo… 560 otError otCoapMessageAppendUintOption(otMessage *aMessage, uint16_t aNumber, uint32_t aValue); 572 otError otCoapMessageAppendObserveOption(otMessage *aMessage, uint32_t aObserve); 584 otError otCoapMessageAppendUriPathOptions(otMessage *aMessage, const char *aUriPath); [all …]
|
D | dns_client.h | 207 typedef void (*otDnsAddressCallback)(otError aError, const otDnsAddressResponse *aResponse, void *a… 227 otError otDnsClientResolveAddress(otInstance *aInstance, 256 otError otDnsClientResolveIp4Address(otInstance *aInstance, 274 otError otDnsAddressResponseGetHostName(const otDnsAddressResponse *aResponse, 298 otError otDnsAddressResponseGetAddress(const otDnsAddressResponse *aResponse, 325 typedef void (*otDnsBrowseCallback)(otError aError, const otDnsBrowseResponse *aResponse, void *aCo… 364 otError otDnsClientBrowse(otInstance *aInstance, 382 otError otDnsBrowseResponseGetServiceName(const otDnsBrowseResponse *aResponse, 407 otError otDnsBrowseResponseGetServiceInstance(const otDnsBrowseResponse *aResponse, 439 otError otDnsBrowseResponseGetServiceInfo(const otDnsBrowseResponse *aResponse, [all …]
|
/openthread-latest/src/ncp/ |
D | ncp_base_ftd.cpp | 62 otError NcpBase::EncodeChildInfo(const otChildInfo &aChildInfo) in EncodeChildInfo() 64 otError error = OT_ERROR_NONE; in EncodeChildInfo() 129 otError error = OT_ERROR_NONE; in HandleNeighborTableChanged() 197 template <> otError NcpBase::HandlePropertyGet<SPINEL_PROP_THREAD_LOCAL_LEADER_WEIGHT>(void) in HandlePropertyGet() 202 template <> otError NcpBase::HandlePropertyGet<SPINEL_PROP_THREAD_LEADER_WEIGHT>(void) in HandlePropertyGet() 207 template <> otError NcpBase::HandlePropertyGet<SPINEL_PROP_THREAD_CHILD_TABLE>(void) in HandlePropertyGet() 209 otError error = OT_ERROR_NONE; in HandlePropertyGet() 231 template <> otError NcpBase::HandlePropertyGet<SPINEL_PROP_THREAD_ROUTER_TABLE>(void) in HandlePropertyGet() 233 otError error = OT_ERROR_NONE; in HandlePropertyGet() 265 template <> otError NcpBase::HandlePropertyGet<SPINEL_PROP_THREAD_CHILD_TABLE_ADDRESSES>(void) in HandlePropertyGet() [all …]
|
D | ncp_base.hpp | 179 otError StreamWrite(int aStreamId, const uint8_t *aDataPtr, int aDataLen); 244 otError InfraIfSendIcmp6Nd(uint32_t aInfraIfIndex, 327 typedef otError (NcpBase::*PropertyHandler)(void); 359 otError HandleCommand(uint8_t aHeader); 373 …bool HandlePropertySetForSpecialProperties(uint8_t aHeader, spinel_prop_key_t aKey, otError &aE… 374 otError HandleCommandPropertySet(uint8_t aHeader, spinel_prop_key_t aKey); 375 …otError HandleCommandPropertyInsertRemove(uint8_t aHeader, spinel_prop_key_t aKey, unsigned int aC… 377 otError WriteLastStatusFrame(uint8_t aHeader, spinel_status_t aLastStatus); 378 …otError WritePropertyValueIsFrame(uint8_t aHeader, spinel_prop_key_t aPropKey, bool aIsGetResponse… 379 otError WritePropertyValueInsertedRemovedFrame(uint8_t aHeader, [all …]
|
D | ncp_base_mtd.cpp | 188 otError NcpBase::EncodeNeighborInfo(const otNeighborInfo &aNeighborInfo) in EncodeNeighborInfo() 190 otError error; in EncodeNeighborInfo() 216 otError NcpBase::EncodeLinkMetricsValues(const otLinkMetricsValues *aMetricsValues) in EncodeLinkMetricsValues() 218 otError error = OT_ERROR_NONE; in EncodeLinkMetricsValues() 262 template <> otError NcpBase::HandlePropertySet<SPINEL_PROP_THREAD_CSL_PERIOD>(void) in HandlePropertySet() 265 otError error = OT_ERROR_NONE; in HandlePropertySet() 275 template <> otError NcpBase::HandlePropertyGet<SPINEL_PROP_THREAD_CSL_PERIOD>(void) in HandlePropertyGet() 280 template <> otError NcpBase::HandlePropertySet<SPINEL_PROP_THREAD_CSL_TIMEOUT>(void) in HandlePropertySet() 283 otError error = OT_ERROR_NONE; in HandlePropertySet() 293 template <> otError NcpBase::HandlePropertyGet<SPINEL_PROP_THREAD_CSL_TIMEOUT>(void) in HandlePropertyGet() [all …]
|
D | ncp_base_radio.cpp | 54 template <> otError NcpBase::HandlePropertyGet<SPINEL_PROP_RCP_API_VERSION>(void) in HandlePropertyGet() 59 template <> otError NcpBase::HandlePropertyGet<SPINEL_PROP_RCP_MIN_HOST_API_VERSION>(void) in HandlePropertyGet() 69 otError NcpBase::PackRadioFrame(otRadioFrame *aFrame, otError aError) in PackRadioFrame() 71 otError error = OT_ERROR_FAILED; in PackRadioFrame() 144 void NcpBase::LinkRawReceiveDone(otInstance *aInstance, otRadioFrame *aFrame, otError aError) in LinkRawReceiveDone() 149 void NcpBase::LinkRawReceiveDone(uint8_t aIid, otRadioFrame *aFrame, otError aError) in LinkRawReceiveDone() 164 …wTransmitDone(otInstance *aInstance, otRadioFrame *aFrame, otRadioFrame *aAckFrame, otError aError) in LinkRawTransmitDone() 169 …e::LinkRawTransmitDone(uint8_t aIid, otRadioFrame *aFrame, otRadioFrame *aAckFrame, otError aError) in LinkRawTransmitDone() 249 template <> otError NcpBase::HandlePropertyGet<SPINEL_PROP_RADIO_CAPS>(void) in HandlePropertyGet() 254 template <> otError NcpBase::HandlePropertyGet<SPINEL_PROP_MAC_SRC_MATCH_ENABLED>(void) in HandlePropertyGet() [all …]
|
/openthread-latest/src/cli/ |
D | cli_dataset.hpp | 70 otError Process(Arg aArgs[]); 88 otError (Dataset::*mParse)(Arg *&aArgs, otOperationalDataset &aDataset); 107 otError ParseActiveTimestamp(Arg *&aArgs, otOperationalDataset &aDataset); 108 otError ParseChannel(Arg *&aArgs, otOperationalDataset &aDataset); 109 otError ParseWakeupChannel(Arg *&aArgs, otOperationalDataset &aDataset); 110 otError ParseChannelMask(Arg *&aArgs, otOperationalDataset &aDataset); 111 otError ParseDelay(Arg *&aArgs, otOperationalDataset &aDataset); 112 otError ParseExtendedPanId(Arg *&aArgs, otOperationalDataset &aDataset); 113 otError ParseMeshLocalPrefix(Arg *&aArgs, otOperationalDataset &aDataset); 114 otError ParseNetworkKey(Arg *&aArgs, otOperationalDataset &aDataset); [all …]
|
D | cli_dns.hpp | 90 otError Process(Arg aArgs[]); 98 template <CommandId kCommandId> otError Process(Arg aArgs[]); 101 void OutputResult(otError aError); 102 otError GetDnsConfig(Arg aArgs[], otDnsQueryConfig *&aConfig); 104 otError ParseDnsServiceMode(const Arg &aArg, otDnsServiceMode &aMode) const; 105 …static void HandleDnsAddressResponse(otError aError, const otDnsAddressResponse *aResponse, void *… 106 void HandleDnsAddressResponse(otError aError, const otDnsAddressResponse *aResponse); 110 typedef otError (&ResolveServiceFn)(otInstance *, 117 otError ProcessService(Arg aArgs[], ResolveServiceFn aResolveServiceFn); 119 …static void HandleDnsBrowseResponse(otError aError, const otDnsBrowseResponse *aResponse, void *aC… [all …]
|
D | cli_dataset.cpp | 422 otError Dataset::ParseActiveTimestamp(Arg *&aArgs, otOperationalDataset &aDataset) in ParseActiveTimestamp() 424 otError error; in ParseActiveTimestamp() 434 otError Dataset::ParseChannel(Arg *&aArgs, otOperationalDataset &aDataset) in ParseChannel() 439 otError Dataset::ParseWakeupChannel(Arg *&aArgs, otOperationalDataset &aDataset) in ParseWakeupChannel() 444 otError Dataset::ParseChannelMask(Arg *&aArgs, otOperationalDataset &aDataset) in ParseChannelMask() 449 otError Dataset::ParseDelay(Arg *&aArgs, otOperationalDataset &aDataset) in ParseDelay() 454 otError Dataset::ParseExtendedPanId(Arg *&aArgs, otOperationalDataset &aDataset) in ParseExtendedPanId() 459 otError Dataset::ParseMeshLocalPrefix(Arg *&aArgs, otOperationalDataset &aDataset) in ParseMeshLocalPrefix() 461 otError error; in ParseMeshLocalPrefix() 472 otError Dataset::ParseNetworkKey(Arg *&aArgs, otOperationalDataset &aDataset) in ParseNetworkKey() [all …]
|
D | cli_mesh_diag.hpp | 73 otError Process(Arg aArgs[]); 80 template <CommandId kCommandId> otError Process(Arg aArgs[]); 82 …static void HandleMeshDiagDiscoverDone(otError aError, otMeshDiagRouterInfo *aRouterInfo, void *aC… 84 void HandleMeshDiagDiscoverDone(otError aError, otMeshDiagRouterInfo *aRouterInfo); 86 static void HandleMeshDiagQueryChildTableResult(otError aError, 90 … void HandleMeshDiagQueryChildTableResult(otError aError, const otMeshDiagChildEntry *aChildEntry); 92 …static void HandleMeshDiagQueryRouterNeighborTableResult(otError aErr… 96 void HandleMeshDiagQueryRouterNeighborTableResult(otError aError, 99 static void HandleMeshDiagQueryChildIp6Addrs(otError aError, 104 void HandleMeshDiagQueryChildIp6Addrs(otError aError, [all …]
|
/openthread-latest/tests/gtest/ |
D | fake_platform.cpp | 206 otError FakePlatform::Transmit(otRadioFrame *aFrame) in Transmit() 212 otError FakePlatform::SettingsGet(uint16_t aKey, uint16_t aIndex, uint8_t *aValue, uint16_t *aValue… in SettingsGet() 249 otError FakePlatform::SettingsSet(uint16_t aKey, const uint8_t *aValue, uint16_t aValueLength) in SettingsSet() 259 otError FakePlatform::SettingsAdd(uint16_t aKey, const uint8_t *aValue, uint16_t aValueLength) in SettingsAdd() 268 otError FakePlatform::SettingsDelete(uint16_t aKey, int aIndex) in SettingsDelete() 373 otError otPlatRadioEnable(otInstance *) { return OT_ERROR_NONE; } in otPlatRadioEnable() 375 otError otPlatRadioDisable(otInstance *) { return OT_ERROR_NONE; } in otPlatRadioDisable() 377 otError otPlatRadioSleep(otInstance *) { return OT_ERROR_NONE; } in otPlatRadioSleep() 379 otError otPlatRadioReceive(otInstance *, uint8_t aChannel) { return FakePlatform::CurrentPlatform()… in otPlatRadioReceive() 381 otError otPlatRadioReceiveAt(otInstance *, uint8_t aChannel, uint32_t aStart, uint32_t aDuration) in otPlatRadioReceiveAt() [all …]
|
/openthread-latest/src/core/api/ |
D | tcp_api.cpp | 42 otError otTcpEndpointInitialize(otInstance *aInstance, in otTcpEndpointInitialize() 63 otError otTcpBind(otTcpEndpoint *aEndpoint, const otSockAddr *aSockName) in otTcpBind() 68 otError otTcpConnect(otTcpEndpoint *aEndpoint, const otSockAddr *aSockName, uint32_t aFlags) in otTcpConnect() 73 otError otTcpSendByReference(otTcpEndpoint *aEndpoint, otLinkedBuffer *aBuffer, uint32_t aFlags) in otTcpSendByReference() 78 otError otTcpSendByExtension(otTcpEndpoint *aEndpoint, size_t aNumBytes, uint32_t aFlags) in otTcpSendByExtension() 83 otError otTcpReceiveByReference(otTcpEndpoint *aEndpoint, const otLinkedBuffer **aBuffer) in otTcpReceiveByReference() 88 otError otTcpReceiveContiguify(otTcpEndpoint *aEndpoint) { return AsCoreType(aEndpoint).ReceiveCont… in otTcpReceiveContiguify() 90 otError otTcpCommitReceive(otTcpEndpoint *aEndpoint, size_t aNumBytes, uint32_t aFlags) in otTcpCommitReceive() 95 otError otTcpSendEndOfStream(otTcpEndpoint *aEndpoint) { return AsCoreType(aEndpoint).SendEndOfStre… in otTcpSendEndOfStream() 97 otError otTcpAbort(otTcpEndpoint *aEndpoint) { return AsCoreType(aEndpoint).Abort(); } in otTcpAbort() [all …]
|
/openthread-latest/examples/platforms/simulation/ |
D | diag.c | 75 void otPlatDiagRadioReceived(otInstance *aInstance, otRadioFrame *aFrame, otError aError) in otPlatDiagRadioReceived() 84 otError otPlatDiagGpioSet(uint32_t aGpio, bool aValue) in otPlatDiagGpioSet() 86 otError error = OT_ERROR_NONE; in otPlatDiagGpioSet() 95 otError otPlatDiagGpioGet(uint32_t aGpio, bool *aValue) in otPlatDiagGpioGet() 97 otError error = OT_ERROR_NONE; in otPlatDiagGpioGet() 106 otError otPlatDiagGpioSetMode(uint32_t aGpio, otGpioMode aMode) in otPlatDiagGpioSetMode() 108 otError error = OT_ERROR_NONE; in otPlatDiagGpioSetMode() 117 otError otPlatDiagGpioGetMode(uint32_t aGpio, otGpioMode *aMode) in otPlatDiagGpioGetMode() 119 otError error = OT_ERROR_NONE; in otPlatDiagGpioGetMode() 128 otError otPlatDiagRadioSetRawPowerSetting(otInstance *aInstance, in otPlatDiagRadioSetRawPowerSetting() [all …]
|
/openthread-latest/tests/unit/ |
D | test_platform.cpp | 141 OT_TOOL_WEAK otError otPlatMultipanGetActiveInstance(otInstance **) { return OT_ERROR_NOT_IMPLEMENT… in otPlatMultipanGetActiveInstance() 143 OT_TOOL_WEAK otError otPlatMultipanSetActiveInstance(otInstance *, bool) { return OT_ERROR_NOT_IMPL… in otPlatMultipanSetActiveInstance() 159 OT_TOOL_WEAK otError otPlatRadioEnable(otInstance *) { return OT_ERROR_NONE; } in otPlatRadioEnable() 161 OT_TOOL_WEAK otError otPlatRadioDisable(otInstance *) { return OT_ERROR_NONE; } in otPlatRadioDisable() 163 OT_TOOL_WEAK otError otPlatRadioSleep(otInstance *) { return OT_ERROR_NONE; } in otPlatRadioSleep() 165 OT_TOOL_WEAK otError otPlatRadioReceive(otInstance *, uint8_t) { return OT_ERROR_NONE; } in otPlatRadioReceive() 167 OT_TOOL_WEAK otError otPlatRadioTransmit(otInstance *, otRadioFrame *) { return OT_ERROR_NONE; } in otPlatRadioTransmit() 179 OT_TOOL_WEAK otError otPlatRadioAddSrcMatchShortEntry(otInstance *, uint16_t) { return OT_ERROR_NON… in otPlatRadioAddSrcMatchShortEntry() 181 OT_TOOL_WEAK otError otPlatRadioAddSrcMatchExtEntry(otInstance *, const otExtAddress *) { return OT… in otPlatRadioAddSrcMatchExtEntry() 183 OT_TOOL_WEAK otError otPlatRadioClearSrcMatchShortEntry(otInstance *, uint16_t) { return OT_ERROR_N… in otPlatRadioClearSrcMatchShortEntry() [all …]
|