Home
last modified time | relevance | path

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

/openthread-2.7.6/src/core/utils/
Dchannel_monitor.cpp153 uint32_t weight; in HandleEnergyScanResult() local
177 weight = kSampleWindow - 1; in HandleEnergyScanResult()
181 weight = mSampleCount; in HandleEnergyScanResult()
184 newAverage = (newAverage * weight + newValue) / (weight + 1); in HandleEnergyScanResult()
/openthread-2.7.6/src/cli/
DREADME_SRP_CLIENT.md101 instance:"ins2", name:"_test2._udp", state:Registered, port:111, priority:1, weight:1
102 … instance:"ins1", name:"_test1._udp,_sub1,_sub2", state:Registered, port:777, priority:0, weight:0
112 instance:"ins1", name:"_test1._udp", state:Registered, port:777, priority:0, weight:0
114 instance:"ins2", name:"_test2._udp,_sub1,_sub2", state:Removed, port:111, priority:1, weight:1
125 instance:"ins1", name:"_test1._udp", state:Removed, port:777, priority:0, weight:0
307 instance:"ins2", name:"_test2._udp,_sub1,_sub2", state:Registered, port:111, priority:1, weight:1
308 instance:"ins1", name:"_test1._udp", state:Registered, port:777, priority:0, weight:0
314 Usage: `srp client service add <instancename> <servicename> <port> [priority] [weight] [txt]`
316 Add a service with a given instance name, service name, port number, priority, weight and txt value…
320 The priority and weight are optional and if not provided zero will be used. The txt should follow h…
DREADME_SRP_SERVER.md132 weight: 0
141 weight: 0
DREADME_SRP.md114 instance:"my-service", name:"_ipps._tcp", state:Registered, port:12345, priority:0, weight:0
133 weight: 0
DREADME.md1475 ### leaderweight \<weight\>
/openthread-2.7.6/tests/unit/
Dtest_link_quality.cpp441 uint16_t weight; in TestSuccessRateTracker() local
448 weight = sampleCount; in TestSuccessRateTracker()
450 if (weight > weightLimit) in TestSuccessRateTracker()
452 weight = weightLimit; in TestSuccessRateTracker()
455 rateTracker.AddSample(isSuccess, weight); in TestSuccessRateTracker()
/openthread-2.7.6/tests/scripts/thread-cert/
Dtest_dnssd.py235 weight, argument
244 client.srp_client_add_service(instancename, SERVICE + subtypes, port, priority, weight)
Dnode.py1008 …def srp_client_add_service(self, instance_name, service_name, port, priority=0, weight=0, txt_entr… argument
1441 def set_weight(self, weight): argument
1442 cmd = 'leaderweight %d' % weight
2633 … port, priority, weight, srv_ttl, hostname, address, aaaa_ttl, txt_data, txt_ttl = m.groups()
2637 'weight': int(weight),
2705 …for ins, port, priority, weight, srv_ttl, hostname, address, aaaa_ttl, txt_data, txt_ttl in re.fin…
2711 'weight': int(weight),
/openthread-2.7.6/tests/scripts/thread-cert/border_router/
Dtest_dnssd_server.py282 …def _config_srp_client_services(self, client, instancename, hostname, port, priority, weight, addr… argument
286 client.srp_client_add_service(instancename, SERVICE, port, priority, weight)
/openthread-2.7.6/tools/otci/otci/
Dotci.py514 def set_leader_weight(self, weight: int):
791 …for ins, port, priority, weight, srv_ttl, hostname, address, aaaa_ttl, txt_data, txt_ttl in re.fin…
799 'weight': int(weight),
833 … port, priority, weight, srv_ttl, hostname, address, aaaa_ttl, txt_data, txt_ttl = m.groups()
839 'weight': int(weight),
1068 instance, service, state, port, priority, weight = m.groups()
1069 port, priority, weight = int(port), int(priority), int(weight)
1076 'weight': weight,
1084 weight: int = 0,
/openthread-2.7.6/src/ncp/
Dncp_base_ftd.cpp1091 uint8_t weight; in HandlePropertySet() local
1094 SuccessOrExit(error = mDecoder.ReadUint8(weight)); in HandlePropertySet()
1096 otThreadSetLocalLeaderWeight(mInstance, weight); in HandlePropertySet()