/openthread-latest/src/core/api/ |
D | thread_ftd_api.cpp | 42 uint16_t otThreadGetMaxAllowedChildren(otInstance *aInstance) in otThreadGetMaxAllowedChildren() argument 44 return AsCoreType(aInstance).Get<ChildTable>().GetMaxChildrenAllowed(); in otThreadGetMaxAllowedChildren() 47 otError otThreadSetMaxAllowedChildren(otInstance *aInstance, uint16_t aMaxChildren) in otThreadSetMaxAllowedChildren() argument 49 return AsCoreType(aInstance).Get<ChildTable>().SetMaxChildrenAllowed(aMaxChildren); in otThreadSetMaxAllowedChildren() 52 uint8_t otThreadGetMaxChildIpAddresses(otInstance *aInstance) in otThreadGetMaxChildIpAddresses() argument 54 return AsCoreType(aInstance).Get<Mle::MleRouter>().GetMaxChildIpAddresses(); in otThreadGetMaxChildIpAddresses() 58 otError otThreadSetMaxChildIpAddresses(otInstance *aInstance, uint8_t aMaxIpAddresses) in otThreadSetMaxChildIpAddresses() argument 60 return AsCoreType(aInstance).Get<Mle::MleRouter>().SetMaxChildIpAddresses(aMaxIpAddresses); in otThreadSetMaxChildIpAddresses() 64 bool otThreadIsRouterEligible(otInstance *aInstance) in otThreadIsRouterEligible() argument 66 return AsCoreType(aInstance).Get<Mle::MleRouter>().IsRouterEligible(); in otThreadIsRouterEligible() [all …]
|
D | link_api.cpp | 40 uint8_t otLinkGetChannel(otInstance *aInstance) in otLinkGetChannel() argument 42 Instance &instance = AsCoreType(aInstance); in otLinkGetChannel() 59 otError otLinkSetChannel(otInstance *aInstance, uint8_t aChannel) in otLinkSetChannel() argument 62 Instance &instance = AsCoreType(aInstance); in otLinkSetChannel() 83 uint8_t otLinkGetWakeupChannel(otInstance *aInstance) in otLinkGetWakeupChannel() argument 85 return AsCoreType(aInstance).Get<Mac::Mac>().GetWakeupChannel(); in otLinkGetWakeupChannel() 88 otError otLinkSetWakeupChannel(otInstance *aInstance, uint8_t aChannel) in otLinkSetWakeupChannel() argument 91 Instance &instance = AsCoreType(aInstance); in otLinkSetWakeupChannel() 105 uint32_t otLinkGetSupportedChannelMask(otInstance *aInstance) in otLinkGetSupportedChannelMask() argument 107 return AsCoreType(aInstance).Get<Mac::Mac>().GetSupportedChannelMask().GetMask(); in otLinkGetSupportedChannelMask() [all …]
|
D | thread_api.cpp | 42 uint32_t otThreadGetChildTimeout(otInstance *aInstance) in otThreadGetChildTimeout() argument 44 return AsCoreType(aInstance).Get<Mle::MleRouter>().GetTimeout(); in otThreadGetChildTimeout() 47 void otThreadSetChildTimeout(otInstance *aInstance, uint32_t aTimeout) in otThreadSetChildTimeout() argument 49 AsCoreType(aInstance).Get<Mle::MleRouter>().SetTimeout(aTimeout); in otThreadSetChildTimeout() 52 const otExtendedPanId *otThreadGetExtendedPanId(otInstance *aInstance) in otThreadGetExtendedPanId() argument 54 return &AsCoreType(aInstance).Get<MeshCoP::ExtendedPanIdManager>().GetExtPanId(); in otThreadGetExtendedPanId() 57 otError otThreadSetExtendedPanId(otInstance *aInstance, const otExtendedPanId *aExtendedPanId) in otThreadSetExtendedPanId() argument 60 Instance &instance = AsCoreType(aInstance); in otThreadSetExtendedPanId() 74 otError otThreadGetLeaderRloc(otInstance *aInstance, otIp6Address *aLeaderRloc) in otThreadGetLeaderRloc() argument 78 …VerifyOrExit(!AsCoreType(aInstance).Get<Mle::Mle>().HasRloc16(Mle::kInvalidRloc16), error = kError… in otThreadGetLeaderRloc() [all …]
|
D | srp_client_api.cpp | 42 otError otSrpClientStart(otInstance *aInstance, const otSockAddr *aServerSockAddr) in otSrpClientStart() argument 44 return AsCoreType(aInstance).Get<Srp::Client>().Start(AsCoreType(aServerSockAddr)); in otSrpClientStart() 47 void otSrpClientStop(otInstance *aInstance) { return AsCoreType(aInstance).Get<Srp::Client>().Stop(… in otSrpClientStop() argument 49 bool otSrpClientIsRunning(otInstance *aInstance) { return AsCoreType(aInstance).Get<Srp::Client>().… in otSrpClientIsRunning() argument 51 const otSockAddr *otSrpClientGetServerAddress(otInstance *aInstance) in otSrpClientGetServerAddress() argument 53 return &AsCoreType(aInstance).Get<Srp::Client>().GetServerAddress(); in otSrpClientGetServerAddress() 56 void otSrpClientSetCallback(otInstance *aInstance, otSrpClientCallback aCallback, void *aContext) in otSrpClientSetCallback() argument 58 AsCoreType(aInstance).Get<Srp::Client>().SetCallback(aCallback, aContext); in otSrpClientSetCallback() 62 void otSrpClientEnableAutoStartMode(otInstance *aInstance, otSrpClientAutoStartCallback aCallback, … in otSrpClientEnableAutoStartMode() argument 64 AsCoreType(aInstance).Get<Srp::Client>().EnableAutoStartMode(aCallback, aContext); in otSrpClientEnableAutoStartMode() [all …]
|
D | link_raw_api.cpp | 44 otError otLinkRawSetReceiveDone(otInstance *aInstance, otLinkRawReceiveDone aCallback) in otLinkRawSetReceiveDone() argument 46 return AsCoreType(aInstance).Get<Mac::LinkRaw>().SetReceiveDone(aCallback); in otLinkRawSetReceiveDone() 49 bool otLinkRawIsEnabled(otInstance *aInstance) { return AsCoreType(aInstance).Get<Mac::LinkRaw>().I… in otLinkRawIsEnabled() argument 51 otError otLinkRawSetShortAddress(otInstance *aInstance, uint16_t aShortAddress) in otLinkRawSetShortAddress() argument 53 return AsCoreType(aInstance).Get<Mac::LinkRaw>().SetShortAddress(aShortAddress); in otLinkRawSetShortAddress() 56 otError otLinkRawSetAlternateShortAddress(otInstance *aInstance, otShortAddress aShortAddress) in otLinkRawSetAlternateShortAddress() argument 58 return AsCoreType(aInstance).Get<Mac::LinkRaw>().SetAlternateShortAddress(aShortAddress); in otLinkRawSetAlternateShortAddress() 61 bool otLinkRawGetPromiscuous(otInstance *aInstance) { return AsCoreType(aInstance).Get<Radio>().Get… in otLinkRawGetPromiscuous() argument 63 otError otLinkRawSetPromiscuous(otInstance *aInstance, bool aEnable) in otLinkRawSetPromiscuous() argument 66 Instance &instance = AsCoreType(aInstance); in otLinkRawSetPromiscuous() [all …]
|
D | coap_secure_api.cpp | 42 otError otCoapSecureStart(otInstance *aInstance, uint16_t aPort) in otCoapSecureStart() argument 46 SuccessOrExit(error = AsCoreType(aInstance).GetApplicationCoapSecure().Open()); in otCoapSecureStart() 47 error = AsCoreType(aInstance).GetApplicationCoapSecure().Bind(aPort); in otCoapSecureStart() 53 otError otCoapSecureStartWithMaxConnAttempts(otInstance *aInstance, in otCoapSecureStartWithMaxConnAttempts() argument 62 …AsCoreType(aInstance).GetApplicationCoapSecure().SetMaxConnectionAttempts(aMaxAttempts, aCallback,… in otCoapSecureStartWithMaxConnAttempts() 63 error = otCoapSecureStart(aInstance, aPort); in otCoapSecureStartWithMaxConnAttempts() 70 void otCoapSecureSetCertificate(otInstance *aInstance, in otCoapSecureSetCertificate() argument 76 …AsCoreType(aInstance).GetApplicationCoapSecure().SetCertificate(aX509Cert, aX509Length, aPrivateKe… in otCoapSecureSetCertificate() 80 void otCoapSecureSetCaCertificateChain(otInstance *aInstance, in otCoapSecureSetCaCertificateChain() argument 84 AsCoreType(aInstance).GetApplicationCoapSecure().SetCaCertificateChain(aX509CaCertificateChain, in otCoapSecureSetCaCertificateChain() [all …]
|
D | channel_manager_api.cpp | 44 void otChannelManagerRequestChannelChange(otInstance *aInstance, uint8_t aChannel) in otChannelManagerRequestChannelChange() argument 46 AsCoreType(aInstance).Get<Utils::ChannelManager>().RequestNetworkChannelChange(aChannel); in otChannelManagerRequestChannelChange() 50 uint8_t otChannelManagerGetRequestedChannel(otInstance *aInstance) in otChannelManagerGetRequestedChannel() argument 52 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>().RequestNetworkChannelSelect(aSkipQuality… in otChannelManagerRequestChannelSelect() [all …]
|
D | border_routing_api.cpp | 42 otError otBorderRoutingInit(otInstance *aInstance, uint32_t aInfraIfIndex, bool aInfraIfIsRunning) in otBorderRoutingInit() argument 44 …return AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().Init(aInfraIfIndex, aInfraIfIsRun… in otBorderRoutingInit() 47 otError otBorderRoutingSetEnabled(otInstance *aInstance, bool aEnabled) in otBorderRoutingSetEnabled() argument 49 return AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().SetEnabled(aEnabled); in otBorderRoutingSetEnabled() 52 otBorderRoutingState otBorderRoutingGetState(otInstance *aInstance) in otBorderRoutingGetState() argument 54 return MapEnum(AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().GetState()); in otBorderRoutingGetState() 57 otRoutePreference otBorderRoutingGetRouteInfoOptionPreference(otInstance *aInstance) in otBorderRoutingGetRouteInfoOptionPreference() argument 60 AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().GetRouteInfoOptionPreference()); in otBorderRoutingGetRouteInfoOptionPreference() 63 void otBorderRoutingSetRouteInfoOptionPreference(otInstance *aInstance, otRoutePreference aPreferen… in otBorderRoutingSetRouteInfoOptionPreference() argument 65 AsCoreType(aInstance).Get<BorderRouter::RoutingManager>().SetRouteInfoOptionPreference( in otBorderRoutingSetRouteInfoOptionPreference() [all …]
|
D | ble_secure_api.cpp | 49 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 …]
|
D | mdns_api.cpp | 42 otError otMdnsSetEnabled(otInstance *aInstance, bool aEnable, uint32_t aInfraIfIndex) in otMdnsSetEnabled() argument 44 return AsCoreType(aInstance).Get<Dns::Multicast::Core>().SetEnabled(aEnable, aInfraIfIndex); in otMdnsSetEnabled() 47 bool otMdnsIsEnabled(otInstance *aInstance) { return AsCoreType(aInstance).Get<Dns::Multicast::Core… in otMdnsIsEnabled() argument 49 void otMdnsSetQuestionUnicastAllowed(otInstance *aInstance, bool aAllow) in otMdnsSetQuestionUnicastAllowed() argument 51 AsCoreType(aInstance).Get<Dns::Multicast::Core>().SetQuestionUnicastAllowed(aAllow); in otMdnsSetQuestionUnicastAllowed() 54 bool otMdnsIsQuestionUnicastAllowed(otInstance *aInstance) in otMdnsIsQuestionUnicastAllowed() argument 56 return AsCoreType(aInstance).Get<Dns::Multicast::Core>().IsQuestionUnicastAllowed(); in otMdnsIsQuestionUnicastAllowed() 59 void otMdnsSetConflictCallback(otInstance *aInstance, otMdnsConflictCallback aCallback) in otMdnsSetConflictCallback() argument 61 AsCoreType(aInstance).Get<Dns::Multicast::Core>().SetConflictCallback(aCallback); in otMdnsSetConflictCallback() 64 otError otMdnsRegisterHost(otInstance *aInstance, in otMdnsRegisterHost() argument [all …]
|
D | ip6_api.cpp | 40 otError otIp6SetEnabled(otInstance *aInstance, bool aEnabled) in otIp6SetEnabled() argument 43 Instance &instance = AsCoreType(aInstance); in otIp6SetEnabled() 64 bool otIp6IsEnabled(otInstance *aInstance) { return AsCoreType(aInstance).Get<ThreadNetif>().IsUp()… in otIp6IsEnabled() argument 66 const otNetifAddress *otIp6GetUnicastAddresses(otInstance *aInstance) in otIp6GetUnicastAddresses() argument 68 return AsCoreType(aInstance).Get<ThreadNetif>().GetUnicastAddresses().GetHead(); in otIp6GetUnicastAddresses() 71 bool otIp6HasUnicastAddress(otInstance *aInstance, const otIp6Address *aAddress) in otIp6HasUnicastAddress() argument 73 return AsCoreType(aInstance).Get<ThreadNetif>().HasUnicastAddress(AsCoreType(aAddress)); in otIp6HasUnicastAddress() 76 otError otIp6AddUnicastAddress(otInstance *aInstance, const otNetifAddress *aAddress) in otIp6AddUnicastAddress() argument 78 return AsCoreType(aInstance).Get<ThreadNetif>().AddExternalUnicastAddress(AsCoreType(aAddress)); in otIp6AddUnicastAddress() 81 otError otIp6RemoveUnicastAddress(otInstance *aInstance, const otIp6Address *aAddress) in otIp6RemoveUnicastAddress() argument [all …]
|
D | backbone_router_ftd_api.cpp | 46 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 …]
|
D | commissioner_api.cpp | 42 otError otCommissionerStart(otInstance *aInstance, in otCommissionerStart() argument 47 …return AsCoreType(aInstance).Get<MeshCoP::Commissioner>().Start(aStateCallback, aJoinerCallback, a… in otCommissionerStart() 50 const char *otCommissionerGetId(otInstance *aInstance) in otCommissionerGetId() argument 52 return AsCoreType(aInstance).Get<MeshCoP::Commissioner>().GetId(); in otCommissionerGetId() 55 otError otCommissionerSetId(otInstance *aInstance, const char *aId) in otCommissionerSetId() argument 57 return AsCoreType(aInstance).Get<MeshCoP::Commissioner>().SetId(aId); in otCommissionerSetId() 60 otError otCommissionerStop(otInstance *aInstance) { return AsCoreType(aInstance).Get<MeshCoP::Commi… in otCommissionerStop() argument 62 otError otCommissionerAddJoiner(otInstance *aInstance, const otExtAddress *aEui64, const char *aPsk… in otCommissionerAddJoiner() argument 65 MeshCoP::Commissioner &commissioner = AsCoreType(aInstance).Get<MeshCoP::Commissioner>(); in otCommissionerAddJoiner() 79 otError otCommissionerAddJoinerWithDiscerner(otInstance *aInstance, in otCommissionerAddJoinerWithDiscerner() argument [all …]
|
/openthread-latest/tests/fuzz/ |
D | fuzzer_platform.cpp | 109 void FuzzerPlatformProcess(otInstance *aInstance) in FuzzerPlatformProcess() argument 127 otPlatRadioTxDone(aInstance, &sRadioTransmitFrame, &sRadioAckFrame, OT_ERROR_NONE); in FuzzerPlatformProcess() 131 otPlatRadioTxDone(aInstance, &sRadioTransmitFrame, nullptr, OT_ERROR_NO_ACK); in FuzzerPlatformProcess() 136 otPlatRadioTxDone(aInstance, &sRadioTransmitFrame, nullptr, OT_ERROR_NONE); in FuzzerPlatformProcess() 159 otPlatAlarmMilliFired(aInstance); in FuzzerPlatformProcess() 166 otPlatAlarmMicroFired(aInstance); in FuzzerPlatformProcess() 178 void otPlatAlarmMilliStartAt(otInstance *aInstance, uint32_t aT0, uint32_t aDt) in otPlatAlarmMilliStartAt() argument 180 OT_UNUSED_VARIABLE(aInstance); in otPlatAlarmMilliStartAt() 186 void otPlatAlarmMilliStop(otInstance *aInstance) in otPlatAlarmMilliStop() argument 188 OT_UNUSED_VARIABLE(aInstance); in otPlatAlarmMilliStop() [all …]
|
/openthread-latest/include/openthread/ |
D | link.h | 369 otError otLinkActiveScan(otInstance *aInstance, 382 bool otLinkIsActiveScanInProgress(otInstance *aInstance); 405 otError otLinkEnergyScan(otInstance *aInstance, 418 bool otLinkIsEnergyScanInProgress(otInstance *aInstance); 429 otError otLinkSendDataRequest(otInstance *aInstance); 442 bool otLinkIsInTransmitState(otInstance *aInstance); 453 uint8_t otLinkGetChannel(otInstance *aInstance); 470 otError otLinkSetChannel(otInstance *aInstance, uint8_t aChannel); 479 uint32_t otLinkGetSupportedChannelMask(otInstance *aInstance); 492 otError otLinkSetSupportedChannelMask(otInstance *aInstance, uint32_t aChannelMask); [all …]
|
D | thread_ftd.h | 131 uint16_t otThreadGetMaxAllowedChildren(otInstance *aInstance); 147 otError otThreadSetMaxAllowedChildren(otInstance *aInstance, uint16_t aMaxChildren); 157 bool otThreadIsRouterEligible(otInstance *aInstance); 171 otError otThreadSetRouterEligible(otInstance *aInstance, bool aEligible); 189 otError otThreadSetPreferredRouterId(otInstance *aInstance, uint8_t aRouterId); 232 const otDeviceProperties *otThreadGetDeviceProperties(otInstance *aInstance); 242 void otThreadSetDeviceProperties(otInstance *aInstance, const otDeviceProperties *aDeviceProperties… 254 uint8_t otThreadGetLocalLeaderWeight(otInstance *aInstance); 267 void otThreadSetLocalLeaderWeight(otInstance *aInstance, uint8_t aWeight); 276 uint32_t otThreadGetPreferredLeaderPartitionId(otInstance *aInstance); [all …]
|
D | thread.h | 249 otError otThreadSetEnabled(otInstance *aInstance, bool aEnabled); 268 bool otThreadIsSingleton(otInstance *aInstance); 289 otError otThreadDiscover(otInstance *aInstance, 302 bool otThreadIsDiscoverInProgress(otInstance *aInstance); 320 otError otThreadSetJoinerAdvertisement(otInstance *aInstance, 336 uint32_t otThreadGetChildTimeout(otInstance *aInstance); 346 void otThreadSetChildTimeout(otInstance *aInstance, uint32_t aTimeout); 357 const otExtendedPanId *otThreadGetExtendedPanId(otInstance *aInstance); 374 otError otThreadSetExtendedPanId(otInstance *aInstance, const otExtendedPanId *aExtendedPanId); 386 otError otThreadGetLeaderRloc(otInstance *aInstance, otIp6Address *aLeaderRloc); [all …]
|
D | link_raw.h | 61 typedef void (*otLinkRawReceiveDone)(otInstance *aInstance, otRadioFrame *aFrame, otError aError); 74 otError otLinkRawSetReceiveDone(otInstance *aInstance, otLinkRawReceiveDone aCallback); 84 bool otLinkRawIsEnabled(otInstance *aInstance); 94 bool otLinkRawGetPromiscuous(otInstance *aInstance); 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); 172 otRadioFrame *otLinkRawGetTransmitBuffer(otInstance *aInstance); [all …]
|
D | srp_client.h | 215 otError otSrpClientStart(otInstance *aInstance, const otSockAddr *aServerSockAddr); 225 void otSrpClientStop(otInstance *aInstance); 234 bool otSrpClientIsRunning(otInstance *aInstance); 246 const otSockAddr *otSrpClientGetServerAddress(otInstance *aInstance); 258 void otSrpClientSetCallback(otInstance *aInstance, otSrpClientCallback aCallback, void *aContext); 298 void otSrpClientEnableAutoStartMode(otInstance *aInstance, otSrpClientAutoStartCallback aCallback, … 312 void otSrpClientDisableAutoStartMode(otInstance *aInstance); 323 bool otSrpClientIsAutoStartModeEnabled(otInstance *aInstance); 337 uint32_t otSrpClientGetTtl(otInstance *aInstance); 349 void otSrpClientSetTtl(otInstance *aInstance, uint32_t aTtl); [all …]
|
/openthread-latest/include/openthread/platform/ |
D | radio.h | 496 otRadioCaps otPlatRadioGetCaps(otInstance *aInstance); 508 const char *otPlatRadioGetVersionString(otInstance *aInstance); 517 int8_t otPlatRadioGetReceiveSensitivity(otInstance *aInstance); 525 void otPlatRadioGetIeeeEui64(otInstance *aInstance, uint8_t *aIeeeEui64); 533 void otPlatRadioSetPanId(otInstance *aInstance, otPanId aPanId); 541 void otPlatRadioSetExtendedAddress(otInstance *aInstance, const otExtAddress *aExtAddress); 549 void otPlatRadioSetShortAddress(otInstance *aInstance, otShortAddress aShortAddress); 569 void otPlatRadioSetAlternateShortAddress(otInstance *aInstance, otShortAddress aShortAddress); 584 otError otPlatRadioGetTransmitPower(otInstance *aInstance, int8_t *aPower); 598 otError otPlatRadioSetTransmitPower(otInstance *aInstance, int8_t aPower); [all …]
|
/openthread-latest/src/core/radio/ |
D | radio_platform.cpp | 46 extern "C" void otPlatRadioReceiveDone(otInstance *aInstance, otRadioFrame *aFrame, otError aError) in otPlatRadioReceiveDone() argument 48 Instance &instance = AsCoreType(aInstance); in otPlatRadioReceiveDone() 66 extern "C" void otPlatRadioTxStarted(otInstance *aInstance, otRadioFrame *aFrame) in otPlatRadioTxStarted() argument 68 Instance &instance = AsCoreType(aInstance); in otPlatRadioTxStarted() 83 extern "C" void otPlatRadioTxDone(otInstance *aInstance, otRadioFrame *aFrame, otRadioFrame *aAckFr… in otPlatRadioTxDone() argument 85 Instance &instance = AsCoreType(aInstance); in otPlatRadioTxDone() 106 extern "C" void otPlatRadioEnergyScanDone(otInstance *aInstance, int8_t aEnergyScanMaxRssi) in otPlatRadioEnergyScanDone() argument 108 Instance &instance = AsCoreType(aInstance); in otPlatRadioEnergyScanDone() 117 extern "C" void otPlatRadioBusLatencyChanged(otInstance *aInstance) in otPlatRadioBusLatencyChanged() argument 119 Instance &instance = AsCoreType(aInstance); in otPlatRadioBusLatencyChanged() [all …]
|
/openthread-latest/examples/platforms/simulation/ |
D | dnssd.c | 34 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/posix/platform/ |
D | radio.cpp | 220 void platformRadioHandleStateChange(otInstance *aInstance, otChangedFlags aFlags) in platformRadioHandleStateChange() argument 224 GetRadioSpinel().SetTimeSyncState(otIp6IsEnabled(aInstance)); in platformRadioHandleStateChange() 228 void otPlatRadioGetIeeeEui64(otInstance *aInstance, uint8_t *aIeeeEui64) in otPlatRadioGetIeeeEui64() argument 230 OT_UNUSED_VARIABLE(aInstance); in otPlatRadioGetIeeeEui64() 234 void otPlatRadioSetPanId(otInstance *aInstance, uint16_t panid) in otPlatRadioSetPanId() argument 236 OT_UNUSED_VARIABLE(aInstance); in otPlatRadioSetPanId() 240 void otPlatRadioSetExtendedAddress(otInstance *aInstance, const otExtAddress *aAddress) in otPlatRadioSetExtendedAddress() argument 242 OT_UNUSED_VARIABLE(aInstance); in otPlatRadioSetExtendedAddress() 253 void otPlatRadioSetShortAddress(otInstance *aInstance, uint16_t aAddress) in otPlatRadioSetShortAddress() argument 255 OT_UNUSED_VARIABLE(aInstance); in otPlatRadioSetShortAddress() [all …]
|
D | ble.cpp | 32 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 …]
|
/openthread-latest/src/ncp/platform/ |
D | dnssd.cpp | 35 otPlatDnssdState otPlatDnssdGetState(otInstance *aInstance) in otPlatDnssdGetState() argument 37 OT_UNUSED_VARIABLE(aInstance); in otPlatDnssdGetState() 42 void otPlatDnssdRegisterService(otInstance *aInstance, in otPlatDnssdRegisterService() argument 47 OT_UNUSED_VARIABLE(aInstance); in otPlatDnssdRegisterService() 53 void otPlatDnssdUnregisterService(otInstance *aInstance, in otPlatDnssdUnregisterService() argument 58 OT_UNUSED_VARIABLE(aInstance); in otPlatDnssdUnregisterService() 64 void otPlatDnssdRegisterHost(otInstance *aInstance, in otPlatDnssdRegisterHost() argument 69 OT_UNUSED_VARIABLE(aInstance); in otPlatDnssdRegisterHost() 75 void otPlatDnssdUnregisterHost(otInstance *aInstance, in otPlatDnssdUnregisterHost() argument 80 OT_UNUSED_VARIABLE(aInstance); in otPlatDnssdUnregisterHost() [all …]
|