Home
last modified time | relevance | path

Searched refs:serviceData (Results 1 – 11 of 11) sorted by relevance

/openthread-3.5.0/src/core/thread/
Dnetwork_data_service.cpp63 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 …]
Dnetwork_data_types.cpp246 ServiceData serviceData; in SetFrom() local
250 aServiceTlv.GetServiceData(serviceData); in SetFrom()
253 mServiceDataLength = serviceData.GetLength(); in SetFrom()
254 serviceData.CopyBytesTo(mServiceData); in SetFrom()
Dnetwork_data_leader_ftd.cpp429 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 …]
Dnetwork_data_leader.cpp74 ServiceData serviceData; in GetServiceId() local
78 serviceConfig.GetServiceData(serviceData); in GetServiceId()
80 if (aEnterpriseNumber == serviceConfig.mEnterpriseNumber && aServiceData == serviceData && in GetServiceId()
Dnetwork_data.cpp621 ServiceData serviceData; in MatchService() local
625 aServiceTlv.GetServiceData(serviceData); in MatchService()
630 match = (serviceData == aServiceData); in MatchService()
634 match = serviceData.StartsWith(aServiceData); in MatchService()
Dnetwork_data_publisher.cpp681 Service::DnsSrpAnycast::ServiceData serviceData(mInfo.GetSequenceNumber()); in CountAnycastEntries() local
685 data.Init(&serviceData, serviceData.GetLength()); in CountAnycastEntries()
/openthread-3.5.0/src/core/api/
Dserver_api.cpp53 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/
Dtest_network_data.cpp512 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/
Dnode.py1957 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/
DREADME.md3330 ### 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/
Dncp_base_mtd.cpp1132 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()