mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
179 lines
4.7 KiB
YAML
179 lines
4.7 KiB
YAML
test cases:
|
|
- CI ready: 'Yes'
|
|
ID: MESH_COMM_0101
|
|
SDK: ESP32_IDF
|
|
Test App: SSC_MESH
|
|
auto test: 'Yes'
|
|
category: Function
|
|
cmd set:
|
|
- ''
|
|
- - SSC MNODE(0) meshsend -S -d <MNODE(0,-1)_mac> -l 1000 -c 20 -b 20 -f 2
|
|
- - P MNODE(0) C +MESHSEND,OK
|
|
- P MNODE(0,-1) C +MESHRXPKT:OK
|
|
execution time: 0.0
|
|
expected result: |-
|
|
1. succeed
|
|
2. succeed
|
|
3. succeed
|
|
4. succeed
|
|
initial condition: ENABLED_2
|
|
level: Integration
|
|
module: Mesh
|
|
steps: |-
|
|
1. mesh init
|
|
2. mesh config
|
|
3. mesh start
|
|
4. root send unicast to leaf
|
|
sub module: Communication
|
|
summary: root send unicast to leaf
|
|
test environment: SSC_T50_1
|
|
test point 1: basic function
|
|
test point 2: unicast test
|
|
version: v1 (2017-7-20)
|
|
- CI ready: 'Yes'
|
|
ID: MESH_COMM_0106
|
|
SDK: ESP32_IDF
|
|
Test App: SSC_MESH
|
|
auto test: 'Yes'
|
|
category: Function
|
|
cmd set:
|
|
- ''
|
|
- - SSC MNODE(0,-1) meshsend -S -d <MNODE(0)_mac> -l 1000 -c 20 -b 20 -f 2
|
|
- - P MNODE(0,-1) C +MESHSEND,OK
|
|
- P MNODE(0) C +MESHRXPKT:OK
|
|
execution time: 0.0
|
|
expected result: |-
|
|
1. succeed
|
|
2. succeed
|
|
3. succeed
|
|
4. succeed
|
|
initial condition: ENABLED_1
|
|
level: Integration
|
|
module: Mesh
|
|
steps: |-
|
|
1. mesh init
|
|
2. mesh config
|
|
3. mesh start
|
|
4. leaf send unicast to root
|
|
sub module: Communication
|
|
summary: leaf send unicast to root
|
|
test environment: SSC_T50_1
|
|
test point 1: basic function
|
|
test point 2: unicast test
|
|
version: v1 (2017-7-20)
|
|
- CI ready: 'Yes'
|
|
ID: MESH_COMM_0116
|
|
SDK: ESP32_IDF
|
|
Test App: SSC
|
|
auto test: 'Yes'
|
|
category: Function
|
|
cmd set:
|
|
- ''
|
|
- - SSC MNODE(0,-1) meshsend -S -d <MNODE(0,1)_mac> -l 1000 -c 100 -f 2
|
|
- - P MNODE(0,-1) C +MESHTXPKT:OK C +MESHSEND,OK
|
|
- P MNODE(0,1) C +MESHRXPKT:OK
|
|
- - DELAY 5
|
|
- - ''
|
|
- - SSC MNODE(0,-1) meshsend -S -d <MNODE(0,1)_mac> -l 1000 -c 10 -f 2
|
|
- - P MNODE(0,-1) C +MESHTXPKT:OK C +MESHSEND,OK
|
|
- P MNODE(0,1) C +MESHRXPKT:OK
|
|
expected result: |-
|
|
1. succeed
|
|
2. succeed
|
|
3. succeed
|
|
4. succeed
|
|
initial condition: ENABLED_2
|
|
level: Integration
|
|
module: Mesh
|
|
steps: |-
|
|
1. mesh init
|
|
2. mesh config
|
|
3. mesh start
|
|
4. root send unicast to others
|
|
sub module: Communication
|
|
summary: fluid control test when node send packets upward
|
|
test environment: SSC_T50_1
|
|
test point 1: basic function
|
|
test point 2: unicast test
|
|
version: v1 (2017-7-20)
|
|
- CI ready: 'Yes'
|
|
ID: MESH_COMM_0210
|
|
SDK: ESP32_IDF
|
|
Test App: SSC_MESH
|
|
auto test: 'Yes'
|
|
category: Function
|
|
cmd set:
|
|
- ''
|
|
- - SSC MNODE(0) meshsend -S -d <MNODE(0,0)_mac> -l 1460 -c 20 -b 20 -f 4
|
|
- - P MNODE(0) C +MESHTXPKT:OK C +MESHSEND,OK
|
|
- P MNODE(0,0) C +MESHRXPKT:OK
|
|
execution time: 0.0
|
|
expected result: |-
|
|
1. succeed
|
|
2. succeed
|
|
3. succeed
|
|
4. succeed
|
|
initial condition: ENABLED_1
|
|
level: Integration
|
|
module: Mesh
|
|
steps: |-
|
|
1. mesh init
|
|
2. mesh config
|
|
3. mesh start
|
|
4. root send unicast
|
|
sub module: Communication
|
|
summary: root send unicast downward with flag=FROMDS
|
|
test environment: SSC_T50_1
|
|
test point 1: basic function
|
|
test point 2: meshsend parameter check
|
|
version: v1 (2017-7-20)
|
|
- CI ready: 'Yes'
|
|
ID: MESH_COMM_0902
|
|
SDK: ESP32_IDF
|
|
Test App: SSC_MESH
|
|
auto test: 'Yes'
|
|
category: Function
|
|
cmd set:
|
|
- ''
|
|
- - SSC MNODE(0,0,0) mesh -D -o 0 -g <MNODE(0)_mac>
|
|
- - P MNODE(0,0,0) C +MESH_ADDR_LIST_ADD
|
|
- - SSC MNODE(0,0,0) mesh -D -o 0 -g <MNODE(0,0)_mac>
|
|
- - P MNODE(0,0,0) C +MESH_ADDR_LIST_ADD
|
|
- - SSC MNODE(0,0,0) meshsend -P -p 0 -t 7 -l 12
|
|
- - P MNODE(0,0,0) C +MESHSEND:OPTION,1
|
|
- - SSC MNODE(0,0,0) meshsend -S -w 1 -d 01:00:5E:00:00:00 -c 10 -b 20 -f
|
|
2
|
|
- - P MNODE(0,0,0) C +MESHTXPKT:ERROR C +MESHSEND,OK
|
|
- P MNODE(0,0) NC +MESHRXPKT:OK
|
|
- - SSC MNODE(0,0,0) meshsend -S -w 1 -d 01:00:5E:00:00:00 -l 0 -c 10 -b 20 -f
|
|
2
|
|
- - P MNODE(0,0,0) C +MESHTXPKT:ERROR C +MESHSEND,OK
|
|
- P MNODE(0,0) NC +MESHRXPKT:OK
|
|
- - SSC MNODE(0,0,0) meshsend -S -w 1 -d 01:00:5E:00:00:00 -l 1000 -c 10 -b 20 -f
|
|
2
|
|
- - P MNODE(0,0,0) C +MESHTXPKT:OK C +MESHSEND,OK
|
|
- P MNODE(0) C +MESHRXPKT:OK
|
|
- - SSC MNODE(0,0,0) meshsend -S -w 1 -d 01:00:5E:00:00:00 -l 1460 -c 10 -b 20 -f
|
|
2
|
|
- - P MNODE(0,0,0) C +MESHTXPKT:ERROR C +MESHSEND,OK
|
|
execution time: 0.0
|
|
expected result: |-
|
|
1. succeed
|
|
2. succeed
|
|
3. succeed
|
|
4. succeed
|
|
initial condition: ENABLED_1
|
|
level: Integration
|
|
module: Mesh
|
|
steps: |-
|
|
1. mesh init
|
|
2. mesh config
|
|
3. mesh start
|
|
4. node send multicast with different length
|
|
sub module: Communication
|
|
summary: node send multicast with different length
|
|
test environment: SSC_T50_1
|
|
test point 1: basic function
|
|
test point 2: meshsend parameter check
|
|
version: v1 (2017-7-20)
|