Home
last modified time | relevance | path

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

12345678910>>...19

/openthread-latest/src/core/api/
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
84 …VerifyOrExit(!AsCoreType(aInstance).Get<Mle::Mle>().HasRloc16(Mle::kInvalidRloc16), error = kError… 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 …]
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 …]
Dcoap_secure_api.cpp48 otError otCoapSecureStart(otInstance *aInstance, uint16_t aPort) in otCoapSecureStart() argument
50 return AsCoreType(aInstance).GetApplicationCoapSecure().Start(aPort); in otCoapSecureStart()
53 otError otCoapSecureStartWithMaxConnAttempts(otInstance *aInstance, in otCoapSecureStartWithMaxConnAttempts() argument
59 …return AsCoreType(aInstance).GetApplicationCoapSecure().Start(aPort, aMaxAttempts, aCallback, aCon… in otCoapSecureStartWithMaxConnAttempts()
63 void otCoapSecureSetCertificate(otInstance *aInstance, in otCoapSecureSetCertificate() argument
69 …AsCoreType(aInstance).GetApplicationCoapSecure().SetCertificate(aX509Cert, aX509Length, aPrivateKe… in otCoapSecureSetCertificate()
73 void otCoapSecureSetCaCertificateChain(otInstance *aInstance, in otCoapSecureSetCaCertificateChain() argument
77 AsCoreType(aInstance).GetApplicationCoapSecure().SetCaCertificateChain(aX509CaCertificateChain, in otCoapSecureSetCaCertificateChain()
83 void otCoapSecureSetPsk(otInstance *aInstance, in otCoapSecureSetPsk() argument
92 …AsCoreType(aInstance).GetApplicationCoapSecure().SetPreSharedKey(aPsk, aPskLength, aPskIdentity, a… in otCoapSecureSetPsk()
[all …]
Dchannel_manager_api.cpp48 void otChannelManagerRequestChannelChange(otInstance *aInstance, uint8_t aChannel) in otChannelManagerRequestChannelChange() argument
50 AsCoreType(aInstance).Get<Utils::ChannelManager>().RequestNetworkChannelChange(aChannel); in otChannelManagerRequestChannelChange()
54 uint8_t otChannelManagerGetRequestedChannel(otInstance *aInstance) in otChannelManagerGetRequestedChannel() argument
56 return AsCoreType(aInstance).Get<Utils::ChannelManager>().GetRequestedChannel(); in otChannelManagerGetRequestedChannel()
60 uint16_t otChannelManagerGetDelay(otInstance *aInstance) in otChannelManagerGetDelay() argument
62 return AsCoreType(aInstance).Get<Utils::ChannelManager>().GetDelay(); in otChannelManagerGetDelay()
65 otError otChannelManagerSetDelay(otInstance *aInstance, uint16_t aDelay) in otChannelManagerSetDelay() argument
67 return AsCoreType(aInstance).Get<Utils::ChannelManager>().SetDelay(aDelay); in otChannelManagerSetDelay()
71 otError otChannelManagerRequestChannelSelect(otInstance *aInstance, bool aSkipQualityCheck) in otChannelManagerRequestChannelSelect() argument
73 …return AsCoreType(aInstance).Get<Utils::ChannelManager>().RequestNetworkChannelSelect(aSkipQuality… 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 …]
Dble_secure_api.cpp49 otError otBleSecureStart(otInstance *aInstance, in otBleSecureStart() argument
55 …return AsCoreType(aInstance).Get<Ble::BleSecure>().Start(aConnectHandler, aReceiveHandler, aTlvMod… in otBleSecureStart()
58 otError otBleSecureSetTcatVendorInfo(otInstance *aInstance, const otTcatVendorInfo *aVendorInfo) in otBleSecureSetTcatVendorInfo() argument
60 return AsCoreType(aInstance).Get<Ble::BleSecure>().TcatSetVendorInfo(AsCoreType(aVendorInfo)); in otBleSecureSetTcatVendorInfo()
63 otError otBleSecureTcatStart(otInstance *aInstance, otHandleTcatJoin aHandler) in otBleSecureTcatStart() argument
65 return AsCoreType(aInstance).Get<Ble::BleSecure>().TcatStart(aHandler); in otBleSecureTcatStart()
68 void otBleSecureStop(otInstance *aInstance) { AsCoreType(aInstance).Get<Ble::BleSecure>().Stop(); } in otBleSecureStop() argument
71 void otBleSecureSetPsk(otInstance *aInstance, in otBleSecureSetPsk() argument
81 …AsCoreType(aInstance).Get<Ble::BleSecure>().SetPreSharedKey(aPsk, aPskLength, aPskIdentity, aPskId… in otBleSecureSetPsk()
86 otError otBleSecureGetPeerCertificateBase64(otInstance *aInstance, unsigned char *aPeerCert, size_t… in otBleSecureGetPeerCertificateBase64() argument
[all …]
Dmdns_api.cpp45 otError otMdnsSetEnabled(otInstance *aInstance, bool aEnable, uint32_t aInfraIfIndex) in otMdnsSetEnabled() argument
47 return AsCoreType(aInstance).Get<Dns::Multicast::Core>().SetEnabled(aEnable, aInfraIfIndex); in otMdnsSetEnabled()
50 bool otMdnsIsEnabled(otInstance *aInstance) { return AsCoreType(aInstance).Get<Dns::Multicast::Core… in otMdnsIsEnabled() argument
52 void otMdnsSetQuestionUnicastAllowed(otInstance *aInstance, bool aAllow) in otMdnsSetQuestionUnicastAllowed() argument
54 AsCoreType(aInstance).Get<Dns::Multicast::Core>().SetQuestionUnicastAllowed(aAllow); in otMdnsSetQuestionUnicastAllowed()
57 bool otMdnsIsQuestionUnicastAllowed(otInstance *aInstance) in otMdnsIsQuestionUnicastAllowed() argument
59 return AsCoreType(aInstance).Get<Dns::Multicast::Core>().IsQuestionUnicastAllowed(); in otMdnsIsQuestionUnicastAllowed()
62 void otMdnsSetConflictCallback(otInstance *aInstance, otMdnsConflictCallback aCallback) in otMdnsSetConflictCallback() argument
64 AsCoreType(aInstance).Get<Dns::Multicast::Core>().SetConflictCallback(aCallback); in otMdnsSetConflictCallback()
67 otError otMdnsRegisterHost(otInstance *aInstance, in otMdnsRegisterHost() argument
[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 bool otIp6HasUnicastAddress(otInstance *aInstance, const otIp6Address *aAddress) in otIp6HasUnicastAddress() argument
80 return AsCoreType(aInstance).Get<ThreadNetif>().HasUnicastAddress(AsCoreType(aAddress)); in otIp6HasUnicastAddress()
83 otError otIp6AddUnicastAddress(otInstance *aInstance, const otNetifAddress *aAddress) in otIp6AddUnicastAddress() argument
85 return AsCoreType(aInstance).Get<ThreadNetif>().AddExternalUnicastAddress(AsCoreType(aAddress)); in otIp6AddUnicastAddress()
88 otError otIp6RemoveUnicastAddress(otInstance *aInstance, const otIp6Address *aAddress) in otIp6RemoveUnicastAddress() 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(BackboneRouter::Local::kForce… in otBackboneRouterRegister()
[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 …]
Dinstance_api.cpp83 uint32_t otInstanceGetId(otInstance *aInstance) { return AsCoreType(aInstance).GetId(); } in otInstanceGetId() argument
85 bool otInstanceIsInitialized(otInstance *aInstance) in otInstanceIsInitialized() argument
88 return AsCoreType(aInstance).IsInitialized(); in otInstanceIsInitialized()
90 OT_UNUSED_VARIABLE(aInstance); in otInstanceIsInitialized()
95 void otInstanceFinalize(otInstance *aInstance) { AsCoreType(aInstance).Finalize(); } in otInstanceFinalize() argument
97 void otInstanceReset(otInstance *aInstance) { AsCoreType(aInstance).Reset(); } in otInstanceReset() argument
100 otError otInstanceResetToBootloader(otInstance *aInstance) { return AsCoreType(aInstance).ResetToBo… in otInstanceResetToBootloader() argument
104 uint64_t otInstanceGetUptime(otInstance *aInstance) { return AsCoreType(aInstance).Get<Uptime>().Ge… in otInstanceGetUptime() argument
106 void otInstanceGetUptimeAsString(otInstance *aInstance, char *aBuffer, uint16_t aSize) in otInstanceGetUptimeAsString() argument
110 AsCoreType(aInstance).Get<Uptime>().GetUptime(aBuffer, aSize); in otInstanceGetUptimeAsString()
[all …]
/openthread-latest/tests/fuzz/
Dfuzzer_platform.cpp108 void FuzzerPlatformProcess(otInstance *aInstance) in FuzzerPlatformProcess() argument
125 otPlatRadioTxDone(aInstance, &sRadioTransmitFrame, &sRadioAckFrame, OT_ERROR_NONE); in FuzzerPlatformProcess()
129 otPlatRadioTxDone(aInstance, &sRadioTransmitFrame, nullptr, OT_ERROR_NONE); in FuzzerPlatformProcess()
152 otPlatAlarmMilliFired(aInstance); in FuzzerPlatformProcess()
159 otPlatAlarmMicroFired(aInstance); in FuzzerPlatformProcess()
171 void otPlatAlarmMilliStartAt(otInstance *aInstance, uint32_t aT0, uint32_t aDt) in otPlatAlarmMilliStartAt() argument
173 OT_UNUSED_VARIABLE(aInstance); in otPlatAlarmMilliStartAt()
179 void otPlatAlarmMilliStop(otInstance *aInstance) in otPlatAlarmMilliStop() argument
181 OT_UNUSED_VARIABLE(aInstance); in otPlatAlarmMilliStop()
188 void otPlatAlarmMicroStartAt(otInstance *aInstance, uint32_t aT0, uint32_t aDt) in otPlatAlarmMicroStartAt() argument
[all …]
/openthread-latest/include/openthread/
Dlink.h412 otError otLinkActiveScan(otInstance *aInstance,
425 bool otLinkIsActiveScanInProgress(otInstance *aInstance);
450 otError otLinkEnergyScan(otInstance *aInstance,
464 bool otLinkIsEnergyScanInProgress(otInstance *aInstance);
476 otError otLinkSendDataRequest(otInstance *aInstance);
490 bool otLinkIsInTransmitState(otInstance *aInstance);
502 uint8_t otLinkGetChannel(otInstance *aInstance);
520 otError otLinkSetChannel(otInstance *aInstance, uint8_t aChannel);
530 uint32_t otLinkGetSupportedChannelMask(otInstance *aInstance);
544 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.h251 otError otThreadSetEnabled(otInstance *aInstance, bool aEnabled);
272 bool otThreadIsSingleton(otInstance *aInstance);
294 otError otThreadDiscover(otInstance *aInstance,
308 bool otThreadIsDiscoverInProgress(otInstance *aInstance);
327 otError otThreadSetJoinerAdvertisement(otInstance *aInstance,
344 uint32_t otThreadGetChildTimeout(otInstance *aInstance);
355 void otThreadSetChildTimeout(otInstance *aInstance, uint32_t aTimeout);
367 const otExtendedPanId *otThreadGetExtendedPanId(otInstance *aInstance);
385 otError otThreadSetExtendedPanId(otInstance *aInstance, const otExtendedPanId *aExtendedPanId);
398 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-latest/include/openthread/platform/
Dradio.h481 otRadioCaps otPlatRadioGetCaps(otInstance *aInstance);
494 const char *otPlatRadioGetVersionString(otInstance *aInstance);
504 int8_t otPlatRadioGetReceiveSensitivity(otInstance *aInstance);
513 void otPlatRadioGetIeeeEui64(otInstance *aInstance, uint8_t *aIeeeEui64);
522 void otPlatRadioSetPanId(otInstance *aInstance, otPanId aPanId);
532 void otPlatRadioSetExtendedAddress(otInstance *aInstance, const otExtAddress *aExtAddress);
541 void otPlatRadioSetShortAddress(otInstance *aInstance, otShortAddress aShortAddress);
557 otError otPlatRadioGetTransmitPower(otInstance *aInstance, int8_t *aPower);
572 otError otPlatRadioSetTransmitPower(otInstance *aInstance, int8_t aPower);
585 otError otPlatRadioGetCcaEnergyDetectThreshold(otInstance *aInstance, int8_t *aThreshold);
[all …]
/openthread-latest/examples/platforms/simulation/
Ddnssd.c34 otPlatDnssdState otPlatDnssdGetState(otInstance *aInstance) in otPlatDnssdGetState() argument
36 OT_UNUSED_VARIABLE(aInstance); in otPlatDnssdGetState()
41 void otPlatDnssdRegisterService(otInstance *aInstance, in otPlatDnssdRegisterService() argument
46 OT_UNUSED_VARIABLE(aInstance); in otPlatDnssdRegisterService()
52 void otPlatDnssdUnregisterService(otInstance *aInstance, in otPlatDnssdUnregisterService() argument
57 OT_UNUSED_VARIABLE(aInstance); in otPlatDnssdUnregisterService()
63 void otPlatDnssdRegisterHost(otInstance *aInstance, in otPlatDnssdRegisterHost() argument
68 OT_UNUSED_VARIABLE(aInstance); in otPlatDnssdRegisterHost()
74 void otPlatDnssdUnregisterHost(otInstance *aInstance, in otPlatDnssdUnregisterHost() argument
79 OT_UNUSED_VARIABLE(aInstance); in otPlatDnssdUnregisterHost()
[all …]
/openthread-latest/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()
119 extern "C" void otPlatRadioBusLatencyChanged(otInstance *aInstance) in otPlatRadioBusLatencyChanged() argument
121 Instance &instance = AsCoreType(aInstance); in otPlatRadioBusLatencyChanged()
[all …]
/openthread-latest/src/posix/platform/
Dradio.cpp219 void platformRadioHandleStateChange(otInstance *aInstance, otChangedFlags aFlags) in platformRadioHandleStateChange() argument
223 GetRadioSpinel().SetTimeSyncState(otIp6IsEnabled(aInstance)); in platformRadioHandleStateChange()
227 void otPlatRadioGetIeeeEui64(otInstance *aInstance, uint8_t *aIeeeEui64) in otPlatRadioGetIeeeEui64() argument
229 OT_UNUSED_VARIABLE(aInstance); in otPlatRadioGetIeeeEui64()
233 void otPlatRadioSetPanId(otInstance *aInstance, uint16_t panid) in otPlatRadioSetPanId() argument
235 OT_UNUSED_VARIABLE(aInstance); in otPlatRadioSetPanId()
239 void otPlatRadioSetExtendedAddress(otInstance *aInstance, const otExtAddress *aAddress) in otPlatRadioSetExtendedAddress() argument
241 OT_UNUSED_VARIABLE(aInstance); in otPlatRadioSetExtendedAddress()
252 void otPlatRadioSetShortAddress(otInstance *aInstance, uint16_t aAddress) in otPlatRadioSetShortAddress() argument
254 OT_UNUSED_VARIABLE(aInstance); in otPlatRadioSetShortAddress()
[all …]
Dble.cpp32 otError otPlatBleEnable(otInstance *aInstance) in otPlatBleEnable() argument
34 OT_UNUSED_VARIABLE(aInstance); in otPlatBleEnable()
38 otError otPlatBleDisable(otInstance *aInstance) in otPlatBleDisable() argument
40 OT_UNUSED_VARIABLE(aInstance); in otPlatBleDisable()
44 otError otPlatBleGetAdvertisementBuffer(otInstance *aInstance, uint8_t **aAdvertisementBuffer) in otPlatBleGetAdvertisementBuffer() argument
46 OT_UNUSED_VARIABLE(aInstance); in otPlatBleGetAdvertisementBuffer()
54 otError otPlatBleGapAdvStart(otInstance *aInstance, uint16_t aInterval) in otPlatBleGapAdvStart() argument
56 OT_UNUSED_VARIABLE(aInstance); in otPlatBleGapAdvStart()
61 otError otPlatBleGapAdvStop(otInstance *aInstance) in otPlatBleGapAdvStop() argument
63 OT_UNUSED_VARIABLE(aInstance); in otPlatBleGapAdvStop()
[all …]

12345678910>>...19