Home
last modified time | relevance | path

Searched refs:prepare_tx (Results 1 – 17 of 17) sorted by relevance

/openthread-latest/tests/toranj/ncp/
Dtest-039-address-cache-table-snoop.py127 sender = r1.prepare_tx((r1_address, PORT), (PREFIX + "800:" + str(num), PORT), "hi nobody!", 1)
168 sender = r1.prepare_tx((r1_address, PORT), (PREFIX + "800:" + str(num), PORT), "hi nobody!", 1)
193 …sender = r1.prepare_tx((r1_address, PORT), (PREFIX + "800:" + str(num), PORT), "hi again nobody!",…
214 …sender = r2.prepare_tx((PREFIX + "2:" + str(num), PORT), (r1_address, PORT), "hi r1 from r2 (snoop…
241 …sender = r1.prepare_tx((r1_address, PORT), (PREFIX + "2:" + str(num), PORT), "hi back r2 from r1",…
265 sender = r1.prepare_tx((r1_address, PORT), (PREFIX + "3:" + str(num), PORT), "hi r3 from r1", 1)
285 … sender = r1.prepare_tx((r1_address, PORT), (PREFIX + "c3:" + str(num), PORT), "hi c3 from r1", 1)
306 …sender = r1.prepare_tx((r1_address, PORT), (PREFIX + "2:" + str(num), PORT), "hi again r2 from r1"…
326 sender = r1.prepare_tx((r1_address, PORT), (PREFIX + "900:" + str(num), PORT), "hi nobody!", 1)
338 …sender = c2.prepare_tx((PREFIX + "c2:" + str(num), PORT), (r1_address, PORT), "hi r1 from c2 (snoo…
[all …]
Dtest-009-insecure-traffic-join.py78 sender = node2.prepare_tx(ll2, (ll1, insecure_port), "Hi (insecure)", NUM_MSGS)
92 sender2 = node1.prepare_tx((ll1, insecure_port), (ll2, rx_port), "Hi back! (insecure)", NUM_MSGS)
106 sender = node2.prepare_tx(ll2, (ll1, insecure_port), "Hi (now secure)", NUM_MSGS)
114 sender2 = node1.prepare_tx((ll1, insecure_port), (ll2, rx_port), "Hi back! (secure now)", NUM_MSGS)
Dtest-006-traffic-router-end-device.py83 sender = node1.prepare_tx(src, dst, msg_length, NUM_MSGS)
93 s1 = node1.prepare_tx((src, PORT), (dst, PORT), 'Hi there!', NUM_MSGS)
95 s2 = node2.prepare_tx((dst, PORT), (src, PORT), 'Hello back to you!', NUM_MSGS)
Dtest-007-traffic-router-sleepy.py88 sender = node1.prepare_tx(src, dst, msg_length, NUM_MSGS)
98 s1 = node1.prepare_tx((src, PORT), (dst, PORT), 'Hi there!', NUM_MSGS)
100 s2 = node2.prepare_tx((dst, PORT), (src, PORT), 'Hello back to you!', NUM_MSGS)
Dtest-021-address-cache-table.py143 sender = r1.prepare_tx(r1_address, c2_address, "Hi from r1 to c2")
150 sender = r1.prepare_tx(r1_address, c3_address, "Hi from r1 to c3")
222 sender = r1.prepare_tx(r1_address, c2_address, "Hi again c2")
241 sender = r1.prepare_tx(r1_address, c2_address, "Hi again c2")
301 sender = c2.prepare_tx(c2_address, c1_address, "Hi c1 child of r1")
369 sender = c2.prepare_tx(c2_address, c1_address, "Hi c1 child of r1")
Dtest-701-multi-radio-probe.py126 sender = r1.prepare_tx(r1_ml_address, r2_ml_address, "Hi r2 from r1", 5)
145 sender = r1.prepare_tx(r1_ml_address, r2_ml_address, "Hi again r2 from r1", 5)
162 sender = r1.prepare_tx(r1_ml_address, r2_ml_address, "Hi on 15.4 r2 from r1", 5)
183 sender = r1.prepare_tx(r1_ml_address, r2_ml_address, "Probing r2 from r1", 80)
Dtest-702-multi-radio-discovery-by-rx.py126 sender = r1.prepare_tx(r1_ml_address, r2_ml_address, "Hi r2 from r1", 5)
145 sender = r1.prepare_tx(r1_ml_address, r2_ml_address, "Hi again r2 from r1", 5)
162 sender = r1.prepare_tx(r1_ml_address, r2_ml_address, "Hi on 15.4 r2 from r1", 5)
184 sender = r2.prepare_tx(r2_ml_address, r1_ml_address, "Probing r1 from r2", 80)
Dtest-013-off-mesh-route-traffic.py158 sender = sed2.prepare_tx(src, OFF_MESH_ADDR_1, "Hello Route1")
167 sender = r1.prepare_tx(src, OFF_MESH_ADDR_2, "Hello Route2")
176 sender = r2.prepare_tx(src, OFF_MESH_ADDR_3, "Hello Route3")
Dtest-703-multi-radio-mesh-header-msg.py138 sender = r1.prepare_tx(r1_ml_address, r3_ml_address, MSG_LEN, MSG_COUNT)
151 sender = c2.prepare_tx(c2_ml_address, r1_ml_address, MSG_LEN, MSG_COUNT)
162 sender = r3.prepare_tx(r3_ml_address, r1_ml_address, MSG_LEN, MSG_COUNT)
Dtest-012-multi-hop-traffic.py153 sender = routers[0].prepare_tx(src, dst, msg_length, NUM_MSGS)
166 sender = sed_children[-1].prepare_tx(src, dst, msg_length, NUM_MSGS)
179 sender = fed_children[0].prepare_tx(src, dst, msg_length, NUM_MSGS)
Dtest-038-clear-address-cache-for-sed.py117 sender = r1.prepare_tx(r1_address, c_address, "Hi from r1 to c")
161 sender = r2.prepare_tx(r2_address, c_address, "Hi from r2 to c")
197 sender = r1.prepare_tx(r1_address, c_address, "Hi from r1 to c")
Dtest-041-lowpan-fragmentation.py74 sender = node1.prepare_tx((ll1, PORT), (ll2, PORT), msg_length)
Dtest-027-child-mode-change.py129 sender = parent.prepare_tx(parent_ml_address, child2_ml_address, 800, NUM_MSGS)
Dtest-023-multicast-traffic.py77 sender = src_node.prepare_tx(src_addr, mcast_addr, msg_len, mcast_hops=mcast_hops)
Dtest-026-slaac-address-wpantund.py252 sender = r2.prepare_tx(IP_ADDRESS_2, IP_ADDRESS, "Hello r1 from r2")
Dwpan.py677 def prepare_tx(self, src, dst, data=40, count=1, mcast_hops=None): member in Node
/openthread-latest/tests/toranj/
DREADME_NCP.md217 `wpan.Node` method `prepare_tx()` prepares a UDP6 transmission from a node.
220 node1.prepare_tx(src, dst, data, count)
235 `prepare_tx` returns a `wpan.AsyncSender` object. The sender object can be used to check success/fa…
243 - `sender` should be an `wpan.AsyncSender` object returned from previous `prepare_tx`.
271 >>> sender = node1.prepare_tx((mladdr1, 1234), (mladdr2, 2345), "Hello there!", 10)
334 sender = node1.prepare_tx(lladdr1, lladdr2, 20)