Home
last modified time | relevance | path

Searched refs:scan_result (Results 1 – 7 of 7) sorted by relevance

/openthread-3.4.0/tests/toranj/ncp/
Dtest-005-discover-scan.py72 scan_result = wpan.parse_scan_result(scanner.discover_scan()) variable
74 verify(len(scan_result) == 5)
76 verify(node.is_in_scan_result(scan_result))
80 scan_result = wpan.parse_scan_result(node1.discover_scan()) variable
82 verify(len(scan_result) == 4)
84 verify(node.is_in_scan_result(scan_result))
88 scan_result = wpan.parse_scan_result(scanner.discover_scan(channel="11-13")) variable
90 verify(len(scan_result) == 4)
92 verify(node.is_in_scan_result(scan_result))
96 scan_result = wpan.parse_scan_result(scanner.discover_scan(panid_filter="0x0002")) variable
[all …]
Dtest-004-scan.py66 scan_result = wpan.parse_scan_result(scanner.active_scan()) variable
69 verify(node.is_in_scan_result(scan_result))
79 scan_result = wpan.parse_scan_result(scanner.active_scan()) variable
82 verify(node.is_in_scan_result(scan_result))
86 scan_result = wpan.parse_scan_result(nodes[0].active_scan()) variable
89 verify(node.is_in_scan_result(scan_result))
94 scan_result = wpan.parse_scan_result(scanner.active_scan(channel=channel)) variable
95 verify(nodes[0].is_in_scan_result(scan_result))
Dwpan.py566 def is_in_scan_result(self, scan_result): argument
576 for item in scan_result:
1122 def parse_scan_result(scan_result): argument
1124 …return [ScanResult(item) for item in scan_result.split('\n')[2:]] # skip first two lines which ar…
/openthread-3.4.0/tests/scripts/thread-cert/
Dtest_radio_filter.py142 scan_result = leader.scan_energy()
143 self.assertTrue(len(scan_result) > 0)
146 scan_result = leader.scan_energy()
147 self.assertTrue(len(scan_result) == 0)
/openthread-3.4.0/tests/toranj/cli/
Dtest-004-scan.py42 def verify_scan_result_conatins_nodes(scan_result, nodes): argument
43 table = cli.Node.parse_table(scan_result)
Dtest-704-multi-radio-scan.py73 def verify_scan_result_conatins_nodes(scan_result, nodes): argument
74 table = cli.Node.parse_table(scan_result)
Dtest-705-multi-radio-discover-scan.py73 def verify_scan_result_conatins_nodes(scan_result, nodes): argument
74 table = cli.Node.parse_table(scan_result)