crash.software
Projects
Pull Requests
Issues
Builds
CatSniffer
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
CatSniffer
Files
🤬
Sign In
c159a291
ROOT
/
firmware
/
ot-cc13x2-cc26x2
/
openthread
/
tests
/
toranj
/
wpan.py
Search
History
1594 lines
|
ISO-8859-1
|
60 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
sys
os
time
re
random
weakref
subprocess
socket
asyncore
inspect
WPAN_STATE
WPAN_NAME
WPAN_PANID
WPAN_XPANID
WPAN_KEY
WPAN_KEY_INDEX
WPAN_CHANNEL
WPAN_HW_ADDRESS
WPAN_EXT_ADDRESS
WPAN_POLL_INTERVAL
WPAN_NODE_TYPE
WPAN_ROLE
WPAN_PARTITION_ID
WPAN_NCP_VERSION
WPAN_NCP_MCU_POWER_STATE
WPAN_NETWORK_ALLOW_JOIN
WPAN_NETWORK_PASSTHRU_PORT
WPAN_RCP_VERSION
WPAN_IP6_LINK_LOCAL_ADDRESS
WPAN_IP6_MESH_LOCAL_ADDRESS
WPAN_IP6_MESH_LOCAL_PREFIX
WPAN_IP6_ALL_ADDRESSES
WPAN_IP6_MULTICAST_ADDRESSES
WPAN_IP6_INTERFACE_ROUTES
WPAN_DAEMON_OFF_MESH_ROUTE_AUTO_ADD_ON_INTERFACE
WPAN_DAEMON_OFF_MESH_ROUTE_FILTER_SELF_AUTO_ADDED
WPAN_DAEMON_ON_MESH_PREFIX_AUTO_ADD_AS_INTERFACE_ROUTE
WPAN_THREAD_RLOC16
WPAN_THREAD_ROUTER_ID
WPAN_THREAD_LEADER_ADDRESS
WPAN_THREAD_LEADER_ROUTER_ID
WPAN_THREAD_LEADER_WEIGHT
WPAN_THREAD_LEADER_LOCAL_WEIGHT
WPAN_THREAD_LEADER_NETWORK_DATA
WPAN_THREAD_STABLE_LEADER_NETWORK_DATA
WPAN_THREAD_NETWORK_DATA
WPAN_THREAD_CHILD_TABLE
WPAN_THREAD_CHILD_TABLE_ASVALMAP
WPAN_THREAD_CHILD_TABLE_ADDRESSES
WPAN_THREAD_NEIGHBOR_TABLE
WPAN_THREAD_NEIGHBOR_TABLE_ASVALMAP
WPAN_THREAD_NEIGHBOR_TABLE_ERR_RATES
WPAN_THREAD_NEIGHBOR_TABLE_ERR_RATES_AVVALMAP
WPAN_THREAD_ROUTER_TABLE
WPAN_THREAD_ROUTER_TABLE_ASVALMAP
WPAN_THREAD_CHILD_TIMEOUT
WPAN_THREAD_PARENT
WPAN_THREAD_PARENT_ASVALMAP
WPAN_THREAD_NETWORK_DATA_VERSION
WPAN_THREAD_STABLE_NETWORK_DATA
WPAN_THREAD_STABLE_NETWORK_DATA_VERSION
WPAN_THREAD_PREFERRED_ROUTER_ID
WPAN_THREAD_COMMISSIONER_ENABLED
WPAN_THREAD_DEVICE_MODE
WPAN_THREAD_OFF_MESH_ROUTES
WPAN_THREAD_ON_MESH_PREFIXES
WPAN_THREAD_ROUTER_ROLE_ENABLED
WPAN_THREAD_CONFIG_FILTER_RLOC_ADDRESSES
WPAN_THREAD_ROUTER_UPGRADE_THRESHOLD
WPAN_THREAD_ROUTER_DOWNGRADE_THRESHOLD
WPAN_THREAD_ACTIVE_DATASET
WPAN_THREAD_ACTIVE_DATASET_ASVALMAP
WPAN_THREAD_PENDING_DATASET
WPAN_THREAD_PENDING_DATASET_ASVALMAP
WPAN_THREAD_ADDRESS_CACHE_TABLE
WPAN_THREAD_ADDRESS_CACHE_TABLE_ASVALMAP
WPAN_THREAD_JOINER_DISCERNER_VALUE
WPAN_THREAD_JOINER_DISCERNER_BIT_LENGTH
WPAN_THREAD_COMMISSIONER_JOINERS
WPAN_OT_LOG_LEVEL
WPAN_OT_SLAAC_ENABLED
WPAN_OT_STEERING_DATA_ADDRESS
WPAN_OT_STEERING_DATA_SET_WHEN_JOINABLE
WPAN_OT_MSG_BUFFER_COUNTERS
WPAN_OT_MSG_BUFFER_COUNTERS_AS_STRING
WPAN_OT_DEBUG_TEST_ASSERT
WPAN_OT_DEBUG_TEST_WATCHDOG
WPAN_OT_SUPPORTED_RADIO_LINKS
WPAN_OT_NEIGHBOR_TABLE_MULTI_RADIO_INFO
WPAN_OT_TREL_TEST_MODE_ENABLE
WPAN_MAC_ALLOWLIST_ENABLED
WPAN_MAC_ALLOWLIST_ENTRIES
WPAN_MAC_ALLOWLIST_ENTRIES_ASVALMAP
WPAN_MAC_DENYLIST_ENABLED
WPAN_MAC_DENYLIST_ENTRIES
WPAN_MAC_DENYLIST_ENTRIES_ASVALMAP
WPAN_MAC_FILTER_FIXED_RSSI
WPAN_MAC_FILTER_ENTRIES
WPAN_MAC_FILTER_ENTRIES_ASVALMAP
WPAN_CHILD_SUPERVISION_INTERVAL
WPAN_CHILD_SUPERVISION_CHECK_TIMEOUT
WPAN_JAM_DETECTION_STATUS
WPAN_JAM_DETECTION_ENABLE
WPAN_JAM_DETECTION_RSSI_THRESHOLD
WPAN_JAM_DETECTION_WINDOW
WPAN_JAM_DETECTION_BUSY_PERIOD
WPAN_JAM_DETECTION_DEBUG_HISTORY_BITMAP
WPAN_CHANNEL_MONITOR_SAMPLE_INTERVAL
WPAN_CHANNEL_MONITOR_RSSI_THRESHOLD
WPAN_CHANNEL_MONITOR_SAMPLE_WINDOW
WPAN_CHANNEL_MONITOR_SAMPLE_COUNT
WPAN_CHANNEL_MONITOR_CHANNEL_QUALITY
WPAN_CHANNEL_MONITOR_CHANNEL_QUALITY_ASVALMAP
WPAN_CHANNEL_MANAGER_NEW_CHANNEL
WPAN_CHANNEL_MANAGER_DELAY
WPAN_CHANNEL_MANAGER_CHANNEL_SELECT
WPAN_CHANNEL_MANAGER_AUTO_SELECT_ENABLED
WPAN_CHANNEL_MANAGER_AUTO_SELECT_INTERVAL
WPAN_CHANNEL_MANAGER_SUPPORTED_CHANNEL_MASK
WPAN_CHANNEL_MANAGER_FAVORED_CHANNEL_MASK
WPAN_NCP_COUNTER_ALL_MAC
WPAN_NCP_COUNTER_ALL_MAC_ASVALMAP
WPAN_NCP_COUNTER_TX_PKT_TOTAL
WPAN_NCP_COUNTER_TX_PKT_UNICAST
WPAN_NCP_COUNTER_TX_PKT_BROADCAST
WPAN_NCP_COUNTER_TX_PKT_ACK_REQ
WPAN_NCP_COUNTER_TX_PKT_ACKED
WPAN_NCP_COUNTER_TX_PKT_NO_ACK_REQ
WPAN_NCP_COUNTER_TX_PKT_DATA
WPAN_NCP_COUNTER_TX_PKT_DATA_POLL
WPAN_NCP_COUNTER_TX_PKT_BEACON
WPAN_NCP_COUNTER_TX_PKT_BEACON_REQ
WPAN_NCP_COUNTER_TX_PKT_OTHER
WPAN_NCP_COUNTER_TX_PKT_RETRY
WPAN_NCP_COUNTER_TX_ERR_CCA
WPAN_NCP_COUNTER_TX_ERR_ABORT
WPAN_NCP_COUNTER_RX_PKT_TOTAL
WPAN_NCP_COUNTER_RX_PKT_UNICAST
WPAN_NCP_COUNTER_RX_PKT_BROADCAST
WPAN_NCP_COUNTER_RX_PKT_DATA
WPAN_NCP_COUNTER_RX_PKT_DATA_POLL
WPAN_NCP_COUNTER_RX_PKT_BEACON
WPAN_NCP_COUNTER_RX_PKT_BEACON_REQ
WPAN_NCP_COUNTER_RX_PKT_OTHER
WPAN_NCP_COUNTER_RX_PKT_FILT_WL
WPAN_NCP_COUNTER_RX_PKT_FILT_DA
WPAN_NCP_COUNTER_RX_ERR_EMPTY
WPAN_NCP_COUNTER_RX_ERR_UKWN_NBR
WPAN_NCP_COUNTER_RX_ERR_NVLD_SADDR
WPAN_NCP_COUNTER_RX_ERR_SECURITY
WPAN_NCP_COUNTER_RX_ERR_BAD_FCS
WPAN_NCP_COUNTER_RX_ERR_OTHER
WPAN_NCP_COUNTER_TX_IP_SEC_TOTAL
WPAN_NCP_COUNTER_TX_IP_INSEC_TOTAL
WPAN_NCP_COUNTER_TX_IP_DROPPED
WPAN_NCP_COUNTER_RX_IP_SEC_TOTAL
WPAN_NCP_COUNTER_RX_IP_INSEC_TOTAL
WPAN_NCP_COUNTER_RX_IP_DROPPED
WPAN_NCP_COUNTER_TX_SPINEL_TOTAL
WPAN_NCP_COUNTER_RX_SPINEL_TOTAL
WPAN_NCP_COUNTER_RX_SPINEL_ERR
WPAN_NCP_COUNTER_IP_TX_SUCCESS
WPAN_NCP_COUNTER_IP_RX_SUCCESS
WPAN_NCP_COUNTER_IP_TX_FAILURE
WPAN_NCP_COUNTER_IP_RX_FAILURE
STATE_UNINITIALIZED
STATE_FAULT
STATE_UPGRADING
STATE_DEEP_SLEEP
STATE_OFFLINE
STATE_COMMISSIONED
STATE_ASSOCIATING
STATE_CREDENTIALS_NEEDED
STATE_ASSOCIATED
STATE_ISOLATED
STATE_NETWAKE_ASLEEP
STATE_NETWAKE_WAKING
MCU_POWER_STATE_ON
MCU_POWER_STATE_LOW_POWER
MCU_POWER_STATE_OFF
NODE_15_4
NODE_TREL
NODE_15_4_TREL
NODE_TYPE_UNKNOWN
NODE_TYPE_LEADER
NODE_TYPE_ROUTER
NODE_TYPE_END_DEVICE
NODE_TYPE_SLEEPY_END_DEVICE
NODE_TYPE_COMMISSIONER
NODE_TYPE_NEST_LURKER
JOIN_TYPE_ROUTER
JOIN_TYPE_END_DEVICE
JOIN_TYPE_SLEEPY_END_DEVICE
ADDRESS_CACHE_ENTRY_STATE_CACHED
ADDRESS_CACHE_ENTRY_STATE_SNOOPED
ADDRESS_CACHE_ENTRY_STATE_QUERY
ADDRESS_CACHE_ENTRY_STATE_RETRY_QUERY
THREAD_MODE_FLAG_FULL_NETWORK_DATA
THREAD_MODE_FLAG_FULL_THREAD_DEV
THREAD_MODE_FLAG_RX_ON_WHEN_IDLE
RADIO_LINK_IEEE_802_15_4
RADIO_LINK_TREL_UDP6
RADIO_LINK_TOBLE
_log
(text,new_line=True,flush=True)
Node
(object)
_VERBOSE
_SPEED_UP_FACTOR
_WPANTUND
_WPANCTL
_OT_NCP_FTD
_TUND_LOG_TO_FILE
_TUND_LOG_FNAME
_INTFC_NAME_PREFIX
_START_INDEX
_cur_index
_all_nodes
_index
_interface_name
_verbose
_tund_log_file
_wpantund_process
_wpanctl_cmd
_recvers
__init__
(self,radios=None,verbose=_VERBOSE)
__del__
(self)
__repr__
(self)
index
(self)
interface_name
(self)
tund_log_file
(self)
wpanctl
(self,cmd)
get
(self,prop_name,value_only=True)
set
(self,prop_name,value,binary_data=False)
add
(self,prop_name,value,binary_data=False)
remove
(self,prop_name,value,binary_data=False)
_update_prop
(self,action,prop_name,value,binary_data)
reset
(self)
status
(self)
leave
(self)
form
(self,name,channel=None,channel_mask=None,panid=None,xpanid=None,key=None,key_index=None,node_type=None,mesh_local_prefix=None,legacy_prefix=None)
join
(self,name,channel=None,node_type=None,panid=None,xpanid=None,key=None)
active_scan
(self,channel=None)
energy_scan
(self,channel=None)
discover_scan
(self,channel=None,joiner_only=False,enable_filtering=False,panid_filter=None)
permit_join
(self,duration_sec=None,port=None,udp=True,tcp=True)
config_gateway
(self,prefix,default_route=False,priority=None)
add_prefix
(self,prefix,prefix_len=None,priority=None,stable=True,on_mesh=False,slaac=False,dhcp=False,configure=False,default_route=False,preferred=False)
remove_prefix
(self,prefix,prefix_len=None)
add_route
(self,route_prefix,prefix_len=None,priority=None,stable=True)
remove_route
(self,route_prefix,prefix_len=None,priority=None,stable=True)
commissioner_start
(self)
commissioner_add_joiner
(self,eui64,pskd,timeout='100')
commissioner_add_joiner_with_discerner
(self,discerner_value,discerner_bit_len,pskd,timeout='100')
joiner_join
(self,pskd)
joiner_attach
(self)
is_associated
(self)
join_node
(self,node,node_type=JOIN_TYPE_ROUTER,should_set_key=True)
allowlist_node
(self,node)
un_allowlist_node
(self,node)
is_in_scan_result
(self,scan_result)
find_ip6_address_with_prefix
(self,prefix)
add_ip6_address_on_interface
(self,address,prefix_len=64)
remove_ip6_address_on_interface
(self,address,prefix_len=64)
init_all_nodes
(cls,disable_logs=not_VERBOSE,wait_time=15)
finalize_all_nodes
(cls)
set_time_speedup_factor
(cls,factor)
_NodeError
(Exception)
prepare_tx
(self,src,dst,data=40,count=1,mcast_hops=None)
_get_receiver
(self,local_port)
_remove_recver
(self,recvr)
prepare_rx
(self,sender)
prepare_listener
(self,local_port,timeout=1)
perform_async_tx_rx
(timeout=20)
_is_ipv6_addr_link_local
(ip_addr)
_create_socket_address
(ip_address,port)
AsyncSender
(asyncore.dispatcher)
_node
_src_addr
_src_port
_dst_addr
_dst_port
_msg
_count
_dst_sock_addr
_tx_buffer
_tx_counter
__init__
(self,node,src_addr,src_port,dst_addr,dst_port,msg,count,mcast_hops=None)
node
(self)
src_addr
(self)
src_port
(self)
dst_addr
(self)
dst_port
(self)
msg
(self)
count
(self)
was_successful
(self)
readable
(self)
writable
(self)
handle_write
(self)
handle_close
(self)
AsyncReceiver
(asyncore.dispatcher)
_MAX_RECV_SIZE
_node
_local_port
_senders
_all_rx
_timeout
_started
_start_time
_SenderInfo
(object)
__init__
(self,node,local_port)
_add_sender
(self,sender_addr,sender_port,msg,count)
_set_listen_timeout
(self,timeout)
node
(self)
local_port
(self)
all_rx_msg
(self)
was_successful
(self)
readable
(self)
writable
(self)
handle_read
(self)
handle_close
(self)
VerifyError
(Exception)
verify
(condition)
verify_within
(condition_checker_func,wait_time,delay_time=0.1)
ScanResult
(object)
TYPE_ACTIVE_SCAN
TYPE_DISCOVERY_SCAN
TYPE_ENERGY_SCAN
_type
_index
_joinable
_network_name
_panid
_channel
_xpanid
_ext_address
_rssi
__init__
(self,result_text)
type
(self)
joinable
(self)
network_name
(self)
panid
(self)
channel
(self)
xpanid
(self)
ext_address
(self)
rssi
(self)
__repr__
(self)
parse_scan_result
(scan_result)
parse_list
(list_string)
OnMeshPrefix
(object)
_prefix
_prefix_len
_origin
_stable
_on_mesh
_def_route
_config
_dhcp
_slaac
_preferred
_priority
_rloc16
__init__
(self,text)
prefix
(self)
prefix_len
(self)
origin
(self)
priority
(self)
is_stable
(self)
is_on_mesh
(self)
is_def_route
(self)
is_config
(self)
is_dhcp
(self)
is_slaac
(self)
is_preferred
(self)
rloc16
(self)
__repr__
(self)
parse_on_mesh_prefix_result
(on_mesh_prefix_list)
ChildEntry
(object)
_ext_address
_rloc16
_timeout
_rx_on_idle
_ftd
_sec_data_req
_full_net_data
__init__
(self,text)
ext_address
(self)
rloc16
(self)
timeout
(self)
is_rx_on_when_idle
(self)
is_ftd
(self)
is_sec_data_req
(self)
is_full_net_data
(self)
__repr__
(self)
parse_child_table_result
(child_table_list)
NeighborEntry
(object)
_ext_address
_rloc16
_is_child
_rx_on_idle
_ftd
__init__
(self,text)
ext_address
(self)
rloc16
(self)
is_rx_on_when_idle
(self)
is_ftd
(self)
is_child
(self)
__repr__
(self)
parse_neighbor_table_result
(neighbor_table_list)
RouterTableEntry
(object)
_ext_address
_rloc16
_router_id
_next_hop
_path_cost
_age
_le
__init__
(self,text)
ext_address
(self)
rloc16
(self)
router_id
(self)
next_hop
(self)
path_cost
(self)
is_link_established
(self)
__repr__
(self)
parse_router_table_result
(router_table_list)
AddressCacheEntry
(object)
_address
_rloc16
_age
_state
_last_trans
_can_evict
_timeout
_retry_delay
__init__
(self,text)
address
(self)
rloc16
(self)
age
(self)
state
(self)
can_evict
(self)
timeout
(self)
retry_delay
(self)
last_trans
(self)
__repr__
(self)
parse_address_cache_table_result
(addr_cache_table_list)
InterfaceRoute
(object)
_route_prefix
_prefix_len
_metric
__init__
(self,text)
route_prefix
(self)
prefix_len
(self)
metric
(self)
__repr__
(self)
parse_interface_routes_result
(interface_routes_list)
MultiRadioEntry
(object)
_ext_address
_rloc16
_radios
__init__
(self,text)
ext_address
(self)
rloc16
(self)
radios
(self)
supports
(self,radio_type)
preference
(self,radio_type)
__repr__
(self)
parse_multi_radio_result
(multi_radio_list)
All occurrences
Please wait...
Page is in error, reload to recover