Searched refs:thread_meshcop (Results 1 – 25 of 33) sorted by relevance
12
/openthread-latest/tests/scripts/thread-cert/ |
D | Cert_9_2_04_ActiveDataset.py | 210 … MGMT_ACTIVE_SET_URI).filter(lambda p: p.thread_meshcop.tlv.xpan_id == '000db70000000000' and p. 211 … thread_meshcop.tlv.net_name == ['GRL'] and p.thread_meshcop.tlv.chan_mask_mask 212 … == '001fffe0' and p.thread_meshcop.tlv.active_tstamp == 101).must_next() 216 lambda p: p.thread_meshcop.tlv.state == 1).must_next() 224 …MGMT_ACTIVE_GET_URI).filter(lambda p: p.thread_meshcop.tlv.active_tstamp == 101 and p.thread_meshc… 225 … xpan_id == '000db70000000000' and p.thread_meshcop.tlv.net_name == ['GRL'] and 226 … p.thread_meshcop.tlv.chan_mask_mask == '001fffe0').must_next() 231 … lambda p: p.thread_meshcop.tlv.active_tstamp == 102 and p.thread_meshcop.tlv.xpan_id == 232 … '000db70000000001' and p.thread_meshcop.tlv.net_name == ['threadcert'] and p.thread_meshcop.tlv. 233 chan_mask_mask == '001fffe0' and p.thread_meshcop.tlv.channel == [18]).must_next() [all …]
|
D | Cert_5_8_04_SecurityPolicyTLV.py | 205 filter(lambda p: p.thread_meshcop.tlv.type is nullField).\ 217 filter(lambda p: (p.thread_meshcop.tlv.sec_policy_rot == 3600 and 218 p.thread_meshcop.tlv.sec_policy_o == 1 and 219 p.thread_meshcop.tlv.sec_policy_n == 1 and 220 p.thread_meshcop.tlv.sec_policy_r == 1 and 221 p.thread_meshcop.tlv.sec_policy_c == 1) or 222 (p.thread_meshcop.tlv.unknown == '0e10f7')).\ 239 } <= set(p.thread_meshcop.tlv.type) and\ 240 p.thread_meshcop.tlv.active_tstamp == 15 and\ 241 (p.thread_meshcop.tlv.sec_policy_o == 0 or [all …]
|
D | Cert_9_2_06_DatasetDissemination.py | 233 must_verify(lambda p: p.thread_meshcop.tlv.state == 1) 259 NM_COMMISSIONER_SESSION_ID_TLV in p.thread_meshcop.tlv.type and \ 260 NM_STEERING_DATA_TLV in p.thread_meshcop.tlv.type and \ 261 NM_BORDER_AGENT_LOCATOR_TLV in p.thread_meshcop.tlv.type 290 NM_COMMISSIONER_SESSION_ID_TLV in p.thread_meshcop.tlv.type and \ 291 NM_STEERING_DATA_TLV in p.thread_meshcop.tlv.type and \ 292 NM_BORDER_AGENT_LOCATOR_TLV in p.thread_meshcop.tlv.type 305 must_verify(lambda p: p.thread_meshcop.tlv.state == 1) 340 NM_COMMISSIONER_SESSION_ID_TLV in p.thread_meshcop.tlv.type and \ 341 NM_STEERING_DATA_TLV in p.thread_meshcop.tlv.type and \ [all …]
|
D | Cert_9_2_09_PendingPartition.py | 248 must_verify(lambda p: p.thread_meshcop.tlv.state == 1) 280 NM_COMMISSIONER_SESSION_ID_TLV in p.thread_meshcop.tlv.type and\ 281 NM_BORDER_AGENT_LOCATOR_TLV in p.thread_meshcop.tlv.type 294 p.thread_meshcop.tlv.type is nullField 325 NM_COMMISSIONER_SESSION_ID_TLV in p.thread_meshcop.tlv.type and\ 326 NM_BORDER_AGENT_LOCATOR_TLV in p.thread_meshcop.tlv.type and\ 329 p.thread_meshcop.tlv.delay_timer < COMM_DELAY_TIMER and\ 330 p.thread_meshcop.tlv.active_tstamp == COMM_PENDING_ACTIVE_TIMESTAMP and\ 331 p.thread_meshcop.tlv.channel == [CHANNEL_SECOND] and\ 332 p.thread_meshcop.tlv.pan_id == [PANID_INIT] [all …]
|
D | Cert_9_2_01_MGMTCommissionerGet.py | 149 } <= set(p.thread_meshcop.tlv.type) and\ 150 p.thread_meshcop.tlv.ba_locator is not nullField and\ 151 p.thread_meshcop.tlv.commissioner_sess_id is not nullField and\ 152 p.thread_meshcop.tlv.steering_data is not nullField 169 } <= set(p.thread_meshcop.tlv.type) 186 } <= set(p.thread_meshcop.tlv.type) and\ 187 p.thread_meshcop.tlv.commissioner_sess_id is not nullField and\ 188 p.thread_meshcop.tlv.steering_data is not nullField 205 } <= set(p.thread_meshcop.tlv.type) 221 } <= set(p.thread_meshcop.tlv.type) and\ [all …]
|
D | Cert_9_2_02_MGMTCommissionerSet.py | 157 p.thread_meshcop.tlv.steering_data == Bytes('ff') 171 p.thread_meshcop.tlv.state == MESHCOP_REJECT 188 } <= set(p.thread_meshcop.tlv.type) and\ 189 p.thread_meshcop.tlv.steering_data == Bytes('ff') 203 p.thread_meshcop.tlv.state == MESHCOP_ACCEPT 229 } <= set(p.thread_meshcop.tlv.type) and\ 247 } <= set(p.thread_meshcop.tlv.type) and\ 248 p.thread_meshcop.tlv.ba_locator == 0x0400 262 p.thread_meshcop.tlv.state == MESHCOP_REJECT 281 } <= set(p.thread_meshcop.tlv.type) and\ [all …]
|
D | Cert_9_2_05_ActiveDataset.py | 182 filter(lambda p: p.thread_meshcop.tlv.state == 1).\ 245 } <= set(p.thread_meshcop.tlv.type) and\ 247 p.thread_meshcop.tlv.chan_mask_mask == '001fffc0' and\ 248 p.thread_meshcop.tlv.xpan_id == '000db80000000001' and\ 249 p.thread_meshcop.tlv.net_name == ['TEST_1'] and\ 250 p.thread_meshcop.tlv.pskc == 'd2aa9cd8dff7919122d77d37ec3c1b5f' 263 filter(lambda p: p.thread_meshcop.tlv.state == -1).\ 275 filter(lambda p: p.thread_meshcop.tlv.state == 1).\ 338 } <= set(p.thread_meshcop.tlv.type) and\ 340 p.thread_meshcop.tlv.chan_mask_mask == '001fff00' and\ [all …]
|
D | Cert_9_2_11_NetworkKey.py | 238 must_verify(lambda p: p.thread_meshcop.tlv.state == 1) 250 NM_COMMISSIONER_SESSION_ID_TLV in p.thread_meshcop.tlv.type and\ 251 NM_BORDER_AGENT_LOCATOR_TLV in p.thread_meshcop.tlv.type 281 NM_COMMISSIONER_SESSION_ID_TLV in p.thread_meshcop.tlv.type and\ 282 NM_BORDER_AGENT_LOCATOR_TLV in p.thread_meshcop.tlv.type and\ 283 p.thread_meshcop.tlv.delay_timer > 200000 and\ 284 p.thread_meshcop.tlv.master_key == KEY2 and\ 285 p.thread_meshcop.tlv.active_tstamp == 70 325 must_verify(lambda p: p.thread_meshcop.tlv.state == 1) 337 NM_COMMISSIONER_SESSION_ID_TLV in p.thread_meshcop.tlv.type and\ [all …]
|
D | Cert_9_2_19_PendingDatasetGet.py | 166 } <= set(p.thread_meshcop.tlv.type) and\ 167 p.thread_meshcop.tlv.active_tstamp == 60 and\ 168 p.thread_meshcop.tlv.pan_id == [0xafce] and\ 169 p.thread_meshcop.tlv.delay_timer == 60000 182 p.thread_meshcop.tlv.state == 1 231 } <= set(p.thread_meshcop.tlv.type) 246 } <= set(p.thread_meshcop.tlv.type) 263 p.thread_meshcop.tlv.pan_id == [0xafce] and\ 264 p.thread_meshcop.tlv.delay_timer < 60000 288 filter(lambda p: p.thread_meshcop.tlv.type is nullField).\
|
D | Cert_8_3_01_CommissionerPetition.py | 151 p.thread_meshcop.tlv.state == MESHCOP_ACCEPT 170 } <= set(p.thread_meshcop.tlv.type) and\ 190 p.thread_meshcop.tlv.state == MESHCOP_ACCEPT 204 p.thread_meshcop.tlv.state == MESHCOP_ACCEPT 243 p.thread_meshcop.tlv.state == MESHCOP_ACCEPT 263 } <= set(p.thread_meshcop.tlv.type) and\ 284 p.thread_meshcop.tlv.state == MESHCOP_REJECT 306 p.thread_meshcop.tlv.state == MESHCOP_REJECT 323 } <= set(p.thread_meshcop.tlv.type) and\ 360 p.thread_meshcop.tlv.state == MESHCOP_ACCEPT and\ [all …]
|
D | Cert_8_2_05_JoinerRouter.py | 164 } <= set(p.thread_meshcop.tlv.type) 179 p.udp.srcport in _rs_pkt.thread_meshcop.tlv.udp_port and\ 180 p.udp.dstport in _rs_pkt.thread_meshcop.tlv.udp_port 201 } <= set(p.thread_meshcop.tlv.type) and\ 202 p.thread_meshcop.tlv.udp_port == [_ch_pkt.udp.dstport] and\ 203 p.thread_meshcop.tlv.jr_locator == JOINER_ROUTER_RLOC16 226 } <= set(p.thread_meshcop.tlv.type) and\ 227 p.thread_meshcop.tlv.udp_port == [_ch_pkt.udp.dstport] and\ 228 p.thread_meshcop.tlv.jr_locator == JOINER_ROUTER_RLOC16
|
D | Cert_9_2_13_EnergyScan.py | 115 …p: {NM_CHANNEL_MASK_TLV, NM_ENERGY_LIST_TLV} <= set(p.thread_meshcop.tlv.type) and p.thread_meshco… 116 tlv.chan_mask_mask == '0000a000' and len(p.thread_meshcop.tlv.energy_list) == 2) 120 …p: {NM_CHANNEL_MASK_TLV, NM_ENERGY_LIST_TLV} <= set(p.thread_meshcop.tlv.type) and p.thread_meshco… 121 tlv.chan_mask_mask == '0000a000' and len(p.thread_meshcop.tlv.energy_list) == 2)
|
D | Cert_9_2_08_PersistentDatasets.py | 201 filter(lambda p: p.thread_meshcop.tlv.active_tstamp == 203 p.thread_meshcop.tlv.pending_tstamp == 205 p.thread_meshcop.tlv.delay_timer == 207 p.thread_meshcop.tlv.channel == 209 p.thread_meshcop.tlv.pan_id == 211 NM_COMMISSIONER_SESSION_ID_TLV in p.thread_meshcop.tlv.type 224 must_verify(lambda p: p.thread_meshcop.tlv.state == 1) 252 NM_COMMISSIONER_SESSION_ID_TLV in p.thread_meshcop.tlv.type and\ 253 NM_BORDER_AGENT_LOCATOR_TLV in p.thread_meshcop.tlv.type
|
D | Cert_9_2_18_RollBackActiveTimestamp.py | 184 MGMT_ACTIVE_SET_URI).must_next().must_verify(lambda p: p.thread_meshcop.tlv.state == 1) 188 … MGMT_PENDING_SET_URI).must_next().must_verify(lambda p: p.thread_meshcop.tlv.state == -1) 192 MGMT_PENDING_SET_URI).must_next().must_verify(lambda p: p.thread_meshcop.tlv.state == 1) 200 p.thread_meshcop.tlv.type) and p.thread_nwd.tlv.stable == [0]) 215 } <= set(p.thread_meshcop.tlv.type) and p.thread_nwd.tlv.stable == [0]) 228 p.thread_meshcop.tlv.type) and p.thread_nwd.tlv.stable == [0]) 249 … } <= set(p.thread_meshcop.tlv.type) and p.thread_meshcop.tlv.net_name == ["MyHouse"] and p. 250 thread_meshcop.tlv.master_key == KEY2)
|
D | Cert_9_2_07_DelayTimer.py | 165 } <= set(p.thread_meshcop.tlv.type) and p.mle.tlv.active_tstamp == LEADER_ACTIVE_TIMESTAMP) 169 lambda p: p.coap.code == COAP_CODE_ACK and p.thread_meshcop.tlv.state == 1) 175 … p.thread_meshcop.tlv.type) and p.thread_nwd.tlv.stable == [0] and p.mle.tlv.active_tstamp == 183 } <= set(p.thread_meshcop.tlv.type) and p.mle.tlv.active_tstamp == ROUTER_ACTIVE_TIMESTAMP) 187 lambda p: p.coap.code == COAP_CODE_ACK and p.thread_meshcop.tlv.state == 1) 206 lambda p: p.coap.code == COAP_CODE_ACK and p.thread_meshcop.tlv.state == 1) 219 … set(p.thread_meshcop.tlv.type) and p.mle.tlv.active_tstamp == ROUTER_ACTIVE_TIMESTAMP and p.mle. 220 … tlv.pending_tstamp == COMMISSIONER_PENDING_TIMESTAMP and p.thread_meshcop.tlv.pan_id == 221 … [COMMISSIONER_PENDING_PANID] and p.thread_meshcop.tlv.channel == [COMMISSIONER_PENDING_CHANNEL])
|
D | Cert_8_1_01_Commissioning.py | 129 [NM_DISCOVERY_REQUEST_TLV] == p.thread_meshcop.tlv.type and\ 130 p.thread_meshcop.tlv.discovery_req_ver == JOINER_VERSION 159 } <= set(p.thread_meshcop.tlv.type) and\ 160 p.thread_meshcop.tlv.discovery_rsp_ver == COMMISSIONER_VERSION 175 p.udp.srcport in _rs_pkt.thread_meshcop.tlv.udp_port and\ 176 p.udp.dstport in _rs_pkt.thread_meshcop.tlv.udp_port
|
D | Cert_9_2_03_ActiveDatasetGet.py | 165 } <= set(p.thread_meshcop.tlv.type) 184 } <= set(p.thread_meshcop.tlv.type) 202 } <= set(p.thread_meshcop.tlv.type) 225 } <= set(p.thread_meshcop.tlv.type) 243 } <= set(p.thread_meshcop.tlv.type)
|
D | Cert_9_2_14_PanIdQuery.py | 117 …: {NM_COMMISSIONER_SESSION_ID_TLV, NM_CHANNEL_MASK_TLV, NM_PAN_ID_TLV} <= set(p.thread_meshcop.tlv. 123 … ).must_verify(lambda p: {NM_CHANNEL_MASK_TLV, NM_PAN_ID_TLV} <= set(p.thread_meshcop.tlv.type)) 128 …da p: {NM_COMMISSIONER_SESSION_ID_TLV, NM_CHANNEL_MASK_TLV, NM_PAN_ID_TLV} <= set(p.thread_meshcop. 134 … ).must_verify(lambda p: {NM_CHANNEL_MASK_TLV, NM_PAN_ID_TLV} <= set(p.thread_meshcop.tlv.type))
|
D | Cert_8_1_06_Commissioning.py | 126 } <= set(p.thread_meshcop.tlv.type) and\ 127 p.thread_meshcop.tlv.discovery_rsp_ver == 143 p.udp.srcport in _rs_pkt.thread_meshcop.tlv.udp_port and\ 144 p.udp.dstport in _rs_pkt.thread_meshcop.tlv.udp_port
|
D | Cert_9_2_10_PendingPartition.py | 190 p.thread_meshcop.tlv.type) and p.thread_nwd.tlv.stable == [0]) 203 } <= set(p.thread_meshcop.tlv.type) and p.thread_nwd.tlv.stable == [0]) 222 } <= set(p.thread_meshcop.tlv.type))
|
D | Cert_5_1_07_MaxChildCount.py | 217 p.thread_meshcop.tlv.type is not None 246 p.thread_meshcop.tlv.type is not None
|
/openthread-latest/tests/scripts/thread-cert/pktverify/ |
D | test_layer_fields.py | 167 self.assertIsInstanceOrNull(p.thread_meshcop.tlv.net_name, list) 170 thread_meshcop = p.thread_meshcop 174 self.assertIsInstance(thread_meshcop.tlv.commissioner_sess_id, int) 177 self.assertIsInstance(thread_meshcop.tlv.net_name, list) 180 self.assertIsInstance(thread_meshcop.tlv.channel_page, int) 183 self.assertIsInstance(thread_meshcop.tlv.channel, list) 186 self.assertIsInstance(thread_meshcop.tlv.chan_mask_page, int) 188 self.assertIsInstance(thread_meshcop.tlv.chan_mask_len, int) 190 self.assertIsInstance(thread_meshcop.tlv.chan_mask_mask, int) 193 self.assertIsInstance(thread_meshcop.tlv.panid, int) [all …]
|
/openthread-latest/tests/scripts/thread-cert/border_router/MATN/ |
D | MATN_15_ChangeOfPrimaryBBRTriggersRegistration.py | 165 .filter(lambda p: p.thread_meshcop.tlv.ipv6_addr == [MA1]) \ 173 p: p.thread_meshcop.tlv.ipv6_addr == [MA1] and
|
D | MATN_16_LargeNumberOfMulticastGroupSubscriptionsToBBR.py | 153 .filter(lambda p: set(p.thread_meshcop.tlv.ipv6_addr) == set(MAS[i][1:])) \ 179 lambda p: set(p.thread_meshcop.tlv.ipv6_addr) == set(MAS[i][1:]) and
|
D | MATN_05_ReregistrationToSameMulticastGroup.py | 165 .filter(lambda p: p.thread_meshcop.tlv.ipv6_addr == [MA1]) \ 198 .filter(lambda p: p.thread_meshcop.tlv.ipv6_addr == [MA1] and
|
12