mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
100 lines
2.9 KiB
YAML
100 lines
2.9 KiB
YAML
|
test cases:
|
||
|
- CI ready: 'Yes'
|
||
|
ID: WIFI_ADDR_0101
|
||
|
SDK: |-
|
||
|
8266_NonOS
|
||
|
8266_RTOS
|
||
|
ESP32_IDF
|
||
|
Test App: SSC
|
||
|
allow fail: ''
|
||
|
auto test: 'Yes'
|
||
|
category: Function
|
||
|
cmd set:
|
||
|
- ''
|
||
|
- - SSC SSC1 op -S -o 3
|
||
|
- - R SSC1 C +MODE:OK
|
||
|
- - SSC SSC1 mac -S -o 1 -m 44:55:66:77:88:99
|
||
|
- - R SSC1 C +MAC:STA,OK
|
||
|
- - SSC SSC1 mac -S -o 2 -m 22:33:44:55:66:77
|
||
|
- - R SSC1 C +MAC:AP,OK
|
||
|
- - SSC SSC1 mac -Q -o 3
|
||
|
- - R SSC1 C +STAMAC:44:55:66:77:88:99 C +APMAC:22:33:44:55:66:77
|
||
|
- - SSC SSC1 mac -S -o 1 -m <target_mac>
|
||
|
- - R SSC1 C +MAC:STA,OK
|
||
|
- - SSC SSC1 mac -S -o 2 -m <target_ap_mac>
|
||
|
- - R SSC1 C +MAC:AP,OK
|
||
|
execution time: 0.0
|
||
|
expected result: |-
|
||
|
1.OK
|
||
|
2.ok
|
||
|
3.ok
|
||
|
4.ok
|
||
|
5.ok
|
||
|
6.ok
|
||
|
initial condition: T2_1
|
||
|
level: Integration
|
||
|
module: WIFI MAC
|
||
|
steps: "1.target1 设置mode 为sta+softAP mode\n2.target1 设置sta mode 下的mac \n3.target1
|
||
|
设置softAP mode 下的mac\n4.target1 查询softAP+sta 下的mac\n5.target1 设置sta mode 下的mac
|
||
|
为target1_mac\n6.target1 设置softAP mode 下的mac 为target1_ap_mac\n"
|
||
|
sub module: MAC Address
|
||
|
summary: set mac, query mac
|
||
|
test environment: SSC_T2_1
|
||
|
test point 1: basic function
|
||
|
test point 2: mac address function test
|
||
|
version: v1 (2016-8-15)
|
||
|
- CI ready: 'Yes'
|
||
|
ID: WIFI_ADDR_0102
|
||
|
SDK: |-
|
||
|
8266_NonOS
|
||
|
8266_RTOS
|
||
|
ESP32_IDF
|
||
|
Test App: SSC
|
||
|
allow fail: ''
|
||
|
auto test: 'Yes'
|
||
|
category: Function
|
||
|
cmd set:
|
||
|
- ''
|
||
|
- - SSC SSC1 mac -S -o 2 -m 44:55:66:77:88:99
|
||
|
- - R SSC1 C +MAC:AP,OK
|
||
|
- - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
|
||
|
- - ''
|
||
|
- - SSC SSC2 sta -S -b 44:55:66:77:88:99
|
||
|
- - R SSC2 RE \+SCAN:.+,44:55:66:77:88:99,
|
||
|
- - SSC SSC1 mac -S -o 2 -m <target_ap_mac>
|
||
|
- - R SSC1 C +MAC:AP,OK
|
||
|
- - SSC SSC2 mac -Q -o 1
|
||
|
- - R SSC2 A <target2_mac_tmp>:\+STAMAC:(.+)\r\n
|
||
|
- - SSC SSC2 mac -S -o 1 -m 22:33:44:55:66:77
|
||
|
- - R SSC2 C +MAC:STA,OK
|
||
|
- - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
|
||
|
- - P SSC2 C +JAP:CONNECTED
|
||
|
- - SSC SSC1 ap -L
|
||
|
- - R SSC1 C +LSTA:22:33:44:55:66:77
|
||
|
- - SSC SSC2 mac -S -o 1 -m <target2_mac>
|
||
|
- - R SSC2 C +MAC:STA,OK
|
||
|
execution time: 0.0
|
||
|
expected result: |-
|
||
|
1.OK
|
||
|
2.ok
|
||
|
3.ok
|
||
|
4.ok
|
||
|
5.ok
|
||
|
6.ok
|
||
|
7.ok
|
||
|
8.ok
|
||
|
9.ok
|
||
|
initial condition: T2_1
|
||
|
level: Integration
|
||
|
module: WIFI MAC
|
||
|
steps: "1.target1 设置sta mode下的mac 44:55:66:77:88:99\n2.target1下设置ssid 和pwd 加密方式\n3.target2
|
||
|
查询mac为44:55:66:77:88:99的ssid\n4.target1 设置sta mode下的mac target_ap_mac\n5.target2
|
||
|
查询sta mode 下的mac 为target2_mac_tmp\n6.target2 设置sta mode 下的mac 为22:33:44:55:66:77\n7.target2
|
||
|
jap target1\n8.target1 查询连接到的sta \n9.target2 设置sta mode 下的mac 为 target2_mac\n"
|
||
|
sub module: MAC Address
|
||
|
summary: set mac and do scan/JAP/SAP
|
||
|
test environment: SSC_T2_1
|
||
|
test point 1: basic function
|
||
|
test point 2: mac address function test
|
||
|
version: v1 (2016-8-15)
|