Searched refs:rssi (Results 1 – 11 of 11) sorted by relevance
/openthread-3.4.0/src/core/utils/ |
D | jam_detector.cpp | 163 int8_t rssi; in HandleTimer() local 168 rssi = Get<Radio>().GetRssi(); in HandleTimer() 172 if (rssi != Radio::kInvalidRssi) in HandleTimer() 174 didExceedThreshold = (rssi >= mRssiThreshold); in HandleTimer()
|
/openthread-3.4.0/tests/unit/ |
D | test_link_quality.cpp | 507 for (int8_t rssi = -128; rssi <= 0; rssi++) in TestLinkMetricsScaling() local 509 double scaled = 255.0 / 130.0 * (rssi + 130.0); in TestLinkMetricsScaling() 512 printf("\nRSSI : %-3d -> Scaled :%.1f (rounded:%u)", rssi, scaled, scaledAsU8); in TestLinkMetricsScaling() 514 VerifyOrQuit(LinkMetrics::ScaleRssiToRawValue(rssi) == scaledAsU8); in TestLinkMetricsScaling() 515 VerifyOrQuit(LinkMetrics::ScaleRawValueToRssi(scaledAsU8) == rssi); in TestLinkMetricsScaling()
|
/openthread-3.4.0/tests/scripts/thread-cert/ |
D | test_router_upgrade.py | 84 self.nodes[REED].add_allowlist(self.nodes[LEADER].get_addr64(), rssi=RSSI_LOW) 91 self.nodes[REED].add_allowlist(self.nodes[LEADER].get_addr64(), rssi=RSSI_HIGH)
|
D | thread_cert.py | 256 rssi = None 258 j, rssi = j 259 self.nodes[i].add_allowlist(self.nodes[j].get_addr64(), rssi=rssi)
|
D | node.py | 1022 def add_allowlist(self, addr, rssi=None): argument 1025 if rssi is not None: 1026 cmd += ' %s' % rssi 2469 _, channel, rssi, _ = line.split('|') 2472 'rssi': int(rssi.strip()),
|
/openthread-3.4.0/src/core/mac/ |
D | sub_mac.cpp | 680 int8_t rssi; in GetRssi() local 685 rssi = Radio::kInvalidRssi; in GetRssi() 690 rssi = Get<Radio>().GetRssi(); in GetRssi() 693 return rssi; in GetRssi() 755 int8_t rssi = GetRssi(); in SampleRssi() local 757 if (rssi != Radio::kInvalidRssi) in SampleRssi() 759 if ((mEnergyScanMaxRssi == Radio::kInvalidRssi) || (rssi > mEnergyScanMaxRssi)) in SampleRssi() 761 mEnergyScanMaxRssi = rssi; in SampleRssi()
|
/openthread-3.4.0/src/core/diags/ |
D | README.md | 254 first received packet: rssi=-65, lqi=101 255 last received packet: rssi=-64, lqi=98 324 first received packet: rssi=-65, lqi=101 325 last received packet: rssi=-61, lqi=98
|
/openthread-3.4.0/examples/platforms/simulation/ |
D | radio.c | 624 int8_t rssi = SIM_LOW_RSSI_SAMPLE; in GetRssi() local 637 rssi = SIM_HIGH_RSSI_SAMPLE; in GetRssi() 641 return rssi; in GetRssi()
|
/openthread-3.4.0/tools/otci/otci/ |
D | otci.py | 1854 def add_allowlist(self, addr: str, rssi: Optional[int] = None): 1857 if rssi is not None: 1879 addr, rssi = item[0], item[1] 1880 self.add_allowlist(addr, rssi)
|
/openthread-3.4.0/src/lib/spinel/ |
D | radio_spinel_impl.hpp | 1454 int8_t rssi = OT_RADIO_RSSI_INVALID; in GetRssi() local 1455 otError error = Get(SPINEL_PROP_PHY_RSSI, SPINEL_DATATYPE_INT8_S, &rssi); in GetRssi() 1458 return rssi; in GetRssi()
|
/openthread-3.4.0/tests/toranj/ncp/ |
D | wpan.py | 1115 def rssi(self): member in ScanResult
|