/openthread-3.5.0/src/core/thread/ |
D | network_data_service.cpp | 63 ServiceData serviceData; in AddService() local 66 serviceData.Init(aServiceData, aServiceDataLength); in AddService() 69 return Get<Local>().AddService(kThreadEnterpriseNumber, serviceData, aServerStable, serverData); in AddService() 74 ServiceData serviceData; in RemoveService() local 76 serviceData.Init(aServiceData, aServiceDataLength); in RemoveService() 78 return Get<Local>().RemoveService(kThreadEnterpriseNumber, serviceData); in RemoveService() 88 ServiceData serviceData; in GetServiceId() local 90 serviceData.Init(aServiceData, aServiceDataLength); in GetServiceId() 92 …return Get<Leader>().GetServiceId(kThreadEnterpriseNumber, serviceData, aServerStable, aServiceId); in GetServiceId() 102 ServiceData serviceData; in GetBackboneRouterPrimary() local [all …]
|
D | network_data_types.cpp | 246 ServiceData serviceData; in SetFrom() local 250 aServiceTlv.GetServiceData(serviceData); in SetFrom() 253 mServiceDataLength = serviceData.GetLength(); in SetFrom() 254 serviceData.CopyBytesTo(mServiceData); in SetFrom()
|
D | network_data_leader_ftd.cpp | 429 ServiceData serviceData; in Validate() local 433 service->GetServiceData(serviceData); in Validate() 437 VerifyOrExit(validatedSegment.FindService(service->GetEnterpriseNumber(), serviceData, in Validate() 840 ServiceData serviceData; in AddService() local 843 aService.GetServiceData(serviceData); in AddService() 844 dstService = FindService(aService.GetEnterpriseNumber(), serviceData, kServiceExactMatch); in AddService() 853 … AppendTlv(ServiceTlv::CalculateSize(aService.GetEnterpriseNumber(), serviceData.GetLength()))); in AddService() 856 dstService->Init(serviceId, aService.GetEnterpriseNumber(), serviceData); in AddService() 1102 ServiceData serviceData; in RemoveRloc() local 1105 service->GetServiceData(serviceData); in RemoveRloc() [all …]
|
D | network_data_leader.cpp | 74 ServiceData serviceData; in GetServiceId() local 78 serviceConfig.GetServiceData(serviceData); in GetServiceId() 80 if (aEnterpriseNumber == serviceConfig.mEnterpriseNumber && aServiceData == serviceData && in GetServiceId()
|
D | network_data.cpp | 621 ServiceData serviceData; in MatchService() local 625 aServiceTlv.GetServiceData(serviceData); in MatchService() 630 match = (serviceData == aServiceData); in MatchService() 634 match = serviceData.StartsWith(aServiceData); in MatchService()
|
D | network_data_publisher.cpp | 681 Service::DnsSrpAnycast::ServiceData serviceData(mInfo.GetSequenceNumber()); in CountAnycastEntries() local 685 data.Init(&serviceData, serviceData.GetLength()); in CountAnycastEntries()
|
/openthread-3.5.0/src/core/api/ |
D | server_api.cpp | 53 NetworkData::ServiceData serviceData; in otServerAddService() local 56 serviceData.Init(&aConfig->mServiceData[0], aConfig->mServiceDataLength); in otServerAddService() 59 …AsCoreType(aInstance).Get<NetworkData::Local>().AddService(aConfig->mEnterpriseNumber, serviceData, in otServerAddService() 68 NetworkData::ServiceData serviceData; in otServerRemoveService() local 70 serviceData.Init(aServiceData, aServiceDataLength); in otServerRemoveService() 72 …turn AsCoreType(aInstance).Get<NetworkData::Local>().RemoveService(aEnterpriseNumber, serviceData); in otServerRemoveService()
|
/openthread-3.5.0/tests/unit/ |
D | test_network_data.cpp | 512 ServiceData serviceData; in ValidateServiceData() local 515 aServiceTlv->GetServiceData(serviceData); in ValidateServiceData() 517 VerifyOrExit(aServiceData == serviceData); in ValidateServiceData()
|
/openthread-3.5.0/tests/scripts/thread-cert/ |
D | node.py | 1957 def add_service(self, enterpriseNumber, serviceData, serverData): argument 1960 serviceData, 1966 def remove_service(self, enterpriseNumber, serviceData): argument 1967 cmd = 'service remove %s %s' % (enterpriseNumber, serviceData)
|
/openthread-3.5.0/src/cli/ |
D | README.md | 3330 ### service add \<enterpriseNumber\> \<serviceData\> \<serverData\> 3335 - serviceData: hex-encoded binary service data 3345 ### service remove \<enterpriseNumber\> \<serviceData\> 3350 - serviceData: hext-encoded binary service data
|
/openthread-3.5.0/src/ncp/ |
D | ncp_base_mtd.cpp | 1132 const uint8_t *serviceData; in HandlePropertyRemove() local 1138 SuccessOrExit(error = mDecoder.ReadDataWithLen(serviceData, serviceDataLength)); in HandlePropertyRemove() 1142 SuccessOrExit(error = otServerRemoveService(mInstance, enterpriseNumber, serviceData, in HandlePropertyRemove()
|