Lines Matching refs:node

40 …s creates a Thread node instance. It creates a sub-process to run `wpantund` and OpenThread, and p…
61 node.get(prop_name)
62 node.set(prop_name, value, binary_data=False)
63 node.add(prop_name, value, binary_data=False)
64 node.remove(prop_name, value, binary_data=False)
70 >>> node.get(wpan.WPAN_NAME)
72 >>> node.set(wpan.WPAN_NAME, 'my-network')
73 >>> node.get(wpan.WPAN_NAME)
75 >>> node.set(wpan.WPAN_KEY, '65F2C35C7B543BAC1F3E26BB9F866C1D', binary_data=True)
76 >>> node.get(wpan.WPAN_KEY)
83 node.reset() # Reset the NCP
84 node.status() # Get current status
85 node.leave() # Leave the current network, clear all persistent data
88 node.form(name, channel=None)
92 node.join(name, channel=None, node_type=None, panid=None, xpanid=None)
98 >>> result = node.status()
109 >>> node.form("test-network", channel=12)
110 'Forming WPAN "test-network" as node type "router"\nSuccessfully formed!'
112 >>> print node.status()
133 node.active_scan(channel=None)
134 node.energy_scan(channel=None)
135 node.discover_scan(channel=None, joiner_only=False, enable_filtering=False, panid_filter=None)
136 node.permit_join(duration_sec=None, port=None, udp=True, tcp=True)
142 node.config_gateway(prefix, default_route=False)
143 node.add_route(route_prefix, prefix_len_in_bytes=None, priority=None)
144 node.remove_route(route_prefix, prefix_len_in_bytes=None, priority=None)
147 A direct `wpanctl` command can be issued using `node.wpanctl(command)` with a given `command` strin…
160 Method `join_node()` can be used by a node to join another node:
167 Method `allowlist_node()` can be used to add a given node to the allowlist of the device and enable…
174 #### Example (simple 3-node topology)
176 Script below shows how to create a 3-node network topology with `node1` and `node2` being routers, …
187 'Forming WPAN "test-PAN" as node type "router"\nSuccessfully formed!'
193 'Joining "test-PAN" C474513CB487778D as node type "router"\nSuccessfully Joined!'
199 'Joining "test-PAN" C474513CB487778D as node type "end-device"\nSuccessfully Joined!'
217 `wpan.Node` method `prepare_tx()` prepares a UDP6 transmission from a node.
237 `wpan.Node` method `prepare_rx()` prepares a node to listen for UDP messages from a sender.
307 …ith debugging of the issue, the last 30 lines of `wpantund` logs of every node involved in the tes…
309 …nd info as the test-cases are run (verbose mode). It can be enabled for a node instance when it is…
312 node = wpan.Node(verbose=True) # `node` instance will provide extra logs.
347 Forming WPAN "toranj-net" as node type "router"
361 Joining "toranj-net" 8CC6CFC810F23E1B as node type "router"