Home
last modified time | relevance | path

Searched refs:aInstance (Results 1 – 25 of 414) sorted by relevance

12345678910>>...17

/openthread-3.5.0/src/core/api/
Dsrp_client_api.cpp45 otError otSrpClientStart(otInstance *aInstance, const otSockAddr *aServerSockAddr) in otSrpClientStart() argument
47 return AsCoreType(aInstance).Get<Srp::Client>().Start(AsCoreType(aServerSockAddr)); in otSrpClientStart()
50 void otSrpClientStop(otInstance *aInstance) { return AsCoreType(aInstance).Get<Srp::Client>().Stop(… in otSrpClientStop() argument
52 bool otSrpClientIsRunning(otInstance *aInstance) { return AsCoreType(aInstance).Get<Srp::Client>().… in otSrpClientIsRunning() argument
54 const otSockAddr *otSrpClientGetServerAddress(otInstance *aInstance) in otSrpClientGetServerAddress() argument
56 return &AsCoreType(aInstance).Get<Srp::Client>().GetServerAddress(); in otSrpClientGetServerAddress()
59 void otSrpClientSetCallback(otInstance *aInstance, otSrpClientCallback aCallback, void *aContext) in otSrpClientSetCallback() argument
61 AsCoreType(aInstance).Get<Srp::Client>().SetCallback(aCallback, aContext); in otSrpClientSetCallback()
65 void otSrpClientEnableAutoStartMode(otInstance *aInstance, otSrpClientAutoStartCallback aCallback, … in otSrpClientEnableAutoStartMode() argument
67 AsCoreType(aInstance).Get<Srp::Client>().EnableAutoStartMode(aCallback, aContext); in otSrpClientEnableAutoStartMode()
[all …]
Dthread_ftd_api.cpp45 uint16_t otThreadGetMaxAllowedChildren(otInstance *aInstance) in otThreadGetMaxAllowedChildren() argument
47 return AsCoreType(aInstance).Get<ChildTable>().GetMaxChildrenAllowed(); in otThreadGetMaxAllowedChildren()
50 otError otThreadSetMaxAllowedChildren(otInstance *aInstance, uint16_t aMaxChildren) in otThreadSetMaxAllowedChildren() argument
52 return AsCoreType(aInstance).Get<ChildTable>().SetMaxChildrenAllowed(aMaxChildren); in otThreadSetMaxAllowedChildren()
55 uint8_t otThreadGetMaxChildIpAddresses(otInstance *aInstance) in otThreadGetMaxChildIpAddresses() argument
57 return AsCoreType(aInstance).Get<Mle::MleRouter>().GetMaxChildIpAddresses(); in otThreadGetMaxChildIpAddresses()
61 otError otThreadSetMaxChildIpAddresses(otInstance *aInstance, uint8_t aMaxIpAddresses) in otThreadSetMaxChildIpAddresses() argument
63 return AsCoreType(aInstance).Get<Mle::MleRouter>().SetMaxChildIpAddresses(aMaxIpAddresses); in otThreadSetMaxChildIpAddresses()
67 bool otThreadIsRouterEligible(otInstance *aInstance) in otThreadIsRouterEligible() argument
69 return AsCoreType(aInstance).Get<Mle::MleRouter>().IsRouterEligible(); in otThreadIsRouterEligible()
[all …]
Dthread_api.cpp48 uint32_t otThreadGetChildTimeout(otInstance *aInstance) in otThreadGetChildTimeout() argument
50 return AsCoreType(aInstance).Get<Mle::MleRouter>().GetTimeout(); in otThreadGetChildTimeout()
53 void otThreadSetChildTimeout(otInstance *aInstance, uint32_t aTimeout) in otThreadSetChildTimeout() argument
55 AsCoreType(aInstance).Get<Mle::MleRouter>().SetTimeout(aTimeout); in otThreadSetChildTimeout()
58 const otExtendedPanId *otThreadGetExtendedPanId(otInstance *aInstance) in otThreadGetExtendedPanId() argument
60 return &AsCoreType(aInstance).Get<MeshCoP::ExtendedPanIdManager>().GetExtPanId(); in otThreadGetExtendedPanId()
63 otError otThreadSetExtendedPanId(otInstance *aInstance, const otExtendedPanId *aExtendedPanId) in otThreadSetExtendedPanId() argument
66 Instance &instance = AsCoreType(aInstance); in otThreadSetExtendedPanId()
80 otError otThreadGetLeaderRloc(otInstance *aInstance, otIp6Address *aLeaderRloc) in otThreadGetLeaderRloc() argument
82 return AsCoreType(aInstance).Get<Mle::MleRouter>().GetLeaderAddress(AsCoreType(aLeaderRloc)); in otThreadGetLeaderRloc()
[all …]
Dlink_api.cpp45 uint8_t otLinkGetChannel(otInstance *aInstance) in otLinkGetChannel() argument
47 Instance &instance = AsCoreType(aInstance); in otLinkGetChannel()
64 otError otLinkSetChannel(otInstance *aInstance, uint8_t aChannel) in otLinkSetChannel() argument
67 Instance &instance = AsCoreType(aInstance); in otLinkSetChannel()
87 uint32_t otLinkGetSupportedChannelMask(otInstance *aInstance) in otLinkGetSupportedChannelMask() argument
89 return AsCoreType(aInstance).Get<Mac::Mac>().GetSupportedChannelMask().GetMask(); in otLinkGetSupportedChannelMask()
92 otError otLinkSetSupportedChannelMask(otInstance *aInstance, uint32_t aChannelMask) in otLinkSetSupportedChannelMask() argument
95 Instance &instance = AsCoreType(aInstance); in otLinkSetSupportedChannelMask()
105 const otExtAddress *otLinkGetExtendedAddress(otInstance *aInstance) in otLinkGetExtendedAddress() argument
107 return &AsCoreType(aInstance).Get<Mac::Mac>().GetExtAddress(); in otLinkGetExtendedAddress()
[all …]
Dcoap_secure_api.cpp48 otError otCoapSecureStart(otInstance *aInstance, uint16_t aPort) in otCoapSecureStart() argument
50 return AsCoreType(aInstance).GetApplicationCoapSecure().Start(aPort); in otCoapSecureStart()
54 void otCoapSecureSetCertificate(otInstance *aInstance, in otCoapSecureSetCertificate() argument
60 …AsCoreType(aInstance).GetApplicationCoapSecure().SetCertificate(aX509Cert, aX509Length, aPrivateKe… in otCoapSecureSetCertificate()
64 void otCoapSecureSetCaCertificateChain(otInstance *aInstance, in otCoapSecureSetCaCertificateChain() argument
68 AsCoreType(aInstance).GetApplicationCoapSecure().SetCaCertificateChain(aX509CaCertificateChain, in otCoapSecureSetCaCertificateChain()
74 void otCoapSecureSetPsk(otInstance *aInstance, in otCoapSecureSetPsk() argument
83 …AsCoreType(aInstance).GetApplicationCoapSecure().SetPreSharedKey(aPsk, aPskLength, aPskIdentity, a… in otCoapSecureSetPsk()
88 otError otCoapSecureGetPeerCertificateBase64(otInstance *aInstance, in otCoapSecureGetPeerCertificateBase64() argument
95 …return AsCoreType(aInstance).GetApplicationCoapSecure().GetPeerCertificateBase64(aPeerCert, aCertL… in otCoapSecureGetPeerCertificateBase64()
[all …]
Dchannel_manager_api.cpp46 void otChannelManagerRequestChannelChange(otInstance *aInstance, uint8_t aChannel) in otChannelManagerRequestChannelChange() argument
48 AsCoreType(aInstance).Get<Utils::ChannelManager>().RequestChannelChange(aChannel); in otChannelManagerRequestChannelChange()
51 uint8_t otChannelManagerGetRequestedChannel(otInstance *aInstance) in otChannelManagerGetRequestedChannel() argument
53 return AsCoreType(aInstance).Get<Utils::ChannelManager>().GetRequestedChannel(); in otChannelManagerGetRequestedChannel()
56 uint16_t otChannelManagerGetDelay(otInstance *aInstance) in otChannelManagerGetDelay() argument
58 return AsCoreType(aInstance).Get<Utils::ChannelManager>().GetDelay(); in otChannelManagerGetDelay()
61 otError otChannelManagerSetDelay(otInstance *aInstance, uint16_t aDelay) in otChannelManagerSetDelay() argument
63 return AsCoreType(aInstance).Get<Utils::ChannelManager>().SetDelay(aDelay); in otChannelManagerSetDelay()
67 otError otChannelManagerRequestChannelSelect(otInstance *aInstance, bool aSkipQualityCheck) in otChannelManagerRequestChannelSelect() argument
69 … return AsCoreType(aInstance).Get<Utils::ChannelManager>().RequestChannelSelect(aSkipQualityCheck); in otChannelManagerRequestChannelSelect()
[all …]
Dborder_routing_api.cpp46 otError otBorderRoutingInit(otInstance *aInstance, uint32_t aInfraIfIndex, bool aInfraIfIsRunning) in otBorderRoutingInit() argument
48 …return AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().Init(aInfraIfIndex, aInfraIfIsRun… in otBorderRoutingInit()
51 otError otBorderRoutingSetEnabled(otInstance *aInstance, bool aEnabled) in otBorderRoutingSetEnabled() argument
53 return AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().SetEnabled(aEnabled); in otBorderRoutingSetEnabled()
56 otBorderRoutingState otBorderRoutingGetState(otInstance *aInstance) in otBorderRoutingGetState() argument
58 return MapEnum(AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().GetState()); in otBorderRoutingGetState()
61 otRoutePreference otBorderRoutingGetRouteInfoOptionPreference(otInstance *aInstance) in otBorderRoutingGetRouteInfoOptionPreference() argument
64 AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().GetRouteInfoOptionPreference()); in otBorderRoutingGetRouteInfoOptionPreference()
67 void otBorderRoutingSetRouteInfoOptionPreference(otInstance *aInstance, otRoutePreference aPreferen… in otBorderRoutingSetRouteInfoOptionPreference() argument
69 AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().SetRouteInfoOptionPreference( in otBorderRoutingSetRouteInfoOptionPreference()
[all …]
Dlink_raw_api.cpp52 otError otLinkRawSetReceiveDone(otInstance *aInstance, otLinkRawReceiveDone aCallback) in otLinkRawSetReceiveDone() argument
54 return AsCoreType(aInstance).Get<Mac::LinkRaw>().SetReceiveDone(aCallback); in otLinkRawSetReceiveDone()
57 bool otLinkRawIsEnabled(otInstance *aInstance) { return AsCoreType(aInstance).Get<Mac::LinkRaw>().I… in otLinkRawIsEnabled() argument
59 otError otLinkRawSetShortAddress(otInstance *aInstance, uint16_t aShortAddress) in otLinkRawSetShortAddress() argument
61 return AsCoreType(aInstance).Get<Mac::LinkRaw>().SetShortAddress(aShortAddress); in otLinkRawSetShortAddress()
64 bool otLinkRawGetPromiscuous(otInstance *aInstance) { return AsCoreType(aInstance).Get<Radio>().Get… in otLinkRawGetPromiscuous() argument
66 otError otLinkRawSetPromiscuous(otInstance *aInstance, bool aEnable) in otLinkRawSetPromiscuous() argument
69 Instance &instance = AsCoreType(aInstance); in otLinkRawSetPromiscuous()
78 otError otLinkRawSleep(otInstance *aInstance) in otLinkRawSleep() argument
81 Instance &instance = AsCoreType(aInstance); in otLinkRawSleep()
[all …]
Dip6_api.cpp47 otError otIp6SetEnabled(otInstance *aInstance, bool aEnabled) in otIp6SetEnabled() argument
50 Instance &instance = AsCoreType(aInstance); in otIp6SetEnabled()
71 bool otIp6IsEnabled(otInstance *aInstance) { return AsCoreType(aInstance).Get<ThreadNetif>().IsUp()… in otIp6IsEnabled() argument
73 const otNetifAddress *otIp6GetUnicastAddresses(otInstance *aInstance) in otIp6GetUnicastAddresses() argument
75 return AsCoreType(aInstance).Get<ThreadNetif>().GetUnicastAddresses().GetHead(); in otIp6GetUnicastAddresses()
78 otError otIp6AddUnicastAddress(otInstance *aInstance, const otNetifAddress *aAddress) in otIp6AddUnicastAddress() argument
80 return AsCoreType(aInstance).Get<ThreadNetif>().AddExternalUnicastAddress(AsCoreType(aAddress)); in otIp6AddUnicastAddress()
83 otError otIp6RemoveUnicastAddress(otInstance *aInstance, const otIp6Address *aAddress) in otIp6RemoveUnicastAddress() argument
85 …return AsCoreType(aInstance).Get<ThreadNetif>().RemoveExternalUnicastAddress(AsCoreType(aAddress)); in otIp6RemoveUnicastAddress()
88 const otNetifMulticastAddress *otIp6GetMulticastAddresses(otInstance *aInstance) in otIp6GetMulticastAddresses() argument
[all …]
Dbackbone_router_ftd_api.cpp46 void otBackboneRouterSetEnabled(otInstance *aInstance, bool aEnabled) in otBackboneRouterSetEnabled() argument
48 return AsCoreType(aInstance).Get<BackboneRouter::Local>().SetEnabled(aEnabled); in otBackboneRouterSetEnabled()
51 otBackboneRouterState otBackboneRouterGetState(otInstance *aInstance) in otBackboneRouterGetState() argument
53 return MapEnum(AsCoreType(aInstance).Get<BackboneRouter::Local>().GetState()); in otBackboneRouterGetState()
56 void otBackboneRouterGetConfig(otInstance *aInstance, otBackboneRouterConfig *aConfig) in otBackboneRouterGetConfig() argument
60 AsCoreType(aInstance).Get<BackboneRouter::Local>().GetConfig(*aConfig); in otBackboneRouterGetConfig()
63 otError otBackboneRouterSetConfig(otInstance *aInstance, const otBackboneRouterConfig *aConfig) in otBackboneRouterSetConfig() argument
67 return AsCoreType(aInstance).Get<BackboneRouter::Local>().SetConfig(*aConfig); in otBackboneRouterSetConfig()
70 otError otBackboneRouterRegister(otInstance *aInstance) in otBackboneRouterRegister() argument
72 …return AsCoreType(aInstance).Get<BackboneRouter::Local>().AddService(true /* Force registration */… in otBackboneRouterRegister()
[all …]
Djam_detection_api.cpp45 otError otJamDetectionSetRssiThreshold(otInstance *aInstance, int8_t aRssiThreshold) in otJamDetectionSetRssiThreshold() argument
47 AsCoreType(aInstance).Get<Utils::JamDetector>().SetRssiThreshold(aRssiThreshold); in otJamDetectionSetRssiThreshold()
52 int8_t otJamDetectionGetRssiThreshold(otInstance *aInstance) in otJamDetectionGetRssiThreshold() argument
54 return AsCoreType(aInstance).Get<Utils::JamDetector>().GetRssiThreshold(); in otJamDetectionGetRssiThreshold()
57 otError otJamDetectionSetWindow(otInstance *aInstance, uint8_t aWindow) in otJamDetectionSetWindow() argument
59 return AsCoreType(aInstance).Get<Utils::JamDetector>().SetWindow(aWindow); in otJamDetectionSetWindow()
62 uint8_t otJamDetectionGetWindow(otInstance *aInstance) in otJamDetectionGetWindow() argument
64 return AsCoreType(aInstance).Get<Utils::JamDetector>().GetWindow(); in otJamDetectionGetWindow()
67 otError otJamDetectionSetBusyPeriod(otInstance *aInstance, uint8_t aBusyPeriod) in otJamDetectionSetBusyPeriod() argument
69 return AsCoreType(aInstance).Get<Utils::JamDetector>().SetBusyPeriod(aBusyPeriod); in otJamDetectionSetBusyPeriod()
[all …]
Dinstance_api.cpp73 uint32_t otInstanceGetId(otInstance *aInstance) { return AsCoreType(aInstance).GetId(); } in otInstanceGetId() argument
75 bool otInstanceIsInitialized(otInstance *aInstance) in otInstanceIsInitialized() argument
78 return AsCoreType(aInstance).IsInitialized(); in otInstanceIsInitialized()
80 OT_UNUSED_VARIABLE(aInstance); in otInstanceIsInitialized()
85 void otInstanceFinalize(otInstance *aInstance) { AsCoreType(aInstance).Finalize(); } in otInstanceFinalize() argument
87 void otInstanceReset(otInstance *aInstance) { AsCoreType(aInstance).Reset(); } in otInstanceReset() argument
90 uint64_t otInstanceGetUptime(otInstance *aInstance) { return AsCoreType(aInstance).Get<Uptime>().Ge… in otInstanceGetUptime() argument
92 void otInstanceGetUptimeAsString(otInstance *aInstance, char *aBuffer, uint16_t aSize) in otInstanceGetUptimeAsString() argument
96 AsCoreType(aInstance).Get<Uptime>().GetUptime(aBuffer, aSize); in otInstanceGetUptimeAsString()
101 otError otSetStateChangedCallback(otInstance *aInstance, otStateChangedCallback aCallback, void *aC… in otSetStateChangedCallback() argument
[all …]
Dcommissioner_api.cpp45 otError otCommissionerStart(otInstance *aInstance, in otCommissionerStart() argument
50 …return AsCoreType(aInstance).Get<MeshCoP::Commissioner>().Start(aStateCallback, aJoinerCallback, a… in otCommissionerStart()
53 const char *otCommissionerGetId(otInstance *aInstance) in otCommissionerGetId() argument
55 return AsCoreType(aInstance).Get<MeshCoP::Commissioner>().GetId(); in otCommissionerGetId()
58 otError otCommissionerSetId(otInstance *aInstance, const char *aId) in otCommissionerSetId() argument
60 return AsCoreType(aInstance).Get<MeshCoP::Commissioner>().SetId(aId); in otCommissionerSetId()
63 otError otCommissionerStop(otInstance *aInstance) { return AsCoreType(aInstance).Get<MeshCoP::Commi… in otCommissionerStop() argument
65 otError otCommissionerAddJoiner(otInstance *aInstance, const otExtAddress *aEui64, const char *aPsk… in otCommissionerAddJoiner() argument
68 MeshCoP::Commissioner &commissioner = AsCoreType(aInstance).Get<MeshCoP::Commissioner>(); in otCommissionerAddJoiner()
82 otError otCommissionerAddJoinerWithDiscerner(otInstance *aInstance, in otCommissionerAddJoinerWithDiscerner() argument
[all …]
Dnetdata_publisher_api.cpp47 void otNetDataPublishDnsSrpServiceAnycast(otInstance *aInstance, uint8_t aSequenceNumber) in otNetDataPublishDnsSrpServiceAnycast() argument
49 … AsCoreType(aInstance).Get<NetworkData::Publisher>().PublishDnsSrpServiceAnycast(aSequenceNumber); in otNetDataPublishDnsSrpServiceAnycast()
52 void otNetDataPublishDnsSrpServiceUnicast(otInstance *aInstance, const otIp6Address *aAddress, uint… in otNetDataPublishDnsSrpServiceUnicast() argument
54 …AsCoreType(aInstance).Get<NetworkData::Publisher>().PublishDnsSrpServiceUnicast(AsCoreType(aAddres… in otNetDataPublishDnsSrpServiceUnicast()
57 void otNetDataPublishDnsSrpServiceUnicastMeshLocalEid(otInstance *aInstance, uint16_t aPort) in otNetDataPublishDnsSrpServiceUnicastMeshLocalEid() argument
59 AsCoreType(aInstance).Get<NetworkData::Publisher>().PublishDnsSrpServiceUnicast(aPort); in otNetDataPublishDnsSrpServiceUnicastMeshLocalEid()
62 bool otNetDataIsDnsSrpServiceAdded(otInstance *aInstance) in otNetDataIsDnsSrpServiceAdded() argument
64 return AsCoreType(aInstance).Get<NetworkData::Publisher>().IsDnsSrpServiceAdded(); in otNetDataIsDnsSrpServiceAdded()
67 void otNetDataSetDnsSrpServicePublisherCallback(otInstance *aInstance, in otNetDataSetDnsSrpServicePublisherCallback() argument
71 … AsCoreType(aInstance).Get<NetworkData::Publisher>().SetDnsSrpServiceCallback(aCallback, aContext); in otNetDataSetDnsSrpServicePublisherCallback()
[all …]
Dnetdata_api.cpp43 otError otNetDataGet(otInstance *aInstance, bool aStable, uint8_t *aData, uint8_t *aDataLength) in otNetDataGet() argument
48 return AsCoreType(aInstance).Get<NetworkData::Leader>().CopyNetworkData( in otNetDataGet()
52 uint8_t otNetDataGetLength(otInstance *aInstance) in otNetDataGetLength() argument
54 return AsCoreType(aInstance).Get<NetworkData::Leader>().GetLength(); in otNetDataGetLength()
57 uint8_t otNetDataGetMaxLength(otInstance *aInstance) in otNetDataGetMaxLength() argument
59 return AsCoreType(aInstance).Get<NetworkData::Leader>().GetMaxLength(); in otNetDataGetMaxLength()
62 void otNetDataResetMaxLength(otInstance *aInstance) in otNetDataResetMaxLength() argument
64 AsCoreType(aInstance).Get<NetworkData::Leader>().ResetMaxLength(); in otNetDataResetMaxLength()
67 otError otNetDataGetNextOnMeshPrefix(otInstance *aInstance, in otNetDataGetNextOnMeshPrefix() argument
73 …return AsCoreType(aInstance).Get<NetworkData::Leader>().GetNextOnMeshPrefix(*aIterator, AsCoreType… in otNetDataGetNextOnMeshPrefix()
[all …]
Dudp_api.cpp43 otMessage *otUdpNewMessage(otInstance *aInstance, const otMessageSettings *aSettings) in otUdpNewMessage() argument
45 return AsCoreType(aInstance).Get<Ip6::Udp>().NewMessage(0, Message::Settings::From(aSettings)); in otUdpNewMessage()
48 otError otUdpOpen(otInstance *aInstance, otUdpSocket *aSocket, otUdpReceive aCallback, void *aConte… in otUdpOpen() argument
50 return AsCoreType(aInstance).Get<Ip6::Udp>().Open(AsCoreType(aSocket), aCallback, aContext); in otUdpOpen()
53 bool otUdpIsOpen(otInstance *aInstance, const otUdpSocket *aSocket) in otUdpIsOpen() argument
55 return AsCoreType(aInstance).Get<Ip6::Udp>().IsOpen(AsCoreType(aSocket)); in otUdpIsOpen()
58 otError otUdpClose(otInstance *aInstance, otUdpSocket *aSocket) in otUdpClose() argument
60 return AsCoreType(aInstance).Get<Ip6::Udp>().Close(AsCoreType(aSocket)); in otUdpClose()
63 otError otUdpBind(otInstance *aInstance, otUdpSocket *aSocket, const otSockAddr *aSockName, otNetif… in otUdpBind() argument
65 …return AsCoreType(aInstance).Get<Ip6::Udp>().Bind(AsCoreType(aSocket), AsCoreType(aSockName), MapE… in otUdpBind()
[all …]
/openthread-3.5.0/tests/fuzz/
Dfuzzer_platform.cpp93 void FuzzerPlatformProcess(otInstance *aInstance) in FuzzerPlatformProcess() argument
107 otPlatRadioTxDone(aInstance, &sRadioTransmitFrame, &sRadioAckFrame, OT_ERROR_NONE); in FuzzerPlatformProcess()
111 otPlatRadioTxDone(aInstance, &sRadioTransmitFrame, nullptr, OT_ERROR_NONE); in FuzzerPlatformProcess()
134 otPlatAlarmMilliFired(aInstance); in FuzzerPlatformProcess()
141 otPlatAlarmMicroFired(aInstance); in FuzzerPlatformProcess()
151 void otPlatAlarmMilliStartAt(otInstance *aInstance, uint32_t aT0, uint32_t aDt) in otPlatAlarmMilliStartAt() argument
153 OT_UNUSED_VARIABLE(aInstance); in otPlatAlarmMilliStartAt()
159 void otPlatAlarmMilliStop(otInstance *aInstance) in otPlatAlarmMilliStop() argument
161 OT_UNUSED_VARIABLE(aInstance); in otPlatAlarmMilliStop()
168 void otPlatAlarmMicroStartAt(otInstance *aInstance, uint32_t aT0, uint32_t aDt) in otPlatAlarmMicroStartAt() argument
[all …]
/openthread-3.5.0/include/openthread/
Dlink.h433 otError otLinkActiveScan(otInstance *aInstance,
446 bool otLinkIsActiveScanInProgress(otInstance *aInstance);
471 otError otLinkEnergyScan(otInstance *aInstance,
485 bool otLinkIsEnergyScanInProgress(otInstance *aInstance);
497 otError otLinkSendDataRequest(otInstance *aInstance);
511 bool otLinkIsInTransmitState(otInstance *aInstance);
523 uint8_t otLinkGetChannel(otInstance *aInstance);
541 otError otLinkSetChannel(otInstance *aInstance, uint8_t aChannel);
551 uint32_t otLinkGetSupportedChannelMask(otInstance *aInstance);
565 otError otLinkSetSupportedChannelMask(otInstance *aInstance, uint32_t aChannelMask);
[all …]
Dthread_ftd.h137 uint16_t otThreadGetMaxAllowedChildren(otInstance *aInstance);
154 otError otThreadSetMaxAllowedChildren(otInstance *aInstance, uint16_t aMaxChildren);
165 bool otThreadIsRouterEligible(otInstance *aInstance);
180 otError otThreadSetRouterEligible(otInstance *aInstance, bool aEligible);
199 otError otThreadSetPreferredRouterId(otInstance *aInstance, uint8_t aRouterId);
245 const otDeviceProperties *otThreadGetDeviceProperties(otInstance *aInstance);
256 void otThreadSetDeviceProperties(otInstance *aInstance, const otDeviceProperties *aDeviceProperties…
269 uint8_t otThreadGetLocalLeaderWeight(otInstance *aInstance);
283 void otThreadSetLocalLeaderWeight(otInstance *aInstance, uint8_t aWeight);
293 uint32_t otThreadGetPreferredLeaderPartitionId(otInstance *aInstance);
[all …]
Dthread.h244 otError otThreadSetEnabled(otInstance *aInstance, bool aEnabled);
263 bool otThreadIsSingleton(otInstance *aInstance);
285 otError otThreadDiscover(otInstance *aInstance,
299 bool otThreadIsDiscoverInProgress(otInstance *aInstance);
318 otError otThreadSetJoinerAdvertisement(otInstance *aInstance,
335 uint32_t otThreadGetChildTimeout(otInstance *aInstance);
346 void otThreadSetChildTimeout(otInstance *aInstance, uint32_t aTimeout);
358 const otExtendedPanId *otThreadGetExtendedPanId(otInstance *aInstance);
376 otError otThreadSetExtendedPanId(otInstance *aInstance, const otExtendedPanId *aExtendedPanId);
389 otError otThreadGetLeaderRloc(otInstance *aInstance, otIp6Address *aLeaderRloc);
[all …]
Dlink_raw.h63 typedef void (*otLinkRawReceiveDone)(otInstance *aInstance, otRadioFrame *aFrame, otError aError);
77 otError otLinkRawSetReceiveDone(otInstance *aInstance, otLinkRawReceiveDone aCallback);
88 bool otLinkRawIsEnabled(otInstance *aInstance);
99 bool otLinkRawGetPromiscuous(otInstance *aInstance);
111 otError otLinkRawSetPromiscuous(otInstance *aInstance, bool aEnable);
123 otError otLinkRawSetShortAddress(otInstance *aInstance, uint16_t aShortAddress);
136 otError otLinkRawSleep(otInstance *aInstance);
148 otError otLinkRawReceive(otInstance *aInstance);
162 otRadioFrame *otLinkRawGetTransmitBuffer(otInstance *aInstance);
177 typedef void (*otLinkRawTransmitDone)(otInstance *aInstance,
[all …]
Dsrp_client.h222 otError otSrpClientStart(otInstance *aInstance, const otSockAddr *aServerSockAddr);
233 void otSrpClientStop(otInstance *aInstance);
243 bool otSrpClientIsRunning(otInstance *aInstance);
256 const otSockAddr *otSrpClientGetServerAddress(otInstance *aInstance);
269 void otSrpClientSetCallback(otInstance *aInstance, otSrpClientCallback aCallback, void *aContext);
310 void otSrpClientEnableAutoStartMode(otInstance *aInstance, otSrpClientAutoStartCallback aCallback, …
325 void otSrpClientDisableAutoStartMode(otInstance *aInstance);
337 bool otSrpClientIsAutoStartModeEnabled(otInstance *aInstance);
352 uint32_t otSrpClientGetTtl(otInstance *aInstance);
365 void otSrpClientSetTtl(otInstance *aInstance, uint32_t aTtl);
[all …]
/openthread-3.5.0/include/openthread/platform/
Dradio.h460 otRadioCaps otPlatRadioGetCaps(otInstance *aInstance);
473 const char *otPlatRadioGetVersionString(otInstance *aInstance);
483 int8_t otPlatRadioGetReceiveSensitivity(otInstance *aInstance);
492 void otPlatRadioGetIeeeEui64(otInstance *aInstance, uint8_t *aIeeeEui64);
501 void otPlatRadioSetPanId(otInstance *aInstance, otPanId aPanId);
511 void otPlatRadioSetExtendedAddress(otInstance *aInstance, const otExtAddress *aExtAddress);
520 void otPlatRadioSetShortAddress(otInstance *aInstance, otShortAddress aShortAddress);
536 otError otPlatRadioGetTransmitPower(otInstance *aInstance, int8_t *aPower);
551 otError otPlatRadioSetTransmitPower(otInstance *aInstance, int8_t aPower);
564 otError otPlatRadioGetCcaEnergyDetectThreshold(otInstance *aInstance, int8_t *aThreshold);
[all …]
/openthread-3.5.0/src/core/radio/
Dradio_platform.cpp48 extern "C" void otPlatRadioReceiveDone(otInstance *aInstance, otRadioFrame *aFrame, otError aError) in otPlatRadioReceiveDone() argument
50 Instance &instance = AsCoreType(aInstance); in otPlatRadioReceiveDone()
68 extern "C" void otPlatRadioTxStarted(otInstance *aInstance, otRadioFrame *aFrame) in otPlatRadioTxStarted() argument
70 Instance &instance = AsCoreType(aInstance); in otPlatRadioTxStarted()
85 extern "C" void otPlatRadioTxDone(otInstance *aInstance, otRadioFrame *aFrame, otRadioFrame *aAckFr… in otPlatRadioTxDone() argument
87 Instance &instance = AsCoreType(aInstance); in otPlatRadioTxDone()
108 extern "C" void otPlatRadioEnergyScanDone(otInstance *aInstance, int8_t aEnergyScanMaxRssi) in otPlatRadioEnergyScanDone() argument
110 Instance &instance = AsCoreType(aInstance); in otPlatRadioEnergyScanDone()
120 extern "C" void otPlatDiagRadioReceiveDone(otInstance *aInstance, otRadioFrame *aFrame, otError aEr… in otPlatDiagRadioReceiveDone() argument
131 AsCoreType(aInstance).Get<Radio::Callbacks>().HandleDiagsReceiveDone(rxFrame, aError); in otPlatDiagRadioReceiveDone()
[all …]
/openthread-3.5.0/src/posix/platform/
Dradio.cpp213 void otPlatRadioGetIeeeEui64(otInstance *aInstance, uint8_t *aIeeeEui64) in otPlatRadioGetIeeeEui64() argument
215 OT_UNUSED_VARIABLE(aInstance); in otPlatRadioGetIeeeEui64()
219 void otPlatRadioSetPanId(otInstance *aInstance, uint16_t panid) in otPlatRadioSetPanId() argument
221 OT_UNUSED_VARIABLE(aInstance); in otPlatRadioSetPanId()
225 void otPlatRadioSetExtendedAddress(otInstance *aInstance, const otExtAddress *aAddress) in otPlatRadioSetExtendedAddress() argument
227 OT_UNUSED_VARIABLE(aInstance); in otPlatRadioSetExtendedAddress()
238 void otPlatRadioSetShortAddress(otInstance *aInstance, uint16_t aAddress) in otPlatRadioSetShortAddress() argument
240 OT_UNUSED_VARIABLE(aInstance); in otPlatRadioSetShortAddress()
244 void otPlatRadioSetPromiscuous(otInstance *aInstance, bool aEnable) in otPlatRadioSetPromiscuous() argument
246 OT_UNUSED_VARIABLE(aInstance); in otPlatRadioSetPromiscuous()
[all …]

12345678910>>...17