Home
last modified time | relevance | path

Searched refs:child2 (Results 1 – 5 of 5) sorted by relevance

/openthread-3.7.0/tests/toranj/cli/
Dtest-016-child-mode-change.py52 child2 = cli.Node() variable
59 child2.join(parent, cli.JOIN_TYPE_SLEEPY_END_DEVICE)
63 verify(child2.get_state() == 'child')
69 child2_rloc = int(child2.get_rloc16(), 16)
76 verify(child2.get_mode() == '-')
96 child2.set_mode('n')
100 verify(child2.get_mode() == 'n')
120 verify(int(cli.Node.parse_list(child2.get_mle_counter())['Role Detached']) == 1)
156 child2.set_mode('rn')
160 verify(child2.get_mode() == 'rn')
[all …]
Dtest-012-reset-recovery.py52 child2 = cli.Node() variable
59 child2.join(leader, cli.JOIN_TYPE_END_DEVICE)
63 verify(child2.get_state() == 'child')
88 verify(child2.get_state() == 'child')
91 verify(int(cli.Node.parse_list(child2.get_mle_counter())['Role Detached']) == 1)
/openthread-3.7.0/tests/toranj/ncp/
Dtest-027-child-mode-change.py75 child2 = wpan.Node() variable
89 child2.join_node(parent, wpan.JOIN_TYPE_SLEEPY_END_DEVICE)
92 child2.set(wpan.WPAN_POLL_INTERVAL, '8000')
94 children = [child1, child2]
110 child2.set(wpan.WPAN_CHILD_SUPERVISION_CHECK_TIMEOUT, '0')
114 verify(int(child2.get(wpan.WPAN_THREAD_DEVICE_MODE), 0) == DEVICE_MODE_SLEEPY_END_DEVICE)
127 child2_ml_address = child2.get(wpan.WPAN_IP6_MESH_LOCAL_ADDRESS)[1:-1]
140 child2.set(wpan.WPAN_THREAD_DEVICE_MODE, str(DEVICE_MODE_END_DEVICE))
141 verify(int(child2.get(wpan.WPAN_THREAD_DEVICE_MODE), 0) == DEVICE_MODE_END_DEVICE)
/openthread-3.7.0/tools/otci/tests/
Dtest_otci.py543 def _test_otci_multi_nodes(self, leader, commissioner, child1, child2): argument
648 child2.ifconfig_up()
649 child2.set_mode('rn')
650 child2.set_router_selection_jitter(1)
652 child2.joiner_start('TEST123')
653 logging.info('joiner id = %r', child2.get_joiner_id())
654 child2.wait(10, expect_line="Join success")
656 child2.enable_allowlist()
657 child2.disable_allowlist()
658 child2.add_allowlist(commissioner.get_extaddr())
[all …]
/openthread-3.7.0/tests/unit/
Dtest_link_metrics_manager.cpp186 Child *child2 = childTable->FindChild(subject2->mExtAddress, Child::kInStateValid); in TestLinkMetricsManager() local
187 child2->SetState(Child::kStateInvalid); in TestLinkMetricsManager()