2017-12-18 06:24:09 -05:00
|
|
|
test cases:
|
|
|
|
- CI ready: 'Yes'
|
|
|
|
ID: TCPIP_IP_0101
|
|
|
|
SDK: |-
|
|
|
|
8266_NonOS
|
|
|
|
8266_RTOS
|
|
|
|
ESP32_IDF
|
|
|
|
Test App: SSC
|
|
|
|
allow fail: ''
|
|
|
|
auto test: 'Yes'
|
|
|
|
category: Function
|
|
|
|
cmd set:
|
|
|
|
- ''
|
|
|
|
- - SSC SSC1 dhcp -S -o 1
|
|
|
|
- - R SSC1 C +DHCP:STA,OK
|
|
|
|
- - SSC SSC1 ip -S -o 1 -i 192.168.123.123
|
|
|
|
- - R SSC1 C +IP:ERROR
|
|
|
|
- - SSC SSC1 dhcp -E -o 1
|
|
|
|
- - R SSC1 C +DHCP:STA,OK
|
|
|
|
- - SSC SSC1 ip -S -o 1 -i 192.168.123.123
|
|
|
|
- - R SSC1 C +IP:OK
|
|
|
|
- - SSC SSC1 ip -Q -o 1
|
|
|
|
- - R SSC1 C +STAIP:192.168.123.123
|
|
|
|
execution time: 0.0
|
|
|
|
expected result: |-
|
|
|
|
1.OK
|
|
|
|
2.ERROR
|
|
|
|
3.OK
|
|
|
|
4.OK
|
|
|
|
5.STAIP:192.168.123.123
|
|
|
|
initial condition: STAM1
|
|
|
|
level: Integration
|
|
|
|
module: TCPIP
|
|
|
|
steps: "1.target1 打开DHCP 1\n2.target1 设置sta ip 192.168.123.123\n4.target1 关闭DHCP
|
|
|
|
1\n5.target1 设置sta ip 192.168.123.123\n6.target1 查询 当前sta ip "
|
|
|
|
sub module: IP
|
|
|
|
summary: sta set and query static ip test
|
2018-08-26 00:15:51 -04:00
|
|
|
test environment: SSC_T1_4
|
2017-12-18 06:24:09 -05:00
|
|
|
test point 1: basic function
|
|
|
|
test point 2: set and query static IP
|
|
|
|
version: v1 (2016-8-15)
|
|
|
|
- CI ready: 'Yes'
|
|
|
|
ID: TCPIP_IP_0102
|
|
|
|
SDK: |-
|
|
|
|
8266_NonOS
|
|
|
|
8266_RTOS
|
|
|
|
ESP32_IDF
|
|
|
|
Test App: SSC
|
|
|
|
allow fail: ''
|
|
|
|
auto test: 'Yes'
|
|
|
|
category: Function
|
|
|
|
cmd set:
|
|
|
|
- ''
|
|
|
|
- - SSC SSC1 dhcp -S -o 2
|
|
|
|
- - R SSC1 C +DHCP:AP,OK
|
|
|
|
- - SSC SSC1 ip -S -o 2 -i 192.168.123.123
|
|
|
|
- - R SSC1 C +IP:ERROR
|
|
|
|
- - SSC SSC1 dhcp -E -o 2
|
|
|
|
- - R SSC1 C +DHCP:AP,OK
|
|
|
|
- - SSC SSC1 ip -S -o 2 -i 192.168.123.123
|
|
|
|
- - R SSC1 C +IP:OK
|
|
|
|
- - SSC SSC1 ip -Q -o 2
|
|
|
|
- - R SSC1 C +APIP:192.168.123.123
|
|
|
|
- - SSC SSC1 ip -S -o 2 -i <target_ap_ip>
|
|
|
|
- - R SSC1 C +IP:OK
|
|
|
|
execution time: 0.0
|
|
|
|
expected result: |-
|
|
|
|
1.OK
|
|
|
|
2.ERROR
|
|
|
|
3.OK
|
|
|
|
4.OK
|
|
|
|
5.APIP:192.168.123.123
|
|
|
|
6.OK
|
|
|
|
initial condition: APM1
|
|
|
|
level: Integration
|
|
|
|
module: TCPIP
|
|
|
|
steps: "1.target1 打开DHCP 2\n2.target1 设置softAP ip 192.168.123.123\n4.target1 关闭DHCP
|
|
|
|
2\n5.target1 设置softAP ip 192.168.123.123\n6.target1 查询 当前sta ip \n7.target1 设置softAP
|
|
|
|
ip 为target_ap_ip"
|
|
|
|
sub module: IP
|
|
|
|
summary: ap set and query static ip test
|
2018-08-26 00:15:51 -04:00
|
|
|
test environment: SSC_T1_4
|
2017-12-18 06:24:09 -05:00
|
|
|
test point 1: basic function
|
|
|
|
test point 2: set and query static IP
|
|
|
|
version: v1 (2016-8-15)
|