/openthread-2.7.6/src/cli/ |
D | README_SRP.md | 57 Join the Thread Network and register a `_ipps._tcp` service: 80 > srp client service add my-service _ipps._tcp 12345 105 ### Verify the service status 107 Check if the host and service has been successfully registered on the client node: 113 > srp client service 114 instance:"my-service", name:"_ipps._tcp", state:Registered, port:12345, priority:0, weight:0 118 Make sure it shows `state:Registered` for both host and service commands. 120 Check the host & service on the server node: 124 my-host.default.service.arpa. 128 > srp server service [all …]
|
D | README_SRP_CLIENT.md | 14 - [service](#service) 35 service 105 When service `ins2` is removed: 113 Removed service list: 124 Removed service list: 191 The possible states are (same value for service state): 299 ### service subsection 301 Usage: `srp client service` 306 > srp client service 312 ### service add [all …]
|
D | README_SRP_SERVER.md | 15 - [service](#service) 34 service 58 default.service.arpa. 65 > srp server domain thread.service.arpa. 88 srp-api-test-1.default.service.arpa. 91 srp-api-test-0.default.service.arpa. 119 ### service subsection 121 Usage: `srp server service` 126 > srp server service 127 srp-api-test-1._ipps._tcp.default.service.arpa. [all …]
|
D | cli_srp_server.cpp | 227 const otSrpServerService *service = nullptr; in ProcessService() local 229 …while ((service = otSrpServerHostFindNextService(host, service, OT_SRP_SERVER_FLAGS_BASE_TYPE_SERV… in ProcessService() 232 bool isDeleted = otSrpServerServiceIsDeleted(service); in ProcessService() 233 const char * instanceName = otSrpServerServiceGetInstanceName(service); in ProcessService() 262 …mInterpreter.OutputLine(Interpreter::kIndentSize, "port: %hu", otSrpServerServiceGetPort(service)); in ProcessService() 263 …eter.OutputLine(Interpreter::kIndentSize, "priority: %hu", otSrpServerServiceGetPriority(service)); in ProcessService() 264 …erpreter.OutputLine(Interpreter::kIndentSize, "weight: %hu", otSrpServerServiceGetWeight(service)); in ProcessService() 266 txtData = otSrpServerServiceGetTxtData(service, &txtDataLength); in ProcessService()
|
D | cli_srp_client.cpp | 335 const otSrpClientService *service; in ProcessService() local 339 …for (service = otSrpClientGetServices(mInterpreter.mInstance); service != nullptr; service = servi… in ProcessService() 341 if ((aArgs[1] == service->mInstanceName) && (aArgs[2] == service->mName)) in ProcessService() 347 VerifyOrExit(service != nullptr, error = OT_ERROR_NOT_FOUND); in ProcessService() 351 …rror = otSrpClientRemoveService(mInterpreter.mInstance, const_cast<otSrpClientService *>(service)); in ProcessService() 356 …rror = otSrpClientClearService(mInterpreter.mInstance, const_cast<otSrpClientService *>(service))); in ProcessService() 359 … const_cast<otSrpClientService *>(service))); in ProcessService() 607 for (const otSrpClientService *service = aRemovedServices; service != nullptr; service = next) in HandleCallback() local 609 next = service->mNext; in HandleCallback() 612 … const_cast<otSrpClientService *>(service))); in HandleCallback()
|
D | README.md | 103 - [service](#service) 291 …. `bbr register` should be issued explicitly to register Backbone Router service to Leader for Sec… 329 Print border agent service port. 1024 ### dns browse \<service-name\> \[DNS server IP\] \[DNS server port\] \[response timeout (ms)\] \[m… 1026 Send a browse (service instance enumeration) DNS query to get the list of services for given servic… 1028 The parameters after `service-name` are optional. Any unspecified (or zero) value for these optiona… 1046 ### dns service \<service-instance-label\> \<service-name\> \[DNS server IP\] \[DNS server port\] \… 1048 …service instance resolution DNS query for a given service instance. Service instance label is prov… 1050 The parameters after `service-name` are optional. Any unspecified (or zero) value for these optiona… 2408 ### service subsection [all …]
|
D | README_NETDATA.md | 7 …s that they offer routes for. Services may register any information relevant to the service itself. 9 Border Router and service information may be stable or temporary. Stable Thread Network Data is dis… 178 Publish DNS/SRP service entry.
|
D | README_COAPS.md | 236 Starts the application coaps service. 247 Stops the application coaps service.
|
D | README_COAP.md | 228 Starts the application coap service. 237 Stops the application coap service.
|
/openthread-2.7.6/tests/scripts/thread-cert/border_router/ |
D | test_advertising_proxy.py | 189 service = host.discover_mdns_service(service_instance, '_ipps._tcp', 'my-host') 190 self.assertIsNotNone(service) 191 self.assertEqual(service['instance'], service_instance) 192 self.assertEqual(service['name'], '_ipps._tcp') 193 self.assertEqual(service['port'], 12345) 194 self.assertEqual(service['priority'], 0) 195 self.assertEqual(service['weight'], 0) 196 self.assertEqual(service['host'], 'my-host') 197 … self.assertEqual(ipaddress.ip_address(service['addresses'][0]), ipaddress.ip_address(host_addr)) 198 self.assertEqual(len(service['addresses']), 1) [all …]
|
/openthread-2.7.6/src/core/net/ |
D | srp_server.cpp | 366 for (Service &service : existingHost->mServices) in CommitSrpUpdate() 368 … existingHost->RemoveService(&service, /* aRetainName */ true, /* aNotifyServiceHandler */ false); in CommitSrpUpdate() 380 for (Service &service : aHost.GetServices()) in CommitSrpUpdate() 382 service.mIsCommitted = true; in CommitSrpUpdate() 383 service.Log(Service::kAddNew); in CommitSrpUpdate() 719 Service * service; in ProcessServiceDiscoveryInstructions() local 763 service = aHost.AddNewService(serviceName, instanceName, isSubType); in ProcessServiceDiscoveryInstructions() 764 VerifyOrExit(service != nullptr, error = kErrorNoBufs); in ProcessServiceDiscoveryInstructions() 767 service->mIsDeleted = (ptrRecord.GetClass() == Dns::ResourceRecord::kClassNone); in ProcessServiceDiscoveryInstructions() 1012 for (Service &service : existingHost->mServices) in HandleUpdate() [all …]
|
D | srp_client.cpp | 521 for (Service &service : mServices) in RemoveHostAndServices() 523 UpdateServiceStateToRemove(service); in RemoveHostAndServices() 605 for (Service &service : mServices) in ChangeHostAndServiceStates() 607 service.SetState(aNewStates[service.GetState()]); in ChangeHostAndServiceStates() 771 for (Service &service : mServices) in PrepareUpdateMessage() 773 SuccessOrExit(error = AppendServiceInstructions(service, aMessage, info)); in PrepareUpdateMessage() 1313 for (Service &service : mServices) in ProcessResponse() 1315 if ((service.GetState() == kAdding) || (service.GetState() == kRefreshing)) in ProcessResponse() 1317 service.SetLeaseRenewTime(mLeaseRenewTime); in ProcessResponse() 1357 Service *service; in GetRemovedServices() local [all …]
|
D | dnssd_server.cpp | 688 const Srp::Server::Service *service = nullptr; in ResolveQuestionBySrp() local 690 while ((service = GetNextSrpService(*host, service)) != nullptr) in ResolveQuestionBySrp() 692 …uint32_t instanceTtl = TimeMilli::MsecToSec(service->GetExpireTime() - TimerMilli::GetN… in ResolveQuestionBySrp() 693 const char *instanceName = service->GetInstanceName(); in ResolveQuestionBySrp() 694 bool serviceNameMatched = service->MatchesServiceName(aName); in ResolveQuestionBySrp() 695 bool instanceNameMatched = service->MatchesInstanceName(aName); in ResolveQuestionBySrp() 718 … service->GetPriority(), service->GetWeight(), in ResolveQuestionBySrp() 719 service->GetPort(), aCompressInfo)); in ResolveQuestionBySrp() 728 … SuccessOrExit(error = AppendTxtRecord(aResponseMessage, instanceName, service->GetTxtData(), in ResolveQuestionBySrp() 729 … service->GetTxtDataLength(), instanceTtl, aCompressInfo)); in ResolveQuestionBySrp()
|
/openthread-2.7.6/tests/scripts/thread-cert/ |
D | test_netdata_publisher.py | 132 def verify_anycast_service(self, service): argument 135 self.assertEqual(int(service[0]), THREAD_ENTERPRISE_NUMBER) 137 service_data = bytes.fromhex(service[1]) 142 self.assertEqual(service[3], 's') 146 for service in services: 147 self.verify_anycast_service(service) 149 def verify_unicast_service(self, service): argument 152 self.assertEqual(int(service[0]), THREAD_ENTERPRISE_NUMBER) 154 service_data = bytes.fromhex(service[1]) 158 self.assertEqual(service[3], 's') [all …]
|
D | test_network_data.py | 118 def convert_service_to_bytearray(service): argument 121 ((service.t & 0x01) << 7) | ((service.id) & 0x0F), 122 service.enterprise_number, 123 service.service_data_length, 124 ) + service.service_data + convert_service_sub_tlvs_to_bytearray(service.sub_tlvs)) 893 service = network_data.Service( 904 actual_t = service.t 913 service = network_data.Service( 924 actual_id = service.id 933 service = network_data.Service( [all …]
|
D | node.py | 886 service = {} 888 service['fullname'] = lines.pop(0).strip() 889 name_labels = service['fullname'].split('.') 890 service['instance'] = name_labels[0] 891 service['name'] = '.'.join(name_labels[1:3]) 893 service['deleted'] = lines.pop(0).strip().split(':')[1].strip() 894 if service['deleted'] == 'true': 895 service_list.append(service) 901 service[key_value[0].strip()] = key_value[1].strip() 905 service['TXT'] = [txt for txt in txt_entries if txt] [all …]
|
/openthread-2.7.6/tools/otci/tests/ |
D | test_otci.py | 481 for service in srp_server_services: 482 if service['instance'] == 'ins1._ipps._tcp.default.service.arpa.': 483 self.assertEqual(False, service['deleted']) 484 self.assertEqual(1000, service['port']) 485 self.assertEqual(1, service['priority']) 486 self.assertEqual(1, service['weight']) 487 self.assertEqual('host1.default.service.arpa.', service['host']) 489 ipaddress.IPv6Address('2001::2')}, set(service['addresses'])) 490 … self.assertEqual({'txt11': b'val11', 'txt12': b'val12', 'txt13': True}, service['txt']) 491 elif service['instance'] == 'ins2._meshcop._udp.default.service.arpa.': [all …]
|
/openthread-2.7.6/src/core/thread/ |
D | network_data_leader_ftd.cpp | 429 const ServiceTlv *service = static_cast<const ServiceTlv *>(cur); in Validate() local 431 VerifyOrExit(service->IsValid(), error = kErrorParse); in Validate() 435 VerifyOrExit(FindService(service->GetEnterpriseNumber(), service->GetServiceData(), in Validate() 436 … service->GetServiceDataLength(), kServiceExactMatch, aTlvs, offset) == nullptr, in Validate() 439 SuccessOrExit(error = ValidateService(*service, aRloc16)); in Validate() 980 const ServiceTlv *service; in FindServiceById() local 983 while ((service = tlvIterator.Iterate<ServiceTlv>()) != nullptr) in FindServiceById() 985 if (service->GetServiceId() == aServiceId) in FindServiceById() 991 return service; in FindServiceById() 1080 ServiceTlv * service = static_cast<ServiceTlv *>(cur); in RemoveRloc() local [all …]
|
D | network_data.cpp | 236 const ServiceTlv *service = static_cast<const ServiceTlv *>(cur); in Iterate() local 256 aConfig.mService->SetFrom(*service, *server); in Iterate() 417 ServiceTlv *service = static_cast<ServiceTlv *>(cur); in RemoveTemporaryData() local 418 RemoveTemporaryData(aData, aDataLength, *service); in RemoveTemporaryData() 420 if (service->GetSubTlvsLength() == 0) in RemoveTemporaryData()
|
/openthread-2.7.6/src/core/api/ |
D | srp_server_api.cpp | 195 const Srp::Server::Service &service = *static_cast<const Srp::Server::Service *>(aService); in otSrpServerServiceGetTxtData() local 197 *aDataLength = service.GetTxtDataLength(); in otSrpServerServiceGetTxtData() 199 return service.GetTxtData(); in otSrpServerServiceGetTxtData()
|
/openthread-2.7.6/third_party/mbedtls/repo/docs/architecture/ |
D | mbed-crypto-storage-specification.md | 70 Assumption: ITS provides a 32-bit file identifier namespace. The Crypto service can use arbitrary f… 110 …n integrations where there is a concept of key owner (integration into a service for example), the… 115 * PSA service integration: the key file name is `(uint32_t)owner_uid << 32 | key_id` where `key_id`… 127 Assumption: ITS provides a 64-bit file identifier namespace. The Crypto service can use arbitrary f… 131 …ff53 through 0xffffffff: unused, reserved for internal use of the crypto library or crypto service. 210 Assumption: ITS provides a 64-bit file identifier namespace. The Crypto service can use arbitrary f… 215 …gh 0xffffffff: reserved for internal use of the crypto library or crypto service. See [non-key fil… 226 …gh 0xffffffff: reserved for internal use of the crypto library or crypto service. See [non-key fil…
|
/openthread-2.7.6/examples/ |
D | README.md | 34 | DNSSD_SERVER | OT_DNSSD_SERVER | Enables support for DNS-SD server. DNS-SD server use service inf… 45 | LINK_RAW | OT_LINK_RAW | Enables the Link Raw service. | 66 | TIME_SYNC | OT_TIME_SYNC | Enables the time synchronization service feature. **Note: Enabling thi… 68 …evice (running on the NCP design) with External Commissioning support to service Thread Commission…
|
/openthread-2.7.6/etc/gn/ |
D | openthread.gni | 162 # Enable link raw service 213 # Enable the time synchronization service feature
|
/openthread-2.7.6/src/ncp/ |
D | ncp_base_mtd.cpp | 3896 const otSrpClientService *service; in HandlePropertyRemove() local 3906 for (service = otSrpClientGetServices(mInstance); service != nullptr; service = service->mNext) in HandlePropertyRemove() 3908 …if ((strcmp(serviceName, service->mName) == 0) || (strcmp(instanceName, service->mInstanceName) ==… in HandlePropertyRemove() 3914 VerifyOrExit(service != nullptr, error = OT_ERROR_NOT_FOUND); in HandlePropertyRemove() 3918 …ccessOrExit(error = otSrpClientClearService(mInstance, const_cast<otSrpClientService *>(service))); in HandlePropertyRemove() 3920 …ce, reinterpret_cast<otSrpClientBuffersServiceEntry *>(const_cast<otSrpClientService *>(service))); in HandlePropertyRemove() 3924 error = otSrpClientRemoveService(mInstance, const_cast<otSrpClientService *>(service)); in HandlePropertyRemove() 4010 const otSrpClientService *service; in HandleSrpClientCallback() local 4043 for (service = aRemovedServices; service != nullptr; service = next) in HandleSrpClientCallback() 4045 next = service->mNext; in HandleSrpClientCallback() [all …]
|
/openthread-2.7.6/tools/otci/otci/ |
D | otci.py | 785 def dns_browse(self, service: str) -> List[Dict]: 796 'service': service, 824 def dns_resolve_service(self, instance: str, service: str) -> Dict: 836 'service': service, 1068 instance, service, state, port, priority, weight = m.groups() 1072 'service': service, 1081 service: str, 1091 def srp_client_remove_service(self, instance: str, service: str):
|