test cases:
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0105
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: 2/3
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 2 -m b
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m n -b 40
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp!)(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates!)(Wlan.capability.short_slot_time="1")(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M")']
+ comment: ''
+ execution time: 0.0
+ expected result: '1. succeed
+
+ 2. assoc response has no erp/xrates/ht, cap.short_slot_time=1, rates=[1/2/5/5/11]
+
+ 3. radiotap rates in [1/2/5/5/11]'
+ initial condition: APM1
+ initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
+ condition APSTA1
+ module: WIFI MAC
+ steps: '1. target set to PHY mode 11b
+
+ 2. ht40 STA connect to SoftAP, capture assoc response
+
+ 3. ping, capture Data'
+ sub module: Phy Mode
+ summary: SoftAP set as 11b, ht40 STA connect to AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: SoftAP PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0102
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: 2/3
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 2 -m b
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m b
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp!)(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates!)(Wlan.capability.short_slot_time="1")(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M")']
+ comment: ''
+ execution time: 0.0
+ expected result: '1. succeed
+
+ 2. assoc response has no erp/xrates/ht, cap.short_slot_time=1, rates=[1/2/5/5/11]
+
+ 3. radiotap rates in [1/2/5/5/11]'
+ initial condition: APM1
+ initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
+ condition APSTA1
+ module: WIFI MAC
+ steps: '1. target set to PHY mode 11b
+
+ 2. 11b STA connect to SoftAP, capture assoc response
+
+ 3. ping, capture Data'
+ sub module: Phy Mode
+ summary: SoftAP set as 11b, 11b STA connect to AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: SoftAP PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0103
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: 2/3
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 2 -m b
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m g
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp!)(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates!)(Wlan.capability.short_slot_time="1")(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M")']
+ comment: ''
+ execution time: 0.0
+ expected result: '1. succeed
+
+ 2. assoc response has no erp/xrates/ht, cap.short_slot_time=1, rates=[1/2/5/5/11]
+
+ 3. radiotap rates in [1/2/5/5/11]'
+ initial condition: APM1
+ initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
+ condition APSTA1
+ module: WIFI MAC
+ steps: '1. target set to PHY mode 11b
+
+ 2. 11bg STA connect to SoftAP, capture assoc response
+
+ 3. ping, capture Data'
+ sub module: Phy Mode
+ summary: SoftAP set as 11b, 11g STA connect to AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: SoftAP PHY mode test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
ID: ^WIFI_CONN_0601
SDK: '8266_NonOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
test point 2: list SoftAP connected station
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_ICMP_0101
- SDK: '8266_NonOS
-
- 8266_RTOS
-
- ESP32_IDF'
+ ID: WIFI_PHY_0101
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: 2/3
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 ping -i <pc_ip>
- - ['R SSC1 C +PING:OK']
- - - SSC SSC1 ping -i <pc_ip> -c 2
- - ['R SSC1 C +PING:OK']
+ - - SSC SSC1 phy -S -o 2 -m b
+ - ['R SSC1 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK', 'R CAP PDU (Wlan.frame_ctrl.type_subtype="Management-Beacon")(Wlan.ie_list.erp!)(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates!)(Wlan.capability.short_slot_time="1")(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")']
comment: ''
execution time: 0.0
- expected result: '1.ok
-
- 2.ok'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- module: TCPIP
- steps: '1.ping -i <pc_ip>
+ expected result: 1. beacon has no erp/xrates/ht, cap.short_slot_time=1, rates=[1/2/5/5/11]
+ initial condition: APM1
+ initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
+ condition APSTA1
+ module: WIFI MAC
+ steps: 1. target set to PHY mode 11b, capture beacon
+ sub module: Phy Mode
+ summary: SoftAP set as 11b, check beacon
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 2.ping -i <pc_ip> -c 2'
- sub module: ICMP
- summary: ping function test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- PC has 1 WiFi NIC.
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- 1 SSC target connect with PC by UART.'
+ Put 4 APs near SSC targets.'
test point 1: basic function
- test point 2: ping function test
- version: v1 (2016-8-15)
+ test point 2: SoftAP PHY mode test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
- ID: SYS_MISC_0101
- SDK: '8266_NonOS
-
- 8266_RTOS
-
- ESP32_IDF'
+ ID: WIFI_PHY_0313
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: 2/3
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 reboot
- - [R SSC1 C !!!ready!!!]
+ - - SSC SSC1 phy -S -o 1 -m b
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m n -b 40
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s%20or%20wlan%20addr2%20%%s <target_mac>
+ <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11n_40> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates!)(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates!)(Wlan.capability.short_slot_time="1")(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M")']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp="")(Wlan.ie_list.ht_capabilities.short_gi_for_40="1")(Wlan.ie_list.ht_operation.second_channel_offset!="0","2")(Wlan.ie_list.ht_operation.sta_channel_width="1")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP OR 2 PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")
+ PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.msc="")']
comment: ''
execution time: 0.0
- expected result: 重启成功
- initial condition: None
- initial condition description (auto): none
- module: System
- steps: 系统重启
- sub module: Misc
- summary: test reboot function
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ expected result: '1. succeed
- PC has 1 WiFi NIC.
+ 2. check STA packet
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: sw reboot
- version: v1 (2016-8-15)
-- CI ready: 'Yes'
- ID: TCPIP_ARP_0202
- SDK: '8266_NonOS
+ 3. check SoftAP packet'
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1. set softAP ht40, STA 11b
- 8266_RTOS
+ 2. STA connect to ext AP
- ESP32_IDF'
+ 3. ext STA connect to SoftAP'
+ sub module: Phy Mode
+ summary: SoftAP ht40, STA 11b, get connected and join AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA+SoftAP PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0312
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: 2/3
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - STRING <cap_filter> ether%20src%20%%s%20or%20ether%20dst%20%%s <target_mac>
- <target_mac>
+ - - SSC SSC1 phy -S -o 1 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m n -b 20
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s%20or%20wlan%20addr2%20%%s <target_mac>
+ <target_ap_mac>
- [R PC_COM C OK]
- - - NIC NIC1 START <pc_nic> capture+send+block_arp_ip <cap_filter>
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
- ['R PC_COM C +NIC_START:OK']
- - - NIC NIC1 SEND ARP arp_op_code "request" arp_target_proto_addr "192.168.11.240"
- ethernet_len_type "ARP" ethernet_dst_addr "ff:ff:ff:ff:ff:ff"
- - ['']
- - - DELAY 2
- - [P PC_COM C +DELAYDONE, P NIC1 NPDU (Ethernet.dst_addr=<pc_nic_mac>)(Ethernet.len_type="ARP")]
- - - NIC NIC1 SEND ARP arp_op_code "request" arp_target_proto_addr <target_ip> arp_sender_hw_addr
- "18:18:18:18:18:18" ethernet_len_type "ARP" ethernet_dst_addr "ff:ff:ff:ff:ff:ff"
- - ['']
- - - DELAY 2
- - [P PC_COM C +DELAYDONE, P NIC1 NPDU (Ethernet.dst_addr=<pc_nic_mac>)(Ethernet.len_type="ARP")]
- - - NIC NIC1 SEND ARP arp_op_code "request" arp_target_proto_addr <target_ip> arp_sender_proto_addr
- <target_ip> ethernet_dst_addr "ff:ff:ff:ff:ff:ff"
- - ['']
- - - DELAY 2
- - [P PC_COM C +DELAYDONE, P NIC1 NPDU (Ethernet.dst_addr=<pc_nic_mac>)(Ethernet.len_type="ARP")]
+ - - SSC SSC1 sta -C -s <ap_ssid_11n_40> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities.short_gi_for_40="1")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP OR 2 PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")
+ PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.msc="")']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp="")(Wlan.ie_list.ht_capabilities="")(Wlan.ie_list.ht_operation.second_channel_offset="0")(Wlan.ie_list.ht_operation.sta_channel_width="0")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP OR 2 PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")
+ PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.msc="")']
comment: ''
execution time: 0.0
- expected result: 1. PC can't recv ARP reply from target
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- module: TCPIP
- steps: 1. PC send ARP req with target_hw_addr, sender_hw_addr and sender_proto_addr
- not correct
- sub module: ARP
- summary: PC send invalid ARP request to target 2
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ expected result: '1. succeed
- PC has 1 WiFi NIC.
+ 2. check STA packet
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: handling ARP request
- version: v1 (2015-8-15)
-- CI ready: 'Yes'
- ID: ^TCPIP_DHCP_0302
- SDK: '8266_NonOS
+ 3. check SoftAP packet'
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1. set softAP 11bgn, STA ht40
- 8266_RTOS
+ 2. STA connect to ext AP
- ESP32_IDF'
+ 3. ext STA connect to SoftAP'
+ sub module: Phy Mode
+ summary: SoftAP 11bgn, STA ht40, get connected and join AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA+SoftAP PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0311
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: 2/3
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 dhcp -S -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC1 ip -S -i 192.168.123.123 -o 2
- - ['R SSC1 C +IP:ERROR']
- - - SSC SSC1 dhcp -L -s 192.168.2.2 -e 192.168.2.10
- - ['R SSC1 C +DHCP:LEASE,ERROR']
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
- - ['']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['P SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 dhcp -E -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC1 ip -S -i 192.168.4.1 -o 2
- - ['R SSC1 C +IP:OK']
- - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.10
- - ['R SSC1 C +DHCP:LEASE,OK']
+ - - SSC SSC1 phy -S -o 1 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m n -b 20
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s%20or%20wlan%20addr2%20%%s <target_mac>
+ <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11n_40> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities="")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP OR 2 PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")
+ PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.msc="")']
- - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['']
- - - DELAY 10
- - [P PC_COM C +DELAYDONE, 'P SSC2 NC +JAP:CONNECTED']
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp="")(Wlan.ie_list.ht_capabilities="")(Wlan.ie_list.ht_operation.second_channel_offset="0")(Wlan.ie_list.ht_operation.sta_channel_width="0")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP OR 2 PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")
+ PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.msc="")']
comment: ''
execution time: 0.0
- expected result: '1.target 1 OK
-
- 2.target1 ERROR
-
- 3.target1 ERROR
-
- 4.target2 jap target1 OK
-
- 5.target1 OK
-
- 6.target1 OK
+ expected result: '1. succeed
- 7.target1 OK
+ 2. check STA packet
- 8.target2 jap target1 OK'
+ 3. check SoftAP packet'
initial condition: T2_2
initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
- module: TCPIP
- steps: "1.target1 打开DHCP 2\n2.target1 设置softAP ip 192.168.123.123\n3.target1 设置地址池\n\
- 4.target1下设置ssid 和pwd 加密方式\n5.target2 连接target1 \n6.target1 关闭DHCP 2\n7.target1\
- \ 设置softAP ip \n8.target1 设置正确的地址池\n9.target2 连接target1"
- sub module: DHCP
- summary: ap dhcp static ip interaction
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
+ module: WIFI MAC
+ steps: '1. set softAP 11bgn, STA 11bgn
- PC has 1 WiFi NIC.
+ 2. STA connect to ext AP
- 2 SSC target connect with PC by UART.'
- test point 1: interaction
- test point 2: static IP and DHCP interaction test
- version: v1 (2016-8-15)
-- CI ready: 'Yes'
- ID: ^TCPIP_DHCP_0301
- SDK: '8266_NonOS
+ 3. ext STA connect to SoftAP'
+ sub module: Phy Mode
+ summary: SoftAP 11bgn, STA 11bgn, get connected and join AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 8266_RTOS
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- ESP32_IDF'
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA+SoftAP PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0310
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: 2/3
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 dhcp -E -o 1
- - ['R SSC1 C +DHCP:STA,OK']
- - - SSC SSC1 ip -S -i 192.168.123.123 -o 1
- - ['R SSC1 C +IP:OK']
- - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
- - ['R SSC1 C +JAP:CONNECTED']
- - - SSC SSC1 ip -S -i 0.0.0.0 -o 1
- - ['R SSC1 C +IP:OK']
- - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
- - ['']
- - - DELAY 10
- - [P PC_COM C +DELAYDONE, 'P SSC1 NC +JAP:CONNECTED']
+ - - SSC SSC1 phy -S -o 1 -m g
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m n -b 20
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s%20or%20wlan%20addr2%20%%s <target_mac>
+ <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11n_40> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp="")(Wlan.ie_list.ht_capabilities="")(Wlan.ie_list.ht_operation.second_channel_offset="0")(Wlan.ie_list.ht_operation.sta_channel_width="0")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP OR 2 PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")
+ PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.msc="")']
comment: ''
execution time: 0.0
- expected result: '1.OK
+ expected result: '1. succeed
- 2.OK
+ 2. check STA packet
- 3.JAP CONNETED
+ 3. check SoftAP packet'
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1. set softAP 11bgn, STA 11bg
- 4.OK
+ 2. STA connect to ext AP
- 5.等待10s,JAP fail'
- initial condition: STAAP1
- initial condition description (auto): testing sta on sta + ap mode, quit AP (autogen
- by STAM1)
- module: TCPIP
- steps: '1.target1 关闭DHCP 1
+ 3. ext STA connect to SoftAP'
+ sub module: Phy Mode
+ summary: SoftAP 11bgn, STA 11bg, get connected and join AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 2.target1 设置sta ip 192.168.123.123
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- 4.target1 jap AP
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- 5.target1 设置sta ip 0.0.0.0
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA+SoftAP PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0316
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: 2/3
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 1 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m n -b 40
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s%20or%20wlan%20addr2%20%%s <target_mac>
+ <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11n_40> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities.short_gi_for_40="1")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP OR 2 PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")
+ PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.msc="")']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp="")(Wlan.ie_list.ht_capabilities.short_gi_for_40="1")(Wlan.ie_list.ht_operation.second_channel_offset!="0","2")(Wlan.ie_list.ht_operation.sta_channel_width="1")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP OR 2 PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")
+ PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.msc="")']
+ comment: ''
+ execution time: 0.0
+ expected result: '1. succeed
- 6.target1 jap AP'
- sub module: DHCP
- summary: sta dhcp static ip interaction
+ 2. check STA packet
+
+ 3. check SoftAP packet'
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1. set softAP ht40, STA ht40
+
+ 2. STA connect to ext AP
+
+ 3. ext STA connect to SoftAP'
+ sub module: Phy Mode
+ summary: SoftAP ht40, STA ht40, get connected and join AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA+SoftAP PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0315
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: 2/3
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 1 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m n -b 40
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s%20or%20wlan%20addr2%20%%s <target_mac>
+ <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11n_40> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities="")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP OR 2 PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")
+ PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.msc="")']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp="")(Wlan.ie_list.ht_capabilities.short_gi_for_40="1")(Wlan.ie_list.ht_operation.second_channel_offset!="0","2")(Wlan.ie_list.ht_operation.sta_channel_width="1")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP OR 2 PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")
+ PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.msc="")']
+ comment: ''
+ execution time: 0.0
+ expected result: '1. succeed
+
+ 2. check STA packet
+
+ 3. check SoftAP packet'
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1. set softAP ht40, STA 11bgn
+
+ 2. STA connect to ext AP
+
+ 3. ext STA connect to SoftAP'
+ sub module: Phy Mode
+ summary: SoftAP ht40, STA 11bgn, get connected and join AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA+SoftAP PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0314
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: 2/3
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 1 -m g
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m n -b 40
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s%20or%20wlan%20addr2%20%%s <target_mac>
+ <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11n_40> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp="")(Wlan.ie_list.ht_capabilities.short_gi_for_40="1")(Wlan.ie_list.ht_operation.second_channel_offset!="0","2")(Wlan.ie_list.ht_operation.sta_channel_width="1")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP OR 2 PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")
+ PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.msc="")']
+ comment: ''
+ execution time: 0.0
+ expected result: '1. succeed
+
+ 2. check STA packet
+
+ 3. check SoftAP packet'
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1. set softAP ht40, STA 11bg
+
+ 2. STA connect to ext AP
+
+ 3. ext STA connect to SoftAP'
+ sub module: Phy Mode
+ summary: SoftAP ht40, STA 11bg, get connected and join AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA+SoftAP PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: TCPIP_ICMP_0101
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: 1/5
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 ping -i <pc_ip>
+ - ['R SSC1 C +PING:OK']
+ - - SSC SSC1 ping -i <pc_ip> -c 2
+ - ['R SSC1 C +PING:OK']
+ comment: ''
+ execution time: 0.0
+ expected result: '1.ok
+
+ 2.ok'
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
+ module: TCPIP
+ steps: '1.ping -i <pc_ip>
+
+ 2.ping -i <pc_ip> -c 2'
+ sub module: ICMP
+ summary: ping function test
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
1 SSC target connect with PC by UART.'
- test point 1: interaction
- test point 2: static IP and DHCP interaction test
+ test point 1: basic function
+ test point 2: ping function test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_UDP_0113
+ ID: SYS_MISC_0101
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port2>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port3>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port4>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port5>
- - ['R SSC1 RE BIND:(\d+),OK']
+ - - SSC SSC1 reboot
+ - [R SSC1 C !!!ready!!!]
comment: ''
execution time: 0.0
- expected result: '1.ok
+ expected result: 重启成功
+ initial condition: None
+ initial condition description (auto): none
+ module: System
+ steps: 系统重启
+ sub module: Misc
+ summary: test reboot function
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
- 2.ok
+ PC has 1 WiFi NIC.
- 3.ok
+ 1 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: sw reboot
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: TCPIP_ARP_0202
+ SDK: '8266_NonOS
- 4.ok
+ 8266_RTOS
- 5.ok'
- initial condition: APSTA2
- initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
- by APM2)
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - STRING <cap_filter> ether%20src%20%%s%20or%20ether%20dst%20%%s <target_mac>
+ <target_mac>
+ - [R PC_COM C OK]
+ - - NIC NIC1 START <pc_nic> capture+send+block_arp_ip <cap_filter>
+ - ['R PC_COM C +NIC_START:OK']
+ - - NIC NIC1 SEND ARP arp_op_code "request" arp_target_proto_addr "192.168.11.240"
+ ethernet_len_type "ARP" ethernet_dst_addr "ff:ff:ff:ff:ff:ff"
+ - ['']
+ - - DELAY 2
+ - [P PC_COM C +DELAYDONE, P NIC1 NPDU (Ethernet.dst_addr=<pc_nic_mac>)(Ethernet.len_type="ARP")]
+ - - NIC NIC1 SEND ARP arp_op_code "request" arp_target_proto_addr <target_ip> arp_sender_hw_addr
+ "18:18:18:18:18:18" ethernet_len_type "ARP" ethernet_dst_addr "ff:ff:ff:ff:ff:ff"
+ - ['']
+ - - DELAY 2
+ - [P PC_COM C +DELAYDONE, P NIC1 NPDU (Ethernet.dst_addr=<pc_nic_mac>)(Ethernet.len_type="ARP")]
+ - - NIC NIC1 SEND ARP arp_op_code "request" arp_target_proto_addr <target_ip> arp_sender_proto_addr
+ <target_ip> ethernet_dst_addr "ff:ff:ff:ff:ff:ff"
+ - ['']
+ - - DELAY 2
+ - [P PC_COM C +DELAYDONE, P NIC1 NPDU (Ethernet.dst_addr=<pc_nic_mac>)(Ethernet.len_type="ARP")]
+ comment: ''
+ execution time: 0.0
+ expected result: 1. PC can't recv ARP reply from target
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
module: TCPIP
- steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
-
- 2.target1上UDP传输,Bind socket2,本地ip target_udp_port2
-
- 3.target1上UDP传输,Bind socket3,本地ip target_udp_port3
-
- 4.target1上UDP传输,Bind socket4,本地ip target_udp_port4
-
- 5.target1上UDP传输,Bind socket5,本地ip target_udp_port5'
- sub module: UDP
- summary: AP mode, create max udp socket test
+ steps: 1. PC send ARP req with target_hw_addr, sender_hw_addr and sender_proto_addr
+ not correct
+ sub module: ARP
+ summary: PC send invalid ARP request to target 2
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
+ test point 1: abnormal/special use
+ test point 2: handling ARP request
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
- ID: TCPIP_DHCP_0302
+ ID: ^TCPIP_DHCP_0302
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
7.target1 OK
8.target2 jap target1 OK'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
module: TCPIP
steps: "1.target1 打开DHCP 2\n2.target1 设置softAP ip 192.168.123.123\n3.target1 设置地址池\n\
4.target1下设置ssid 和pwd 加密方式\n5.target2 连接target1 \n6.target1 关闭DHCP 2\n7.target1\
- \ 设置softAP ip \n8.target1 设置正确的地址池\n9.target2 连接target1 "
+ \ 设置softAP ip \n8.target1 设置正确的地址池\n9.target2 连接target1"
sub module: DHCP
summary: ap dhcp static ip interaction
test environment: SSC_T2_1
test point 2: static IP and DHCP interaction test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_DHCP_0301
+ ID: ^TCPIP_DHCP_0301
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
4.OK
5.等待10s,JAP fail'
- initial condition: STAM1
- initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
- TC with initial condition STAAP1
+ initial condition: STAAP1
+ initial condition description (auto): testing sta on sta + ap mode, quit AP (autogen
+ by STAM1)
module: TCPIP
steps: '1.target1 关闭DHCP 1
test point 2: static IP and DHCP interaction test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: SYS_MISC_0201
+ ID: ^TCPIP_UDP_0113
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 ram -H
- - ['R SSC1 RE FREEHEAP:\d+\r\n']
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC1 RE BIND:(\d+),OK']
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port2>
+ - ['R SSC1 RE BIND:(\d+),OK']
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port3>
+ - ['R SSC1 RE BIND:(\d+),OK']
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port4>
+ - ['R SSC1 RE BIND:(\d+),OK']
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port5>
+ - ['R SSC1 RE BIND:(\d+),OK']
+ comment: ''
+ execution time: 0.0
+ expected result: '1.ok
+
+ 2.ok
+
+ 3.ok
+
+ 4.ok
+
+ 5.ok'
+ initial condition: APSTA2
+ initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
+ by APM2)
+ module: TCPIP
+ steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+
+ 2.target1上UDP传输,Bind socket2,本地ip target_udp_port2
+
+ 3.target1上UDP传输,Bind socket3,本地ip target_udp_port3
+
+ 4.target1上UDP传输,Bind socket4,本地ip target_udp_port4
+
+ 5.target1上UDP传输,Bind socket5,本地ip target_udp_port5'
+ sub module: UDP
+ summary: AP mode, create max udp socket test
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: use UDP SAP (socket/espconn API) with different parameter
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: TCPIP_DHCP_0302
+ 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 -i 192.168.123.123 -o 2
+ - ['R SSC1 C +IP:ERROR']
+ - - SSC SSC1 dhcp -L -s 192.168.2.2 -e 192.168.2.10
+ - ['R SSC1 C +DHCP:LEASE,ERROR']
+ - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
+ - ['']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED']
+ - - SSC SSC1 dhcp -E -o 2
+ - ['R SSC1 C +DHCP:AP,OK']
+ - - SSC SSC1 ip -S -i 192.168.4.1 -o 2
+ - ['R SSC1 C +IP:OK']
+ - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.10
+ - ['R SSC1 C +DHCP:LEASE,OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['']
+ - - DELAY 10
+ - [P PC_COM C +DELAYDONE, 'P SSC2 NC +JAP:CONNECTED']
+ comment: ''
+ execution time: 0.0
+ expected result: '1.target 1 OK
+
+ 2.target1 ERROR
+
+ 3.target1 ERROR
+
+ 4.target2 jap target1 OK
+
+ 5.target1 OK
+
+ 6.target1 OK
+
+ 7.target1 OK
+
+ 8.target2 jap target1 OK'
+ initial condition: T2_1
+ initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
+ autogen a TC with initial condition T2_2
+ module: TCPIP
+ steps: "1.target1 打开DHCP 2\n2.target1 设置softAP ip 192.168.123.123\n3.target1 设置地址池\n\
+ 4.target1下设置ssid 和pwd 加密方式\n5.target2 连接target1 \n6.target1 关闭DHCP 2\n7.target1\
+ \ 设置softAP ip \n8.target1 设置正确的地址池\n9.target2 连接target1 "
+ sub module: DHCP
+ summary: ap dhcp static ip interaction
+ test environment: SSC_T2_1
+ test environment description (auto): 'PC has 1 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 2 SSC target connect with PC by UART.'
+ test point 1: interaction
+ test point 2: static IP and DHCP interaction test
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: TCPIP_DHCP_0301
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 dhcp -E -o 1
+ - ['R SSC1 C +DHCP:STA,OK']
+ - - SSC SSC1 ip -S -i 192.168.123.123 -o 1
+ - ['R SSC1 C +IP:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
+ - ['R SSC1 C +JAP:CONNECTED']
+ - - SSC SSC1 ip -S -i 0.0.0.0 -o 1
+ - ['R SSC1 C +IP:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
+ - ['']
+ - - DELAY 10
+ - [P PC_COM C +DELAYDONE, 'P SSC1 NC +JAP:CONNECTED']
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
+
+ 2.OK
+
+ 3.JAP CONNETED
+
+ 4.OK
+
+ 5.等待10s,JAP fail'
+ initial condition: STAM1
+ initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
+ TC with initial condition STAAP1
+ module: TCPIP
+ steps: '1.target1 关闭DHCP 1
+
+ 2.target1 设置sta ip 192.168.123.123
+
+ 4.target1 jap AP
+
+ 5.target1 设置sta ip 0.0.0.0
+
+ 6.target1 jap AP'
+ sub module: DHCP
+ summary: sta dhcp static ip interaction
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: interaction
+ test point 2: static IP and DHCP interaction test
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: SYS_MISC_0201
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 ram -H
+ - ['R SSC1 RE FREEHEAP:\d+\r\n']
comment: ''
execution time: 0.0
expected result: '
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: 1/5
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: 1/5
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: 1/5
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
test point 2: wifi connect status check
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_DNS_0102
- SDK: '8266_NonOS
-
- 8266_RTOS
-
- ESP32_IDF'
+ ID: WIFI_PHY_0308
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: 2/3
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 soc -H -d iot.espressif.cn
- - ['R SSC1 A <ip_addr>:\+HOSTIP:OK,(.+)\r\n']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <ip_addr> -p 9001
- - ['R SSC1 RE \+CONNECT:\d+,OK']
- - - SSC SSC1 soc -S -s <sock1> -l 10
- - ['P SSC1 RE \+SEND:\d+,OK', P SSC1 SL <sock1>+10]
+ - - SSC SSC1 phy -S -o 1 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m g
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m g
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s%20or%20wlan%20addr2%20%%s <target_mac>
+ <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11n_40> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities.short_gi_for_40="1")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP OR 2 PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")
+ PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.msc="")']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp="")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")']
comment: ''
execution time: 0.0
- expected result: '1.OK
+ expected result: '1. succeed
- 2.OK
+ 2. check STA packet
- 3.OK
+ 3. check SoftAP packet'
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1. set softAP 11bg, STA ht40
- 4.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- module: TCPIP
- steps: '1. get host name "espressif.cn"
+ 2. STA connect to ext AP
- 2. connect, send, recv1. get host name "espressif.cn"
+ 3. ext STA connect to SoftAP'
+ sub module: Phy Mode
+ summary: SoftAP 11bg, STA ht40, get connected and join AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 2. connect, send, recv'
- sub module: DNS
- summary: TCP connect to iot.espressif.com
- test environment: SSC_T1_2
- test environment description (auto): 'Able to access WAN after connect to AP.
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- 1 SSC target connect with PC by UART.'
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
test point 1: basic function
- test point 2: DNS function test
- version: v1 (2016-8-15)
+ test point 2: STA+SoftAP PHY mode test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
- ID: TCPIP_DNS_0101
- SDK: '8266_NonOS
-
- 8266_RTOS
-
- ESP32_IDF'
+ ID: WIFI_PHY_0309
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: 2/3
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 soc -H -d iot.espressif.cn
- - ['R SSC1 C +HOSTIP:OK,115.29.202.58']
+ - - SSC SSC1 phy -S -o 1 -m b
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m n -b 20
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s%20or%20wlan%20addr2%20%%s <target_mac>
+ <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11n_40> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates!)(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates!)(Wlan.capability.short_slot_time="1")(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M")']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp="")(Wlan.ie_list.ht_capabilities="")(Wlan.ie_list.ht_operation.second_channel_offset="0")(Wlan.ie_list.ht_operation.sta_channel_width="0")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP OR 2 PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")
+ PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.msc="")']
comment: ''
execution time: 0.0
- expected result: 1.OK
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- module: TCPIP
- steps: 1. get host name "espressif.cn"
- sub module: DNS
- summary: get host by name test
- test environment: SSC_T1_2
- test environment description (auto): 'Able to access WAN after connect to AP.
+ expected result: '1. succeed
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: DNS function test
- version: v1 (2016-8-15)
-- CI ready: 'Yes'
- ID: WIFI_CONN_0904
- SDK: '8266_NonOS
+ 2. check STA packet
- 8266_RTOS
+ 3. check SoftAP packet'
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1. set softAP 11bgn, STA 11b
- ESP32_IDF'
+ 2. STA connect to ext AP
+
+ 3. ext STA connect to SoftAP'
+ sub module: Phy Mode
+ summary: SoftAP 11bgn, STA 11b, get connected and join AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA+SoftAP PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0304
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: 2/3
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 3 -m 1
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -C -s <random_string> -p 1234567890
- - ['R SSC2 C +JAP:DISCONNECTED,1,204']
- - - SSC SSC2 sta -D
- - ['R SSC2 C +QAP:OK']
- - - WIFI <pc_wifi_nic> CONN <random_string> <random_string> <pc_ip_wifi>
- - ['R PC_COM NC ERROR C +WIFICONN:OK']
- - - SSC SSC2 sta -C -s <random_string> -p <random_string>
- - ['R SSC2 C +JAP:DISCONNECTED,1,5']
- - - WIFI <pc_wifi_nic> DISCONN
- - [P PC_COM C OK, 'R SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 3 -m 1
- - ['P SSC1 C +SAP:OK', 'P SSC2 C +JAP:DISCONNECTED,5,4']
+ - - SSC SSC1 phy -S -o 1 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m b
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m b
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s%20or%20wlan%20addr2%20%%s <target_mac>
+ <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11n_40> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities.short_gi_for_40="1")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP OR 2 PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")
+ PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.msc="")']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp!)(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates!)(Wlan.capability.short_slot_time="1")(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M")']
comment: ''
execution time: 0.0
expected result: '1. succeed
- 2. disconnect event REASON_HANDSHAKE_TIMEOUT
+ 2. check STA packet
- 3. succeed
+ 3. check SoftAP packet'
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1. set softAP 11b, STA ht40
- 4. succeed
+ 2. STA connect to ext AP
- 5. disconnect event REASON_ASSOC_TOOMANY
+ 3. ext STA connect to SoftAP'
+ sub module: Phy Mode
+ summary: SoftAP 11b, STA ht40, get connected and join AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 6. succeed, target2 connect succeed
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- 7. disconnect event REASON_ASSOC_EXPIRE'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- module: WIFI MAC
- steps: '1. config target1 softap max sta allowed 1
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- 2. target2 connect to target1 with wrong password
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA+SoftAP PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0305
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: 2/3
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 1 -m b
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m g
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m g
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s%20or%20wlan%20addr2%20%%s <target_mac>
+ <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11n_40> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates!)(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates!)(Wlan.capability.short_slot_time="1")(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M")']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp="")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")']
+ comment: ''
+ execution time: 0.0
+ expected result: '1. succeed
- 3. target2 disconnect
+ 2. check STA packet
- 4. PC WIFI NIC connect to target1
+ 3. check SoftAP packet'
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1. set softAP 11bg, STA 11b
- 5. target2 connect to target1 with correct password
+ 2. STA connect to ext AP
- 6. PC WIFI NIC disconnect
+ 3. ext STA connect to SoftAP'
+ sub module: Phy Mode
+ summary: SoftAP 11bg, STA 11b, get connected and join AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 7. reconfig softap'
- sub module: WIFI Connect
- summary: test wifi disconnect reason REASON_ASSOC_TOOMANY, REASON_HANDSHAKE_TIMEOUT,
- REASON_ASSOC_EXPIRE
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- PC has 1 WiFi NIC.
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- 2 SSC target connect with PC by UART.'
+ Put 4 APs near SSC targets.'
test point 1: basic function
- test point 2: wifi disconnect reason test
- version: v1 (2016-8-15)
+ test point 2: STA+SoftAP PHY mode test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
- ID: TCPIP_IP_0101
- SDK: '8266_NonOS
-
- 8266_RTOS
-
- ESP32_IDF'
+ ID: WIFI_PHY_0306
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: 2/3
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']
+ - - SSC SSC1 phy -S -o 1 -m g
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m g
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m g
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s%20or%20wlan%20addr2%20%%s <target_mac>
+ <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11n_40> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp="")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")']
comment: ''
execution time: 0.0
- expected result: '1.OK
+ expected result: '1. succeed
- 2.ERROR
+ 2. check STA packet
- 3.OK
+ 3. check SoftAP packet'
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1. set softAP 11bg, STA 11bg
- 4.OK
+ 2. STA connect to ext AP
- 5.STAIP:192.168.123.123'
- initial condition: STAM1
- initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
- TC with initial condition STAAP1
- module: TCPIP
- steps: '1.target1 打开DHCP 1
+ 3. ext STA connect to SoftAP'
+ sub module: Phy Mode
+ summary: SoftAP 11bg, STA 11bg, get connected and join AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 2.target1 设置sta ip 192.168.123.123
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- 4.target1 关闭DHCP 1
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- 5.target1 设置sta ip 192.168.123.123
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA+SoftAP PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0307
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: 2/3
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 1 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m g
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m g
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s%20or%20wlan%20addr2%20%%s <target_mac>
+ <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11n_40> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities="")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP OR 2 PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")
+ PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.msc="")']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp="")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")']
+ comment: ''
+ execution time: 0.0
+ expected result: '1. succeed
- 6.target1 查询 当前sta ip '
- sub module: IP
- summary: sta set and query static ip test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ 2. check STA packet
- PC has 1 WiFi NIC.
+ 3. check SoftAP packet'
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1. set softAP 11bg, STA 11bgn
- 1 SSC target connect with PC by UART.'
+ 2. STA connect to ext AP
+
+ 3. ext STA connect to SoftAP'
+ sub module: Phy Mode
+ summary: SoftAP 11bg, STA 11bgn, get connected and join AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
test point 1: basic function
- test point 2: set and query static IP
- version: v1 (2016-8-15)
+ test point 2: STA+SoftAP PHY mode test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
- ID: TCPIP_IP_0102
+ ID: TCPIP_DNS_0102
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: 3/5
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']
+ - - SSC SSC1 soc -H -d iot.espressif.cn
+ - ['R SSC1 A <ip_addr>:\+HOSTIP:OK,(.+)\r\n']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <ip_addr> -p 9001
+ - ['R SSC1 RE \+CONNECT:\d+,OK']
+ - - SSC SSC1 soc -S -s <sock1> -l 10
+ - ['P SSC1 RE \+SEND:\d+,OK', P SSC1 SL <sock1>+10]
comment: ''
execution time: 0.0
expected result: '1.OK
- 2.ERROR
+ 2.OK
3.OK
- 4.OK
-
- 5.APIP:192.168.123.123
-
- 6.OK'
- initial condition: APM1
- initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
- condition APSTA1
+ 4.OK'
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
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
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ steps: '1. get host name "espressif.cn"
- PC has 1 WiFi NIC.
+ 2. connect, send, recv1. get host name "espressif.cn"
+
+ 2. connect, send, recv'
+ sub module: DNS
+ summary: TCP connect to iot.espressif.com
+ test environment: SSC_T1_2
+ test environment description (auto): 'Able to access WAN after connect to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: set and query static IP
+ test point 2: DNS function test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^WIFI_CONN_0201
- SDK: '8266_NonOS
-
- 8266_RTOS
-
- ESP32_IDF'
+ ID: WIFI_PHY_0301
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: 2/3
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
- - ['R SSC1 RE "\+JAP:CONNECTED,%%s"%%(<ap_ssid>)']
- - - SSC SSC1 sta -Q
- - ['R SSC1 RE "\+JAP:CONNECTED,%%s"%%(<ap_ssid>)']
- - - SSC SSC1 sta -D
- - ['R SSC1 C +QAP:OK']
- - - SSC SSC1 sta -Q
- - ['R SSC1 C +JAP:DISCONNECTED']
+ - - SSC SSC1 phy -S -o 1 -m b
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m b
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m b
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s%20or%20wlan%20addr2%20%%s <target_mac>
+ <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11n_40> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates!)(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates!)(Wlan.capability.short_slot_time="1")(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M")']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp!)(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates!)(Wlan.capability.short_slot_time="1")(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M")']
comment: ''
execution time: 0.0
- expected result: '1.target1 jion AP 成功
-
- 2.查询JAP的状态
+ expected result: '1. succeed
- 3.target1 断开AP
+ 2. check STA packet
- 4.查询target1 JAP 是DISCONN'
- initial condition: STAAP1
- initial condition description (auto): testing sta on sta + ap mode, quit AP (autogen
- by STAM1)
+ 3. check SoftAP packet'
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
module: WIFI MAC
- steps: '1.target1 jion AP 成功
+ steps: '1. set softAP 11b, STA 11b
- 2.查询JAP的状态
+ 2. STA connect to ext AP
- 3.target1 断开AP
+ 3. ext STA connect to SoftAP'
+ sub module: Phy Mode
+ summary: SoftAP 11b, STA 11b, get connected and join AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 4.查询target1 JAP 是DISCONN'
- sub module: WIFI Connect
- summary: JAP query test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- PC has 1 WiFi NIC.
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- 1 SSC target connect with PC by UART.'
+ Put 4 APs near SSC targets.'
test point 1: basic function
- test point 2: query JAP status
- version: v1 (2016-8-15)
+ test point 2: STA+SoftAP PHY mode test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_IGMP_0102
- SDK: '8266_NonOS
-
- 8266_RTOS
-
- ESP32_IDF'
+ ID: WIFI_PHY_0302
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: 2/3
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.2
- - ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -L -h 192.168.237.77 -m 224.1.1.1
- - ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -L -h 192.168.237.77 -m 240.1.1.1
- - ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
+ - - SSC SSC1 phy -S -o 1 -m g
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m b
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m b
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s%20or%20wlan%20addr2%20%%s <target_mac>
+ <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11n_40> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp!)(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates!)(Wlan.capability.short_slot_time="1")(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M")']
comment: ''
execution time: 0.0
- expected result: '1. success
-
- 2. failed
-
- 3. failed
-
- 4. failed
+ expected result: '1. succeed
- 5. succeed'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
- module: TCPIP
- steps: '1. join group with correct host addr and multicast addr
+ 2. check STA packet
- 2. leave group with correct host addr and wrong multicast addr
+ 3. check SoftAP packet'
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1. set softAP 11b, STA 11bg
- 3. leave group with wrong host addr and correct multicast addr
+ 2. STA connect to ext AP
- 4. leave group with wrong host addr and wrong multicast addr
+ 3. ext STA connect to SoftAP'
+ sub module: Phy Mode
+ summary: SoftAP 11b, STA 11bg, get connected and join AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 5. leave group with correct host addr and correct multicast addr'
- sub module: IGMP
- summary: station IGMP leave group address check
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- PC has 1 WiFi NIC.
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- 1 SSC target connect with PC by UART.'
+ Put 4 APs near SSC targets.'
test point 1: basic function
- test point 2: IGMP API parameter check
- version: v1 (2016-8-15)
+ test point 2: STA+SoftAP PHY mode test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_IGMP_0101
+ ID: TCPIP_DNS_0101
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: 3/5
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 igmp -J -h <target_ip> -m 223.1.1.1
- - ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -J -h <target_ip> -m 240.1.1.1
- - ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -J -h 192.168.237.77 -m 224.1.1.1
- - ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -J -h 192.168.237.77 -m 240.1.1.1
- - ['R SSC1 C +IGMP:ERROR']
+ - - SSC SSC1 soc -H -d iot.espressif.cn
+ - ['R SSC1 C +HOSTIP:OK,115.29.202.58']
comment: ''
execution time: 0.0
- expected result: '1. success
-
- 2. failed
-
- 3. failed
-
- 4. failed'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
+ expected result: 1.OK
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
module: TCPIP
- steps: '1. join group with correct host addr and multicast addr
-
- 2. join group with correct host addr and wrong multicast addr
-
- 3. join group with wrong host addr and correct multicast addr
-
- 4. join group with wrong host addr and wrong multicast addr'
- sub module: IGMP
- summary: station IGMP join group address check
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
-
- PC has 1 WiFi NIC.
+ steps: 1. get host name "espressif.cn"
+ sub module: DNS
+ summary: get host by name test
+ test environment: SSC_T1_2
+ test environment description (auto): 'Able to access WAN after connect to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: IGMP API parameter check
+ test point 2: DNS function test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_IGMP_0104
- SDK: '8266_NonOS
-
- 8266_RTOS
-
- ESP32_IDF'
+ ID: WIFI_PHY_0403
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.2
- - ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -L -h 192.168.237.77 -m 224.1.1.1
- - ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -L -h 192.168.237.77 -m 240.1.1.1
- - ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
+ - - SSC SSC1 phy -S -o 1 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m n -b 20
+ - ['R SSC2 C +PHY:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_c1_ht40> -p <ap_password_phy>
+ - ['R SSC1 C +JAP:CONNECTED']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['']
+ - - DELAY 10
+ - ['P SSC1 NC +JAP:DISCONNECTED', 'P SSC2 C +JAP:CONNECTED']
comment: ''
execution time: 0.0
- expected result: '1. success
-
- 2. failed
-
- 3. failed
-
- 4. failed
-
- 5. succeed'
- initial condition: APSTA2
- initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
- by APM2)
- module: TCPIP
- steps: '1. join group with correct host addr and multicast addr
-
- 2. leave group with correct host addr and wrong multicast addr
+ expected result: 3. SoftAP and STA in channel2, SoftAP 20M, STA 40M, STA not disconnected
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1. SoftAP 11n ht20, in channel1, ext AP 11n ht40, in channel2
- 3. leave group with wrong host addr and correct multicast addr
+ 2. STA connect to ext AP
- 4. leave group with wrong host addr and wrong multicast addr
+ 3. AP get connected'
+ sub module: Phy Mode
+ summary: SoftAP ext AP in defferent channel, SoftAP 20M, ext AP 40M, STA connect
+ to AP then Softap get connected
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 5. leave group with correct host addr and correct multicast addr'
- sub module: IGMP
- summary: softAP IGMP leave group address check
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- PC has 1 WiFi NIC.
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- 1 SSC target connect with PC by UART.'
+ Put 4 APs near SSC targets.'
test point 1: basic function
- test point 2: IGMP API parameter check
- version: v1 (2016-8-15)
+ test point 2: STA+SoftAP initial channel test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
- ID: ^WIFI_CONN_0703
+ ID: WIFI_CONN_0904
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 sta -C -s <wep_ap_ssid> -p bacfd
- - ['R SSC1 C +JAP:DISCONNECTED,4,2']
+ - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 3 -m 1
+ - ['R SSC1 C +SAP:OK']
+ - - SSC SSC2 sta -C -s <random_string> -p 1234567890
+ - ['R SSC2 C +JAP:DISCONNECTED,1,204']
+ - - SSC SSC2 sta -D
+ - ['R SSC2 C +QAP:OK']
+ - - WIFI <pc_wifi_nic> CONN <random_string> <random_string> <pc_ip_wifi>
+ - ['R PC_COM NC ERROR C +WIFICONN:OK']
+ - - SSC SSC2 sta -C -s <random_string> -p <random_string>
+ - ['R SSC2 C +JAP:DISCONNECTED,1,5']
+ - - WIFI <pc_wifi_nic> DISCONN
+ - [P PC_COM C OK, 'R SSC2 C +JAP:CONNECTED']
+ - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 3 -m 1
+ - ['P SSC1 C +SAP:OK', 'P SSC2 C +JAP:DISCONNECTED,5,4']
comment: ''
execution time: 0.0
- expected result: 1. connect status connect fail in disconnect evnet
- initial condition: STAAP1
- initial condition description (auto): testing sta on sta + ap mode, quit AP (autogen
- by STAM1)
+ expected result: '1. succeed
+
+ 2. disconnect event REASON_HANDSHAKE_TIMEOUT
+
+ 3. succeed
+
+ 4. succeed
+
+ 5. disconnect event REASON_ASSOC_TOOMANY
+
+ 6. succeed, target2 connect succeed
+
+ 7. disconnect event REASON_ASSOC_EXPIRE'
+ initial condition: T2_1
+ initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
+ autogen a TC with initial condition T2_2
module: WIFI MAC
- steps: 1. connect WEP ap with error password (valid wep password)
+ steps: '1. config target1 softap max sta allowed 1
+
+ 2. target2 connect to target1 with wrong password
+
+ 3. target2 disconnect
+
+ 4. PC WIFI NIC connect to target1
+
+ 5. target2 connect to target1 with correct password
+
+ 6. PC WIFI NIC disconnect
+
+ 7. reconfig softap'
sub module: WIFI Connect
- summary: check wifi status connect fail
- test environment: SSC_T1_WEP
- test environment description (auto): '1 SSC target connect with PC by UART.
+ summary: test wifi disconnect reason REASON_ASSOC_TOOMANY, REASON_HANDSHAKE_TIMEOUT,
+ REASON_ASSOC_EXPIRE
+ test environment: SSC_T2_1
+ test environment description (auto): 'PC has 1 wired NIC connected to AP.
- One WEP share key AP placed near SSC1.'
+ PC has 1 WiFi NIC.
+
+ 2 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: wifi connect status check
+ test point 2: wifi disconnect reason test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_UDP_0110
+ ID: TCPIP_IP_0101
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1]
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1472
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1472]
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1473
- - ['P SSC1 RE SEND:(\d+),OK', P SOC_COM NC SOC_RECVFROM]
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1472 -n 10
- -j 20
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 14720]
+ - - 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']
comment: ''
execution time: 0.0
expected result: '1.OK
- 2.OK
+ 2.ERROR
3.OK
4.OK
- 5.OK,没收到UDP包
-
- 6.OK'
- initial condition: APSTA2
- initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
- by APM2)
+ 5.STAIP:192.168.123.123'
+ initial condition: STAM1
+ initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
+ TC with initial condition STAAP1
module: TCPIP
- steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
-
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+ steps: '1.target1 打开DHCP 1
- 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1字节数据
+ 2.target1 设置sta ip 192.168.123.123
- 4.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472字节数据
+ 4.target1 关闭DHCP 1
- 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1473字节数据
+ 5.target1 设置sta ip 192.168.123.123
- 6.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472*10字节数据'
- sub module: UDP
- summary: AP mode, sendto test with different length
+ 6.target1 查询 当前sta ip '
+ sub module: IP
+ summary: sta set and query static ip test
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
+ test point 2: set and query static IP
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^WIFI_SCAN_0102
+ ID: TCPIP_IP_0102
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC2 sta -S -b ff:ff:ff:ff:ff:11
- - ['R SSC2 NC +SCAN: C +SCANDONE']
- - - SSC SSC2 sta -S -b <target_ap_mac>
- - ['R SSC2 RE "\+SCAN:.+,%%s"%%(<target_ap_mac>)', 'R SSC2 NC +SCAN: C +SCANDONE']
- comment: ''
- execution time: 0.0
- expected result: '1.target2 上不能查询到此mac
-
- 2.target2上查询到<target_ap_mac>'
- initial condition: T2_2
- initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
- module: WIFI MAC
- steps: '1.target2 上查询此macff:ff:ff:ff:ff:11
-
- 2.target2上查询<target_ap_mac>'
- sub module: WIFI Scan
- summary: scan with scan config bssid
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
-
- PC has 1 WiFi NIC.
-
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: scan with different config
- version: v1 (2016-8-15)
-- CI ready: 'Yes'
- ID: ^WIFI_SCAN_0103
- SDK: '8266_NonOS
-
- 8266_RTOS
-
- ESP32_IDF'
- Test App: SSC
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 sta -D
- - ['R SSC1 C +QAP:']
- - - SSC SSC1 ap -S -s <target_tmp_ssid> -p 123456789 -t 3 -n 6
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -S -n 5
- - [R SSC2 NP <target_tmp_ssid> C +SCANDONE]
- - - SSC SSC2 sta -S -n 6
- - ['R SSC2 C +SCAN:', R SSC2 P <target_tmp_ssid>]
+ - - 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']
comment: ''
execution time: 0.0
- expected result: '1.target1 QAP
-
- 2. target1 set AP,set channel 6
+ expected result: '1.OK
- 3.target2 上scan不到 channel 5
+ 2.ERROR
- 4.target2 上查询channel 6的<target_tmp_ssid>'
- initial condition: T2_2
- initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
- module: WIFI MAC
- steps: '1.target1 断开连接AP
+ 3.OK
- 2.target1下设置ssid 和pwd 加密方式,set channel 6
+ 4.OK
- 3.target2 上scan channel 5
+ 5.APIP:192.168.123.123
- 4.target2 上查询channel 6的<target_tmp_ssid>'
- sub module: WIFI Scan
- summary: scan with scan config channel
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
+ 6.OK'
+ initial condition: APM1
+ initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
+ condition APSTA1
+ 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
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
+ 1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: scan with different config
+ test point 2: set and query static IP
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^WIFI_SCAN_0104
+ ID: ^WIFI_CONN_0201
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 ap -S -s <target_tmp_ssid> -p 123456789 -t 3 -h 0
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -S -h 0
- - [R SSC2 P <target_tmp_ssid> C +SCANDONE]
- - - SSC SSC2 sta -S -h 1
- - [R SSC2 P <target_tmp_ssid> C +SCANDONE]
- - - SSC SSC1 ap -S -s <target_tmp_ssid> -p 123456789 -h 1
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -S -h 0
- - [R SSC2 NP <target_tmp_ssid> C +SCANDONE]
- - - SSC SSC2 sta -S -h 1
- - [R SSC2 P <target_ap_mac> C +SCANDONE]
+ - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
+ - ['R SSC1 RE "\+JAP:CONNECTED,%%s"%%(<ap_ssid>)']
+ - - SSC SSC1 sta -Q
+ - ['R SSC1 RE "\+JAP:CONNECTED,%%s"%%(<ap_ssid>)']
+ - - SSC SSC1 sta -D
+ - ['R SSC1 C +QAP:OK']
+ - - SSC SSC1 sta -Q
+ - ['R SSC1 C +JAP:DISCONNECTED']
comment: ''
execution time: 0.0
- expected result: '1.target1 set AP,set ssid broad cast
-
- 2.target 2上scan <target_tmp_ssid>
-
- 3.target 2上scan <target_tmp_ssid>
+ expected result: '1.target1 jion AP 成功
- 4.target1 set AP,set ssid hidden,
+ 2.查询JAP的状态
- 5.target 2上不能查询到 <target_tmp_ssid>
+ 3.target1 断开AP
- 6.target 2上查询到<target_ap_mac>'
- initial condition: T2_2
- initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ 4.查询target1 JAP 是DISCONN'
+ initial condition: STAAP1
+ initial condition description (auto): testing sta on sta + ap mode, quit AP (autogen
+ by STAM1)
module: WIFI MAC
- steps: '1.target1下设置ssid 和pwd 加密方式,set ssid broad cast
-
- 2.target 2上scan <target_tmp_ssid>
-
- 3.target 2上scan <target_tmp_ssid>
+ steps: '1.target1 jion AP 成功
- 4.target1下设置ssid 和pwd 加密方式,set ssid hidden,
+ 2.查询JAP的状态
- 5.target 2上查询 <target_tmp_ssid>
+ 3.target1 断开AP
- 6.target 2上查询<target_ap_mac>'
- sub module: WIFI Scan
- summary: scan with scan config show hidden
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
+ 4.查询target1 JAP 是DISCONN'
+ sub module: WIFI Connect
+ summary: JAP query test
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
+ 1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: scan with different config
+ test point 2: query JAP status
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^WIFI_SCAN_0105
- SDK: '8266_NonOS
-
- 8266_RTOS
-
- ESP32_IDF'
+ ID: WIFI_PHY_0110
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: 2/3
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 sta -D
- - ['R SSC1 C +QAP:']
- - - SSC SSC1 ap -S -s <target_tmp_ssid> -p 123456789 -t 3 -h 0 -n 11
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -S -s <target_tmp_ssid> -b <target_ap_mac> -n 11
- - [R SSC2 P <target_tmp_ssid> C +SCANDONE]
- - - SSC SSC2 sta -S -s <target_ssid> -b <target_ap_mac> -n 11
- - [R SSC2 NP <target_tmp_ssid> C +SCANDONE]
- - - SSC SSC2 sta -S -s <target_tmp_ssid> -b ff:ff:ff:ff:ff:11 -n 11
- - [R SSC2 P <target_tmp_ssid>, R SSC2 NP <target_tmp_ssid> C +SCANDONE]
- - - SSC SSC2 sta -S -s <target_tmp_ssid> -b <target_ap_mac> -n 10
- - [R SSC2 P <target_tmp_ssid>, R SSC2 NP <target_tmp_ssid> C +SCANDONE]
+ - - SSC SSC1 phy -S -o 2 -m g
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m n -b 40
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp="")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")']
comment: ''
execution time: 0.0
- expected result: '1.target1 QAP
-
- 2. target1 set AP,set ssid broad cast,set channel 11
-
- 3.target2 上查询到<target_tmp_ssid>
-
- 4.target2 上查询不到<target_tmp_ssid>
+ expected result: '1. beacon has erp/xrates, no ht, cap.short_slot_time=1, rates+xrates=[1/2/5.5/11/6/9/12/18/24/36/48/54]
- 5.target2 上查询不到<target_tmp_ssid>
+ 2. assoc response has erp/xrates, no ht, cap.short_slot_time=1, rates+xrates=[1/2/5.5/11/6/9/12/18/24/36/48/54]
- 6.target2 上查询不到<target_tmp_ssid>'
- initial condition: T2_2
- initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ 3. radiotap rates in rates and xrates'
+ initial condition: APM1
+ initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
+ condition APSTA1
module: WIFI MAC
- steps: '1.target1 QAP
-
- 2. target1 set AP,set ssid broad cast,set channel 11
-
- 3.target2 上查询到<target_tmp_ssid>
+ steps: '1. target set to PHY mode 11bg
- 4.target2 上查询不到<target_tmp_ssid>
+ 2. ht40 STA connect to SoftAP, capture assoc response
- 5.target2 上查询不到<target_tmp_ssid>
+ 3. ping, capture Data'
+ sub module: Phy Mode
+ summary: SoftAP set as 11bg, ht40 STA connect to AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 6.target2 上查询不到<target_tmp_ssid>'
- sub module: WIFI Scan
- summary: scan with several configs
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- PC has 1 WiFi NIC.
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- 2 SSC target connect with PC by UART.'
+ Put 4 APs near SSC targets.'
test point 1: basic function
- test point 2: scan with different config
- version: v1 (2016-8-15)
+ test point 2: SoftAP PHY mode test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
- ID: TCPIP_IGMP_0104
+ ID: ^TCPIP_IGMP_0102
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
+ - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
- ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.2
+ - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.2
- ['R SSC1 C +IGMP:ERROR']
- - SSC SSC1 igmp -L -h 192.168.237.77 -m 224.1.1.1
- ['R SSC1 C +IGMP:ERROR']
- - SSC SSC1 igmp -L -h 192.168.237.77 -m 240.1.1.1
- ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
+ - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
- ['R SSC1 C +IGMP:OK']
comment: ''
execution time: 0.0
4. failed
5. succeed'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
module: TCPIP
steps: '1. join group with correct host addr and multicast addr
5. leave group with correct host addr and correct multicast addr'
sub module: IGMP
- summary: softAP IGMP leave group address check
+ summary: station IGMP leave group address check
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
test point 2: IGMP API parameter check
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_IGMP_0103
+ ID: ^TCPIP_IGMP_0101
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
+ - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
- ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
+ - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
- ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 igmp -J -h <target_ap_ip> -m 223.1.1.1
+ - - SSC SSC1 igmp -J -h <target_ip> -m 223.1.1.1
- ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -J -h <target_ap_ip> -m 240.1.1.1
+ - - SSC SSC1 igmp -J -h <target_ip> -m 240.1.1.1
- ['R SSC1 C +IGMP:ERROR']
- - SSC SSC1 igmp -J -h 192.168.237.77 -m 224.1.1.1
- ['R SSC1 C +IGMP:ERROR']
3. failed
4. failed'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
module: TCPIP
steps: '1. join group with correct host addr and multicast addr
4. join group with wrong host addr and wrong multicast addr'
sub module: IGMP
- summary: softAP IGMP join group address check
+ summary: station IGMP join group address check
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
test point 2: IGMP API parameter check
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_IGMP_0102
- SDK: '8266_NonOS
-
- 8266_RTOS
-
- ESP32_IDF'
+ ID: WIFI_PHY_0113
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: 2/3
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.2
- - ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -L -h 192.168.237.77 -m 224.1.1.1
- - ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -L -h 192.168.237.77 -m 240.1.1.1
- - ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
+ - - SSC SSC1 phy -S -o 2 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m g
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp="")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")']
comment: ''
execution time: 0.0
- expected result: '1. success
-
- 2. failed
-
- 3. failed
-
- 4. failed
+ expected result: '1. succeed
- 5. succeed'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- module: TCPIP
- steps: '1. join group with correct host addr and multicast addr
+ 2. assoc response has erp/xrates, no ht, cap.short_slot_time=1, rates+xrates=[1/2/5.5/11/6/9/12/18/24/36/48/54]
- 2. leave group with correct host addr and wrong multicast addr
+ 3. radiotap rates in rates/xrates'
+ initial condition: APM1
+ initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
+ condition APSTA1
+ module: WIFI MAC
+ steps: '1. target set to PHY mode 11bgn
- 3. leave group with wrong host addr and correct multicast addr
+ 2. 11bg STA connect to SoftAP, capture assoc response
- 4. leave group with wrong host addr and wrong multicast addr
+ 3. ping, capture Data'
+ sub module: Phy Mode
+ summary: SoftAP set as 11bgn, 11g STA connect to AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 5. leave group with correct host addr and correct multicast addr'
- sub module: IGMP
- summary: station IGMP leave group address check
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- PC has 1 WiFi NIC.
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- 1 SSC target connect with PC by UART.'
+ Put 4 APs near SSC targets.'
test point 1: basic function
- test point 2: IGMP API parameter check
- version: v1 (2016-8-15)
+ test point 2: SoftAP PHY mode test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
- ID: TCPIP_IGMP_0101
+ ID: ^TCPIP_IGMP_0104
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
+ - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
- ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 igmp -J -h <target_ip> -m 223.1.1.1
- - ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -J -h <target_ip> -m 240.1.1.1
+ - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.2
- ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -J -h 192.168.237.77 -m 224.1.1.1
+ - - SSC SSC1 igmp -L -h 192.168.237.77 -m 224.1.1.1
- ['R SSC1 C +IGMP:ERROR']
- - - SSC SSC1 igmp -J -h 192.168.237.77 -m 240.1.1.1
+ - - SSC SSC1 igmp -L -h 192.168.237.77 -m 240.1.1.1
- ['R SSC1 C +IGMP:ERROR']
+ - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
+ - ['R SSC1 C +IGMP:OK']
comment: ''
execution time: 0.0
expected result: '1. success
3. failed
- 4. failed'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
+ 4. failed
+
+ 5. succeed'
+ initial condition: APSTA2
+ initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
+ by APM2)
module: TCPIP
steps: '1. join group with correct host addr and multicast addr
- 2. join group with correct host addr and wrong multicast addr
+ 2. leave group with correct host addr and wrong multicast addr
- 3. join group with wrong host addr and correct multicast addr
+ 3. leave group with wrong host addr and correct multicast addr
- 4. join group with wrong host addr and wrong multicast addr'
+ 4. leave group with wrong host addr and wrong multicast addr
+
+ 5. leave group with correct host addr and correct multicast addr'
sub module: IGMP
- summary: station IGMP join group address check
+ summary: softAP IGMP leave group address check
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
test point 2: IGMP API parameter check
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_UDP_0201
+ ID: ^WIFI_CONN_0703
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
+ - - SSC SSC1 sta -C -s <wep_ap_ssid> -p bacfd
+ - ['R SSC1 C +JAP:DISCONNECTED,4,2']
+ comment: ''
+ execution time: 0.0
+ expected result: 1. connect status connect fail in disconnect evnet
+ initial condition: STAAP1
+ initial condition description (auto): testing sta on sta + ap mode, quit AP (autogen
+ by STAM1)
+ module: WIFI MAC
+ steps: 1. connect WEP ap with error password (valid wep password)
+ sub module: WIFI Connect
+ summary: check wifi status connect fail
+ test environment: SSC_T1_WEP
+ test environment description (auto): '1 SSC target connect with PC by UART.
+
+ One WEP share key AP placed near SSC1.'
+ test point 1: basic function
+ test point 2: wifi connect status check
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: ^TCPIP_UDP_0110
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: 1/5
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
- [R SOC_COM L OK]
- - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -W -s <sock1> -o 0
- - ['R SSC1 RE WORKTHREAD:\d+,OK']
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
- - ['']
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
- - ['']
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
- - ['']
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
- - ['']
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
- - ['']
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1]
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1472
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1472]
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1473
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC_COM NC SOC_RECVFROM]
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1472 -n 10
+ -j 20
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 14720]
comment: ''
execution time: 0.0
expected result: '1.OK
3.OK
- 4.PC OK
-
- 5.PC OK
-
- 6.PC OK
+ 4.OK
- 7.PC OK
+ 5.OK,没收到UDP包
- 8.PC OK SOC_CLOSE=SOC1'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
+ 6.OK'
+ initial condition: APSTA2
+ initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
+ by APM2)
module: TCPIP
steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 3.target1上关闭工作线程
-
- 4.PC往8266上发送1472字节数据
-
- 5.PC往8266上发送1472字节数据
+ 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1字节数据
- 6.PC往8266上发送1472字节数据
+ 4.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472字节数据
- 7.PC往8266上发送1472字节数据
+ 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1473字节数据
- 8.PC往8266上发送1472字节数据'
+ 6.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472*10字节数据'
sub module: UDP
- summary: STA mode, recv buffer test
+ summary: AP mode, sendto test with different length
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: use UDP SAP (socket/espconn API) in different state
+ test point 1: basic function
+ test point 2: use UDP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_ICMP_0101
+ ID: ^WIFI_SCAN_0102
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 ping -i <pc_ip>
- - ['R SSC1 C +PING:OK']
- - - SSC SSC1 ping -i <pc_ip> -c 2
- - ['R SSC1 C +PING:OK']
+ - - SSC SSC2 sta -S -b ff:ff:ff:ff:ff:11
+ - ['R SSC2 NC +SCAN: C +SCANDONE']
+ - - SSC SSC2 sta -S -b <target_ap_mac>
+ - ['R SSC2 RE "\+SCAN:.+,%%s"%%(<target_ap_mac>)', 'R SSC2 NC +SCAN: C +SCANDONE']
comment: ''
execution time: 0.0
- expected result: '1.ok
+ expected result: '1.target2 上不能查询到此mac
- 2.ok'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
- module: TCPIP
- steps: '1.ping -i <pc_ip>
+ 2.target2上查询到<target_ap_mac>'
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1.target2 上查询此macff:ff:ff:ff:ff:11
- 2.ping -i <pc_ip> -c 2'
- sub module: ICMP
- summary: ping function test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ 2.target2上查询<target_ap_mac>'
+ sub module: WIFI Scan
+ summary: scan with scan config bssid
+ test environment: SSC_T2_1
+ test environment description (auto): 'PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
+ 2 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: ping function test
+ test point 2: scan with different config
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^WIFI_ADDR_0102
+ ID: ^WIFI_SCAN_0103
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']
+ - - SSC SSC1 sta -D
+ - ['R SSC1 C +QAP:']
+ - - SSC SSC1 ap -S -s <target_tmp_ssid> -p 123456789 -t 3 -n 6
+ - ['R SSC1 C +SAP:OK']
+ - - SSC SSC2 sta -S -n 5
+ - [R SSC2 NP <target_tmp_ssid> C +SCANDONE]
+ - - SSC SSC2 sta -S -n 6
+ - ['R SSC2 C +SCAN:', R SSC2 P <target_tmp_ssid>]
comment: ''
execution time: 0.0
- expected result: '1.OK
-
- 2.ok
-
- 3.ok
-
- 4.ok
-
- 5.ok
-
- 6.ok
+ expected result: '1.target1 QAP
- 7.ok
+ 2. target1 set AP,set channel 6
- 8.ok
+ 3.target2 上scan不到 channel 5
- 9.ok'
+ 4.target2 上查询channel 6的<target_tmp_ssid>'
initial condition: T2_2
initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
module: WIFI MAC
- steps: "1.target1 设置sta mode下的mac 44:55:66:77:88:99\n2.target1下设置ssid 和pwd 加密方式\n\
- 3.target2 查询mac为44:55:66:77:88:99的ssid\n4.target1 设置sta mode下的mac target_ap_mac\n\
- 5.target2 查询sta mode 下的mac 为target2_mac_tmp\n6.target2 设置sta mode 下的mac 为22:33:44:55:66:77\n\
- 7.target2 jap target1\n8.target1 查询连接到的sta \n9.target2 设置sta mode 下的mac 为 target2_mac"
- sub module: MAC Address
- summary: set mac and do scan/JAP/SAP
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
+ steps: '1.target1 断开连接AP
- PC has 1 WiFi NIC.
+ 2.target1下设置ssid 和pwd 加密方式,set channel 6
- 2 SSC target connect with PC by UART.'
+ 3.target2 上scan channel 5
+
+ 4.target2 上查询channel 6的<target_tmp_ssid>'
+ sub module: WIFI Scan
+ summary: scan with scan config channel
+ test environment: SSC_T2_1
+ test environment description (auto): 'PC has 1 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 2 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: mac address function test
+ test point 2: scan with different config
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_UDP_0108
+ ID: ^WIFI_SCAN_0104
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port2>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 C BIND:ERROR']
- - - SSC SSC1 soc -B -t TCP -p <test_udp_port1>
- - ['R SSC1 RE BIND:(\d+),OK']
+ - - SSC SSC1 ap -S -s <target_tmp_ssid> -p 123456789 -t 3 -h 0
+ - ['R SSC1 C +SAP:OK']
+ - - SSC SSC2 sta -S -h 0
+ - [R SSC2 P <target_tmp_ssid> C +SCANDONE]
+ - - SSC SSC2 sta -S -h 1
+ - [R SSC2 P <target_tmp_ssid> C +SCANDONE]
+ - - SSC SSC1 ap -S -s <target_tmp_ssid> -p 123456789 -h 1
+ - ['R SSC1 C +SAP:OK']
+ - - SSC SSC2 sta -S -h 0
+ - [R SSC2 NP <target_tmp_ssid> C +SCANDONE]
+ - - SSC SSC2 sta -S -h 1
+ - [R SSC2 P <target_ap_mac> C +SCANDONE]
comment: ''
execution time: 0.0
- expected result: '1.OK
+ expected result: '1.target1 set AP,set ssid broad cast
- 2.OK
+ 2.target 2上scan <target_tmp_ssid>
- 3.ERROR
+ 3.target 2上scan <target_tmp_ssid>
- 4.OK'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
- module: TCPIP
- steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+ 4.target1 set AP,set ssid hidden,
- 2.target1上UDP传输,Bind socket2,本地ip 0.0.0.0 target_udp_port2
+ 5.target 2上不能查询到 <target_tmp_ssid>
- 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+ 6.target 2上查询到<target_ap_mac>'
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1.target1下设置ssid 和pwd 加密方式,set ssid broad cast
- 4.target1上创建TCP socket3, target_udp_port1'
- sub module: UDP
- summary: AP mode, udp bind test. use different ip, port
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ 2.target 2上scan <target_tmp_ssid>
+
+ 3.target 2上scan <target_tmp_ssid>
+
+ 4.target1下设置ssid 和pwd 加密方式,set ssid hidden,
+
+ 5.target 2上查询 <target_tmp_ssid>
+
+ 6.target 2上查询<target_ap_mac>'
+ sub module: WIFI Scan
+ summary: scan with scan config show hidden
+ test environment: SSC_T2_1
+ test environment description (auto): 'PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
+ 2 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
+ test point 2: scan with different config
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_UDP_0109
+ ID: ^WIFI_SCAN_0105
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
+ - - SSC SSC1 sta -D
+ - ['R SSC1 C +QAP:']
+ - - SSC SSC1 ap -S -s <target_tmp_ssid> -p 123456789 -t 3 -h 0 -n 11
- ['R SSC1 C +SAP:OK']
- - - WIFI <pc_wifi_nic> CONN <target_ssid> <target_password> <pc_ip_wifi> <target_auth>
- <target_encryption>
- - ['R PC_COM NC ERROR C +WIFICONN:OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
- - [R SOC_COM L OK]
- - - SSC SSC2 ip
- - ['R SSC2 A <ssc2_ip>:STAIP:(.+)\r\n']
- - - SSC SSC2 soc -B -t UDP -p <test_udp_port2>
- - ['R SSC2 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock2> -i <pc_ip_wifi> -p <test_udp_port1> -l 5
- - [R SOC1 UL 5]
- - - SSC SSC1 soc -S -s <sock2> -i <ssc2_ip> -p <test_udp_port2> -l 5
- - ['R SSC2 RE "RECVFROM:%%s,5,%%s,%%u"%%(<sock1>,<target_ap_ip>,<test_udp_port1>)']
+ - - SSC SSC2 sta -S -s <target_tmp_ssid> -b <target_ap_mac> -n 11
+ - [R SSC2 P <target_tmp_ssid> C +SCANDONE]
+ - - SSC SSC2 sta -S -s <target_ssid> -b <target_ap_mac> -n 11
+ - [R SSC2 NP <target_tmp_ssid> C +SCANDONE]
+ - - SSC SSC2 sta -S -s <target_tmp_ssid> -b ff:ff:ff:ff:ff:11 -n 11
+ - [R SSC2 P <target_tmp_ssid>, R SSC2 NP <target_tmp_ssid> C +SCANDONE]
+ - - SSC SSC2 sta -S -s <target_tmp_ssid> -b <target_ap_mac> -n 10
+ - [R SSC2 P <target_tmp_ssid>, R SSC2 NP <target_tmp_ssid> C +SCANDONE]
comment: ''
execution time: 0.0
- expected result: '1.OK
+ expected result: '1.target1 QAP
- 2.OK
+ 2. target1 set AP,set ssid broad cast,set channel 11
- 3.OK
+ 3.target2 上查询到<target_tmp_ssid>
- 4.OK
+ 4.target2 上查询不到<target_tmp_ssid>
- 5.OK'
- initial condition: T2O_1
- initial condition description (auto): same as T2_1 but will NOT autogen a TC with
- initial condition T2_2
- module: TCPIP
- steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
+ 5.target2 上查询不到<target_tmp_ssid>
- 2.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
+ 6.target2 上查询不到<target_tmp_ssid>'
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1.target1 QAP
- 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+ 2. target1 set AP,set ssid broad cast,set channel 11
- 4.target1上使用步骤3创建的socket1,往pc_ip,test_tcp_port1上发送10字节数据
+ 3.target2 上查询到<target_tmp_ssid>
- 5.target1上使用步骤3创建的socket1,往pc_ip2,test_tcp_port2上发送10字节数据'
- sub module: UDP
- summary: AP mode, sendto test. use different ip, port
+ 4.target2 上查询不到<target_tmp_ssid>
+
+ 5.target2 上查询不到<target_tmp_ssid>
+
+ 6.target2 上查询不到<target_tmp_ssid>'
+ sub module: WIFI Scan
+ summary: scan with several configs
test environment: SSC_T2_1
test environment description (auto): 'PC has 1 wired NIC connected to AP.
2 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
+ test point 2: scan with different config
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_UDP_0106
+ ID: TCPIP_IGMP_0104
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port2>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port3>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port4>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port5>
- - ['R SSC1 RE BIND:(\d+),OK']
+ - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
+ - ['R SSC1 C +IGMP:OK']
+ - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.2
+ - ['R SSC1 C +IGMP:ERROR']
+ - - SSC SSC1 igmp -L -h 192.168.237.77 -m 224.1.1.1
+ - ['R SSC1 C +IGMP:ERROR']
+ - - SSC SSC1 igmp -L -h 192.168.237.77 -m 240.1.1.1
+ - ['R SSC1 C +IGMP:ERROR']
+ - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
+ - ['R SSC1 C +IGMP:OK']
comment: ''
execution time: 0.0
- expected result: '1.ok
+ expected result: '1. success
- 2.ok
+ 2. failed
- 3.ok
+ 3. failed
- 4.ok
+ 4. failed
- 5.ok'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
+ 5. succeed'
+ initial condition: APM2
+ initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
+ a TC with initial condition APSTA2
module: TCPIP
- steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+ steps: '1. join group with correct host addr and multicast addr
- 2.target1上UDP传输,Bind socket2,本地ip target_udp_port2
+ 2. leave group with correct host addr and wrong multicast addr
- 3.target1上UDP传输,Bind socket3,本地ip target_udp_port3
+ 3. leave group with wrong host addr and correct multicast addr
- 4.target1上UDP传输,Bind socket4,本地ip target_udp_port4
+ 4. leave group with wrong host addr and wrong multicast addr
- 5.target1上UDP传输,Bind socket5,本地ip target_udp_port5'
- sub module: UDP
- summary: STA mode, create max udp socket test
+ 5. leave group with correct host addr and correct multicast addr'
+ sub module: IGMP
+ summary: softAP IGMP leave group address check
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
+ test point 2: IGMP API parameter check
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_UDP_0107
+ ID: TCPIP_IGMP_0103
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -I
- - ['P SSC1 RE "SOCINFO:%%s,1,.+,%%d"%%(<sock1>,<test_udp_port1>)']
+ - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
+ - ['R SSC1 C +IGMP:OK']
+ - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
+ - ['R SSC1 C +IGMP:OK']
+ - - SSC SSC1 igmp -J -h <target_ap_ip> -m 223.1.1.1
+ - ['R SSC1 C +IGMP:ERROR']
+ - - SSC SSC1 igmp -J -h <target_ap_ip> -m 240.1.1.1
+ - ['R SSC1 C +IGMP:ERROR']
+ - - SSC SSC1 igmp -J -h 192.168.237.77 -m 224.1.1.1
+ - ['R SSC1 C +IGMP:ERROR']
+ - - SSC SSC1 igmp -J -h 192.168.237.77 -m 240.1.1.1
+ - ['R SSC1 C +IGMP:ERROR']
comment: ''
execution time: 0.0
- expected result: '1.OK
+ expected result: '1. success
- 2.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
+ 2. failed
+
+ 3. failed
+
+ 4. failed'
+ initial condition: APM2
+ initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
+ a TC with initial condition APSTA2
module: TCPIP
- steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+ steps: '1. join group with correct host addr and multicast addr
- 2.target1上查询创建socket信息'
- sub module: UDP
- summary: STA mode, get active socket info test
+ 2. join group with correct host addr and wrong multicast addr
+
+ 3. join group with wrong host addr and correct multicast addr
+
+ 4. join group with wrong host addr and wrong multicast addr'
+ sub module: IGMP
+ summary: softAP IGMP join group address check
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
+ test point 2: IGMP API parameter check
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_UDP_0104
+ ID: TCPIP_IGMP_0102
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SOC SOC1 SENDTO 1 <test_udp_port1> <target_ip>
- - [R SSC1 SL <sock1>+1]
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
- - ['R SSC1 RE "RECVFROM:%%s,1472,%%s,%%u"%%(<sock1>,<pc_ip>,<test_udp_port1>)']
- - - SOC SOC1 SENDTO 1473 <test_udp_port1> <target_ip>
- - [P SSC1 NC +RECVFROM, P SOC_COM C OK]
- - - SOC SOC2 BIND <test_udp_port2> <pc_ip2>
- - [R SOC_COM L OK]
- - - SOC SOC2 SENDTO 1472 <test_udp_port1> <target_ip>
- - ['R SSC1 RE "RECVFROM:%%s,1472,%%s,%%u"%%(<sock1>,<pc_ip2>,<test_udp_port2>)']
+ - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
+ - ['R SSC1 C +IGMP:OK']
+ - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.2
+ - ['R SSC1 C +IGMP:ERROR']
+ - - SSC SSC1 igmp -L -h 192.168.237.77 -m 224.1.1.1
+ - ['R SSC1 C +IGMP:ERROR']
+ - - SSC SSC1 igmp -L -h 192.168.237.77 -m 240.1.1.1
+ - ['R SSC1 C +IGMP:ERROR']
+ - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
+ - ['R SSC1 C +IGMP:OK']
comment: ''
execution time: 0.0
- expected result: '1.OK
-
- 2.OK
-
- 3.OK
+ expected result: '1. success
- 4.OK
+ 2. failed
- 5.OK,没收到UDP包
+ 3. failed
- 6.OK
+ 4. failed
- 7.OK'
+ 5. succeed'
initial condition: STAM2
initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
TC with initial condition STAAP2
module: TCPIP
- steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
-
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
-
- 3.PC往8266上发送1字节数据
+ steps: '1. join group with correct host addr and multicast addr
- 4.PC往8266上发送1472字节数据
+ 2. leave group with correct host addr and wrong multicast addr
- 5.PC往8266上发送1473字节数据
+ 3. leave group with wrong host addr and correct multicast addr
- 6.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
+ 4. leave group with wrong host addr and wrong multicast addr
- 7.PC往8266上发送1472字节数据'
- sub module: UDP
- summary: STA mode, recvfrom basic test
+ 5. leave group with correct host addr and correct multicast addr'
+ sub module: IGMP
+ summary: station IGMP leave group address check
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
+ test point 2: IGMP API parameter check
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_UDP_0105
+ ID: TCPIP_IGMP_0101
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+']
+ - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
+ - ['R SSC1 C +IGMP:OK']
+ - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
+ - ['R SSC1 C +IGMP:OK']
+ - - SSC SSC1 igmp -J -h <target_ip> -m 223.1.1.1
+ - ['R SSC1 C +IGMP:ERROR']
+ - - SSC SSC1 igmp -J -h <target_ip> -m 240.1.1.1
+ - ['R SSC1 C +IGMP:ERROR']
+ - - SSC SSC1 igmp -J -h 192.168.237.77 -m 224.1.1.1
+ - ['R SSC1 C +IGMP:ERROR']
+ - - SSC SSC1 igmp -J -h 192.168.237.77 -m 240.1.1.1
+ - ['R SSC1 C +IGMP:ERROR']
comment: ''
execution time: 0.0
- expected result: '1.OK
+ expected result: '1. success
- 2.OK'
+ 2. failed
+
+ 3. failed
+
+ 4. failed'
initial condition: STAM2
initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
TC with initial condition STAAP2
module: TCPIP
- steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+ steps: '1. join group with correct host addr and multicast addr
- 2.关闭socket1'
- sub module: UDP
- summary: STA mode, close UDP sockets test
+ 2. join group with correct host addr and wrong multicast addr
+
+ 3. join group with wrong host addr and correct multicast addr
+
+ 4. join group with wrong host addr and wrong multicast addr'
+ sub module: IGMP
+ summary: station IGMP join group address check
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
+ test point 2: IGMP API parameter check
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_UDP_0102
+ ID: ^TCPIP_UDP_0201
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- [R SOC_COM L OK]
- - - SOC SOC2 BIND <test_udp_port2> <pc_ip2>
- - [R SOC_COM L OK]
- - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 10
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 10]
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip2> -p <test_udp_port2> -l 10
- - ['P SSC1 RE SEND:(\d+),OK', P SOC2 UL 10]
+ - - SSC SSC1 soc -W -s <sock1> -o 0
+ - ['R SSC1 RE WORKTHREAD:\d+,OK']
+ - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
+ - ['']
+ - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
+ - ['']
+ - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
+ - ['']
+ - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
+ - ['']
+ - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
+ - ['']
comment: ''
execution time: 0.0
expected result: '1.OK
3.OK
- 4.OK
+ 4.PC OK
- 5.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
+ 5.PC OK
+
+ 6.PC OK
+
+ 7.PC OK
+
+ 8.PC OK SOC_CLOSE=SOC1'
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
module: TCPIP
steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 2.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
+ 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+ 3.target1上关闭工作线程
- 4.target1上使用步骤3创建的socket1,往pc_ip,test_tcp_port1上发送10字节数据
+ 4.PC往8266上发送1472字节数据
- 5.target1上使用步骤3创建的socket1,往pc_ip2,test_tcp_port2上发送10字节数据'
+ 5.PC往8266上发送1472字节数据
+
+ 6.PC往8266上发送1472字节数据
+
+ 7.PC往8266上发送1472字节数据
+
+ 8.PC往8266上发送1472字节数据'
sub module: UDP
- summary: STA mode, sendto test. use different ip, port
+ summary: STA mode, recv buffer test
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
+ test point 1: abnormal/special use
+ test point 2: use UDP SAP (socket/espconn API) in different state
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_UDP_0103
+ ID: ^TCPIP_ICMP_0101
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: 1/5
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1]
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1472
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1472]
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1473
- - ['P SSC1 RE SEND:(\d+),OK', P SOC_COM NC SOC_RECVFROM]
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1472 -n 10 -j 20
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 14720]
+ - - SSC SSC1 ping -i <pc_ip>
+ - ['R SSC1 C +PING:OK']
+ - - SSC SSC1 ping -i <pc_ip> -c 2
+ - ['R SSC1 C +PING:OK']
comment: ''
execution time: 0.0
- expected result: '1.OK
-
- 2.OK
-
- 3.OK
-
- 4.OK
-
- 5.OK,没有到UDP包
+ expected result: '1.ok
- 6.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
+ 2.ok'
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
module: TCPIP
- steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
-
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
-
- 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1字节数据
-
- 4.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472字节数据
-
- 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1473字节数据
+ steps: '1.ping -i <pc_ip>
- 6.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472*10字节数据'
- sub module: UDP
- summary: STA mode, sendto test with different length
+ 2.ping -i <pc_ip> -c 2'
+ sub module: ICMP
+ summary: ping function test
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
+ test point 2: ping function test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_UDP_0101
+ 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 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port2>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 C BIND:ERROR']
- - - SSC SSC1 soc -B -t TCP -p <test_udp_port1>
- - ['R SSC1 RE BIND:(\d+),OK']
+ - - 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']
comment: ''
execution time: 0.0
expected result: '1.OK
- 2.OK
+ 2.ok
- 3.ERROR
+ 3.ok
- 4.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- module: TCPIP
- steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+ 4.ok
- 2.target1上UDP传输,Bind socket2,本地ip 0.0.0.0 target_udp_port2
+ 5.ok
- 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+ 6.ok
- 4.target1上创建TCP socket3, target_udp_port1'
- sub module: UDP
- summary: STA mode, udp bind test. use different ip, port
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ 7.ok
- PC has 1 WiFi NIC.
+ 8.ok
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
-- CI ready: 'Yes'
- ID: TCPIP_IGMP_0204
+ 9.ok'
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: "1.target1 设置sta mode下的mac 44:55:66:77:88:99\n2.target1下设置ssid 和pwd 加密方式\n\
+ 3.target2 查询mac为44:55:66:77:88:99的ssid\n4.target1 设置sta mode下的mac target_ap_mac\n\
+ 5.target2 查询sta mode 下的mac 为target2_mac_tmp\n6.target2 设置sta mode 下的mac 为22:33:44:55:66:77\n\
+ 7.target2 jap target1\n8.target1 查询连接到的sta \n9.target2 设置sta mode 下的mac 为 target2_mac"
+ sub module: MAC Address
+ summary: set mac and do scan/JAP/SAP
+ test environment: SSC_T2_1
+ test environment description (auto): 'PC has 1 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 2 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: mac address function test
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: TCPIP_UDP_0108
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
- - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
- - - SSC SSC2 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC2 A <sock2>:\+BIND:(\d+),OK']
- - - SSC SSC2 soc -S -s <sock2> -i 224.1.1.1 -p <test_udp_port1> -l 10
- - [R SSC1 SL <sock1>+1]
- - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC1 RE BIND:(\d+),OK']
+ - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port2>
+ - ['R SSC1 RE BIND:(\d+),OK']
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC1 C BIND:ERROR']
+ - - SSC SSC1 soc -B -t TCP -p <test_udp_port1>
+ - ['R SSC1 RE BIND:(\d+),OK']
comment: ''
execution time: 0.0
- expected result: '1. succeed
+ expected result: '1.OK
- 2. succeed
+ 2.OK
- 3. succeed
+ 3.ERROR
- 4. target1 recv multicast packet'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
+ 4.OK'
+ initial condition: APM2
+ initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
+ a TC with initial condition APSTA2
module: TCPIP
- steps: '1. target2 join SoftAP
+ steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 2. target1 join group and create UDP socket using multicast addr
+ 2.target1上UDP传输,Bind socket2,本地ip 0.0.0.0 target_udp_port2
- 3. target2 create UDP socket
+ 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 4. target2 send to multicast addr'
- sub module: IGMP
- summary: softAP send multicast packets
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
+ 4.target1上创建TCP socket3, target_udp_port1'
+ sub module: UDP
+ summary: AP mode, udp bind test. use different ip, port
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
+ 1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: IGMP send/recv test
+ test point 2: use UDP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_IGMP_0201
+ ID: TCPIP_UDP_0109
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: 1/5
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
- - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
- - - SOC SOC1 BIND <test_udp_port1>
+ - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
+ - ['R SSC1 C +SAP:OK']
+ - - WIFI <pc_wifi_nic> CONN <target_ssid> <target_password> <pc_ip_wifi> <target_auth>
+ <target_encryption>
+ - ['R PC_COM NC ERROR C +WIFICONN:OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
+ - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
- [R SOC_COM L OK]
- - - SOC SOC1 SENDTO 1 <test_udp_port1> 224.1.1.1
- - [R SSC1 SL <sock1>+1]
- - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
+ - - SSC SSC2 ip
+ - ['R SSC2 A <ssc2_ip>:STAIP:(.+)\r\n']
+ - - SSC SSC2 soc -B -t UDP -p <test_udp_port2>
+ - ['R SSC2 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC1 A <sock2>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -S -s <sock2> -i <pc_ip_wifi> -p <test_udp_port1> -l 5
+ - [R SOC1 UL 5]
+ - - SSC SSC1 soc -S -s <sock2> -i <ssc2_ip> -p <test_udp_port2> -l 5
+ - ['R SSC2 RE "RECVFROM:%%s,5,%%s,%%u"%%(<sock1>,<target_ap_ip>,<test_udp_port1>)']
comment: ''
execution time: 0.0
- expected result: '1. succeed
+ expected result: '1.OK
- 2. succeed
+ 2.OK
- 3. able to recv packet'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
+ 3.OK
+
+ 4.OK
+
+ 5.OK'
+ initial condition: T2O_1
+ initial condition description (auto): same as T2_1 but will NOT autogen a TC with
+ initial condition T2_2
module: TCPIP
- steps: '1. join group
+ steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 2. create UDP socket using multicast addr
+ 2.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
- 3. PC send UDP packet to multicast addr'
- sub module: IGMP
- summary: station IGMP recv packets
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+
+ 4.target1上使用步骤3创建的socket1,往pc_ip,test_tcp_port1上发送10字节数据
+
+ 5.target1上使用步骤3创建的socket1,往pc_ip2,test_tcp_port2上发送10字节数据'
+ sub module: UDP
+ summary: AP mode, sendto test. use different ip, port
+ test environment: SSC_T2_1
+ test environment description (auto): 'PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
+ 2 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: IGMP send/recv test
+ test point 2: use UDP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_IGMP_0202
+ ID: TCPIP_UDP_0106
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC2 op -S -o 1
- - ['R SSC2 C +MODE:OK']
- - - SSC SSC2 sta -C -s <ap_ssid> -p <ap_password>
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
- - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
- - - SSC SSC2 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC2 A <sock2>:\+BIND:(\d+),OK']
- - - SSC SSC2 soc -S -s <sock2> -i 224.1.1.1 -p <test_udp_port1> -l 10
- - [R SSC1 SL <sock1>+1]
- - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC1 RE BIND:(\d+),OK']
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port2>
+ - ['R SSC1 RE BIND:(\d+),OK']
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port3>
+ - ['R SSC1 RE BIND:(\d+),OK']
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port4>
+ - ['R SSC1 RE BIND:(\d+),OK']
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port5>
+ - ['R SSC1 RE BIND:(\d+),OK']
comment: ''
execution time: 0.0
- expected result: '1. succeed
+ expected result: '1.ok
- 2. succeed
+ 2.ok
- 3. succeed
+ 3.ok
- 4. target1 recv multicast packet'
+ 4.ok
+
+ 5.ok'
initial condition: STAM2
initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
TC with initial condition STAAP2
module: TCPIP
- steps: '1. target2 set to sta mode and join AP
+ steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 2. target1 join group and create UDP socket using multicast addr
+ 2.target1上UDP传输,Bind socket2,本地ip target_udp_port2
- 3. target2 create UDP socket
+ 3.target1上UDP传输,Bind socket3,本地ip target_udp_port3
- 4. target2 send to multicast addr'
- sub module: IGMP
- summary: station send multicast packets
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
+ 4.target1上UDP传输,Bind socket4,本地ip target_udp_port4
+
+ 5.target1上UDP传输,Bind socket5,本地ip target_udp_port5'
+ sub module: UDP
+ summary: STA mode, create max udp socket test
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
+ 1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: IGMP send/recv test
+ test point 2: use UDP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_IGMP_0203
+ ID: TCPIP_UDP_0107
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
- - [R SOC_COM L OK]
- - - SOC SOC1 SENDTO 1 <test_udp_port1> 224.1.1.1
- - [R SSC1 SL <sock1>+1]
- - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
+ - - SSC SSC1 soc -I
+ - ['P SSC1 RE "SOCINFO:%%s,1,.+,%%d"%%(<sock1>,<test_udp_port1>)']
comment: ''
execution time: 0.0
- expected result: '1. succeed
-
- 2. succeed
+ expected result: '1.OK
- 3. able to recv packet'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
+ 2.OK'
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
module: TCPIP
- steps: '1. join group
-
- 2. create UDP socket using multicast addr
+ steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 3. PC send UDP packet to multicast addr'
- sub module: IGMP
- summary: softAP IGMP recv packets
+ 2.target1上查询创建socket信息'
+ sub module: UDP
+ summary: STA mode, get active socket info test
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: IGMP send/recv test
+ test point 2: use UDP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: WIFI_CONN_0401
+ ID: TCPIP_UDP_0104
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: 1/5
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 sta -R -a 0
- - ['R SSC1 C +AUTORECONN:OK']
- - - SSC SSC1 sta -R -a 2
- - ['R SSC1 C +AUTORECONN:0']
- - - SSC SSC1 reboot
- - ['']
- - - DELAY 15
- - ['']
- - - SSC SSC1 sta -Q
- - ['R SSC1 C JAP:DISCONNECTED']
- - - SSC SSC1 sta -R -a 1
- - ['R SSC1 C +AUTORECONN:OK']
- - - SSC SSC1 sta -R -a 2
- - ['R SSC1 C +AUTORECONN:1']
- - - SSC SSC1 reboot
- - ['R SSC1 C +JAP:CONNECTED']
+ - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SOC SOC1 SENDTO 1 <test_udp_port1> <target_ip>
+ - [R SSC1 SL <sock1>+1]
+ - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
+ - ['R SSC1 RE "RECVFROM:%%s,1472,%%s,%%u"%%(<sock1>,<pc_ip>,<test_udp_port1>)']
+ - - SOC SOC1 SENDTO 1473 <test_udp_port1> <target_ip>
+ - [P SSC1 NC +RECVFROM, P SOC_COM C OK]
+ - - SOC SOC2 BIND <test_udp_port2> <pc_ip2>
+ - [R SOC_COM L OK]
+ - - SOC SOC2 SENDTO 1472 <test_udp_port1> <target_ip>
+ - ['R SSC1 RE "RECVFROM:%%s,1472,%%s,%%u"%%(<sock1>,<pc_ip2>,<test_udp_port2>)']
comment: ''
execution time: 0.0
- expected result: '1.设置autoreconn,关闭
+ expected result: '1.OK
- 2.查询当前autoreconn状态是否关闭
+ 2.OK
- 3.重启系统,等待15s
+ 3.OK
- 4.查询target1 未自动重连AP
+ 4.OK
- 5.设置autoreconn,开启
+ 5.OK,没收到UDP包
- 6.查询当前autoreconn状态是否开启
+ 6.OK
- 7.系统重启后target1 自动重连AP'
+ 7.OK'
initial condition: STAM2
initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
TC with initial condition STAAP2
- module: WIFI MAC
- steps: '1.设置autoreconn,关闭
+ module: TCPIP
+ steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 2.查询当前autoreconn状态是否关闭
+ 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 3.重启系统,等待15s
+ 3.PC往8266上发送1字节数据
- 4.查询target1 未自动重连AP
+ 4.PC往8266上发送1472字节数据
- 5.设置autoreconn,开启
+ 5.PC往8266上发送1473字节数据
- 6.查询当前autoreconn状态是否开启
+ 6.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
- 7.系统重启后target1 自动重连AP'
- sub module: WIFI Connect
- summary: auto reconnect test
+ 7.PC往8266上发送1472字节数据'
+ sub module: UDP
+ summary: STA mode, recvfrom basic test
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: power on auto reconnect test
+ test point 2: use UDP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0404
+ ID: TCPIP_UDP_0105
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SOC SOC1 ACCEPT SOC2
- - [R SOC_COM L OK]
- - - SSC SSC1 op -S -o 2
- - ['P SSC1 C +MODE:OK', 'P SSC1 RE CLOSED:\d+,0']
- - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
+ - ['R SSC1 RE CLOSE:\d+']
comment: ''
execution time: 0.0
expected result: '1.OK
- 2.OK
-
- 3.OK; PC TCP server accept 成功
-
- 4.OK
-
- 5.OK
-
- 6.OK'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
+ 2.OK'
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接\
- \ PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.修改8266的Mode为softAP mode\
- \ \n6.关闭建立的socket1连接"
- sub module: TCP
- summary: close TCP socket after mode changed
+ steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+
+ 2.关闭socket1'
+ sub module: UDP
+ summary: STA mode, close UDP sockets test
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: TCP handling abnormal event
+ test point 1: basic function
+ test point 2: use UDP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0406
+ ID: TCPIP_UDP_0102
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: 1/5
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
+ - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SOC SOC1 ACCEPT SOC2
+ - - SOC SOC2 BIND <test_udp_port2> <pc_ip2>
- [R SOC_COM L OK]
- - - NIC <pc_nic> DISABLED
- - [R PC_COM C OK]
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 10
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 10]
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip2> -p <test_udp_port2> -l 10
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC2 UL 10]
comment: ''
execution time: 0.0
expected result: '1.OK
2.OK
- 3.OK; PC TCP server accept 成功
+ 3.OK
4.OK
- 5.OK
-
- 6.OK'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
+ 5.OK'
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接\
- \ PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.PC上网卡禁止掉 \n6.关闭建立的socket1连接"
- sub module: TCP
- summary: close TCP socket after PC NIC disabled
+ steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
+
+ 2.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
+
+ 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+
+ 4.target1上使用步骤3创建的socket1,往pc_ip,test_tcp_port1上发送10字节数据
+
+ 5.target1上使用步骤3创建的socket1,往pc_ip2,test_tcp_port2上发送10字节数据'
+ sub module: UDP
+ summary: STA mode, sendto test. use different ip, port
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: TCP handling abnormal event
+ test point 1: basic function
+ test point 2: use UDP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0407
+ ID: TCPIP_UDP_0103
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: 1/5
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
+ - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SOC SOC1 ACCEPT SOC2
- - [R SOC_COM L OK]
- - - SSC SSC1 dhcp -E -o 1
- - ['R SSC1 C +DHCP:STA,OK']
- - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
- - ['P SSC1 C +IP:OK', 'P SSC1 RE CLOSED:\d+,0']
- - - SSC SSC1 ip -Q -o 1
- - ['R SSC1 C +STAIP:192.168.111.210']
- - - SSC SSC1 soc -S -s <sock1> -l 5
- - ['P SSC1 RE SEND:\d+,ERROR']
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1]
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1472
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1472]
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1473
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC_COM NC SOC_RECVFROM]
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1472 -n 10 -j 20
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 14720]
comment: ''
execution time: 0.0
expected result: '1.OK
2.OK
- 3.OK; PC TCP server accept 成功
+ 3.OK
4.OK
- 5.OK
+ 5.OK,没有到UDP包
- 6.OK
+ 6.OK'
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
+ module: TCPIP
+ steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 7.OK
+ 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 8.ERROR'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
- module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接\
- \ PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.关闭8266的DHCP 1\n6.设置sta\
- \ ip \n7.查询sta ip 地址是否生效\n8.8266往PC上发送5字节数据"
- sub module: TCP
- summary: do TCP send after IP changed
+ 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1字节数据
+
+ 4.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472字节数据
+
+ 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1473字节数据
+
+ 6.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472*10字节数据'
+ sub module: UDP
+ summary: STA mode, sendto test with different length
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: TCP handling abnormal event
+ test point 1: basic function
+ test point 2: use UDP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0401
+ ID: TCPIP_UDP_0101
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SOC SOC1 ACCEPT SOC2
- - [R SOC_COM L OK]
- - - SSC SSC1 sta -D
- - ['P SSC1 C +QAP:OK', 'P SSC1 RE CLOSED:\d+,0']
- - - SSC SSC1 soc -S -s <sock1> -l 5
- - ['P SSC1 RE SEND:\d+,ERROR']
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC1 RE BIND:(\d+),OK']
+ - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port2>
+ - ['R SSC1 RE BIND:(\d+),OK']
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC1 C BIND:ERROR']
+ - - SSC SSC1 soc -B -t TCP -p <test_udp_port1>
+ - ['R SSC1 RE BIND:(\d+),OK']
comment: ''
execution time: 0.0
expected result: '1.OK
2.OK
- 3.OK; PC TCP server accept 成功
-
- 4.OK
-
- 5.OK
+ 3.ERROR
- 6.ERROR'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
+ 4.OK'
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
module: TCPIP
- steps: '1.PC上建立TCP 监听 test_tcp_port1
+ steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 2.target1上创建TCP socket1
+ 2.target1上UDP传输,Bind socket2,本地ip 0.0.0.0 target_udp_port2
- 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
+ 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 4.PC与target1创建好TCP 连接,有ACCEPT
-
- 5.断开与AP 连接
-
- 6.8266往PC上发送5字节数据'
- sub module: TCP
- summary: do TCP send after WIFI disconnected
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ 4.target1上创建TCP socket3, target_udp_port1'
+ sub module: UDP
+ summary: STA mode, udp bind test. use different ip, port
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: TCP handling abnormal event
+ test point 1: basic function
+ test point 2: use UDP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0402
+ ID: TCPIP_IGMP_0204
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SOC SOC1 ACCEPT SOC2
- - [R SOC_COM L OK]
- - - SSC SSC1 sta -D
- - ['P SSC1 C +QAP:OK', 'P SSC1 RE CLOSED:\d+,0']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['R SSC2 C +JAP:CONNECTED']
+ - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
+ - ['R SSC1 C +IGMP:OK']
+ - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
+ - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
+ - - SSC SSC2 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC2 A <sock2>:\+BIND:(\d+),OK']
+ - - SSC SSC2 soc -S -s <sock2> -i 224.1.1.1 -p <test_udp_port1> -l 10
+ - [R SSC1 SL <sock1>+1]
+ - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
+ - ['R SSC1 C +IGMP:OK']
comment: ''
execution time: 0.0
- expected result: '1.OK
-
- 2.OK
-
- 3.OK; PC TCP server accept 成功
+ expected result: '1. succeed
- 4.OK
+ 2. succeed
- 5.OK
+ 3. succeed
- 6.OK'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
+ 4. target1 recv multicast packet'
+ initial condition: T2_1
+ initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
+ autogen a TC with initial condition T2_2
module: TCPIP
- steps: '1.PC上建立TCP 监听 test_tcp_port1
-
- 2.target1上创建TCP socket1
-
- 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
+ steps: '1. target2 join SoftAP
- 4.PC与target1创建好TCP 连接,有ACCEPT
+ 2. target1 join group and create UDP socket using multicast addr
- 5.断开与AP 连接
+ 3. target2 create UDP socket
- 6.关闭建立的socket1连接'
- sub module: TCP
- summary: "close TCP socket after WIFI \ndisconnected"
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ 4. target2 send to multicast addr'
+ sub module: IGMP
+ summary: softAP send multicast packets
+ test environment: SSC_T2_1
+ test environment description (auto): 'PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: TCP handling abnormal event
+ 2 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: IGMP send/recv test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0403
- SDK: '8266_NonOS
-
- 8266_RTOS
-
- ESP32_IDF'
+ ID: WIFI_PHY_0120
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: 2/3
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SOC SOC1 ACCEPT SOC2
- - [R SOC_COM L OK]
- - - SSC SSC1 op -S -o 2
- - ['P SSC1 C +MODE:OK', 'P SSC1 RE CLOSED:\d+,0']
- - - SSC SSC1 soc -S -s <sock1> -l 5
- - ['P SSC1 RE SEND:\d+,ERROR']
+ - - SSC SSC1 phy -S -o 2 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m n -b 40
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp="")(Wlan.ie_list.ht_capabilities.short_gi_for_40="1")(Wlan.ie_list.ht_operation.second_channel_offset!="0","2")(Wlan.ie_list.ht_operation.sta_channel_width="1")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP OR 2 PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")
+ PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.msc="")']
comment: ''
execution time: 0.0
- expected result: '1.OK
+ expected result: '1. succeed,
- 2.OK
+ 2. assoc response has erp/ht/xrates, cap.short_slot_time=1, ht_info.2nd_channel_offset=2,sta_channel_width=1,
+ rates+xrates=[1/2/5.5/11/6/9/12/18/24/36/48/54]
- 3.OK; PC TCP server accept 成功
+ 3. radiotap rates in rates/xrates/msc0-7'
+ initial condition: APM1
+ initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
+ condition APSTA1
+ module: WIFI MAC
+ steps: '1. target set to PHY mode ht40
- 4.OK
+ 2. ht40 STA connect to SoftAP, capture assoc response
- 5.OK
+ 3. ping, capture Data'
+ sub module: Phy Mode
+ summary: SoftAP set as ht40, ht40 STA connect to AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 6.ERROR'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
- module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接\
- \ PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.修改8266的Mode为softAP mode\
- \ \n6.8266往PC上发送5字节数据"
- sub module: TCP
- summary: do TCP send after mode changed
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- PC has 1 WiFi NIC.
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: TCP handling abnormal event
- version: v1 (2016-8-15)
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: SoftAP PHY mode test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0408
+ ID: TCPIP_IGMP_0201
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SOC SOC1 ACCEPT SOC2
+ - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
+ - ['R SSC1 C +IGMP:OK']
+ - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
+ - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
+ - - SOC SOC1 BIND <test_udp_port1>
- [R SOC_COM L OK]
- - - SSC SSC1 dhcp -E -o 1
- - ['R SSC1 C +DHCP:STA,OK']
- - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
- - ['P SSC1 C +IP:OK', 'P SSC1 RE CLOSED:\d+,0']
- - - SSC SSC1 ip -Q -o 1
- - ['R SSC1 C +STAIP:192.168.111.210']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
+ - - SOC SOC1 SENDTO 1 <test_udp_port1> 224.1.1.1
+ - [R SSC1 SL <sock1>+1]
+ - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
+ - ['R SSC1 C +IGMP:OK']
comment: ''
execution time: 0.0
- expected result: '1.OK
-
- 2.OK
-
- 3.OK; PC TCP server accept 成功
-
- 4.OK
+ expected result: '1. succeed
- 5.OK
+ 2. succeed
- 6.OK
+ 3. able to recv packet'
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
+ module: TCPIP
+ steps: '1. join group
- 7.OK
+ 2. create UDP socket using multicast addr
- 8.OK'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
- module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接\
- \ PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.关闭8266的DHCP 1\n6.设置sta\
- \ ip \n7.查询sta ip 地址是否生效\n8.关闭建立的socket1连接"
- sub module: TCP
- summary: close TCP socket after IP changed
+ 3. PC send UDP packet to multicast addr'
+ sub module: IGMP
+ summary: station IGMP recv packets
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: TCP handling abnormal event
+ test point 1: basic function
+ test point 2: IGMP send/recv test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_UDP_0201
+ ID: TCPIP_IGMP_0202
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -W -s <sock1> -o 0
- - ['R SSC1 RE WORKTHREAD:\d+,OK']
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
- - ['']
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
- - ['']
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
- - ['']
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
- - ['']
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
- - ['']
+ - - SSC SSC2 op -S -o 1
+ - ['R SSC2 C +MODE:OK']
+ - - SSC SSC2 sta -C -s <ap_ssid> -p <ap_password>
+ - ['R SSC2 C +JAP:CONNECTED']
+ - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
+ - ['R SSC1 C +IGMP:OK']
+ - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
+ - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
+ - - SSC SSC2 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC2 A <sock2>:\+BIND:(\d+),OK']
+ - - SSC SSC2 soc -S -s <sock2> -i 224.1.1.1 -p <test_udp_port1> -l 10
+ - [R SSC1 SL <sock1>+1]
+ - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
+ - ['R SSC1 C +IGMP:OK']
comment: ''
execution time: 0.0
- expected result: '1.OK
-
- 2.OK
-
- 3.OK
-
- 4.PC OK
-
- 5.PC OK
+ expected result: '1. succeed
- 6.PC OK
+ 2. succeed
- 7.PC OK
+ 3. succeed
- 8.PC OK SOC_CLOSE=SOC1'
+ 4. target1 recv multicast packet'
initial condition: STAM2
initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
TC with initial condition STAAP2
module: TCPIP
- steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
+ steps: '1. target2 set to sta mode and join AP
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+ 2. target1 join group and create UDP socket using multicast addr
- 3.target1上关闭工作线程
+ 3. target2 create UDP socket
- 4.PC往8266上发送1472字节数据
+ 4. target2 send to multicast addr'
+ sub module: IGMP
+ summary: station send multicast packets
+ test environment: SSC_T2_1
+ test environment description (auto): 'PC has 1 wired NIC connected to AP.
- 5.PC往8266上发送1472字节数据
+ PC has 1 WiFi NIC.
- 6.PC往8266上发送1472字节数据
+ 2 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: IGMP send/recv test
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: TCPIP_IGMP_0203
+ SDK: '8266_NonOS
- 7.PC往8266上发送1472字节数据
+ 8266_RTOS
- 8.PC往8266上发送1472字节数据'
- sub module: UDP
- summary: STA mode, recv buffer test
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
+ - ['R SSC1 C +IGMP:OK']
+ - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
+ - [R SOC_COM L OK]
+ - - SOC SOC1 SENDTO 1 <test_udp_port1> 224.1.1.1
+ - [R SSC1 SL <sock1>+1]
+ - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
+ - ['R SSC1 C +IGMP:OK']
+ comment: ''
+ execution time: 0.0
+ expected result: '1. succeed
+
+ 2. succeed
+
+ 3. able to recv packet'
+ initial condition: APM2
+ initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
+ a TC with initial condition APSTA2
+ module: TCPIP
+ steps: '1. join group
+
+ 2. create UDP socket using multicast addr
+
+ 3. PC send UDP packet to multicast addr'
+ sub module: IGMP
+ summary: softAP IGMP recv packets
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: use UDP SAP (socket/espconn API) in different state
+ test point 1: basic function
+ test point 2: IGMP send/recv test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_UDP_0307
+ ID: WIFI_CONN_0401
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
- - - SSC SSC1 dhcp -E -o 1
- - ['R SSC1 C +DHCP:STA,OK']
- - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
- - ['P SSC1 C +IP:OK']
- - - SSC SSC1 ip -Q -o 1
- - ['R SSC1 C +STAIP:192.168.111.210']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
+ - - SSC SSC1 sta -R -a 0
+ - ['R SSC1 C +AUTORECONN:OK']
+ - - SSC SSC1 sta -R -a 2
+ - ['R SSC1 C +AUTORECONN:0']
+ - - SSC SSC1 reboot
+ - ['']
+ - - DELAY 15
+ - ['']
+ - - SSC SSC1 sta -Q
+ - ['R SSC1 C JAP:DISCONNECTED']
+ - - SSC SSC1 sta -R -a 1
+ - ['R SSC1 C +AUTORECONN:OK']
+ - - SSC SSC1 sta -R -a 2
+ - ['R SSC1 C +AUTORECONN:1']
+ - - SSC SSC1 reboot
+ - ['R SSC1 C +JAP:CONNECTED']
comment: ''
execution time: 0.0
- expected result: '1.OK
+ expected result: '1.设置autoreconn,关闭
- 2.OK
+ 2.查询当前autoreconn状态是否关闭
- 3.OK; PC TCP server accept 成功
+ 3.重启系统,等待15s
- 4.OK
+ 4.查询target1 未自动重连AP
- 5.OK
+ 5.设置autoreconn,开启
- 6.OK
+ 6.查询当前autoreconn状态是否开启
- 7.OK'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
- module: TCPIP
- steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
- \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
- 4.关闭8266的DHCP 1\n5.设置sta ip \n6.查询sta ip 地址是否生效\n7.关闭建立的socket1连接"
- sub module: UDP
- summary: close UDP socket after IP changed
+ 7.系统重启后target1 自动重连AP'
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
+ module: WIFI MAC
+ steps: '1.设置autoreconn,关闭
+
+ 2.查询当前autoreconn状态是否关闭
+
+ 3.重启系统,等待15s
+
+ 4.查询target1 未自动重连AP
+
+ 5.设置autoreconn,开启
+
+ 6.查询当前autoreconn状态是否开启
+
+ 7.系统重启后target1 自动重连AP'
+ sub module: WIFI Connect
+ summary: auto reconnect test
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: UDP handling abnormal event
+ test point 1: basic function
+ test point 2: power on auto reconnect test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_UDP_0306
+ ID: ^TCPIP_TCP_0404
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
+ - - SOC SOC1 LISTEN <test_tcp_port1>
- [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - - SSC SSC1 soc -B -t TCP
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
- - - SSC SSC1 dhcp -E -o 1
- - ['R SSC1 C +DHCP:STA,OK']
- - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
- - ['P SSC1 C +IP:OK']
- - - SSC SSC1 ip -Q -o 1
- - ['R SSC1 C +STAIP:192.168.111.210']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1
- - ['P SSC1 RE SEND:\d+,OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SOC SOC1 ACCEPT SOC2
+ - [R SOC_COM L OK]
+ - - SSC SSC1 op -S -o 2
+ - ['P SSC1 C +MODE:OK', 'P SSC1 RE CLOSED:\d+,0']
+ - - SSC SSC1 soc -T -s <sock1>
+ - ['R SSC1 RE CLOSE:\d+,OK']
comment: ''
execution time: 0.0
expected result: '1.OK
5.OK
- 6.OK
-
- 7.OK'
+ 6.OK'
initial condition: STAAP2
initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
on (autogen by STAM2)
module: TCPIP
- steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
- \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
- 4.关闭8266的DHCP 1\n5.设置sta ip \n6.查询sta ip 地址是否生效\n7.8266往PC上发送5字节数据"
- sub module: UDP
- summary: do UDP send after IP changed
+ steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接\
+ \ PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.修改8266的Mode为softAP mode\
+ \ \n6.关闭建立的socket1连接"
+ sub module: TCP
+ summary: close TCP socket after mode changed
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: abnormal/special use
- test point 2: UDP handling abnormal event
+ test point 2: TCP handling abnormal event
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_UDP_0305
+ ID: ^TCPIP_TCP_0406
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
+ - - SOC SOC1 LISTEN <test_tcp_port1>
- [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - - SSC SSC1 soc -B -t TCP
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SOC SOC1 ACCEPT SOC2
+ - [R SOC_COM L OK]
- - NIC <pc_nic> DISABLED
- [R PC_COM C OK]
- - SSC SSC1 soc -T -s <sock1>
2.OK
- 3.OK
+ 3.OK; PC TCP server accept 成功
4.OK
- 5.OK'
+ 5.OK
+
+ 6.OK'
initial condition: STAAP2
initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
on (autogen by STAM2)
module: TCPIP
- steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
- \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
- 4.PC上网卡禁止掉 \n5.关闭建立的socket1连接"
- sub module: UDP
- summary: close UDP socket after PC NIC disabled
+ steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接\
+ \ PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.PC上网卡禁止掉 \n6.关闭建立的socket1连接"
+ sub module: TCP
+ summary: close TCP socket after PC NIC disabled
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: abnormal/special use
- test point 2: UDP handling abnormal event
+ test point 2: TCP handling abnormal event
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_UDP_0304
+ ID: ^TCPIP_TCP_0407
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
+ - - SOC SOC1 LISTEN <test_tcp_port1>
- [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - - SSC SSC1 soc -B -t TCP
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
- - - SSC SSC1 op -S -o 2
- - ['P SSC1 C +MODE:OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SOC SOC1 ACCEPT SOC2
+ - [R SOC_COM L OK]
+ - - SSC SSC1 dhcp -E -o 1
+ - ['R SSC1 C +DHCP:STA,OK']
+ - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
+ - ['P SSC1 C +IP:OK', 'P SSC1 RE CLOSED:\d+,0']
+ - - SSC SSC1 ip -Q -o 1
+ - ['R SSC1 C +STAIP:192.168.111.210']
+ - - SSC SSC1 soc -S -s <sock1> -l 5
+ - ['P SSC1 RE SEND:\d+,ERROR']
comment: ''
execution time: 0.0
expected result: '1.OK
2.OK
- 3.OK
+ 3.OK; PC TCP server accept 成功
4.OK
- 5.OK'
+ 5.OK
+
+ 6.OK
+
+ 7.OK
+
+ 8.ERROR'
initial condition: STAAP2
initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
on (autogen by STAM2)
module: TCPIP
- steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
- \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
- 4.修改8266的Mode为softAP mode \n5.关闭建立的socket1连接"
- sub module: UDP
- summary: close UDP socket after mode changed
+ steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接\
+ \ PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.关闭8266的DHCP 1\n6.设置sta\
+ \ ip \n7.查询sta ip 地址是否生效\n8.8266往PC上发送5字节数据"
+ sub module: TCP
+ summary: do TCP send after IP changed
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: abnormal/special use
- test point 2: UDP handling abnormal event
+ test point 2: TCP handling abnormal event
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^WIFI_CONN_0103
- SDK: '8266_NonOS
-
- 8266_RTOS
-
- ESP32_IDF'
- Test App: SSC
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum> -h
- 0
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -S -h 0
- - [R SSC2 P <target_ap_mac>, R SSC2 C +SCANDONE]
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum> -h
- 1
- - ['R SSC1 C +SAP:OK']
- - - DELAY 3
- - ['']
- - - SSC SSC2 sta -S -h 0
- - [R SSC2 C +SCANDONE]
- - - DELAY 3
- - ['']
- - - SSC SSC2 sta -S -h 0
- - [R SSC2 NP <target_ap_mac> C +SCANDONE]
- comment: ''
- execution time: 0.0
- expected result: '1.target1 set AP,set ssid broad cast
-
- 2.target 2上scan target_ap_mac
-
- 3.target1 set AP,set ssid hidden,
-
- 4.target 2上不能scan target_ap_mac'
- initial condition: T2_2
- initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
- module: WIFI MAC
- steps: '1. target1下设置ssid 和pwd 加密方式,set ssid broad cast
-
- 2.target 2上scan target_ap_mac
-
- 3. target1下设置ssid 和pwd 加密方式,set ssid hidden,
-
- 4.target 2上scan target_ap_mac'
- sub module: WIFI Connect
- summary: station SAP+JAP test, ssid hidden
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
-
- PC has 1 WiFi NIC.
-
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: SAP/JAP with different config
- version: v1 (2016-8-15)
-- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0101
+ ID: ^TCPIP_TCP_0401
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - SOC SOC1 LISTEN <test_tcp_port1>
- - [SOCR SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t TCP
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,OK', P SOC1 C +ACCEPT]
- - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock2> -i 123.456.678.789 -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,ERROR']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port2>
- - ['P SSC1 RE CONNECT:\d+,ERROR']
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SOC SOC1 ACCEPT SOC2
+ - [R SOC_COM L OK]
+ - - SSC SSC1 sta -D
+ - ['P SSC1 C +QAP:OK', 'P SSC1 RE CLOSED:\d+,0']
+ - - SSC SSC1 soc -S -s <sock1> -l 5
+ - ['P SSC1 RE SEND:\d+,ERROR']
comment: ''
execution time: 0.0
expected result: '1.OK
4.OK
- 5.ERROR
+ 5.OK
6.ERROR'
initial condition: STAAP2
module: TCPIP
steps: '1.PC上建立TCP 监听 test_tcp_port1
- 2.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
+ 2.target1上创建TCP socket1
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
+ 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
- 4.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
+ 4.PC与target1创建好TCP 连接,有ACCEPT
- 5.target1上使用步骤4创建的socket,去连接不存在的ip,test_tcp_port1
+ 5.断开与AP 连接
- 6.target1上使用步骤2创建的socket,去连接 PC的ip,远端端口不存在。'
+ 6.8266往PC上发送5字节数据'
sub module: TCP
- summary: STA mode, connect test. use different ip, port
+ summary: do TCP send after WIFI disconnected
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
+ test point 1: abnormal/special use
+ test point 2: TCP handling abnormal event
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0103
+ ID: ^TCPIP_TCP_0402
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ['R SSC1 RE CONNECT:\d+,OK']
- - SOC SOC1 ACCEPT SOC2
- [R SOC_COM L OK]
- - - SOC SOC2 SEND 5
- - [R SSC1 SL <sock1>+5]
- - - SSC SSC1 soc -S -s <sock1> -l 5
- - ['P SSC1 RE SEND:\d+,OK', P SOC2 RL 5]
- - - SOC SOC2 SEND 146000
- - [R SSC1 SL <sock1>+146000]
- - - SSC SSC1 soc -S -s <sock1> -l 1460 -n 100
- - ['P SSC1 RE SEND:\d+,OK', P SOC2 RL 146000]
+ - - SSC SSC1 sta -D
+ - ['P SSC1 C +QAP:OK', 'P SSC1 RE CLOSED:\d+,0']
+ - - SSC SSC1 soc -T -s <sock1>
+ - ['R SSC1 RE CLOSE:\d+,OK']
comment: ''
execution time: 0.0
expected result: '1.OK
2.OK
- 3.OK,pc上回accept
+ 3.OK; PC TCP server accept 成功
4.OK
- 5.target收到5 byte
-
- 6.PC收到5 byte
-
- 7.target收到 146000 byte
+ 5.OK
- 8.OK,PC 回SOC_RECV=SOC2,RECV_LEN=字节数'
+ 6.OK'
initial condition: STAAP2
initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
on (autogen by STAM2)
module: TCPIP
- steps: '1. PC上建立TCP 监听 test_tcp_port1
-
- 2.target1上创建TCP socket
-
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
+ steps: '1.PC上建立TCP 监听 test_tcp_port1
- 4.PC与target1 创建好TCP 连接,有ACCEPT
+ 2.target1上创建TCP socket1
- 5.PC send 5 bytes to 8266
+ 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
- 6.8266 send 5 bytes to PC
+ 4.PC与target1创建好TCP 连接,有ACCEPT
- 7. PC send 100 * 1460 data to 8266,
+ 5.断开与AP 连接
- 8.8266 send 100 * 1460 to PC.'
+ 6.关闭建立的socket1连接'
sub module: TCP
- summary: STA mode, send/recv basic test
+ summary: "close TCP socket after WIFI \ndisconnected"
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
+ test point 1: abnormal/special use
+ test point 2: TCP handling abnormal event
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0102
+ ID: ^TCPIP_TCP_0403
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 soc -B -t TCP -p <random_port>
+ - - SOC SOC1 LISTEN <test_tcp_port1>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t TCP
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -L -s <sock1>
- - ['R SSC1 RE LISTEN:\d+,OK']
- - - SOC SOC1 CONNECT <random_port> <target_ip>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+', P SOC_COM C OK]
- - - SOC SOC1 CONNECT <test_tcp_port2> <target_ip>
- - [P SOC_COM C ERROR, P SSC1 NC ACCEPT]
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SOC SOC1 ACCEPT SOC2
+ - [R SOC_COM L OK]
+ - - SSC SSC1 op -S -o 2
+ - ['P SSC1 C +MODE:OK', 'P SSC1 RE CLOSED:\d+,0']
+ - - SSC SSC1 soc -S -s <sock1> -l 5
+ - ['P SSC1 RE SEND:\d+,ERROR']
comment: ''
execution time: 0.0
expected result: '1.OK
2.OK
- 3.PC TCP client accept
+ 3.OK; PC TCP server accept 成功
- 4.error'
+ 4.OK
+
+ 5.OK
+
+ 6.ERROR'
initial condition: STAAP2
initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
on (autogen by STAM2)
module: TCPIP
- steps: '1.target1上创建TCP socket,bind到本地端口<random_port>
-
- 2.target1上使用步骤1创建的socket,创建TCP 监听
-
- 3.PC TCP 连接到target1 <random_port>,<target_ip>
-
- 4.PC tcp 连接到不存在的port ,<target_ip>'
+ steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接\
+ \ PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.修改8266的Mode为softAP mode\
+ \ \n6.8266往PC上发送5字节数据"
sub module: TCP
- summary: STA mode, server listen test. use different kinds of port
+ summary: do TCP send after mode changed
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
+ test point 1: abnormal/special use
+ test point 2: TCP handling abnormal event
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0105
+ ID: ^TCPIP_TCP_0408
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- [R SOC_COM L OK]
- - SSC SSC1 soc -B -t TCP
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- - - SSC SSC1 soc -B -t TCP -p <random_port>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -L -s <sock1>
- - ['R SSC1 RE LISTEN:\d+,OK']
- - - SOC SOC2 CONNECT <random_port> <target_ip>
- - ['R SSC1 A <sock2>:ACCEPT:(\d+),\d+,.+,\d+']
- - - SSC SSC1 soc -T -s <sock2>
- - ['R SSC1 RE CLOSE:\d+,OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock1>
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
+ - - SOC SOC1 ACCEPT SOC2
+ - [R SOC_COM L OK]
+ - - SSC SSC1 dhcp -E -o 1
+ - ['R SSC1 C +DHCP:STA,OK']
+ - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
+ - ['P SSC1 C +IP:OK', 'P SSC1 RE CLOSED:\d+,0']
+ - - SSC SSC1 ip -Q -o 1
+ - ['R SSC1 C +STAIP:192.168.111.210']
- - SSC SSC1 soc -T -s <sock1>
- ['R SSC1 RE CLOSE:\d+,OK']
comment: ''
2.OK
- 3.OK
+ 3.OK; PC TCP server accept 成功
4.OK
6.OK
- 7.target1关闭socket1
-
- 8.target1关闭socket2
-
- 9.OK
-
- 10.OK,pc tcp server accept成功
-
- 11.target1关闭socket1
-
- 12.OK
-
- 13.OK,pc tcp server accept成功
-
- 14.OK
+ 7.OK
- 15.target1关闭socket1'
+ 8.OK'
initial condition: STAAP2
initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
on (autogen by STAM2)
module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1关闭socket1\n\
- 4.target1上创建TCP socket 端口随机\n5.target1上使用步骤4创建的socket1,去监听\n6.PC CONNECT<random_port>,<target_ip>\
- \ ,tcp 连接创建成功,创建socket2 \n7.target1关闭socket1\n8.target1关闭socket2\n\
- 9.target1上创建TCP socket1\n10.target1上使用步骤10创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT\n\
- 11.target1关闭socket1\n12.target1上创建TCP socket1\n13.target1上使用步骤13创建的socket1,去连接\
- \ PC的ip,test_tcp_port1,PC有ACCEPT\n14.target1shutdown socket1\n15.target1关闭socket1"
+ steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接\
+ \ PC的ip,test_tcp_port1\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.关闭8266的DHCP 1\n6.设置sta\
+ \ ip \n7.查询sta ip 地址是否生效\n8.关闭建立的socket1连接"
sub module: TCP
- summary: STA mode, close for different types of TCP sockets test
+ summary: close TCP socket after IP changed
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
+ test point 1: abnormal/special use
+ test point 2: TCP handling abnormal event
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0104
+ ID: TCPIP_UDP_0201
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
+ - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock1> -h B
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock2> -h W
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock3>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock3> -h R
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
+ - - SSC SSC1 soc -W -s <sock1> -o 0
+ - ['R SSC1 RE WORKTHREAD:\d+,OK']
+ - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
+ - ['']
+ - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
+ - ['']
+ - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
+ - ['']
+ - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
+ - ['']
+ - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
+ - ['']
comment: ''
execution time: 0.0
expected result: '1.OK
2.OK
- 3.OK,pc tcp server accept OK
-
- 4.OK
-
- 5.OK
+ 3.OK
- 6.OK,pc tcp server accept OK
+ 4.PC OK
- 7.OK
+ 5.PC OK
- 8.OK
+ 6.PC OK
- 9.OK,pc tcp server accept OK
+ 7.PC OK
- 10.OK'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
+ 8.PC OK SOC_CLOSE=SOC1'
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
module: TCPIP
- steps: '1. PC上建立TCP 监听 test_tcp_port1
-
- 2.target1上创建TCP socket
-
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+ steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 4.target1 shutdown socket1 B
+ 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 5.target1上创建TCP socket
+ 3.target1上关闭工作线程
- 6.target1上使用步骤5创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+ 4.PC往8266上发送1472字节数据
- 7.target1 shutdown socket2 W
+ 5.PC往8266上发送1472字节数据
- 8.target1上创建TCP socket
+ 6.PC往8266上发送1472字节数据
- 9.target1上使用步骤8创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+ 7.PC往8266上发送1472字节数据
- 10.target1 shutdown socket3 R'
- sub module: TCP
- summary: STA mode, shutdown basic test
+ 8.PC往8266上发送1472字节数据'
+ sub module: UDP
+ summary: STA mode, recv buffer test
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
+ test point 1: abnormal/special use
+ test point 2: use UDP SAP (socket/espconn API) in different state
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0107
+ ID: ^TCPIP_UDP_0307
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: 1/5
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 soc -B -t TCP -p <random_port>
+ - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -L -s <sock1>
- - ['R SSC1 RE LISTEN:\d+,OK']
- - - SOC SOC2 CONNECT <random_port> <target_ip>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
- - - SOC SOC3 CONNECT <random_port> <target_ip>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
- - - SOC SOC4 CONNECT <random_port> <target_ip>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
- - - SOC SOC5 CONNECT <random_port> <target_ip>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
- - - SOC SOC6 CONNECT <random_port> <target_ip>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
+ - - SSC SSC1 dhcp -E -o 1
+ - ['R SSC1 C +DHCP:STA,OK']
+ - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
+ - ['P SSC1 C +IP:OK']
+ - - SSC SSC1 ip -Q -o 1
+ - ['R SSC1 C +STAIP:192.168.111.210']
+ - - SSC SSC1 soc -T -s <sock1>
+ - ['R SSC1 RE CLOSE:\d+,OK']
comment: ''
execution time: 0.0
- expected result: '1.+BIND:0,OK,0.0.0.0
+ expected result: '1.OK
2.OK
- 3.OK,pc tcp server accept成功
+ 3.OK; PC TCP server accept 成功
- 4.OK,pc tcp server accept成功
+ 4.OK
- 5.OK,pc tcp server accept成功
+ 5.OK
- 6.OK,pc tcp server accept成功
+ 6.OK
- 7.OK,pc tcp server accept成功'
+ 7.OK'
initial condition: STAAP2
initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
on (autogen by STAM2)
module: TCPIP
- steps: "1.target1上创建TCP socket 端口随机\n2.target1上使用步骤4创建的socket1,去监听\n3.PC CONNECT<random_port>,<target_ip>\
- \ ,tcp 连接创建成功,创建socket2 \n4.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket3\
- \ \n5.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket4 \n6.PC CONNECT<random_port>,<target_ip>\
- \ ,tcp 连接创建成功,创建socket5 \n7.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket6"
- sub module: TCP
- summary: STA mode, accept max TCP client by server test
+ steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
+ \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
+ 4.关闭8266的DHCP 1\n5.设置sta ip \n6.查询sta ip 地址是否生效\n7.关闭建立的socket1连接"
+ sub module: UDP
+ summary: close UDP socket after IP changed
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
+ test point 1: abnormal/special use
+ test point 2: UDP handling abnormal event
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0106
+ ID: ^TCPIP_UDP_0306
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: 1/5
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
+ - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock3>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock4>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock4> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock5>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock5> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
+ - - SSC SSC1 dhcp -E -o 1
+ - ['R SSC1 C +DHCP:STA,OK']
+ - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
+ - ['P SSC1 C +IP:OK']
+ - - SSC SSC1 ip -Q -o 1
+ - ['R SSC1 C +STAIP:192.168.111.210']
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1
+ - ['P SSC1 RE SEND:\d+,OK']
comment: ''
execution time: 0.0
expected result: '1.OK
2.OK
- 3.OK,pc tcp server accept成功
+ 3.OK; PC TCP server accept 成功
- 4 OK
+ 4.OK
- 5.OK,pc tcp server accept成功
+ 5.OK
6.OK
- 7.OK,pc tcp server accept成功
-
- 8 OK
-
- 9.OK,pc tcp server accept成功
-
- 10.OK
-
- 11.OK,pc tcp server accept成功'
+ 7.OK'
initial condition: STAAP2
initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
on (autogen by STAM2)
module: TCPIP
- steps: '1.PC上建立TCP 监听 test_tcp_port1
-
- 2.target1上创建TCP socket1
-
- 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
-
- 4.target1上创建TCP socket2
-
- 5.target1上使用步骤4创建的socket2,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
-
- 6.target1上创建TCP socket3
-
- 7.target1上使用步骤6创建的socket3,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
-
- 8.target1上创建TCP socket4
-
- 9.target1上使用步骤8创建的socket4,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
-
- 10.target1上创建TCP socket5
-
- 11.target1上使用步骤10创建的socket5,去连接 PC的ip,test_tcp_port1,PC有ACCEPT'
- sub module: TCP
- summary: STA mode, create max TCP sockets test
+ steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
+ \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
+ 4.关闭8266的DHCP 1\n5.设置sta ip \n6.查询sta ip 地址是否生效\n7.8266往PC上发送5字节数据"
+ sub module: UDP
+ summary: do UDP send after IP changed
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
+ test point 1: abnormal/special use
+ test point 2: UDP handling abnormal event
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_DHCP_0210
+ ID: ^TCPIP_UDP_0305
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: 1/5
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC1 dhcp -E -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
- - ['R SSC1 C +DHCP:LEASE,OK']
- - - SSC SSC1 dhcp -S -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC2 sta -C -s <random_string> -p <random_string>
- - ['R SSC2 C +JAP:CONNECTED']
- - - WIFI <pc_wifi_nic> CONN2 <random_string> <random_string> 192.168.4.2
- - ['R PC_COM NC ERROR C +WIFICONN:OK']
- - - SSC SSC1 ap -L
- - [R SSC1 C 192.168.4.2 C 192.168.4.3 P <pc_wifi_nic_mac> P <target2_mac>]
+ - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
+ - - NIC <pc_nic> DISABLED
+ - [R PC_COM C OK]
+ - - SSC SSC1 soc -T -s <sock1>
+ - ['R SSC1 RE CLOSE:\d+,OK']
comment: ''
execution time: 0.0
- expected result: '1. succeed
+ expected result: '1.OK
- 2. succeed
+ 2.OK
- 3. succeed
+ 3.OK
- 4. succeed
+ 4.OK
- 5. find target2 and PC'
- initial condition: T2_2
- initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ 5.OK'
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
module: TCPIP
- steps: '1. config softap to a random ssid
+ steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
+ \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
+ 4.PC上网卡禁止掉 \n5.关闭建立的socket1连接"
+ sub module: UDP
+ summary: close UDP socket after PC NIC disabled
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
- 2. target2 connect to target1 softap
+ PC has 1 WiFi NIC.
- 3. disable DHCP server, do config and enable
+ 1 SSC target connect with PC by UART.'
+ test point 1: abnormal/special use
+ test point 2: UDP handling abnormal event
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: ^TCPIP_UDP_0304
+ SDK: '8266_NonOS
- 4. PC NIC connect to target1 softap try to renew IP 192.168.4.2
+ 8266_RTOS
- 5. softap list connected station'
- sub module: DHCP
- summary: dhcp server reconfig, old client able to get IP (discover with requested
- IP)
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: 1/5
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
+ - - SSC SSC1 op -S -o 2
+ - ['P SSC1 C +MODE:OK']
+ - - SSC SSC1 soc -T -s <sock1>
+ - ['R SSC1 RE CLOSE:\d+,OK']
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
+
+ 2.OK
+
+ 3.OK
+
+ 4.OK
+
+ 5.OK'
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
+ module: TCPIP
+ steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
+ \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
+ 4.修改8266的Mode为softAP mode \n5.关闭建立的socket1连接"
+ sub module: UDP
+ summary: close UDP socket after mode changed
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: DHCP server function test
+ 1 SSC target connect with PC by UART.'
+ test point 1: abnormal/special use
+ test point 2: UDP handling abnormal event
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_DHCP_0211
+ ID: ^WIFI_CONN_0103
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
+ - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum> -h
+ 0
- ['R SSC1 C +SAP:OK']
- - - WIFI <pc_wifi_nic> CONN <random_string> <random_string> 192.168.4.2
- - ['R PC_COM NC ERROR C +WIFICONN:OK']
- - - SSC SSC1 dhcp -E -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
- - ['R SSC1 C +DHCP:LEASE,OK']
- - - SSC SSC1 dhcp -S -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC2 sta -C -s <random_string> -p <random_string>
- - ['R SSC2 C +JAP:CONNECTED']
- - - DELAY 10
+ - - SSC SSC2 sta -S -h 0
+ - [R SSC2 P <target_ap_mac>, R SSC2 C +SCANDONE]
+ - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum> -h
+ 1
+ - ['R SSC1 C +SAP:OK']
+ - - DELAY 3
- ['']
- - - SSC SSC1 ap -L
- - [R SSC1 C 192.168.4.2 C 192.168.4.3 P <pc_wifi_nic_mac> P <target2_mac>]
+ - - SSC SSC2 sta -S -h 0
+ - [R SSC2 C +SCANDONE]
+ - - DELAY 3
+ - ['']
+ - - SSC SSC2 sta -S -h 0
+ - [R SSC2 NP <target_ap_mac> C +SCANDONE]
comment: ''
execution time: 0.0
- expected result: '1. succeed
-
- 2. succeed
+ expected result: '1.target1 set AP,set ssid broad cast
- 3. succeed
+ 2.target 2上scan target_ap_mac
- 4. succeed
+ 3.target1 set AP,set ssid hidden,
- 5. find target2 and PC'
+ 4.target 2上不能scan target_ap_mac'
initial condition: T2_2
initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
- module: TCPIP
- steps: '1. config softap to a random ssid
-
- 2. target2 connect to target1 softap
+ module: WIFI MAC
+ steps: '1. target1下设置ssid 和pwd 加密方式,set ssid broad cast
- 3. disable DHCP server, do config and enable
+ 2.target 2上scan target_ap_mac
- 4. PC NIC connect to target1 softap try to renew IP 192.168.4.2
+ 3. target1下设置ssid 和pwd 加密方式,set ssid hidden,
- 5. softap list connected station'
- sub module: DHCP
- summary: dhcp server reconfig, old client able to renew IP (direct send request)
+ 4.target 2上scan target_ap_mac'
+ sub module: WIFI Connect
+ summary: station SAP+JAP test, ssid hidden
test environment: SSC_T2_1
test environment description (auto): 'PC has 1 wired NIC connected to AP.
2 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: DHCP server function test
+ test point 2: SAP/JAP with different config
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_TCP_0212
+ ID: ^TCPIP_TCP_0101
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP -i <target_ap_ip>
+ - - SOC SOC1 LISTEN <test_tcp_port1>
+ - [SOCR SOC_COM L OK]
+ - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -B -t TCP -i <target_ap_ip>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - ['P SSC1 RE CONNECT:\d+,OK', P SOC1 C +ACCEPT]
+ - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
- ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock2>
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
- - - SSC SSC1 soc -B -t TCP -p <random_port>
- - ['R SSC1 A <sock3>:BIND:(\d+),OK']
- - - SSC SSC1 soc -L -s <sock3>
- - ['R SSC1 RE LISTEN:\d+,OK']
- - - SOC SOC2 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
- - ['R SSC1 A <sock4>:ACCEPT:(\d+),\d+,.+,\d+']
- - - SSC SSC1 soc -I
- - ['P SSC1 RE "SOCINFO:%%s,2,%%s,\d+,%%s,%%d"%%(<sock1>,<target_ap_ip>,<pc_ip_wifi>,<test_tcp_port1>)',
- 'P SSC1 RE "SOCINFO:%%s,2,.+,\d+,.+,\d+"%%(<sock2>)', 'P SSC1 RE "SOCINFO:%%s,82,.+,%%d,.+,\d+"%%(<sock3>,<random_port>)',
- 'P SSC1 RE "SOCINFO:%%s,2,%%s,%%d,%%s,\d+"%%(<sock4>,<target_ap_ip>,<random_port>,<pc_ip_wifi>)']
+ - - SSC SSC1 soc -C -s <sock2> -i 123.456.678.789 -p <test_tcp_port1>
+ - ['P SSC1 RE CONNECT:\d+,ERROR']
+ - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port2>
+ - ['P SSC1 RE CONNECT:\d+,ERROR']
comment: ''
execution time: 0.0
expected result: '1.OK
2.OK
- 3.OK,pc tcp server accept成功
+ 3.OK; PC TCP server accept 成功
4.OK
- 5.OK
-
- 6.OK
-
- 7.OK
-
- 8.OK
+ 5.ERROR
- 9.PC OK, target1 +ACCEPT:3,2,<pc_ip>,port
+ 6.ERROR'
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
+ module: TCPIP
+ steps: '1.PC上建立TCP 监听 test_tcp_port1
- 10.+SOCINFO:<sock1>,<target_ip>,<pc_ip>,<test_tcp_port1>
+ 2.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
- +SOCINFO:<sock2>,<target_ip>,<pc_ip>,<test_tcp_port1>
+ 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
- +SOCINFO:<sock3>,<random_port>
+ 4.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
- +SOCINFO:<sock4>,<target_ip>,<random_port>,<pc_ip>
+ 5.target1上使用步骤4创建的socket,去连接不存在的ip,test_tcp_port1
- +SOCINF0ALL'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
- module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1,本地ip target_ip\n3.target1上使用步骤2创建的socket1,去连接\
- \ PC的ip,test_tcp_port1,PC有ACCEPT\n4.target1上创建TCP socket2,本地ip target_ip\n5.target1上使用步骤4创建的socket2,去连接\
- \ PC的ip,test_tcp_port1,PC有ACCEPT\n6.target1 shutdown socket2 \n7.target1上创建TCP\
- \ socket3,本地端口random_port\n8.target1上使用步骤7创建的socket3,去监听\n9.PC CONNECT<random_port>,<target_ip>\
- \ ,tcp 连接创建成功,创建socket4 \n10.target1 查询the socket information"
+ 6.target1上使用步骤2创建的socket,去连接 PC的ip,远端端口不存在。'
sub module: TCP
- summary: AP mode, get active socket info test
+ summary: STA mode, connect test. use different ip, port
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) in different state
+ test point 2: use TCP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_TCP_0210
+ ID: ^TCPIP_TCP_0103
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
+ - - SOC SOC1 LISTEN <test_tcp_port1>
- [R SOC_COM L OK]
- - SSC SSC1 soc -B -t TCP
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- ['R SSC1 RE CONNECT:\d+,OK']
- - SOC SOC1 ACCEPT SOC2
- [R SOC_COM L OK]
- - - SSC SSC1 soc -W -s <sock1> -o 0
- - ['R SSC1 RE WORKTHREAD:\d+,OK']
+ - - SOC SOC2 SEND 5
+ - [R SSC1 SL <sock1>+5]
+ - - SSC SSC1 soc -S -s <sock1> -l 5
+ - ['P SSC1 RE SEND:\d+,OK', P SOC2 RL 5]
- - SOC SOC2 SEND 146000
- - [P SOC_COM R *]
- - - SSC SSC1 soc -W -s <sock1> -o 1
- - ['P SSC1 RE WORKTHREAD:\d+,OK', P SSC1 SL <sock1>+2920]
+ - [R SSC1 SL <sock1>+146000]
+ - - SSC SSC1 soc -S -s <sock1> -l 1460 -n 100
+ - ['P SSC1 RE SEND:\d+,OK', P SOC2 RL 146000]
comment: ''
execution time: 0.0
expected result: '1.OK
2.OK
- 3.OK,pc tcp server accept成功
+ 3.OK,pc上回accept
4.OK
- 6.OK
+ 5.target收到5 byte
- 7.收到 146000 数据
+ 6.PC收到5 byte
- '
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
+ 7.target收到 146000 byte
+
+ 8.OK,PC 回SOC_RECV=SOC2,RECV_LEN=字节数'
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
module: TCPIP
steps: '1. PC上建立TCP 监听 test_tcp_port1
4.PC与target1 创建好TCP 连接,有ACCEPT
- 5.target停止调用recv
+ 5.PC send 5 bytes to 8266
- 6.PC send 100 * 1460 data to 8266,
+ 6.8266 send 5 bytes to PC
- 7.target重新调用recv'
+ 7. PC send 100 * 1460 data to 8266,
+
+ 8.8266 send 100 * 1460 to PC.'
sub module: TCP
- summary: AP mode, recv buffer test
+ summary: STA mode, send/recv basic test
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) in different state
+ test point 2: use TCP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0210
+ ID: ^TCPIP_TCP_0102
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
+ - - SSC SSC1 soc -B -t TCP -p <random_port>
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SOC SOC1 ACCEPT SOC2
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -W -s <sock1> -o 0
- - ['R SSC1 RE WORKTHREAD:\d+,OK']
- - - SOC SOC2 SEND 146000
- - [P SOC_COM R *]
- - - SSC SSC1 soc -W -s <sock1> -o 1
- - ['P SSC1 RE WORKTHREAD:\d+,OK', P SSC1 SL <sock1>+2920]
- comment: ''
- execution time: 0.0
- expected result: '1.OK
-
- 2.OK
-
- 3.OK,pc tcp server accept成功
+ - - SSC SSC1 soc -L -s <sock1>
+ - ['R SSC1 RE LISTEN:\d+,OK']
+ - - SOC SOC1 CONNECT <random_port> <target_ip>
+ - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+', P SOC_COM C OK]
+ - - SOC SOC1 CONNECT <test_tcp_port2> <target_ip>
+ - [P SOC_COM C ERROR, P SSC1 NC ACCEPT]
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
- 4.OK
+ 2.OK
- 6.OK
+ 3.PC TCP client accept
- 7.收到 146000 数据'
- initial condition: APSTA2
- initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
- by APM2)
+ 4.error'
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
module: TCPIP
- steps: '1. PC上建立TCP 监听 test_tcp_port1
-
- 2.target1上创建TCP socket
-
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
-
- 4.PC与target1 创建好TCP 连接,有ACCEPT
+ steps: '1.target1上创建TCP socket,bind到本地端口<random_port>
- 5.target停止调用recv
+ 2.target1上使用步骤1创建的socket,创建TCP 监听
- 6.PC send 100 * 1460 data to 8266,
+ 3.PC TCP 连接到target1 <random_port>,<target_ip>
- 7.target重新调用recv'
+ 4.PC tcp 连接到不存在的port ,<target_ip>'
sub module: TCP
- summary: AP mode, recv buffer test
+ summary: STA mode, server listen test. use different kinds of port
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) in different state
+ test point 2: use TCP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0212
+ ID: ^TCPIP_TCP_0105
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
+ - - SOC SOC1 LISTEN <test_tcp_port1>
- [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP -i <target_ap_ip>
+ - - SSC SSC1 soc -B -t TCP
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - - SSC SSC1 soc -T -s <sock1>
+ - ['R SSC1 RE CLOSE:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP -p <random_port>
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -L -s <sock1>
+ - ['R SSC1 RE LISTEN:\d+,OK']
+ - - SOC SOC2 CONNECT <random_port> <target_ip>
+ - ['R SSC1 A <sock2>:ACCEPT:(\d+),\d+,.+,\d+']
+ - - SSC SSC1 soc -T -s <sock2>
+ - ['R SSC1 RE CLOSE:\d+,OK']
+ - - SSC SSC1 soc -T -s <sock1>
+ - ['R SSC1 RE CLOSE:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -B -t TCP -i <target_ap_ip>
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - - SSC SSC1 soc -T -s <sock1>
+ - ['R SSC1 RE CLOSE:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock2>
+ - - SSC SSC1 soc -D -s <sock1>
- ['R SSC1 RE SHUTDOWN:\d+,OK']
- - - SSC SSC1 soc -B -t TCP -p <random_port>
- - ['R SSC1 A <sock3>:BIND:(\d+),OK']
- - - SSC SSC1 soc -L -s <sock3>
- - ['R SSC1 RE LISTEN:\d+,OK']
- - - SOC SOC2 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
- - ['R SSC1 A <sock4>:ACCEPT:(\d+),\d+,.+,\d+']
- - - SSC SSC1 soc -I
- - ['P SSC1 RE "SOCINFO:%%s,2,%%s,\d+,%%s,%%d"%%(<sock1>,<target_ap_ip>,<pc_ip_wifi>,<test_tcp_port1>)',
- 'P SSC1 RE "SOCINFO:%%s,2,.+,\d+,.+,\d+"%%(<sock2>)', 'P SSC1 RE "SOCINFO:%%s,82,.+,%%d,.+,\d+"%%(<sock3>,<random_port>)',
- 'P SSC1 RE "SOCINFO:%%s,2,%%s,%%d,%%s,\d+"%%(<sock4>,<target_ap_ip>,<random_port>,<pc_ip_wifi>)']
+ - - SSC SSC1 soc -T -s <sock1>
+ - ['R SSC1 RE CLOSE:\d+,OK']
comment: ''
execution time: 0.0
expected result: '1.OK
2.OK
- 3.OK,pc tcp server accept成功
+ 3.OK
4.OK
6.OK
- 7.OK
+ 7.target1关闭socket1
- 8.OK
+ 8.target1关闭socket2
- 9.PC OK, target1 +ACCEPT:3,2,<pc_ip>,port
+ 9.OK
- 10.+SOCINFO:<sock1>,<target_ip>,<pc_ip>,<test_tcp_port1>
+ 10.OK,pc tcp server accept成功
- +SOCINFO:<sock2>,<target_ip>,<pc_ip>,<test_tcp_port1>
+ 11.target1关闭socket1
- +SOCINFO:<sock3>,<random_port>
+ 12.OK
- +SOCINFO:<sock4>,<target_ip>,<random_port>,<pc_ip>
+ 13.OK,pc tcp server accept成功
- +SOCINF0ALL'
- initial condition: APSTA2
- initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
- by APM2)
+ 14.OK
+
+ 15.target1关闭socket1'
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1,本地ip target_ip\n3.target1上使用步骤2创建的socket1,去连接\
- \ PC的ip,test_tcp_port1,PC有ACCEPT\n4.target1上创建TCP socket2,本地ip target_ip\n5.target1上使用步骤4创建的socket2,去连接\
- \ PC的ip,test_tcp_port1,PC有ACCEPT\n6.target1 shutdown socket2 \n7.target1上创建TCP\
- \ socket3,本地端口random_port\n8.target1上使用步骤7创建的socket3,去监听\n9.PC CONNECT<random_port>,<target_ip>\
- \ ,tcp 连接创建成功,创建socket4 \n10.target1 查询the socket information"
+ steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1关闭socket1\n\
+ 4.target1上创建TCP socket 端口随机\n5.target1上使用步骤4创建的socket1,去监听\n6.PC CONNECT<random_port>,<target_ip>\
+ \ ,tcp 连接创建成功,创建socket2 \n7.target1关闭socket1\n8.target1关闭socket2\n\
+ 9.target1上创建TCP socket1\n10.target1上使用步骤10创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT\n\
+ 11.target1关闭socket1\n12.target1上创建TCP socket1\n13.target1上使用步骤13创建的socket1,去连接\
+ \ PC的ip,test_tcp_port1,PC有ACCEPT\n14.target1shutdown socket1\n15.target1关闭socket1"
sub module: TCP
- summary: AP mode, get active socket info test
+ summary: STA mode, close for different types of TCP sockets test
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) in different state
+ test point 2: use TCP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_DHCP_0211
+ ID: ^TCPIP_TCP_0104
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
- - ['R SSC1 C +SAP:OK']
- - - WIFI <pc_wifi_nic> CONN <random_string> <random_string> 192.168.4.2
- - ['R PC_COM NC ERROR C +WIFICONN:OK']
- - - SSC SSC1 dhcp -E -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
- - ['R SSC1 C +DHCP:LEASE,OK']
- - - SSC SSC1 dhcp -S -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC2 sta -C -s <random_string> -p <random_string>
- - ['R SSC2 C +JAP:CONNECTED']
- - - DELAY 10
- - ['']
- - - SSC SSC1 ap -L
- - [R SSC1 C 192.168.4.2 C 192.168.4.3 P <pc_wifi_nic_mac> P <target2_mac>]
+ - - SOC SOC1 LISTEN <test_tcp_port1>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -D -s <sock1> -h B
+ - ['R SSC1 RE SHUTDOWN:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock2>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -D -s <sock2> -h W
+ - ['R SSC1 RE SHUTDOWN:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock3>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -D -s <sock3> -h R
+ - ['R SSC1 RE SHUTDOWN:\d+,OK']
comment: ''
execution time: 0.0
- expected result: '1. succeed
+ expected result: '1.OK
- 2. succeed
+ 2.OK
- 3. succeed
+ 3.OK,pc tcp server accept OK
- 4. succeed
+ 4.OK
- 5. find target2 and PC'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
+ 5.OK
+
+ 6.OK,pc tcp server accept OK
+
+ 7.OK
+
+ 8.OK
+
+ 9.OK,pc tcp server accept OK
+
+ 10.OK'
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
module: TCPIP
- steps: '1. config softap to a random ssid
+ steps: '1. PC上建立TCP 监听 test_tcp_port1
- 2. target2 connect to target1 softap
+ 2.target1上创建TCP socket
- 3. disable DHCP server, do config and enable
+ 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
- 4. PC NIC connect to target1 softap try to renew IP 192.168.4.2
+ 4.target1 shutdown socket1 B
- 5. softap list connected station'
- sub module: DHCP
- summary: dhcp server reconfig, old client able to renew IP (direct send request)
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
+ 5.target1上创建TCP socket
+
+ 6.target1上使用步骤5创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+
+ 7.target1 shutdown socket2 W
+
+ 8.target1上创建TCP socket
+
+ 9.target1上使用步骤8创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+
+ 10.target1 shutdown socket3 R'
+ sub module: TCP
+ summary: STA mode, shutdown basic test
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
+ 1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: DHCP server function test
+ test point 2: use TCP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_DHCP_0210
+ ID: ^TCPIP_TCP_0107
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC1 dhcp -E -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
- - ['R SSC1 C +DHCP:LEASE,OK']
- - - SSC SSC1 dhcp -S -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC2 sta -C -s <random_string> -p <random_string>
- - ['R SSC2 C +JAP:CONNECTED']
- - - WIFI <pc_wifi_nic> CONN2 <random_string> <random_string> 192.168.4.2
- - ['R PC_COM NC ERROR C +WIFICONN:OK']
- - - SSC SSC1 ap -L
- - [R SSC1 C 192.168.4.2 C 192.168.4.3 P <pc_wifi_nic_mac> P <target2_mac>]
+ - - SSC SSC1 soc -B -t TCP -p <random_port>
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -L -s <sock1>
+ - ['R SSC1 RE LISTEN:\d+,OK']
+ - - SOC SOC2 CONNECT <random_port> <target_ip>
+ - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
+ - - SOC SOC3 CONNECT <random_port> <target_ip>
+ - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
+ - - SOC SOC4 CONNECT <random_port> <target_ip>
+ - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
+ - - SOC SOC5 CONNECT <random_port> <target_ip>
+ - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
+ - - SOC SOC6 CONNECT <random_port> <target_ip>
+ - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
comment: ''
execution time: 0.0
- expected result: '1. succeed
+ expected result: '1.+BIND:0,OK,0.0.0.0
- 2. succeed
-
- 3. succeed
-
- 4. succeed
+ 2.OK
- 5. find target2 and PC'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- module: TCPIP
- steps: '1. config softap to a random ssid
+ 3.OK,pc tcp server accept成功
- 2. target2 connect to target1 softap
+ 4.OK,pc tcp server accept成功
- 3. disable DHCP server, do config and enable
+ 5.OK,pc tcp server accept成功
- 4. PC NIC connect to target1 softap try to renew IP 192.168.4.2
+ 6.OK,pc tcp server accept成功
- 5. softap list connected station'
- sub module: DHCP
- summary: dhcp server reconfig, old client able to get IP (discover with requested
- IP)
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
+ 7.OK,pc tcp server accept成功'
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
+ module: TCPIP
+ steps: "1.target1上创建TCP socket 端口随机\n2.target1上使用步骤4创建的socket1,去监听\n3.PC CONNECT<random_port>,<target_ip>\
+ \ ,tcp 连接创建成功,创建socket2 \n4.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket3\
+ \ \n5.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket4 \n6.PC CONNECT<random_port>,<target_ip>\
+ \ ,tcp 连接创建成功,创建socket5 \n7.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket6"
+ sub module: TCP
+ summary: STA mode, accept max TCP client by server test
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
+ 1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: DHCP server function test
+ test point 2: use TCP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: WIFI_ADDR_0101
+ ID: ^TCPIP_TCP_0106
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']
+ - - SOC SOC1 LISTEN <test_tcp_port1>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock2>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock3>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock4>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock4> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock5>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock5> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
comment: ''
execution time: 0.0
expected result: '1.OK
- 2.ok
+ 2.OK
- 3.ok
+ 3.OK,pc tcp server accept成功
- 4.ok
+ 4 OK
- 5.ok
+ 5.OK,pc tcp server accept成功
- 6.ok'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- 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 environment description (auto): 'PC has 1 wired NIC connected to AP.
+ 6.OK
+
+ 7.OK,pc tcp server accept成功
+
+ 8 OK
+
+ 9.OK,pc tcp server accept成功
+
+ 10.OK
+
+ 11.OK,pc tcp server accept成功'
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
+ module: TCPIP
+ steps: '1.PC上建立TCP 监听 test_tcp_port1
+
+ 2.target1上创建TCP socket1
+
+ 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+
+ 4.target1上创建TCP socket2
+
+ 5.target1上使用步骤4创建的socket2,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+
+ 6.target1上创建TCP socket3
+
+ 7.target1上使用步骤6创建的socket3,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+
+ 8.target1上创建TCP socket4
+
+ 9.target1上使用步骤8创建的socket4,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+
+ 10.target1上创建TCP socket5
+
+ 11.target1上使用步骤10创建的socket5,去连接 PC的ip,test_tcp_port1,PC有ACCEPT'
+ sub module: TCP
+ summary: STA mode, create max TCP sockets test
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
+ 1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: mac address function test
+ test point 2: use TCP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: WIFI_ADDR_0102
+ ID: ^TCPIP_DHCP_0210
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 -S -s <random_string> -p <random_string> -t 4
+ - ['R SSC1 C +SAP:OK']
+ - - SSC SSC1 dhcp -E -o 2
+ - ['R SSC1 C +DHCP:AP,OK']
+ - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
+ - ['R SSC1 C +DHCP:LEASE,OK']
+ - - SSC SSC1 dhcp -S -o 2
+ - ['R SSC1 C +DHCP:AP,OK']
+ - - SSC SSC2 sta -C -s <random_string> -p <random_string>
+ - ['R SSC2 C +JAP:CONNECTED']
+ - - WIFI <pc_wifi_nic> CONN2 <random_string> <random_string> 192.168.4.2
+ - ['R PC_COM NC ERROR C +WIFICONN:OK']
- - 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']
+ - [R SSC1 C 192.168.4.2 C 192.168.4.3 P <pc_wifi_nic_mac> P <target2_mac>]
comment: ''
execution time: 0.0
- expected result: '1.OK
+ expected result: '1. succeed
- 2.ok
+ 2. succeed
- 3.ok
+ 3. succeed
- 4.ok
+ 4. succeed
- 5.ok
+ 5. find target2 and PC'
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: TCPIP
+ steps: '1. config softap to a random ssid
- 6.ok
+ 2. target2 connect to target1 softap
- 7.ok
+ 3. disable DHCP server, do config and enable
- 8.ok
+ 4. PC NIC connect to target1 softap try to renew IP 192.168.4.2
- 9.ok'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- module: WIFI MAC
- steps: "1.target1 设置sta mode下的mac 44:55:66:77:88:99\n2.target1下设置ssid 和pwd 加密方式\n\
- 3.target2 查询mac为44:55:66:77:88:99的ssid\n4.target1 设置sta mode下的mac target_ap_mac\n\
- 5.target2 查询sta mode 下的mac 为target2_mac_tmp\n6.target2 设置sta mode 下的mac 为22:33:44:55:66:77\n\
- 7.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
+ 5. softap list connected station'
+ sub module: DHCP
+ summary: dhcp server reconfig, old client able to get IP (discover with requested
+ IP)
test environment: SSC_T2_1
test environment description (auto): 'PC has 1 wired NIC connected to AP.
2 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: mac address function test
+ test point 2: DHCP server function test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_UDP_0202
+ ID: ^TCPIP_DHCP_0211
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -W -s <sock1> -o 0
- - ['R SSC1 RE WORKTHREAD:\d+,OK']
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
- - ['']
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
- - ['']
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
- - ['']
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
- - ['']
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
+ - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
+ - ['R SSC1 C +SAP:OK']
+ - - WIFI <pc_wifi_nic> CONN <random_string> <random_string> 192.168.4.2
+ - ['R PC_COM NC ERROR C +WIFICONN:OK']
+ - - SSC SSC1 dhcp -E -o 2
+ - ['R SSC1 C +DHCP:AP,OK']
+ - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
+ - ['R SSC1 C +DHCP:LEASE,OK']
+ - - SSC SSC1 dhcp -S -o 2
+ - ['R SSC1 C +DHCP:AP,OK']
+ - - SSC SSC2 sta -C -s <random_string> -p <random_string>
+ - ['R SSC2 C +JAP:CONNECTED']
+ - - DELAY 10
- ['']
+ - - SSC SSC1 ap -L
+ - [R SSC1 C 192.168.4.2 C 192.168.4.3 P <pc_wifi_nic_mac> P <target2_mac>]
comment: ''
execution time: 0.0
- expected result: '1.OK
+ expected result: '1. succeed
- 2.OK
+ 2. succeed
- 3.OK
+ 3. succeed
- 4.PC OK
+ 4. succeed
- 5.PC OK
+ 5. find target2 and PC'
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: TCPIP
+ steps: '1. config softap to a random ssid
- 6.PC OK
-
- 7.PC OK
-
- 8.PC OK SOC_CLOSE=SOC1'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
- module: TCPIP
- steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
-
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
-
- 3.target1上关闭工作线程
-
- 4.PC往8266上发送1472字节数据
-
- 5.PC往8266上发送1472字节数据
+ 2. target2 connect to target1 softap
- 6.PC往8266上发送1472字节数据
+ 3. disable DHCP server, do config and enable
- 7.PC往8266上发送1472字节数据
+ 4. PC NIC connect to target1 softap try to renew IP 192.168.4.2
- 8.PC往8266上发送1472字节数据'
- sub module: UDP
- summary: AP mode, recv buffer test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ 5. softap list connected station'
+ sub module: DHCP
+ summary: dhcp server reconfig, old client able to renew IP (direct send request)
+ test environment: SSC_T2_1
+ test environment description (auto): 'PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: use UDP SAP (socket/espconn API) in different state
+ 2 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: DHCP server function test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_TCP_0411
+ ID: TCPIP_TCP_0212
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
+ - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
- [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
+ - - SSC SSC1 soc -B -t TCP -i <target_ap_ip>
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
- ['R SSC1 RE CONNECT:\d+,OK']
- - - SOC SOC1 ACCEPT SOC2
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
+ - - SSC SSC1 soc -B -t TCP -i <target_ap_ip>
- ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock2> -l 5
- - ['P SSC1 RE SEND:\d+,ERROR']
- - - SSC SSC1 soc -S -s <sock1> -l 5
- - ['P SSC1 RE SEND:\d+,OK']
+ - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -D -s <sock2>
+ - ['R SSC1 RE SHUTDOWN:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP -p <random_port>
+ - ['R SSC1 A <sock3>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -L -s <sock3>
+ - ['R SSC1 RE LISTEN:\d+,OK']
+ - - SOC SOC2 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
+ - ['R SSC1 A <sock4>:ACCEPT:(\d+),\d+,.+,\d+']
+ - - SSC SSC1 soc -I
+ - ['P SSC1 RE "SOCINFO:%%s,2,%%s,\d+,%%s,%%d"%%(<sock1>,<target_ap_ip>,<pc_ip_wifi>,<test_tcp_port1>)',
+ 'P SSC1 RE "SOCINFO:%%s,2,.+,\d+,.+,\d+"%%(<sock2>)', 'P SSC1 RE "SOCINFO:%%s,82,.+,%%d,.+,\d+"%%(<sock3>,<random_port>)',
+ 'P SSC1 RE "SOCINFO:%%s,2,%%s,%%d,%%s,\d+"%%(<sock4>,<target_ap_ip>,<random_port>,<pc_ip_wifi>)']
comment: ''
execution time: 0.0
expected result: '1.OK
2.OK
- 3.OK; PC TCP server accept 成功
+ 3.OK,pc tcp server accept成功
4.OK
5.OK
- 6.ERROR
+ 6.OK
- 7.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- module: TCPIP
- steps: '1.PC上建立TCP 监听 test_tcp_port1
+ 7.OK
- 2.target1上创建TCP socket1
+ 8.OK
- 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
+ 9.PC OK, target1 +ACCEPT:3,2,<pc_ip>,port
- 4.PC与target1创建好TCP 连接,有ACCEPT
+ 10.+SOCINFO:<sock1>,<target_ip>,<pc_ip>,<test_tcp_port1>
- 5.target1上创建TCP socket2
+ +SOCINFO:<sock2>,<target_ip>,<pc_ip>,<test_tcp_port1>
- 6.8266往PC socket2上发送5字节数据
+ +SOCINFO:<sock3>,<random_port>
- 7.8266往PC socket1上发送5字节数据'
+ +SOCINFO:<sock4>,<target_ip>,<random_port>,<pc_ip>
+
+ +SOCINF0ALL'
+ initial condition: APM2
+ initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
+ a TC with initial condition APSTA2
+ module: TCPIP
+ steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1,本地ip target_ip\n3.target1上使用步骤2创建的socket1,去连接\
+ \ PC的ip,test_tcp_port1,PC有ACCEPT\n4.target1上创建TCP socket2,本地ip target_ip\n5.target1上使用步骤4创建的socket2,去连接\
+ \ PC的ip,test_tcp_port1,PC有ACCEPT\n6.target1 shutdown socket2 \n7.target1上创建TCP\
+ \ socket3,本地端口random_port\n8.target1上使用步骤7创建的socket3,去监听\n9.PC CONNECT<random_port>,<target_ip>\
+ \ ,tcp 连接创建成功,创建socket4 \n10.target1 查询the socket information"
sub module: TCP
- summary: do TCP send after socket changed
+ summary: AP mode, get active socket info test
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: TCP handling abnormal event
+ test point 1: basic function
+ test point 2: use TCP SAP (socket/espconn API) in different state
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: WIFI_CONN_0301
+ ID: TCPIP_TCP_0210
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum> -h
- 0 -m 8
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC1 ap -Q
- - ['R SSC1 RE "\+APCONFIG:%%s,%%s,\d+,3,0,8,\d+"%%(<target_ssid>,<target_password>)']
+ - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SOC SOC1 ACCEPT SOC2
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -W -s <sock1> -o 0
+ - ['R SSC1 RE WORKTHREAD:\d+,OK']
+ - - SOC SOC2 SEND 146000
+ - [P SOC_COM R *]
+ - - SSC SSC1 soc -W -s <sock1> -o 1
+ - ['P SSC1 RE WORKTHREAD:\d+,OK', P SSC1 SL <sock1>+2920]
comment: ''
execution time: 0.0
- expected result: '1. target1 set AP
+ expected result: '1.OK
- 2.target 1上查询到跟设置AP时一致
+ 2.OK
- '
- initial condition: APM1
- initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
- condition APSTA1
- module: WIFI MAC
- steps: '1. target1 set AP
+ 3.OK,pc tcp server accept成功
- 2.target 1上查询到跟设置AP时一致
+ 4.OK
+
+ 6.OK
+
+ 7.收到 146000 数据
'
- sub module: WIFI Connect
- summary: AP config query test
+ initial condition: APM2
+ initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
+ a TC with initial condition APSTA2
+ module: TCPIP
+ steps: '1. PC上建立TCP 监听 test_tcp_port1
+
+ 2.target1上创建TCP socket
+
+ 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
+
+ 4.PC与target1 创建好TCP 连接,有ACCEPT
+
+ 5.target停止调用recv
+
+ 6.PC send 100 * 1460 data to 8266,
+
+ 7.target重新调用recv'
+ sub module: TCP
+ summary: AP mode, recv buffer test
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: query AP config
+ test point 2: use TCP SAP (socket/espconn API) in different state
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_IP_0102
+ ID: ^TCPIP_TCP_0210
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']
+ - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SOC SOC1 ACCEPT SOC2
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -W -s <sock1> -o 0
+ - ['R SSC1 RE WORKTHREAD:\d+,OK']
+ - - SOC SOC2 SEND 146000
+ - [P SOC_COM R *]
+ - - SSC SSC1 soc -W -s <sock1> -o 1
+ - ['P SSC1 RE WORKTHREAD:\d+,OK', P SSC1 SL <sock1>+2920]
comment: ''
execution time: 0.0
expected result: '1.OK
- 2.ERROR
+ 2.OK
- 3.OK
+ 3.OK,pc tcp server accept成功
4.OK
- 5.APIP:192.168.123.123
+ 6.OK
- 6.OK'
- initial condition: APSTA1
- initial condition description (auto): testing ap on sta + ap mode (autogen by APM1)
+ 7.收到 146000 数据'
+ initial condition: APSTA2
+ initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
+ by APM2)
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
+ steps: '1. PC上建立TCP 监听 test_tcp_port1
+
+ 2.target1上创建TCP socket
+
+ 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
+
+ 4.PC与target1 创建好TCP 连接,有ACCEPT
+
+ 5.target停止调用recv
+
+ 6.PC send 100 * 1460 data to 8266,
+
+ 7.target重新调用recv'
+ sub module: TCP
+ summary: AP mode, recv buffer test
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: set and query static IP
+ test point 2: use TCP SAP (socket/espconn API) in different state
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_UDP_0105
+ ID: ^TCPIP_TCP_0212
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t TCP -i <target_ap_ip>
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
-
- 2.OK'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
- module: TCPIP
- steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
-
- 2.关闭socket1'
- sub module: UDP
- summary: STA mode, close UDP sockets test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
-
- PC has 1 WiFi NIC.
-
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
-- CI ready: 'Yes'
- ID: ^TCPIP_UDP_0104
- SDK: '8266_NonOS
-
- 8266_RTOS
-
- ESP32_IDF'
- Test App: SSC
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SOC SOC1 SENDTO 1 <test_udp_port1> <target_ip>
- - [R SSC1 SL <sock1>+1]
- - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
- - ['R SSC1 RE "RECVFROM:%%s,1472,%%s,%%u"%%(<sock1>,<pc_ip>,<test_udp_port1>)']
- - - SOC SOC1 SENDTO 1473 <test_udp_port1> <target_ip>
- - [P SSC1 NC +RECVFROM, P SOC_COM C OK]
- - - SOC SOC2 BIND <test_udp_port2> <pc_ip2>
- - [R SOC_COM L OK]
- - - SOC SOC2 SENDTO 1472 <test_udp_port1> <target_ip>
- - ['R SSC1 RE "RECVFROM:%%s,1472,%%s,%%u"%%(<sock1>,<pc_ip2>,<test_udp_port2>)']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP -i <target_ap_ip>
+ - ['R SSC1 A <sock2>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -D -s <sock2>
+ - ['R SSC1 RE SHUTDOWN:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP -p <random_port>
+ - ['R SSC1 A <sock3>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -L -s <sock3>
+ - ['R SSC1 RE LISTEN:\d+,OK']
+ - - SOC SOC2 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
+ - ['R SSC1 A <sock4>:ACCEPT:(\d+),\d+,.+,\d+']
+ - - SSC SSC1 soc -I
+ - ['P SSC1 RE "SOCINFO:%%s,2,%%s,\d+,%%s,%%d"%%(<sock1>,<target_ap_ip>,<pc_ip_wifi>,<test_tcp_port1>)',
+ 'P SSC1 RE "SOCINFO:%%s,2,.+,\d+,.+,\d+"%%(<sock2>)', 'P SSC1 RE "SOCINFO:%%s,82,.+,%%d,.+,\d+"%%(<sock3>,<random_port>)',
+ 'P SSC1 RE "SOCINFO:%%s,2,%%s,%%d,%%s,\d+"%%(<sock4>,<target_ap_ip>,<random_port>,<pc_ip_wifi>)']
comment: ''
execution time: 0.0
expected result: '1.OK
2.OK
- 3.OK
+ 3.OK,pc tcp server accept成功
4.OK
- 5.OK,没收到UDP包
+ 5.OK
6.OK
- 7.OK'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
- module: TCPIP
- steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
+ 7.OK
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+ 8.OK
- 3.PC往8266上发送1字节数据
+ 9.PC OK, target1 +ACCEPT:3,2,<pc_ip>,port
- 4.PC往8266上发送1472字节数据
+ 10.+SOCINFO:<sock1>,<target_ip>,<pc_ip>,<test_tcp_port1>
- 5.PC往8266上发送1473字节数据
+ +SOCINFO:<sock2>,<target_ip>,<pc_ip>,<test_tcp_port1>
- 6.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
+ +SOCINFO:<sock3>,<random_port>
- 7.PC往8266上发送1472字节数据'
- sub module: UDP
- summary: STA mode, recvfrom basic test
+ +SOCINFO:<sock4>,<target_ip>,<random_port>,<pc_ip>
+
+ +SOCINF0ALL'
+ initial condition: APSTA2
+ initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
+ by APM2)
+ module: TCPIP
+ steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1,本地ip target_ip\n3.target1上使用步骤2创建的socket1,去连接\
+ \ PC的ip,test_tcp_port1,PC有ACCEPT\n4.target1上创建TCP socket2,本地ip target_ip\n5.target1上使用步骤4创建的socket2,去连接\
+ \ PC的ip,test_tcp_port1,PC有ACCEPT\n6.target1 shutdown socket2 \n7.target1上创建TCP\
+ \ socket3,本地端口random_port\n8.target1上使用步骤7创建的socket3,去监听\n9.PC CONNECT<random_port>,<target_ip>\
+ \ ,tcp 连接创建成功,创建socket4 \n10.target1 查询the socket information"
+ sub module: TCP
+ summary: AP mode, get active socket info test
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
+ test point 2: use TCP SAP (socket/espconn API) in different state
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_UDP_0107
+ ID: TCPIP_DHCP_0211
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -I
- - ['P SSC1 RE "SOCINFO:%%s,1,.+,%%d"%%(<sock1>,<test_udp_port1>)']
+ - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
+ - ['R SSC1 C +SAP:OK']
+ - - WIFI <pc_wifi_nic> CONN <random_string> <random_string> 192.168.4.2
+ - ['R PC_COM NC ERROR C +WIFICONN:OK']
+ - - SSC SSC1 dhcp -E -o 2
+ - ['R SSC1 C +DHCP:AP,OK']
+ - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
+ - ['R SSC1 C +DHCP:LEASE,OK']
+ - - SSC SSC1 dhcp -S -o 2
+ - ['R SSC1 C +DHCP:AP,OK']
+ - - SSC SSC2 sta -C -s <random_string> -p <random_string>
+ - ['R SSC2 C +JAP:CONNECTED']
+ - - DELAY 10
+ - ['']
+ - - SSC SSC1 ap -L
+ - [R SSC1 C 192.168.4.2 C 192.168.4.3 P <pc_wifi_nic_mac> P <target2_mac>]
comment: ''
execution time: 0.0
- expected result: '1.OK
+ expected result: '1. succeed
- 2.OK'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
+ 2. succeed
+
+ 3. succeed
+
+ 4. succeed
+
+ 5. find target2 and PC'
+ initial condition: T2_1
+ initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
+ autogen a TC with initial condition T2_2
module: TCPIP
- steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+ steps: '1. config softap to a random ssid
- 2.target1上查询创建socket信息'
- sub module: UDP
- summary: STA mode, get active socket info test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ 2. target2 connect to target1 softap
+
+ 3. disable DHCP server, do config and enable
+
+ 4. PC NIC connect to target1 softap try to renew IP 192.168.4.2
+
+ 5. softap list connected station'
+ sub module: DHCP
+ summary: dhcp server reconfig, old client able to renew IP (direct send request)
+ test environment: SSC_T2_1
+ test environment description (auto): 'PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
+ 2 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
+ test point 2: DHCP server function test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_UDP_0106
+ ID: TCPIP_DHCP_0210
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port2>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port3>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port4>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port5>
- - ['R SSC1 RE BIND:(\d+),OK']
+ - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
+ - ['R SSC1 C +SAP:OK']
+ - - SSC SSC1 dhcp -E -o 2
+ - ['R SSC1 C +DHCP:AP,OK']
+ - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
+ - ['R SSC1 C +DHCP:LEASE,OK']
+ - - SSC SSC1 dhcp -S -o 2
+ - ['R SSC1 C +DHCP:AP,OK']
+ - - SSC SSC2 sta -C -s <random_string> -p <random_string>
+ - ['R SSC2 C +JAP:CONNECTED']
+ - - WIFI <pc_wifi_nic> CONN2 <random_string> <random_string> 192.168.4.2
+ - ['R PC_COM NC ERROR C +WIFICONN:OK']
+ - - SSC SSC1 ap -L
+ - [R SSC1 C 192.168.4.2 C 192.168.4.3 P <pc_wifi_nic_mac> P <target2_mac>]
comment: ''
execution time: 0.0
- expected result: '1.ok
+ expected result: '1. succeed
- 2.ok
+ 2. succeed
- 3.ok
+ 3. succeed
- 4.ok
+ 4. succeed
- 5.ok'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
+ 5. find target2 and PC'
+ initial condition: T2_1
+ initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
+ autogen a TC with initial condition T2_2
module: TCPIP
- steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+ steps: '1. config softap to a random ssid
- 2.target1上UDP传输,Bind socket2,本地ip target_udp_port2
+ 2. target2 connect to target1 softap
- 3.target1上UDP传输,Bind socket3,本地ip target_udp_port3
+ 3. disable DHCP server, do config and enable
- 4.target1上UDP传输,Bind socket4,本地ip target_udp_port4
+ 4. PC NIC connect to target1 softap try to renew IP 192.168.4.2
- 5.target1上UDP传输,Bind socket5,本地ip target_udp_port5'
- sub module: UDP
- summary: STA mode, create max udp socket test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ 5. softap list connected station'
+ sub module: DHCP
+ summary: dhcp server reconfig, old client able to get IP (discover with requested
+ IP)
+ test environment: SSC_T2_1
+ test environment description (auto): 'PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
+ 2 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
+ test point 2: DHCP server function test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_UDP_0101
+ 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 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port2>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 C BIND:ERROR']
- - - SSC SSC1 soc -B -t TCP -p <test_udp_port1>
- - ['R SSC1 RE BIND:(\d+),OK']
+ - - 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']
comment: ''
execution time: 0.0
expected result: '1.OK
- 2.OK
-
- 3.ERROR
+ 2.ok
- 4.OK'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
- module: TCPIP
- steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+ 3.ok
- 2.target1上UDP传输,Bind socket2,本地ip 0.0.0.0 target_udp_port2
+ 4.ok
- 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+ 5.ok
- 4.target1上创建TCP socket3, target_udp_port1'
- sub module: UDP
- summary: STA mode, udp bind test. use different ip, port
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ 6.ok'
+ initial condition: T2_1
+ initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
+ autogen a TC with initial condition T2_2
+ 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 environment description (auto): 'PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
+ 2 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
+ test point 2: mac address function test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_UDP_0103
+ ID: WIFI_ADDR_0102
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1]
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1472
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1472]
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1473
- - ['P SSC1 RE SEND:(\d+),OK', P SOC_COM NC SOC_RECVFROM]
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1472 -n 10 -j 20
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 14720]
+ - - 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']
comment: ''
execution time: 0.0
expected result: '1.OK
- 2.OK
-
- 3.OK
-
- 4.OK
+ 2.ok
- 5.OK,没有到UDP包
+ 3.ok
- 6.OK'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
- module: TCPIP
- steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
+ 4.ok
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+ 5.ok
- 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1字节数据
+ 6.ok
- 4.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472字节数据
+ 7.ok
- 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1473字节数据
+ 8.ok
- 6.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472*10字节数据'
- sub module: UDP
- summary: STA mode, sendto test with different length
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ 9.ok'
+ initial condition: T2_1
+ initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
+ autogen a TC with initial condition T2_2
+ module: WIFI MAC
+ steps: "1.target1 设置sta mode下的mac 44:55:66:77:88:99\n2.target1下设置ssid 和pwd 加密方式\n\
+ 3.target2 查询mac为44:55:66:77:88:99的ssid\n4.target1 设置sta mode下的mac target_ap_mac\n\
+ 5.target2 查询sta mode 下的mac 为target2_mac_tmp\n6.target2 设置sta mode 下的mac 为22:33:44:55:66:77\n\
+ 7.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 environment description (auto): 'PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
+ 2 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
+ test point 2: mac address function test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_UDP_0102
- SDK: '8266_NonOS
-
- 8266_RTOS
-
- ESP32_IDF'
+ ID: WIFI_PHY_0119
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: 2/3
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - [R SOC_COM L OK]
- - - SOC SOC2 BIND <test_udp_port2> <pc_ip2>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 10
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 10]
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip2> -p <test_udp_port2> -l 10
- - ['P SSC1 RE SEND:(\d+),OK', P SOC2 UL 10]
+ - - SSC SSC1 phy -S -o 2 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m n -b 20
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp="")(Wlan.ie_list.ht_capabilities="")(Wlan.ie_list.ht_operation.second_channel_offset="0")(Wlan.ie_list.ht_operation.sta_channel_width="0")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP OR 2 PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")
+ PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.msc="")']
comment: ''
execution time: 0.0
- expected result: '1.OK
-
- 2.OK
-
- 3.OK
+ expected result: '1. succeed,
- 4.OK
-
- 5.OK'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
- module: TCPIP
- steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
+ 2. assoc response has erp/ht/xrates, cap.short_slot_time=1, ht_info.2nd_channel_offset=0,sta_channel_width=0,
+ rates+xrates=[1/2/5.5/11/6/9/12/18/24/36/48/54]
- 2.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
+ 3. radiotap rates in rates/xrates/msc0-7'
+ initial condition: APM1
+ initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
+ condition APSTA1
+ module: WIFI MAC
+ steps: '1. target set to PHY mode ht40
- 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+ 2. 11bgn STA connect to SoftAP, capture assoc response
- 4.target1上使用步骤3创建的socket1,往pc_ip,test_tcp_port1上发送10字节数据
+ 3. ping, capture Data'
+ sub module: Phy Mode
+ summary: SoftAP set as ht40, 11n STA connect to AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 5.target1上使用步骤3创建的socket1,往pc_ip2,test_tcp_port2上发送10字节数据'
- sub module: UDP
- summary: STA mode, sendto test. use different ip, port
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- PC has 1 WiFi NIC.
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- 1 SSC target connect with PC by UART.'
+ Put 4 APs near SSC targets.'
test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
- version: v1 (2016-8-15)
+ test point 2: SoftAP PHY mode test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_DHCP_0102
- SDK: '8266_NonOS
-
- 8266_RTOS
-
- ESP32_IDF'
+ ID: WIFI_PHY_0118
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: 2/3
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC1 dhcp -E -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['']
- - - DELAY 20
- - [P PC_COM C +DELAYDONE, 'P SSC2 NC +JAP:CONNECTED']
- - - SSC SSC1 dhcp -S -o 2
- - ['R SSC1 C +DHCP:AP,OK']
+ - - SSC SSC1 phy -S -o 2 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m g
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
- - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC2 C +JAP:CONNECTED']
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp="")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")']
comment: ''
execution time: 0.0
- expected result: "1.target1 set AP OK \n2.target1 关闭DHCP OK\n3.target2 jap target\
- \ 1,FAIL \n4.target1 打开DHCP OK\n5.target2 jap target 1,ok"
- initial condition: T2_2
- initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
- module: TCPIP
- steps: "1.target1 set AP OK \n2.target1 关闭DHCP OK\n3.target2 jap target 1,FAIL \n\
- 4.target1 打开DHCP OK\n5.target2 jap target 1,ok"
- sub module: DHCP
- summary: dhcp server function test
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
+ expected result: '1. succeed
- PC has 1 WiFi NIC.
+ 2. assoc response has erp/xrates, no ht, cap.short_slot_time=1, rates+xrates=[1/2/5.5/11/6/9/12/18/24/36/48/54]
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: DHCP client function test
- version: v1 (2016-8-15)
-- CI ready: 'Yes'
- ID: ^TCPIP_DHCP_0103
- SDK: '8266_NonOS
+ 3. radiotap rates in rates/xrates'
+ initial condition: APM1
+ initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
+ condition APSTA1
+ module: WIFI MAC
+ steps: '1. target set to PHY mode ht40
- 8266_RTOS
+ 2. 11bg STA connect to SoftAP, capture assoc response
- ESP32_IDF'
+ 3. ping, capture Data'
+ sub module: Phy Mode
+ summary: SoftAP set as ht40, 11g STA connect to AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: SoftAP PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0115
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: 2/3
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 op -S -o 3
- - ['R SSC1 C +MODE:OK']
- - - SSC SSC1 dhcp -S -o 3
- - ['R SSC1 C +DHCP:AP,OK C +DHCP:STA,OK']
- - - SSC SSC1 dhcp -Q -o 3
- - ['R SSC1 C +DHCP:STA,STARTED C +DHCP:AP,STARTED']
- - - SSC SSC1 dhcp -Q -o 1
- - ['R SSC1 C +DHCP:STA,STARTED NC +DHCP:AP,STARTED']
- - - SSC SSC1 dhcp -Q -o 2
- - ['R SSC1 NC +DHCP:STA,STARTED C +DHCP:AP,STARTED']
- - - SSC SSC1 dhcp -E -o 3
- - ['R SSC1 C +DHCP:AP,OK C +DHCP:STA,OK']
- - - SSC SSC1 dhcp -Q -o 3
- - ['R SSC1 C +DHCP:STA,STOPPED C +DHCP:AP,STOPPED']
+ - - SSC SSC1 phy -S -o 2 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m n -b 40
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp="")(Wlan.ie_list.ht_capabilities="")(Wlan.ie_list.ht_operation.second_channel_offset="0")(Wlan.ie_list.ht_operation.sta_channel_width="0")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP OR 2 PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")
+ PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.msc="")']
comment: ''
execution time: 0.0
- expected result: '1.OK
+ expected result: '1. succeed,
- 2.OK
+ 2. assoc response has erp/ht/xrates, cap.short_slot_time=1, ht_info.2nd_channel_offset=0,sta_channel_width=0,
+ rates+xrates=[1/2/5.5/11/6/9/12/18/24/36/48/54]
- 3.STA&AP STARTED
+ 3. radiotap rates in rates/xrates/msc0-7'
+ initial condition: APM1
+ initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
+ condition APSTA1
+ module: WIFI MAC
+ steps: '1. target set to PHY mode 11bgn
- 4.STA STARTED
+ 2. ht40 STA connect to SoftAP, capture assoc response
- 5.AP STARTED
+ 3. ping, capture Data'
+ sub module: Phy Mode
+ summary: SoftAP set as 11bgn, ht40 STA connect to AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 6.OK
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- 7.STA&AP STOPPED'
- initial condition: STAAP1
- initial condition description (auto): testing sta on sta + ap mode, quit AP (autogen
- by STAM1)
- module: TCPIP
- steps: '1.target1 设置mode 为sta+softAP mode
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- 2.target1 打开DHCP 3
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: SoftAP PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0114
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: 2/3
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 2 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m n -b 20
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp="")(Wlan.ie_list.ht_capabilities="")(Wlan.ie_list.ht_operation.second_channel_offset="0")(Wlan.ie_list.ht_operation.sta_channel_width="0")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP OR 2 PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")
+ PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.msc="")']
+ comment: ''
+ execution time: 0.0
+ expected result: '1. succeed,
- 3.target1 查询DHCP 状态
+ 2. assoc response has erp/ht/xrates, cap.short_slot_time=1, ht_info.2nd_channel_offset=0,sta_channel_width=0,
+ rates+xrates=[1/2/5.5/11/6/9/12/18/24/36/48/54]
- 4.target1 查询sta DHCP 状态
+ 3. radiotap rates in rates/xrates/msc0-7'
+ initial condition: APM1
+ initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
+ condition APSTA1
+ module: WIFI MAC
+ steps: '1. target set to PHY mode 11bgn
- 5.target1 查询softAP DHCP 状态
+ 2. 11bgn STA connect to SoftAP, capture assoc response
- 6.target1 关闭 DHCP 3
+ 3. ping, capture Data'
+ sub module: Phy Mode
+ summary: SoftAP set as 11bgn, 11n STA connect to AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 7.target1 查询 DHCP 状态'
- sub module: DHCP
- summary: dhcp status query
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- PC has 1 WiFi NIC.
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- 1 SSC target connect with PC by UART.'
+ Put 4 APs near SSC targets.'
test point 1: basic function
- test point 2: DHCP client function test
- version: v1 (2016-8-15)
+ test point 2: SoftAP PHY mode test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
- ID: ^WIFI_CONN_0801
- SDK: '8266_NonOS
-
- 8266_RTOS
-
- ESP32_IDF'
+ ID: WIFI_PHY_0117
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: 2/3
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 0
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -C -s <random_string> -p <random_string>
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 2
- - ['P SSC1 C +SAP:OK', 'P SSC2 C +JAP:AUTHCHANGED,2,0']
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 3
- - ['P SSC1 C +SAP:OK', 'P SSC2 C +JAP:AUTHCHANGED,3,2']
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
- - ['P SSC1 C +SAP:OK', 'P SSC2 C +JAP:AUTHCHANGED,4,3']
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 0
- - ['P SSC1 C +SAP:OK', 'P SSC2 C +JAP:AUTHCHANGED,0,4']
+ - - SSC SSC1 phy -S -o 2 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m b
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp!)(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates!)(Wlan.capability.short_slot_time="1")(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M")']
comment: ''
execution time: 0.0
expected result: '1. succeed
- 2. succeed
-
- 3. auth change event old mode 0 new mode 2
-
- 4. auth change event old mode 2 new mode 3
-
- 5. auth change event old mode 3 new mode 4
+ 2. assoc response has no erp/xrates/ht, cap.short_slot_time=1, rates=[1/2/5/5/11]
- 6. auth change event old mode 4 new mode 0'
- initial condition: T2_2
- initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ 3. radiotap rates in rates'
+ initial condition: APM1
+ initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
+ condition APSTA1
module: WIFI MAC
- steps: '1. set target1 softap auth mode 0
+ steps: '1. target set to PHY mode ht40
- 2. target2 connect to target1
-
- 3. set target1 softap auth mode 2, wait sta connected
-
- 4. set target1 softap auth mode 3, wait sta connected
+ 2. 11b STA connect to SoftAP, capture assoc response
- 5. set target1 softap auth mode 4, wait sta connected
+ 3. ping, capture Data'
+ sub module: Phy Mode
+ summary: SoftAP set as ht40, 11b STA connect to AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 6. set target1 softap auth mode 0, wait sta connected'
- sub module: WIFI Connect
- summary: test auth change event
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- PC has 1 WiFi NIC.
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- 2 SSC target connect with PC by UART.'
+ Put 4 APs near SSC targets.'
test point 1: basic function
- test point 2: wifi auth changed event test
- version: v1 (2016-8-15)
+ test point 2: SoftAP PHY mode test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_UDP_0108
+ ID: TCPIP_UDP_0202
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
+ - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
+ - [R SOC_COM L OK]
- - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port2>
- - ['R SSC1 RE BIND:(\d+),OK']
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 C BIND:ERROR']
- - - SSC SSC1 soc -B -t TCP -p <test_udp_port1>
- - ['R SSC1 RE BIND:(\d+),OK']
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -W -s <sock1> -o 0
+ - ['R SSC1 RE WORKTHREAD:\d+,OK']
+ - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
+ - ['']
+ - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
+ - ['']
+ - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
+ - ['']
+ - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
+ - ['']
+ - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ap_ip>
+ - ['']
comment: ''
execution time: 0.0
expected result: '1.OK
2.OK
- 3.ERROR
+ 3.OK
- 4.OK'
- initial condition: APSTA2
- initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
- by APM2)
+ 4.PC OK
+
+ 5.PC OK
+
+ 6.PC OK
+
+ 7.PC OK
+
+ 8.PC OK SOC_CLOSE=SOC1'
+ initial condition: APM2
+ initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
+ a TC with initial condition APSTA2
module: TCPIP
- steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+ steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 2.target1上UDP传输,Bind socket2,本地ip 0.0.0.0 target_udp_port2
+ 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+ 3.target1上关闭工作线程
- 4.target1上创建TCP socket3, target_udp_port1'
+ 4.PC往8266上发送1472字节数据
+
+ 5.PC往8266上发送1472字节数据
+
+ 6.PC往8266上发送1472字节数据
+
+ 7.PC往8266上发送1472字节数据
+
+ 8.PC往8266上发送1472字节数据'
sub module: UDP
- summary: AP mode, udp bind test. use different ip, port
+ summary: AP mode, recv buffer test
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use UDP SAP (socket/espconn API) with different parameter
+ test point 1: abnormal/special use
+ test point 2: use UDP SAP (socket/espconn API) in different state
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: WIFI_CONN_0104
- SDK: '8266_NonOS
+ ID: WIFI_PHY_0111
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: 2/3
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 2 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-Beacon")(Wlan.ie_list.erp="")(Wlan.ie_list.ht_capabilities="")(Wlan.ie_list.erp="")(Wlan.ie_list.ht_operation.second_channel_offset="0")(Wlan.ie_list.ht_operation.sta_channel_width="0")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")']
+ comment: ''
+ execution time: 0.0
+ expected result: 1. beacon has erp/ht/xrates, cap.short_slot_time=1, ht_info.2nd_channel_offset=0,sta_channel_width=0,
+ rates+xrates=[1/2/5.5/11/6/9/12/18/24/36/48/54]
+ initial condition: APM1
+ initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
+ condition APSTA1
+ module: WIFI MAC
+ steps: 1. target set to PHY mode 11bgn, capture beacon
+ sub module: Phy Mode
+ summary: SoftAP set as 11bgn, check beacon
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 8266_RTOS
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- ESP32_IDF'
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: SoftAP PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0112
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: 2/3
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum> -m
- 1
- - ['R SSC1 C +SAP:OK']
- - - WIFI <pc_wifi_nic> DISCONN
- - ['R PC_COM C +WIFIDISCONN:OK']
+ - - SSC SSC1 phy -S -o 2 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m b
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
- - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
- - - WIFI <pc_wifi_nic> CONN <target_ssid> <target_password> <pc_ip_wifi> <target_auth>
- <target_encryption>
- - ['R PC_COM C +WIFICONN:ERROR']
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp!)(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates!)(Wlan.capability.short_slot_time="1")(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M")']
comment: ''
execution time: 0.0
- expected result: '1. target1 set AP,set max allowed sta as 1
-
- 2. use PC disconnect,
+ expected result: '1. succeed
- 3.target 2 jap succeed
+ 2. assoc response has no erp/xrates/ht, cap.short_slot_time=1, rates=[1/2/5/5/11]
- 4.PC WIFI can not CONN'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
+ 3. radiotap rates in rates'
+ initial condition: APM1
+ initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
+ condition APSTA1
module: WIFI MAC
- steps: '1.target1下设置ssid 和pwd 加密方式,set max allowed sta as 1
+ steps: '1. target set to PHY mode 11bgn
- 2.use PC disconnect target1
+ 2. 11b STA connect to SoftAP, capture assoc response
- 3.target 2 jap target1
+ 3. ping, capture Data'
+ sub module: Phy Mode
+ summary: SoftAP set as 11bgn, 11b STA connect to AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 4.PC WIFI CONNECT target1'
- sub module: WIFI Connect
- summary: station SAP test, max allowed sta
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- PC has 1 WiFi NIC.
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- 2 SSC target connect with PC by UART.'
+ Put 4 APs near SSC targets.'
test point 1: basic function
- test point 2: SAP/JAP with different config
- version: v1 (2016-8-15)
+ test point 2: SoftAP PHY mode test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_IGMP_0201
+ ID: TCPIP_TCP_0411
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
- - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
- - - SOC SOC1 BIND <test_udp_port1>
+ - - SOC SOC1 LISTEN <test_tcp_port1>
- [R SOC_COM L OK]
- - - SOC SOC1 SENDTO 1 <test_udp_port1> 224.1.1.1
- - [R SSC1 SL <sock1>+1]
- - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SOC SOC1 ACCEPT SOC2
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock2>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -S -s <sock2> -l 5
+ - ['P SSC1 RE SEND:\d+,ERROR']
+ - - SSC SSC1 soc -S -s <sock1> -l 5
+ - ['P SSC1 RE SEND:\d+,OK']
comment: ''
execution time: 0.0
- expected result: '1. succeed
+ expected result: '1.OK
- 2. succeed
+ 2.OK
- 3. able to recv packet'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
+ 3.OK; PC TCP server accept 成功
+
+ 4.OK
+
+ 5.OK
+
+ 6.ERROR
+
+ 7.OK'
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
module: TCPIP
- steps: '1. join group
+ steps: '1.PC上建立TCP 监听 test_tcp_port1
- 2. create UDP socket using multicast addr
+ 2.target1上创建TCP socket1
- 3. PC send UDP packet to multicast addr'
- sub module: IGMP
- summary: station IGMP recv packets
+ 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
+
+ 4.PC与target1创建好TCP 连接,有ACCEPT
+
+ 5.target1上创建TCP socket2
+
+ 6.8266往PC socket2上发送5字节数据
+
+ 7.8266往PC socket1上发送5字节数据'
+ sub module: TCP
+ summary: do TCP send after socket changed
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: IGMP send/recv test
+ test point 1: abnormal/special use
+ test point 2: TCP handling abnormal event
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_IGMP_0203
- SDK: '8266_NonOS
-
- 8266_RTOS
-
- ESP32_IDF'
+ ID: WIFI_PHY_0502
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
- - [R SOC_COM L OK]
- - - SOC SOC1 SENDTO 1 <test_udp_port1> 224.1.1.1
- - [R SSC1 SL <sock1>+1]
- - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
+ - - SSC SSC1 phy -S -o 1 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 sta -C -s <ap_ssid_c1_ht20> -p <ap_password_phy>
+ - ['R SSC2 C +JAP:CONNECTED']
+ - - SSC SSC1 sta -C -s <target2_ssid> -p <target2_password>
+ - ['R SSC1 C +JAP:CONNECTED']
+ - - SSC SSC3 sta -C -s <target_ssid> -p <target_password>
+ - ['R SSC3 C +JAP:CONNECTED']
+ - - SSC SSC2 sta -C -s <ap_ssid_c2_ht40> -p <ap_password_phy>
+ - ['']
+ - - DELAY 10
+ - ['P SSC2 C +JAP:CONNECTED', 'P SSC[1,3] NC +JAP:DISCONNECTED']
comment: ''
execution time: 0.0
- expected result: '1. succeed
+ expected result: 4. all STA not get disconnected; target 1 SoftAP and STA both in
+ channel2; SoftAP in 20M, STA in 40M
+ initial condition: T3_PHY1
+ initial condition description (auto): '1. target 1 and target 2 set to AP+STA mode,
+ target 3 set to STA mode
- 2. succeed
+ 2. all interface of target 2,3 set to 11n ht40
- 3. able to recv packet'
- initial condition: APSTA2
- initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
- by APM2)
- module: TCPIP
- steps: '1. join group
+ 3. config softAP of target 1 and target 2'
+ module: WIFI MAC
+ steps: '1. target 1 STA set to 40M, SoftAP set to 20M
- 2. create UDP socket using multicast addr
+ 2. target 2 STA connect to ap_channel1_20
- 3. PC send UDP packet to multicast addr'
- sub module: IGMP
- summary: softAP IGMP recv packets
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ 3. target 1/3 STA connect to target 2/1 SoftAP
- PC has 1 WiFi NIC.
+ 4. target 2 STA connect to ap_channel2_40'
+ sub module: Phy Mode
+ summary: SoftAP STA in channel1 20M, STA changed to channel2 40M
+ test environment: SSC_T3_PhyMode
+ test environment description (auto): '3 SSC target connect with PC by UART.
- 1 SSC target connect with PC by UART.'
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with (HT20, channel1), (HT20, channel2), (HT40, channel1), (HT40, channel2).
+
+ Put 4 APs near SSC targets.'
test point 1: basic function
- test point 2: IGMP send/recv test
- version: v1 (2016-8-15)
+ test point 2: STA+SoftAP dynamic channel switch test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_IGMP_0202
- SDK: '8266_NonOS
+ ID: WIFI_PHY_0503
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 1 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 sta -C -s <ap_ssid_c1_ht40> -p <ap_password_phy>
+ - ['R SSC2 C +JAP:CONNECTED']
+ - - SSC SSC1 sta -C -s <target2_ssid> -p <target2_password>
+ - ['R SSC1 C +JAP:CONNECTED']
+ - - SSC SSC3 sta -C -s <target_ssid> -p <target_password>
+ - ['R SSC3 C +JAP:CONNECTED']
+ - - SSC SSC2 sta -C -s <ap_ssid_c2_ht20> -p <ap_password_phy>
+ - ['']
+ - - DELAY 10
+ - ['P SSC2 C +JAP:CONNECTED', 'P SSC[1,3] NC +JAP:DISCONNECTED']
+ comment: ''
+ execution time: 0.0
+ expected result: 4. all STA not get disconnected; target 1 SoftAP and STA both in
+ channel2 20M
+ initial condition: T3_PHY1
+ initial condition description (auto): '1. target 1 and target 2 set to AP+STA mode,
+ target 3 set to STA mode
- 8266_RTOS
+ 2. all interface of target 2,3 set to 11n ht40
- ESP32_IDF'
+ 3. config softAP of target 1 and target 2'
+ module: WIFI MAC
+ steps: '1. target 1 STA set to 40M, SoftAP set to 20M
+
+ 2. target 2 STA connect to ap_channel1_40
+
+ 3. target 1/3 STA connect to target 2/1 SoftAP
+
+ 4. target 2 STA connect to ap_channel2_20'
+ sub module: Phy Mode
+ summary: SoftAP STA in channel1, SoftAP 20M, STA 40M, STA changed to channel2 20M
+ test environment: SSC_T3_PhyMode
+ test environment description (auto): '3 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with (HT20, channel1), (HT20, channel2), (HT40, channel1), (HT40, channel2).
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA+SoftAP dynamic channel switch test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0501
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC2 op -S -o 1
- - ['R SSC2 C +MODE:OK']
- - - SSC SSC2 sta -C -s <ap_ssid> -p <ap_password>
+ - - SSC SSC1 phy -S -o 1 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 sta -C -s <ap_ssid_c1_ht20> -p <ap_password_phy>
- ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
- - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
- - - SSC SSC2 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC2 A <sock2>:\+BIND:(\d+),OK']
- - - SSC SSC2 soc -S -s <sock2> -i 224.1.1.1 -p <test_udp_port1> -l 10
- - [R SSC1 SL <sock1>+1]
- - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
+ - - SSC SSC1 sta -C -s <target2_ssid> -p <target2_password>
+ - ['R SSC1 C +JAP:CONNECTED']
+ - - SSC SSC3 sta -C -s <target_ssid> -p <target_password>
+ - ['R SSC3 C +JAP:CONNECTED']
+ - - SSC SSC2 sta -C -s <ap_ssid_c2_ht20> -p <ap_password_phy>
+ - ['']
+ - - DELAY 10
+ - ['P SSC2 C +JAP:CONNECTED', 'P SSC[1,3] NC +JAP:DISCONNECTED']
comment: ''
execution time: 0.0
- expected result: '1. succeed
+ expected result: 4. all STA not get disconnected; target 1 SoftAP and STA both in
+ channel2 20M
+ initial condition: T3_PHY1
+ initial condition description (auto): '1. target 1 and target 2 set to AP+STA mode,
+ target 3 set to STA mode
- 2. succeed
+ 2. all interface of target 2,3 set to 11n ht40
- 3. succeed
+ 3. config softAP of target 1 and target 2'
+ module: WIFI MAC
+ steps: '1. target 1 STA and SoftAP set to 20M
- 4. target1 recv multicast packet'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
- module: TCPIP
- steps: '1. target2 set to sta mode and join AP
+ 2. target 2 STA connect to ap_channel1_20
- 2. target1 join group and create UDP socket using multicast addr
+ 3. target 1/3 STA connect to target 2/1 SoftAP
- 3. target2 create UDP socket
+ 4. target 2 STA connect to ap_channel2_20'
+ sub module: Phy Mode
+ summary: SoftAP STA in channel1 20M, STA changed to channel2 20M
+ test environment: SSC_T3_PhyMode
+ test environment description (auto): '3 SSC target connect with PC by UART.
- 4. target2 send to multicast addr'
- sub module: IGMP
- summary: station send multicast packets
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- PC has 1 WiFi NIC.
+ Set 4 AP with (HT20, channel1), (HT20, channel2), (HT40, channel1), (HT40, channel2).
- 2 SSC target connect with PC by UART.'
+ Put 4 APs near SSC targets.'
test point 1: basic function
- test point 2: IGMP send/recv test
- version: v1 (2016-8-15)
+ test point 2: STA+SoftAP dynamic channel switch test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_IGMP_0204
- SDK: '8266_NonOS
+ ID: WIFI_PHY_0506
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 1 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 sta -C -s <ap_ssid_c1_ht40> -p <ap_password_phy>
+ - ['R SSC2 C +JAP:CONNECTED']
+ - - SSC SSC1 sta -C -s <target2_ssid> -p <target2_password>
+ - ['R SSC1 C +JAP:CONNECTED']
+ - - SSC SSC3 sta -C -s <target_ssid> -p <target_password>
+ - ['R SSC3 C +JAP:CONNECTED']
+ - - SSC SSC2 sta -C -s <ap_ssid_c2_ht40> -p <ap_password_phy>
+ - ['']
+ - - DELAY 10
+ - ['P SSC2 C +JAP:CONNECTED', 'P SSC[1,3] NC +JAP:DISCONNECTED']
+ comment: ''
+ execution time: 0.0
+ expected result: 4. all STA not get disconnected; target 1 SoftAP and STA both in
+ channel2 40M
+ initial condition: T3_PHY1
+ initial condition description (auto): '1. target 1 and target 2 set to AP+STA mode,
+ target 3 set to STA mode
- 8266_RTOS
+ 2. all interface of target 2,3 set to 11n ht40
- ESP32_IDF'
+ 3. config softAP of target 1 and target 2'
+ module: WIFI MAC
+ steps: '1. target 1 STA and SoftAP set to 40M
+
+ 2. target 2 STA connect to ap_channel1_40
+
+ 3. target 1/3 STA connect to target 2/1 SoftAP
+
+ 4. target 2 STA connect to ap_channel2_40'
+ sub module: Phy Mode
+ summary: SoftAP STA in channel1, SoftAP 40M, STA 40M, STA changed to channel2 40M
+ test environment: SSC_T3_PhyMode
+ test environment description (auto): '3 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with (HT20, channel1), (HT20, channel2), (HT40, channel1), (HT40, channel2).
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA+SoftAP dynamic channel switch test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0505
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - - SSC SSC1 phy -S -o 1 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 sta -C -s <ap_ssid_c1_ht40> -p <ap_password_phy>
- ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
- - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
- - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
- - - SSC SSC2 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC2 A <sock2>:\+BIND:(\d+),OK']
- - - SSC SSC2 soc -S -s <sock2> -i 224.1.1.1 -p <test_udp_port1> -l 10
- - [R SSC1 SL <sock1>+1]
- - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
- - ['R SSC1 C +IGMP:OK']
+ - - SSC SSC1 sta -C -s <target2_ssid> -p <target2_password>
+ - ['R SSC1 C +JAP:CONNECTED']
+ - - SSC SSC3 sta -C -s <target_ssid> -p <target_password>
+ - ['R SSC3 C +JAP:CONNECTED']
+ - - SSC SSC2 sta -C -s <ap_ssid_c2_ht20> -p <ap_password_phy>
+ - ['']
+ - - DELAY 10
+ - ['P SSC2 C +JAP:CONNECTED', 'P SSC[1,3] NC +JAP:DISCONNECTED']
comment: ''
execution time: 0.0
- expected result: '1. succeed
+ expected result: 4. all STA not get disconnected; target 1 SoftAP and STA both in
+ channel2; SoftAP in 20M, STA in 40M
+ initial condition: T3_PHY1
+ initial condition description (auto): '1. target 1 and target 2 set to AP+STA mode,
+ target 3 set to STA mode
- 2. succeed
+ 2. all interface of target 2,3 set to 11n ht40
- 3. succeed
+ 3. config softAP of target 1 and target 2'
+ module: WIFI MAC
+ steps: '1. target 1 STA set to 40M ,SoftAP set to 20M
- 4. target1 recv multicast packet'
- initial condition: T2_2
- initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
- module: TCPIP
- steps: '1. target2 join SoftAP
+ 2. target 2 STA connect to ap_channel1_40
- 2. target1 join group and create UDP socket using multicast addr
+ 3. target 1/3 STA connect to target 2/1 SoftAP
- 3. target2 create UDP socket
+ 4. target 2 STA connect to ap_channel2_20'
+ sub module: Phy Mode
+ summary: SoftAP STA in channel1, SoftAP 40M, STA 40M, STA changed to channel2 20M
+ test environment: SSC_T3_PhyMode
+ test environment description (auto): '3 SSC target connect with PC by UART.
- 4. target2 send to multicast addr'
- sub module: IGMP
- summary: softAP send multicast packets
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- PC has 1 WiFi NIC.
+ Set 4 AP with (HT20, channel1), (HT20, channel2), (HT40, channel1), (HT40, channel2).
- 2 SSC target connect with PC by UART.'
+ Put 4 APs near SSC targets.'
test point 1: basic function
- test point 2: IGMP send/recv test
- version: v1 (2016-8-15)
+ test point 2: STA+SoftAP dynamic channel switch test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
- ID: ^WIFI_CONN_0301
+ ID: WIFI_CONN_0301
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
execution time: 0.0
expected result: '1. target1 set AP
- 2.target 1上查询到跟设置AP时一致'
- initial condition: APSTA1
- initial condition description (auto): testing ap on sta + ap mode (autogen by APM1)
+ 2.target 1上查询到跟设置AP时一致
+
+ '
+ initial condition: APM1
+ initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
+ condition APSTA1
module: WIFI MAC
steps: '1. target1 set AP
- 2.target 1上查询到跟设置AP时一致'
+ 2.target 1上查询到跟设置AP时一致
+
+ '
sub module: WIFI Connect
summary: AP config query test
test environment: SSC_T1_1
test point 2: query AP config
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_UDP_0114
+ 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']
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
+
+ 2.ERROR
+
+ 3.OK
+
+ 4.OK
+
+ 5.APIP:192.168.123.123
+
+ 6.OK'
+ initial condition: APSTA1
+ initial condition description (auto): testing ap on sta + ap mode (autogen by APM1)
+ 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
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: set and query static IP
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: ^TCPIP_UDP_0105
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -I
- - ['P SSC1 RE "SOCINFO:%%s,1,.+,%%d"%%(<sock1>,<test_udp_port1>)']
+ - - SSC SSC1 soc -T -s <sock1>
+ - ['R SSC1 RE CLOSE:\d+']
comment: ''
execution time: 0.0
expected result: '1.OK
2.OK'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
module: TCPIP
steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 2.target1上查询创建socket信息'
+ 2.关闭socket1'
sub module: UDP
- summary: AP mode, get active socket info test
+ summary: STA mode, close UDP sockets test
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
test point 2: use UDP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_UDP_0111
+ ID: ^TCPIP_UDP_0104
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: 1/5
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
- - ['R SSC1 C +SAP:OK']
- - - WIFI <pc_wifi_nic> CONN <target_ssid> <target_password> <pc_ip_wifi> <target_auth>
- <target_encryption>
- - ['R PC_COM NC ERROR C +WIFICONN:OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
+ - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- [R SOC_COM L OK]
- - - SSC SSC2 ip
- - ['R SSC2 A <ssc2_ip>:STAIP:(.+)\r\n']
- - - SSC SSC2 soc -B -t UDP -p <test_udp_port2>
- - ['R SSC2 A <sock1>:BIND:(\d+),OK']
- - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SOC SOC1 SENDTO 5 <test_udp_port1> <target_ap_ip>
- - ['R SSC1 RE "RECVFROM:%%s,5,%%s,%%u"%%(<sock2>,<pc_ip_wifi>,<test_udp_port1>)']
- - - SSC SSC2 soc -S -s <sock1> -i <target_ap_ip> -p <test_udp_port1> -l 5
- - ['R SSC1 RE "RECVFROM:%%s,5,%%s,%%u"%%(<sock2>,<ssc2_ip>,<test_udp_port2>)']
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SOC SOC1 SENDTO 1 <test_udp_port1> <target_ip>
+ - [R SSC1 SL <sock1>+1]
+ - - SOC SOC1 SENDTO 1472 <test_udp_port1> <target_ip>
+ - ['R SSC1 RE "RECVFROM:%%s,1472,%%s,%%u"%%(<sock1>,<pc_ip>,<test_udp_port1>)']
+ - - SOC SOC1 SENDTO 1473 <test_udp_port1> <target_ip>
+ - [P SSC1 NC +RECVFROM, P SOC_COM C OK]
+ - - SOC SOC2 BIND <test_udp_port2> <pc_ip2>
+ - [R SOC_COM L OK]
+ - - SOC SOC2 SENDTO 1472 <test_udp_port1> <target_ip>
+ - ['R SSC1 RE "RECVFROM:%%s,1472,%%s,%%u"%%(<sock1>,<pc_ip2>,<test_udp_port2>)']
comment: ''
execution time: 0.0
expected result: '1.OK
6.OK
7.OK'
- initial condition: T2O_1
- initial condition description (auto): same as T2_1 but will NOT autogen a TC with
- initial condition T2_2
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
module: TCPIP
steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
7.PC往8266上发送1472字节数据'
sub module: UDP
- summary: AP mode, recvfrom basic test
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
+ summary: STA mode, recvfrom basic test
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
+ 1 SSC target connect with PC by UART.'
test point 1: basic function
test point 2: use UDP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_UDP_0110
+ ID: ^TCPIP_UDP_0107
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
- - [R SOC_COM L OK]
- - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1]
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1472
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1472]
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1473
- - ['P SSC1 RE SEND:(\d+),OK', P SOC_COM NC SOC_RECVFROM]
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1472 -n 10
- -j 20
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 14720]
+ - - SSC SSC1 soc -I
+ - ['P SSC1 RE "SOCINFO:%%s,1,.+,%%d"%%(<sock1>,<test_udp_port1>)']
comment: ''
execution time: 0.0
expected result: '1.OK
- 2.OK
-
- 3.OK
-
- 4.OK
-
- 5.OK,没收到UDP包
-
- 6.OK'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
+ 2.OK'
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
module: TCPIP
- steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
-
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
-
- 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1字节数据
-
- 4.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472字节数据
-
- 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1473字节数据
+ steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 6.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472*10字节数据'
+ 2.target1上查询创建socket信息'
sub module: UDP
- summary: AP mode, sendto test with different length
+ summary: STA mode, get active socket info test
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
test point 2: use UDP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_UDP_0113
+ ID: ^TCPIP_UDP_0106
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
4.ok
5.ok'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
module: TCPIP
steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
5.target1上UDP传输,Bind socket5,本地ip target_udp_port5'
sub module: UDP
- summary: AP mode, create max udp socket test
+ summary: STA mode, create max udp socket test
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
test point 2: use UDP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_UDP_0112
+ ID: ^TCPIP_UDP_0101
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+']
+ - ['R SSC1 RE BIND:(\d+),OK']
+ - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port2>
+ - ['R SSC1 RE BIND:(\d+),OK']
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC1 C BIND:ERROR']
+ - - SSC SSC1 soc -B -t TCP -p <test_udp_port1>
+ - ['R SSC1 RE BIND:(\d+),OK']
comment: ''
execution time: 0.0
expected result: '1.OK
- 2.OK'
- initial condition: APM2
- initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
- a TC with initial condition APSTA2
+ 2.OK
+
+ 3.ERROR
+
+ 4.OK'
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
module: TCPIP
steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 2.关闭socket1'
+ 2.target1上UDP传输,Bind socket2,本地ip 0.0.0.0 target_udp_port2
+
+ 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+
+ 4.target1上创建TCP socket3, target_udp_port1'
sub module: UDP
- summary: AP mode, close UDP sockets test
+ summary: STA mode, udp bind test. use different ip, port
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
test point 2: use UDP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: WIFI_CONN_0501
+ ID: ^TCPIP_UDP_0103
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: 1/5
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC2 sta -R -r 1
- - ['R SSC2 C +RECONN:OK']
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
- - - SSC SSC1 op -S -o 1
- - ['R SSC1 C +MODE:OK']
- - - DELAY 10
- - ['']
- - - SSC SSC1 op -S -o 2
- - ['R SSC1 C +MODE:OK']
- - - DELAY 15
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC2 sta -R -r 0
- - ['R SSC2 C +RECONN:OK']
- - - SSC SSC2 sta -R -r 2
- - ['R SSC2 C +RECONN:0']
- - - SSC SSC1 op -S -o 1
- - ['R SSC1 C +MODE:OK']
- - - DELAY 10
- - ['']
- - - SSC SSC1 op -S -o 2
- - ['R SSC1 C +MODE:OK']
- - - DELAY 15
- - [P PC_COM C +DELAYDONE, 'P SSC2 NC +JAP:CONNECTED']
- - - SSC SSC2 sta -R -r 1
- - ['R SSC2 C +RECONN:OK']
+ - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1]
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1472
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1472]
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1473
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC_COM NC SOC_RECVFROM]
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1472 -n 10 -j 20
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 14720]
comment: ''
execution time: 0.0
- expected result: '1.设置reconn,开启(此功能不需要重启系统)
+ expected result: '1.OK
- 2.target1 set AP
+ 2.OK
- 3.target2 JAP target1 成功
+ 3.OK
- 4.target2 断开target1 连接
+ 4.OK
- 5.等待10s,target2 自动重连target1
+ 5.OK,没有到UDP包
- 6.成功
+ 6.OK'
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
+ module: TCPIP
+ steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 7.查询reconn状态,关闭
+ 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 8.修改mode 成功
+ 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1字节数据
- 9.等待15s,target2 不会自动重连target1'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- module: WIFI MAC
- steps: "1.设置reconn,开启(此功能不需要重启系统)\n2.target1下设置ssid 和pwd 加密方式\n3.target2 JAP target1\
- \ \n4.target1 修改mode 为sta mode\n5.等待10s,target1 修改mode 为softAP mode\n6.设置reconn,关闭\n\
- 7.查询reconn状态,关闭\n8.target1 修改mode 为sta mode\n9.等待15s,target1 修改mode 为softAP mode"
- sub module: WIFI Connect
- summary: reconnect policy test
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
+ 4.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472字节数据
+
+ 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1473字节数据
+
+ 6.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472*10字节数据'
+ sub module: UDP
+ summary: STA mode, sendto test with different length
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
+ 1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: reconnect policy test
+ test point 2: use UDP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: WIFI_CONN_0502
+ ID: ^TCPIP_UDP_0102
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: 1/5
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC2 sta -R -r 1
- - ['R SSC2 C +RECONN:OK']
- - - SSC SSC1 op -S -o 1
- - ['R SSC1 C +MODE:OK']
- - - DELAY 5
- - ['R SSC2 C +JAP:DISCONNECTED']
- - - SSC SSC1 op -S -o 2
- - ['R SSC1 C +MODE:OK']
- - - DELAY 10
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC2 sta -D
- - ['R SSC2 C +QAP:OK']
- - - DELAY 10
- - [P PC_COM C +DELAYDONE, 'P SSC2 NC +JAP:CONNECTED']
+ - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
+ - [R SOC_COM L OK]
+ - - SOC SOC2 BIND <test_udp_port2> <pc_ip2>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 10
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 10]
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip2> -p <test_udp_port2> -l 10
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC2 UL 10]
comment: ''
execution time: 0.0
- expected result: '1.target1 set AP
+ expected result: '1.OK
- 2.target2 jap target 1
+ 2.OK
- 3.设置reconn,开启(此功能不需要重启系统)
+ 3.OK
- 4.target2 断开target1 连接
+ 4.OK
- 5.等待10s,target2 自动重连target1
+ 5.OK'
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
+ module: TCPIP
+ steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 6.target2 断开target1 连接'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- module: WIFI MAC
- steps: '1.target1下设置ssid 和pwd 加密方式
+ 2.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
- 2.target2 jap target 1
+ 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 3.设置reconn,开启(此功能不需要重启系统)
+ 4.target1上使用步骤3创建的socket1,往pc_ip,test_tcp_port1上发送10字节数据
- 4.target2 断开target1 连接
-
- 5.等待10s,target2 自动重连target1
-
- 6.target2 断开target1 连接'
- sub module: WIFI Connect
- summary: will not do reconnect after manually disconnected
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
+ 5.target1上使用步骤3创建的socket1,往pc_ip2,test_tcp_port2上发送10字节数据'
+ sub module: UDP
+ summary: STA mode, sendto test. use different ip, port
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: reconnect policy test
+ 1 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: use UDP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^WIFI_CONN_0401
- SDK: '8266_NonOS
+ ID: WIFI_PHY_0205
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: 2/3
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 1 -m g
+ - ['R SSC1 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11g> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")']
+ comment: ''
+ execution time: 0.0
+ expected result: '1. succeed
- 8266_RTOS
+ 2. succeed
- ESP32_IDF'
+ 3. probe-req and assoc-req has xrates, no ht, cap.short_slot_time=1,rates+xrates=[1/2/5.5/11/6/9/12/18/24/36/48/54]
+
+ 4. 20M
+
+ 5. succeed
+
+ 6. data rate in radiotap is in rates or xrates'
+ initial condition: STAM1
+ initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
+ TC with initial condition STAAP1
+ module: WIFI MAC
+ steps: '1. target set to PHY mode 11bg
+
+ 2. target connect to 11g AP
+
+ 3. capture probe-req and assoc-req in step2
+
+ 4. check if config bandwidth correct
+
+ 5. send data from target
+
+ 6. capture data in step5'
+ sub module: Phy Mode
+ summary: target STA set as 11bg, join 11g external AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0204
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: 2/3
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 sta -R -a 0
- - ['R SSC1 C +AUTORECONN:OK']
- - - SSC SSC1 sta -R -a 2
- - ['R SSC1 C +AUTORECONN:0']
- - - SSC SSC1 reboot
- - ['']
- - - DELAY 15
- - ['']
- - - SSC SSC1 sta -Q
- - ['R SSC1 C JAP:DISCONNECTED']
- - - SSC SSC1 sta -R -a 1
- - ['R SSC1 C +AUTORECONN:OK']
- - - SSC SSC1 sta -R -a 2
- - ['R SSC1 C +AUTORECONN:1']
- - - SSC SSC1 reboot
- - ['R SSC1 C +JAP:CONNECTED']
+ - - SSC SSC1 phy -S -o 1 -m g
+ - ['R SSC1 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11b> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates!)(Wlan.capability.short_slot_time="1")(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M")']
comment: ''
execution time: 0.0
- expected result: '1.设置autoreconn,关闭
+ expected result: '1. succeed
- 2.查询当前autoreconn状态是否关闭
+ 2. succeed
- 3.重启系统,等待15s
+ 3. probe-req has xrates, no ht, cap.short_slot_time=1,rates+xrates=[1/2/5.5/11/6/9/12/18/24/36/48/54];
- 4.查询target1 未自动重连AP
+ assoc-req has no erp/ht/xrates, cap.short_slot_time=1,rates=[1/2/5.5/11]
- 5.设置autoreconn,开启
+ 4. 20M
- 6.查询当前autoreconn状态是否开启
+ 5. succeed
- 7.系统重启后target1 自动重连AP'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
+ 6. data rate in radiotap is in [1/2/5.5/11]'
+ initial condition: STAM1
+ initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
+ TC with initial condition STAAP1
module: WIFI MAC
- steps: '1.设置autoreconn,关闭
+ steps: '1. target set to PHY mode 11bg
- 2.查询当前autoreconn状态是否关闭
+ 2. target connect to 11b AP
- 3.重启系统,等待15s
+ 3. capture probe-req and assoc-req in step2
- 4.查询target1 未自动重连AP
+ 4. check if config bandwidth correct
- 5.设置autoreconn,开启
+ 5. send data from target
- 6.查询当前autoreconn状态是否开启
+ 6. capture data in step5'
+ sub module: Phy Mode
+ summary: target STA set as 11bg, join 11b external AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 7.系统重启后target1 自动重连AP'
- sub module: WIFI Connect
- summary: auto reconnect test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- PC has 1 WiFi NIC.
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- 1 SSC target connect with PC by UART.'
+ Put 4 APs near SSC targets.'
test point 1: basic function
- test point 2: power on auto reconnect test
- version: v1 (2016-8-15)
+ test point 2: STA PHY mode test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
- ID: WIFI_MODE_0101
- SDK: '8266_NonOS
-
- 8266_RTOS
-
- ESP32_IDF'
+ ID: WIFI_PHY_0207
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: 2/3
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC1 op -S -o 1
- - ['R SSC1 C +MODE:OK']
- - - SSC SSC1 dhcp -S -o 1
- - ['R SSC1 C +DHCP:STA,OK']
- - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
- - ['R SSC1 RE "\+JAP:CONNECTED,%%s"%%(<ap_ssid>)']
- - - SSC SSC2 sta -S
- - [R SSC2 NP <target_ssid> C +SCANDONE]
- - - SSC SSC1 sta -D
- - ['R SSC1 C +QAP:OK']
+ - - SSC SSC1 phy -S -o 1 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11b> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates!)(Wlan.capability.short_slot_time="1")(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M")']
comment: ''
execution time: 0.0
- expected result: '1.target1下设置ssid 和pwd 、加密方式成功
+ expected result: '1. succeed
- 2.修改target 1的mode 为sta mode
+ 2. succeed
- 3.target1的dhcp打开
+ 3. probe-req has xrates/ht, cap.short_slot_time=1,rates=[1/2/5.5/11/24/36/48/54];
- 4.target1成功连接上AP
+ assoc-req has no ht/xrates, cap.short_slot_time=1,rates=[1/2/5.5/11]
- 5.target2上不能查询到target_ssid
+ 4. 20M
- 6.target1断开AP'
- initial condition: T2O_1
- initial condition description (auto): same as T2_1 but will NOT autogen a TC with
- initial condition T2_2
+ 5. succeed
+
+ 6. data rate in radiotap is in [1/2/5.5/11]'
+ initial condition: STAM1
+ initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
+ TC with initial condition STAAP1
module: WIFI MAC
- steps: '1.target1下设置ssid 和pwd 加密方式
+ steps: '1. target set to PHY mode 11bgn
- 2.修改target1的mode 为sta mode
+ 2. target connect to 11b AP
- 3.target1的dhcp打开
+ 3. capture probe-req and assoc-req in step2
- 4.target1连接AP
+ 4. check if config bandwidth correct
- 5.target2查询target_ssid
+ 5. send data from target
- 6.target1断开AP'
- sub module: WIFI Mode
- summary: mode switch test (sta mode)
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
+ 6. capture data in step5'
+ sub module: Phy Mode
+ summary: target STA set as 11bgn, join 11b external AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- PC has 1 WiFi NIC.
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- 2 SSC target connect with PC by UART.'
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
test point 1: basic function
- test point 2: wifi mode fucntion
- version: v1 (2016-8-15)
+ test point 2: STA PHY mode test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
- ID: WIFI_MODE_0103
- SDK: '8266_NonOS
-
- 8266_RTOS
-
- ESP32_IDF'
+ ID: WIFI_PHY_0206
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: 2/3
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 op -S -o 3
- - ['R SSC1 C +MODE:OK']
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC1 dhcp -S -o 1
- - ['R SSC1 C +DHCP:STA,OK']
- - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
- - ['R SSC1 RE "\+JAP:CONNECTED,%%s"%%(<ap_ssid>)']
- - - SSC SSC2 sta -S
- - [R SSC2 P <target_ssid>, R SSC2 C +SCANDONE]
+ - - SSC SSC1 phy -S -o 1 -m g
+ - ['R SSC1 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11n_20> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")']
comment: ''
execution time: 0.0
- expected result: '1.target1 change to AP mode
+ expected result: '1. succeed
- 2.target1 set AP
+ 2. succeed
- 3.target 1 的dhcp 打开
+ 3. probe-req and assoc-req has xrates, no ht, cap.short_slot_time=1,rates+xrates=[1/2/5.5/11/6/9/12/18/24/36/48/54]
- 4.target 1 成功连接上AP
+ 4. 20M
- 5.target 2 上查询到target_ssid'
- initial condition: T2O_1
- initial condition description (auto): same as T2_1 but will NOT autogen a TC with
- initial condition T2_2
+ 5. succeed
+
+ 6. data rate in radiotap is in rates or xrates'
+ initial condition: STAM1
+ initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
+ TC with initial condition STAAP1
module: WIFI MAC
- steps: '1.target1 change to AP mode
+ steps: '1. target set to PHY mode 11bg
- 2.target1下设置ssid 和pwd 加密方式
+ 2. target connect to 11n AP
- 3.target1 的dhcp 打开
+ 3. capture probe-req and assoc-req in step2
- 4.target1 连接AP
+ 4. check if config bandwidth correct
- 5.target2 上查询target_ssid'
- sub module: WIFI Mode
- summary: mode switch test (STA+AP mode)
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
+ 5. send data from target
- PC has 1 WiFi NIC.
+ 6. capture data in step5'
+ sub module: Phy Mode
+ summary: target STA set as 11bg, join 11n external AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: wifi mode fucntion
- version: v1 (2016-8-15)
-- CI ready: 'Yes'
- ID: WIFI_MODE_0102
- SDK: '8266_NonOS
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- 8266_RTOS
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- ESP32_IDF'
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0201
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: 2/3
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -S
- - [R SSC2 P <target_ssid>, R SSC2 C +SCANDONE]
- - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
- - ['R SSC1 C +JAP:ERROR']
- - - SSC SSC1 sta -D
- - ['R SSC1 C +QAP:ERROR']
+ - - SSC SSC1 phy -S -o 1 -m b
+ - ['R SSC1 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11b> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates!)(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates!)(Wlan.capability.short_slot_time="1")(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M")']
comment: ''
execution time: 0.0
- expected result: '1. target1 set AP
+ expected result: '1. succeed
- 2.target 2 上查询到target_ssid
+ 2. succeed
- 3. target1 can''t join AP
+ 3. probe-req and assoc-req has no ht/xrates, cap.short_slot_time=1,rates=[1/2/5.5/11]
- 4. target1 can''t QAP'
- initial condition: T2O_1
- initial condition description (auto): same as T2_1 but will NOT autogen a TC with
- initial condition T2_2
+ 4. 20M
+
+ 5. succeed
+
+ 6. data rate in radiotap is in [1/2/5.5/11]'
+ initial condition: STAM1
+ initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
+ TC with initial condition STAAP1
module: WIFI MAC
- steps: '1.target1下设置ssid 和pwd 加密方式
+ steps: '1. target set to PHY mode 11b
- 2.target 2 上查询target_ssid
+ 2. target connect to 11b AP
- 3.target1 join AP
+ 3. capture probe-req and assoc-req in step2
- 4.target1 DISCONN AP'
- sub module: WIFI Mode
- summary: mode switch test (AP mode)
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
+ 4. check if config bandwidth correct
- PC has 1 WiFi NIC.
+ 5. send data from target
- 2 SSC target connect with PC by UART.'
+ 6. capture data in step5'
+ sub module: Phy Mode
+ summary: target STA set as 11b, join 11b external AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
test point 1: basic function
- test point 2: wifi mode fucntion
- version: v1 (2016-8-15)
+ test point 2: STA PHY mode test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
- ID: ^WIFI_CONN_0904
+ ID: ^TCPIP_DHCP_0102
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 3 -m 1
+ - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
- ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -C -s <random_string> -p 1234567890
- - ['R SSC2 C +JAP:DISCONNECTED,1,204']
- - - SSC SSC2 sta -D
- - ['R SSC2 C +QAP:OK']
- - - WIFI <pc_wifi_nic> CONN <random_string> <random_string> <pc_ip_wifi>
- - ['R PC_COM NC ERROR C +WIFICONN:OK']
- - - SSC SSC2 sta -C -s <random_string> -p <random_string>
- - ['R SSC2 C +JAP:DISCONNECTED,1,5']
- - - WIFI <pc_wifi_nic> DISCONN
- - [P PC_COM C OK, 'R SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 3 -m 1
- - ['P SSC1 C +SAP:OK', 'P SSC2 C +JAP:DISCONNECTED,5,4']
+ - - SSC SSC1 dhcp -E -o 2
+ - ['R SSC1 C +DHCP:AP,OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['']
+ - - DELAY 20
+ - [P PC_COM C +DELAYDONE, 'P SSC2 NC +JAP:CONNECTED']
+ - - SSC SSC1 dhcp -S -o 2
+ - ['R SSC1 C +DHCP:AP,OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['R SSC2 C +JAP:CONNECTED']
comment: ''
execution time: 0.0
- expected result: '1. succeed
-
- 2. disconnect event REASON_HANDSHAKE_TIMEOUT
-
- 3. succeed
-
- 4. succeed
-
- 5. disconnect event REASON_ASSOC_TOOMANY
-
- 6. succeed, target2 connect succeed
-
- 7. disconnect event REASON_ASSOC_EXPIRE'
+ expected result: "1.target1 set AP OK \n2.target1 关闭DHCP OK\n3.target2 jap target\
+ \ 1,FAIL \n4.target1 打开DHCP OK\n5.target2 jap target 1,ok"
initial condition: T2_2
initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
- module: WIFI MAC
- steps: '1. config target1 softap max sta allowed 1
-
- 2. target2 connect to target1 with wrong password
-
- 3. target2 disconnect
-
- 4. PC WIFI NIC connect to target1
-
- 5. target2 connect to target1 with correct password
-
- 6. PC WIFI NIC disconnect
-
- 7. reconfig softap'
- sub module: WIFI Connect
- summary: test wifi disconnect reason REASON_ASSOC_TOOMANY, REASON_HANDSHAKE_TIMEOUT,
- REASON_ASSOC_EXPIRE
+ module: TCPIP
+ steps: "1.target1 set AP OK \n2.target1 关闭DHCP OK\n3.target2 jap target 1,FAIL \n\
+ 4.target1 打开DHCP OK\n5.target2 jap target 1,ok"
+ sub module: DHCP
+ summary: dhcp server function test
test environment: SSC_T2_1
test environment description (auto): 'PC has 1 wired NIC connected to AP.
2 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: wifi disconnect reason test
+ test point 2: DHCP client function test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^WIFI_CONN_0901
- SDK: '8266_NonOS
-
- 8266_RTOS
-
- ESP32_IDF'
- Test App: basic function
+ ID: WIFI_PHY_0203
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: 2/3
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
- - ['R SSC1 C +JAP:CONNECTED']
- - - SSC SSC1 sta -D
- - ['R SSC1 C +JAP:DISCONNECTED,0,8']
- - - SSC SSC1 sta -C -s <ap_ssid> -p <random_string>
- - ['R SSC1 C +JAP:DISCONNECTED,2,15']
- - - SSC SSC1 sta -C -s <random_string> -p <ap_password>
- - ['R SSC1 C +JAP:DISCONNECTED,1,201']
+ - - SSC SSC1 phy -S -o 1 -m b
+ - ['R SSC1 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11n_20> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates!)(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates!)(Wlan.capability.short_slot_time="1")(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M")']
comment: ''
execution time: 0.0
- expected result: '1. disconnect event reason REASON_ASSOC_LEAVE
+ expected result: '1. succeed
- 2. disconnect event reason REASON_4WAY_HANDSHAKE_TIMEOUT
+ 2. succeed
- 3. disconnect event reason REASON_NO_AP_FOUND'
- initial condition: STAAP1
- initial condition description (auto): testing sta on sta + ap mode, quit AP (autogen
- by STAM1)
+ 3. probe-req and assoc-reqhas no ht/xrates, cap.short_slot_time=1,rates=[1/2/5.5/11]
+
+ 4. 20M
+
+ 5. succeed
+
+ 6. data rate in radiotap is in [1/2/5.5/11]'
+ initial condition: STAM1
+ initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
+ TC with initial condition STAAP1
module: WIFI MAC
- steps: '1. sta connect to AP, and disconnect
+ steps: '1. target set to PHY mode 11b
- 2. connect to AP with wrong password
+ 2. target connect to 11n AP
- 3. connect to AP not exist'
- sub module: WIFI Connect
- summary: test wifi disconnect reason REASON_ASSOC_LEAVE, REASON_4WAY_HANDSHAKE_TIMEOUT,
- REASON_NO_AP_FOUND
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ 3. capture probe-req and assoc-req in step2
- PC has 1 WiFi NIC.
+ 4. check if config bandwidth correct
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: wifi disconnect reason test
- version: v1 (2016-8-15)
-- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0201
- SDK: '8266_NonOS
+ 5. send data from target
- 8266_RTOS
+ 6. capture data in step5'
+ sub module: Phy Mode
+ summary: target STA set as 11b, join 11b external AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- ESP32_IDF'
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0202
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: 2/3
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [SOCR SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,ERROR']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -L -s <sock2>
- - ['R SSC1 RE LISTEN:\d+,OK']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,ERROR']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock3>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock3> -h B
- - ['P SSC1 RE SHUTDOWN:\d+,OK']
- - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,ERROR']
- - - SSC SSC1 soc -T
- - [R SSC1 C +CLOSEALL]
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,ERROR']
+ - - SSC SSC1 phy -S -o 1 -m b
+ - ['R SSC1 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11g> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates!)(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates!)(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M")']
comment: ''
execution time: 0.0
- expected result: '1.ok
-
- 2.OK
-
- 3.ERROR
-
- 4.OK
-
- 5.OK
-
- 6.ERROR
-
- 7.OK
-
- 8.OK
-
- 9.OK
-
- 10.OK
-
- 11.OK
-
- 12.ERROR'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
- module: TCPIP
- steps: '1.PC上建立TCP 监听 test_tcp_port1
+ expected result: '1. succeed
- 2.target1上创建UDP传输socket,bind到本地ip 0.0.0.0,<test_udp_port1>
+ 2. succeed
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,<test_udp_port1>
+ 3. probe-req and assoc-reqhas no ht/xrates, cap.short_slot_time=1,rates=[1/2/5.5/11]
- 4.target1上创建TCP socket
+ 4. 20M
- 5.target1上使用步骤4创建的socket,创建TCP 监听
+ 5. succeed
- 6.target1上使用步骤4创建的socket,去连接 PC的ip,<test_tcp_port1>
+ 6. data rate in radiotap is in [1/2/5.5/11]'
+ initial condition: STAM1
+ initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
+ TC with initial condition STAAP1
+ module: WIFI MAC
+ steps: '1. target set to PHY mode 11b
- 7.target1上创建TCP socket
+ 2. target connect to 11g AP
- 8.target1上使用步骤7创建的socket,去连接 PC的ip,<test_tcp_port1>
+ 3. capture probe-req and assoc-req in step2
- 9.target1上关闭步骤7创建的socket
+ 4. check if config bandwidth correct
- 10.target1上使用步骤7创建的socket,去连接 PC的ip,<test_tcp_port1>
+ 5. send data from target
- 11.target1上关闭所有创建的socket
+ 6. capture data in step5'
+ sub module: Phy Mode
+ summary: target STA set as 11b, join 11g external AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 12.target1上使用步骤2创建的socket,去连接 PC的ip,<test_tcp_port1>'
- sub module: TCP
- summary: STA mode, connect test. use socket in state that can't connect
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- PC has 1 WiFi NIC.
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- 1 SSC target connect with PC by UART.'
+ Put 4 APs near SSC targets.'
test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) in different state
- version: v1 (2016-8-15)
+ test point 2: STA PHY mode test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0206
+ ID: ^TCPIP_DHCP_0103
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP -i <target_ip>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -B -t TCP -i <target_ip>
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock2>
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
- - - SSC SSC1 soc -B -t TCP -p <random_port>
- - ['R SSC1 A <sock3>:BIND:(\d+),OK']
- - - SSC SSC1 soc -L -s <sock3>
- - ['R SSC1 RE LISTEN:\d+,OK']
- - - SOC SOC2 CONNECT <random_port> <target_ip>
- - ['R SSC1 A <sock4>:ACCEPT:(\d+),\d+,.+,\d+']
- - - SSC SSC1 soc -I
- - ['P SSC1 RE "SOCINFO:%%s,2,%%s,\d+,%%s,%%d"%%(<sock1>,<target_ip>,<pc_ip>,<test_tcp_port1>)',
- 'P SSC1 RE "SOCINFO:%%s,2,.+,\d+,.+,\d+"%%(<sock2>)', 'P SSC1 RE "SOCINFO:%%s,82,.+,%%d,.+,\d+"%%(<sock3>,<random_port>)',
- 'P SSC1 RE "SOCINFO:%%s,2,%%s,%%d,%%s,\d+"%%(<sock4>,<target_ip>,<random_port>,<pc_ip>)']
+ - - SSC SSC1 op -S -o 3
+ - ['R SSC1 C +MODE:OK']
+ - - SSC SSC1 dhcp -S -o 3
+ - ['R SSC1 C +DHCP:AP,OK C +DHCP:STA,OK']
+ - - SSC SSC1 dhcp -Q -o 3
+ - ['R SSC1 C +DHCP:STA,STARTED C +DHCP:AP,STARTED']
+ - - SSC SSC1 dhcp -Q -o 1
+ - ['R SSC1 C +DHCP:STA,STARTED NC +DHCP:AP,STARTED']
+ - - SSC SSC1 dhcp -Q -o 2
+ - ['R SSC1 NC +DHCP:STA,STARTED C +DHCP:AP,STARTED']
+ - - SSC SSC1 dhcp -E -o 3
+ - ['R SSC1 C +DHCP:AP,OK C +DHCP:STA,OK']
+ - - SSC SSC1 dhcp -Q -o 3
+ - ['R SSC1 C +DHCP:STA,STOPPED C +DHCP:AP,STOPPED']
comment: ''
execution time: 0.0
expected result: '1.OK
2.OK
- 3.OK,pc tcp server accept成功
+ 3.STA&AP STARTED
- 4.OK
+ 4.STA STARTED
- 5.OK
+ 5.AP STARTED
6.OK
- 7.OK
+ 7.STA&AP STOPPED'
+ initial condition: STAAP1
+ initial condition description (auto): testing sta on sta + ap mode, quit AP (autogen
+ by STAM1)
+ module: TCPIP
+ steps: '1.target1 设置mode 为sta+softAP mode
- 8.OK
+ 2.target1 打开DHCP 3
- 9.PC OK, target1 +ACCEPT:3,2,<pc_ip>,port
+ 3.target1 查询DHCP 状态
- 10.+SOCINFO:<sock1>,<target_ip>,<pc_ip>,<test_tcp_port1>
+ 4.target1 查询sta DHCP 状态
- +SOCINFO:<sock2>,<target_ip>,<pc_ip>,<test_tcp_port1>
-
- +SOCINFO:<sock3>,<random_port>
+ 5.target1 查询softAP DHCP 状态
- +SOCINFO:<sock4>,<target_ip>,<random_port>,<pc_ip>
+ 6.target1 关闭 DHCP 3
- +SOCINF0ALL'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
- module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1,本地ip target_ip\n3.target1上使用步骤2创建的socket1,去连接\
- \ PC的ip,test_tcp_port1,PC有ACCEPT\n4.target1上创建TCP socket2,本地ip target_ip\n5.target1上使用步骤4创建的socket2,去连接\
- \ PC的ip,test_tcp_port1,PC有ACCEPT\n6.target1 shutdown socket2 \n7.target1上创建TCP\
- \ socket3,本地端口random_port\n8.target1上使用步骤7创建的socket3,去监听\n9.PC CONNECT<random_port>,<target_ip>\
- \ ,tcp 连接创建成功,创建socket4 \n10.target1 查询the socket information"
- sub module: TCP
- summary: STA mode, get active socket info test
+ 7.target1 查询 DHCP 状态'
+ sub module: DHCP
+ summary: dhcp status query
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) in different state
+ test point 2: DHCP client function test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0207
- SDK: '8266_NonOS
-
- 8266_RTOS
-
- ESP32_IDF'
+ ID: WIFI_PHY_0209
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: 2/3
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
- - [SOCR SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,ERROR']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -L -s <sock2>
- - ['R SSC1 RE LISTEN:\d+,OK']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,ERROR']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock3>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock3> -h B
- - ['P SSC1 RE SHUTDOWN:\d+,OK']
- - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,ERROR']
- - - SSC SSC1 soc -T
- - [R SSC1 C +CLOSEALL]
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,ERROR']
+ - - SSC SSC1 phy -S -o 1 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11n_20> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities="")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP OR 2 PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")
+ PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.msc="")']
comment: ''
execution time: 0.0
- expected result: '1.ok
+ expected result: '1. succeed
- 2 OK
+ 2. succeed
- 3.ERROR
+ 3. probe-req and assoc-req has xrates/ht, cap.short_slot_time=1,rates+xrates=[1/2/5.5/11/6/9/12/18/24/36/48/54]
- 4.OK
+ 4. 20M
- 5.OK
+ 5. succeed
- 6.ERROR
+ 6. data rate in radiotap is in rates or xrates or msc0-7'
+ initial condition: STAM1
+ initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
+ TC with initial condition STAAP1
+ module: WIFI MAC
+ steps: '1. target set to PHY mode 11bgn
- 7.OK
+ 2. target connect to 11n AP
- 8.OK
+ 3. capture probe-req and assoc-req in step2
- 9.OK
+ 4. check if config bandwidth correct
- 10.OK
+ 5. send data from target
- 11.OK
+ 6. capture data in step5'
+ sub module: Phy Mode
+ summary: target STA set as 11bgn, join 11n external AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 12.ERROR'
- initial condition: APSTA2
- initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
- by APM2)
- module: TCPIP
- steps: '1.PC上建立TCP 监听 test_tcp_port1
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- 2.target1上创建UDP传输socket,bind到本地ip 0.0.0.0,<test_udp_port1>
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,<test_udp_port1>
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0208
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: 2/3
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 1 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11g> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")']
+ comment: ''
+ execution time: 0.0
+ expected result: '1. succeed
- 4.target1上创建TCP socket
+ 2. succeed
- 5.target1上使用步骤4创建的socket,创建TCP 监听
+ 3. probe-req has xrates/ht, cap.short_slot_time=1,rates+xrates=[1/2/5.5/11/6/9/12/18/24/36/48/54];
- 6.target1上使用步骤4创建的socket,去连接 PC的ip,<test_tcp_port1>
+ assoc-req has xrates no ht, cap.short_slot_time=1,rates=[1/2/5.5/11], xrates=[24/36/48/54];
- 7.target1上创建TCP socket
+ 4. 20M
- 8.target1上使用步骤7创建的socket,去连接 PC的ip,<test_tcp_port1>
+ 5. succeed
- 9.target1上关闭步骤7创建的socket
+ 6. data rate in radiotap is in rates or xrates'
+ initial condition: STAM1
+ initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
+ TC with initial condition STAAP1
+ module: WIFI MAC
+ steps: '1. target set to PHY mode 11bgn
- 10.target1上使用步骤7创建的socket,去连接 PC的ip,<test_tcp_port1>
+ 2. target connect to 11g AP
- 11.target1上关闭所有创建的socket
+ 3. capture probe-req and assoc-req in step2
- 12.target1上使用步骤2创建的socket,去连接 PC的ip,<test_tcp_port1>'
- sub module: TCP
- summary: AP mode, connect test. use socket in state that can't connect
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ 4. check if config bandwidth correct
- PC has 1 WiFi NIC.
+ 5. send data from target
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) in different state
- version: v1 (2016-8-15)
-- CI ready: 'Yes'
- ID: TCPIP_TCP_0501
- SDK: '8266_NonOS
+ 6. capture data in step5'
+ sub module: Phy Mode
+ summary: target STA set as 11bgn, join 11g external AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 8266_RTOS
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- ESP32_IDF'
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_SCAN_0301
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - STRING <cap_filter> ether%20src%20%%s%20or%20ether%20dst%20%%s <target_mac>
- <target_mac>
- - [R PC_COM C OK]
- - - NIC NIC1 START <pc_nic> capture+block_ip <cap_filter>
- - ['R PC_COM C +NIC_START:OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - - SSC SSC1 sta -S
- ['']
- - - DELAY 10
- - ['R SSC1 RE CONNECT:\d+,ERROR']
+ - - SSC SSC1 sta -S
+ - [P SSC1 C +SCANFAIL, 'P SSC1 P +SCAN:', R SSC1 C +SCANDONE]
comment: ''
execution time: 0.0
- expected result: 2. connect failed, no exception
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- module: TCPIP
- steps: '1. PC do not reply any IP packet on NIC
+ expected result: '1. second scan failed
- 2. target try to connect to TCP server with PC NIC IP'
- sub module: TCP
- summary: PC do not reply TCP SYN of target
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ 2. first scan succeed'
+ initial condition: STAM1
+ initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
+ TC with initial condition STAAP1
+ module: WIFI MAC
+ steps: '1. do all channel scan
- PC has 1 WiFi NIC.
+ 2. do scan before scan finished'
+ sub module: WIFI Scan
+ summary: reject scan request before scan finished
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: TCP connect and disconnect abnormal case
- version: v1 (2015-8-15)
-- CI ready: 'Yes'
- ID: ^TCPIP_DNS_0101
- SDK: '8266_NonOS
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- 8266_RTOS
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- ESP32_IDF'
+ Put 4 APs near SSC targets.'
+ test point 1: interaction
+ test point 2: Scan interact with other WiFi operation
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_SCAN_0303
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 soc -H -d iot.espressif.cn
- - ['R SSC1 C +HOSTIP:OK,115.29.202.58']
+ - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
+ - ['R SSC1 C +JAP:OK']
+ - - SSC SSC1 sta -S
+ - [P SSC1 C +SCANDONE, 'P SSC1 C +JAP:CONNECTED']
+ - - SSC SSC1 sta -D
+ - ['R SSC1 C +QAP:OK']
+ - - SSC SSC1 sta -S
+ - ['']
+ - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
+ - [P SSC1 C +SCANDONE, 'P SSC1 C +JAP:CONNECTED']
comment: ''
execution time: 0.0
- expected result: 1.OK
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
- module: TCPIP
- steps: 1. get host name "espressif.cn"
- sub module: DNS
- summary: get host by name test
- test environment: SSC_T1_2
- test environment description (auto): 'Able to access WAN after connect to AP.
+ expected result: '2. scan succeed, JAP succeed
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: DNS function test
- version: v1 (2016-8-15)
-- CI ready: 'Yes'
- ID: ^TCPIP_DNS_0103
- SDK: '8266_NonOS
+ 5. JAP succeed, scan succeed'
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1. target 1 STA join AP
- 8266_RTOS
+ 2. target 1 STA scan before JAP succeed
- ESP32_IDF'
- Test App: SSC
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -H -d iot.espressif.cn
- - ['R SSC1 A <ip_addr>:\+HOSTIP:OK,(.+)\r\n']
- - - SSC SSC1 soc -B -t UDP
- - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <ip_addr> -p 9003 -l 10
- - ['P SSC1 RE \+SEND:\d+,OK', P SSC1 SL <sock1>+10]
- comment: ''
- execution time: 0.0
- expected result: '1.OK
+ 3. target 1 quite AP
- 2.OK
+ 4. target 1 scan
- 3.OK'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
- module: TCPIP
- steps: '1. get host name "espressif.cn"
+ 5. target 1 JAP before scan succeed'
+ sub module: WIFI Scan
+ summary: scan during JAP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 2. sendto, recvfrom1. get host name "espressif.cn"
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- 2. sendto, recvfrom'
- sub module: DNS
- summary: UDP send to iot.expressif.com
- test environment: SSC_T1_2
- test environment description (auto): 'Able to access WAN after connect to AP.
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: DNS function test
- version: v1 (2016-8-15)
+ Put 4 APs near SSC targets.'
+ test point 1: interaction
+ test point 2: Scan interact with other WiFi operation
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_DNS_0102
+ ID: ^WIFI_CONN_0801
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 soc -H -d iot.espressif.cn
- - ['R SSC1 A <ip_addr>:\+HOSTIP:OK,(.+)\r\n']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <ip_addr> -p 9001
- - ['R SSC1 RE \+CONNECT:\d+,OK']
- - - SSC SSC1 soc -S -s <sock1> -l 10
- - ['P SSC1 RE \+SEND:\d+,OK', P SSC1 SL <sock1>+10]
+ - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 0
+ - ['R SSC1 C +SAP:OK']
+ - - SSC SSC2 sta -C -s <random_string> -p <random_string>
+ - ['R SSC2 C +JAP:CONNECTED']
+ - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 2
+ - ['P SSC1 C +SAP:OK', 'P SSC2 C +JAP:AUTHCHANGED,2,0']
+ - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 3
+ - ['P SSC1 C +SAP:OK', 'P SSC2 C +JAP:AUTHCHANGED,3,2']
+ - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
+ - ['P SSC1 C +SAP:OK', 'P SSC2 C +JAP:AUTHCHANGED,4,3']
+ - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 0
+ - ['P SSC1 C +SAP:OK', 'P SSC2 C +JAP:AUTHCHANGED,0,4']
comment: ''
execution time: 0.0
- expected result: '1.OK
+ expected result: '1. succeed
- 2.OK
+ 2. succeed
- 3.OK
+ 3. auth change event old mode 0 new mode 2
- 4.OK'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
- module: TCPIP
- steps: '1. get host name "espressif.cn"
+ 4. auth change event old mode 2 new mode 3
- 2. connect, send, recv1. get host name "espressif.cn"
+ 5. auth change event old mode 3 new mode 4
- 2. connect, send, recv'
- sub module: DNS
- summary: TCP connect to iot.espressif.com
- test environment: SSC_T1_2
- test environment description (auto): 'Able to access WAN after connect to AP.
+ 6. auth change event old mode 4 new mode 0'
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1. set target1 softap auth mode 0
- 1 SSC target connect with PC by UART.'
+ 2. target2 connect to target1
+
+ 3. set target1 softap auth mode 2, wait sta connected
+
+ 4. set target1 softap auth mode 3, wait sta connected
+
+ 5. set target1 softap auth mode 4, wait sta connected
+
+ 6. set target1 softap auth mode 0, wait sta connected'
+ sub module: WIFI Connect
+ summary: test auth change event
+ test environment: SSC_T2_1
+ test environment description (auto): 'PC has 1 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 2 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: DNS function test
+ test point 2: wifi auth changed event test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_TCP_0106
- SDK: '8266_NonOS
-
- 8266_RTOS
-
- ESP32_IDF'
+ ID: WIFI_SCAN_0304
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock3>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock4>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock4> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock5>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock5> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['R SSC2 C +JAP:OK']
+ - - SSC SSC1 sta -S
+ - [P SSC1 C +SCANDONE, 'P SSC2 C +JAP:CONNECTED']
+ - - SSC SSC2 sta -D
+ - ['R SSC2 C +QAP:OK']
+ - - SSC SSC1 sta -S
+ - ['']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - [P SSC1 C +SCANDONE, 'P SSC2 C +JAP:CONNECTED']
comment: ''
execution time: 0.0
- expected result: '1.OK
-
- 2.OK
-
- 3.OK,pc tcp server accept成功
-
- 4 OK
-
- 5.OK,pc tcp server accept成功
+ expected result: '2. scan succeed, JAP succeed
- 6.OK
+ 5. JAP succeed, scan succeed'
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1. target 2 STA join target 1 SoftAP
- 7.OK,pc tcp server accept成功
+ 2. target 1 STA scan before target 2 JAP succeed
- 8 OK
+ 3. target 2 STA QAP
- 9.OK,pc tcp server accept成功
+ 4. target 1 STA scan
- 10.OK
+ 5. target 2 STA JAP before target 1 STA scan succeed'
+ sub module: WIFI Scan
+ summary: scan during ext STA join SoftAP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 11.OK,pc tcp server accept成功'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- module: TCPIP
- steps: '1.PC上建立TCP 监听 test_tcp_port1
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- 2.target1上创建TCP socket1
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+ Put 4 APs near SSC targets.'
+ test point 1: interaction
+ test point 2: Scan interact with other WiFi operation
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: ^TCPIP_UDP_0108
+ SDK: '8266_NonOS
- 4.target1上创建TCP socket2
+ 8266_RTOS
- 5.target1上使用步骤4创建的socket2,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC1 RE BIND:(\d+),OK']
+ - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port2>
+ - ['R SSC1 RE BIND:(\d+),OK']
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC1 C BIND:ERROR']
+ - - SSC SSC1 soc -B -t TCP -p <test_udp_port1>
+ - ['R SSC1 RE BIND:(\d+),OK']
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
- 6.target1上创建TCP socket3
+ 2.OK
- 7.target1上使用步骤6创建的socket3,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+ 3.ERROR
- 8.target1上创建TCP socket4
+ 4.OK'
+ initial condition: APSTA2
+ initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
+ by APM2)
+ module: TCPIP
+ steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 9.target1上使用步骤8创建的socket4,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+ 2.target1上UDP传输,Bind socket2,本地ip 0.0.0.0 target_udp_port2
- 10.target1上创建TCP socket5
+ 3.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 11.target1上使用步骤10创建的socket5,去连接 PC的ip,test_tcp_port1,PC有ACCEPT'
- sub module: TCP
- summary: STA mode, create max TCP sockets test
+ 4.target1上创建TCP socket3, target_udp_port1'
+ sub module: UDP
+ summary: AP mode, udp bind test. use different ip, port
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
+ test point 2: use UDP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_TCP_0107
+ ID: WIFI_CONN_0104
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 soc -B -t TCP -p <random_port>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -L -s <sock1>
- - ['R SSC1 RE LISTEN:\d+,OK']
- - - SOC SOC2 CONNECT <random_port> <target_ip>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
- - - SOC SOC3 CONNECT <random_port> <target_ip>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
- - - SOC SOC4 CONNECT <random_port> <target_ip>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
- - - SOC SOC5 CONNECT <random_port> <target_ip>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
- - - SOC SOC6 CONNECT <random_port> <target_ip>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
+ - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum> -m
+ 1
+ - ['R SSC1 C +SAP:OK']
+ - - WIFI <pc_wifi_nic> DISCONN
+ - ['R PC_COM C +WIFIDISCONN:OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
+ - - WIFI <pc_wifi_nic> CONN <target_ssid> <target_password> <pc_ip_wifi> <target_auth>
+ <target_encryption>
+ - ['R PC_COM C +WIFICONN:ERROR']
comment: ''
execution time: 0.0
- expected result: '1.+BIND:0,OK,0.0.0.0
+ expected result: '1. target1 set AP,set max allowed sta as 1
- 2.OK
+ 2. use PC disconnect,
- 3.OK,pc tcp server accept成功
+ 3.target 2 jap succeed
- 4.OK,pc tcp server accept成功
+ 4.PC WIFI can not CONN'
+ initial condition: T2_1
+ initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
+ autogen a TC with initial condition T2_2
+ module: WIFI MAC
+ steps: '1.target1下设置ssid 和pwd 加密方式,set max allowed sta as 1
- 5.OK,pc tcp server accept成功
+ 2.use PC disconnect target1
- 6.OK,pc tcp server accept成功
+ 3.target 2 jap target1
- 7.OK,pc tcp server accept成功'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- module: TCPIP
- steps: "1.target1上创建TCP socket 端口随机\n2.target1上使用步骤4创建的socket1,去监听\n3.PC CONNECT<random_port>,<target_ip>\
- \ ,tcp 连接创建成功,创建socket2 \n4.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket3\
- \ \n5.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket4 \n6.PC CONNECT<random_port>,<target_ip>\
- \ ,tcp 连接创建成功,创建socket5 \n7.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket6\
- \ "
- sub module: TCP
- summary: STA mode, accept max TCP client by server test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ 4.PC WIFI CONNECT target1'
+ sub module: WIFI Connect
+ summary: station SAP test, max allowed sta
+ test environment: SSC_T2_1
+ test environment description (auto): 'PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
+ 2 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
+ test point 2: SAP/JAP with different config
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_TCP_0104
+ ID: ^TCPIP_IGMP_0201
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
+ - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
+ - ['R SSC1 C +IGMP:OK']
+ - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
+ - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
+ - - SOC SOC1 BIND <test_udp_port1>
- [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock1> -h B
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock2> -h W
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock3>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock3> -h R
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
+ - - SOC SOC1 SENDTO 1 <test_udp_port1> 224.1.1.1
+ - [R SSC1 SL <sock1>+1]
+ - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
+ - ['R SSC1 C +IGMP:OK']
comment: ''
execution time: 0.0
- expected result: '1.OK
+ expected result: '1. succeed
- 2.OK
+ 2. succeed
- 3.OK,pc tcp server accept OK
+ 3. able to recv packet'
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
+ module: TCPIP
+ steps: '1. join group
- 4.OK
+ 2. create UDP socket using multicast addr
- 5.OK
-
- 6.OK,pc tcp server accept OK
-
- 7.OK
-
- 8.OK
-
- 9.OK,pc tcp server accept OK
-
- 10.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- module: TCPIP
- steps: '1. PC上建立TCP 监听 test_tcp_port1
-
- 2.target1上创建TCP socket
-
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
-
- 4.target1 shutdown socket1 B
-
- 5.target1上创建TCP socket
-
- 6.target1上使用步骤5创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
-
- 7.target1 shutdown socket2 W
-
- 8.target1上创建TCP socket
-
- 9.target1上使用步骤8创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
-
- 10.target1 shutdown socket3 R'
- sub module: TCP
- summary: STA mode, shutdown basic test
+ 3. PC send UDP packet to multicast addr'
+ sub module: IGMP
+ summary: station IGMP recv packets
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
+ test point 2: IGMP send/recv test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_TCP_0105
+ ID: ^TCPIP_IGMP_0203
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- - - SSC SSC1 soc -B -t TCP -p <random_port>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -L -s <sock1>
- - ['R SSC1 RE LISTEN:\d+,OK']
- - - SOC SOC2 CONNECT <random_port> <target_ip>
- - ['R SSC1 A <sock2>:ACCEPT:(\d+),\d+,.+,\d+']
- - - SSC SSC1 soc -T -s <sock2>
- - ['R SSC1 RE CLOSE:\d+,OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
+ - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
+ - ['R SSC1 C +IGMP:OK']
+ - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock1>
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
+ - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
+ - [R SOC_COM L OK]
+ - - SOC SOC1 SENDTO 1 <test_udp_port1> 224.1.1.1
+ - [R SSC1 SL <sock1>+1]
+ - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
+ - ['R SSC1 C +IGMP:OK']
comment: ''
execution time: 0.0
- expected result: '1.OK
-
- 2.OK
-
- 3.OK
-
- 4.OK
-
- 5.OK
-
- 6.OK
-
- 7.target1关闭socket1
-
- 8.target1关闭socket2
-
- 9.OK
-
- 10.OK,pc tcp server accept成功
-
- 11.target1关闭socket1
+ expected result: '1. succeed
- 12.OK
+ 2. succeed
- 13.OK,pc tcp server accept成功
+ 3. able to recv packet'
+ initial condition: APSTA2
+ initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
+ by APM2)
+ module: TCPIP
+ steps: '1. join group
- 14.OK
+ 2. create UDP socket using multicast addr
- 15.target1关闭socket1'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1关闭socket1\n\
- 4.target1上创建TCP socket 端口随机\n5.target1上使用步骤4创建的socket1,去监听\n6.PC CONNECT<random_port>,<target_ip>\
- \ ,tcp 连接创建成功,创建socket2 \n7.target1关闭socket1\n8.target1关闭socket2\n\
- 9.target1上创建TCP socket1\n10.target1上使用步骤10创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT\n\
- 11.target1关闭socket1\n12.target1上创建TCP socket1\n13.target1上使用步骤13创建的socket1,去连接\
- \ PC的ip,test_tcp_port1,PC有ACCEPT\n14.target1shutdown socket1\n15.target1关闭socket1"
- sub module: TCP
- summary: STA mode, close for different types of TCP sockets test
+ 3. PC send UDP packet to multicast addr'
+ sub module: IGMP
+ summary: softAP IGMP recv packets
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
+ test point 2: IGMP send/recv test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_TCP_0102
+ ID: ^TCPIP_IGMP_0202
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 soc -B -t TCP -p <random_port>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -L -s <sock1>
- - ['R SSC1 RE LISTEN:\d+,OK']
- - - SOC SOC1 CONNECT <random_port> <target_ip>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+', P SOC_COM C OK]
- - - SOC SOC1 CONNECT <test_tcp_port2> <target_ip>
- - [P SOC_COM C ERROR, P SSC1 NC ACCEPT]
+ - - SSC SSC2 op -S -o 1
+ - ['R SSC2 C +MODE:OK']
+ - - SSC SSC2 sta -C -s <ap_ssid> -p <ap_password>
+ - ['R SSC2 C +JAP:CONNECTED']
+ - - SSC SSC1 igmp -J -h <target_ip> -m 224.1.1.1
+ - ['R SSC1 C +IGMP:OK']
+ - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
+ - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
+ - - SSC SSC2 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC2 A <sock2>:\+BIND:(\d+),OK']
+ - - SSC SSC2 soc -S -s <sock2> -i 224.1.1.1 -p <test_udp_port1> -l 10
+ - [R SSC1 SL <sock1>+1]
+ - - SSC SSC1 igmp -L -h <target_ip> -m 224.1.1.1
+ - ['R SSC1 C +IGMP:OK']
comment: ''
execution time: 0.0
- expected result: '1.OK
+ expected result: '1. succeed
- 2.OK
+ 2. succeed
- 3.PC TCP client accept
+ 3. succeed
- 4.error'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
+ 4. target1 recv multicast packet'
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
module: TCPIP
- steps: '1.target1上创建TCP socket,bind到本地端口<random_port>
+ steps: '1. target2 set to sta mode and join AP
- 2.target1上使用步骤1创建的socket,创建TCP 监听
+ 2. target1 join group and create UDP socket using multicast addr
- 3.PC TCP 连接到target1 <random_port>,<target_ip>
+ 3. target2 create UDP socket
- 4.PC tcp 连接到不存在的port ,<target_ip>'
- sub module: TCP
- summary: STA mode, server listen test. use different kinds of port
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ 4. target2 send to multicast addr'
+ sub module: IGMP
+ summary: station send multicast packets
+ test environment: SSC_T2_1
+ test environment description (auto): 'PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
+ 2 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
+ test point 2: IGMP send/recv test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_TCP_0103
+ ID: ^TCPIP_IGMP_0204
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SOC SOC1 ACCEPT SOC2
- - [R SOC_COM L OK]
- - - SOC SOC2 SEND 5
- - [R SSC1 SL <sock1>+5]
- - - SSC SSC1 soc -S -s <sock1> -l 5
- - ['P SSC1 RE SEND:\d+,OK', P SOC2 RL 5]
- - - SOC SOC2 SEND 146000
- - [R SSC1 SL <sock1>+146000]
- - - SSC SSC1 soc -S -s <sock1> -l 1460 -n 100
- - ['P SSC1 RE SEND:\d+,OK', P SOC2 RL 146000]
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['R SSC2 C +JAP:CONNECTED']
+ - - SSC SSC1 igmp -J -h <target_ap_ip> -m 224.1.1.1
+ - ['R SSC1 C +IGMP:OK']
+ - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p <test_udp_port1>
+ - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
+ - - SSC SSC2 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC2 A <sock2>:\+BIND:(\d+),OK']
+ - - SSC SSC2 soc -S -s <sock2> -i 224.1.1.1 -p <test_udp_port1> -l 10
+ - [R SSC1 SL <sock1>+1]
+ - - SSC SSC1 igmp -L -h <target_ap_ip> -m 224.1.1.1
+ - ['R SSC1 C +IGMP:OK']
comment: ''
execution time: 0.0
- expected result: '1.OK
-
- 2.OK
-
- 3.OK,pc上回accept
-
- 4.OK
-
- 5.target收到5 byte
+ expected result: '1. succeed
- 6.PC收到5 byte
+ 2. succeed
- 7.target收到 146000 byte
+ 3. succeed
- 8.OK,PC 回SOC_RECV=SOC2,RECV_LEN=字节数'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
+ 4. target1 recv multicast packet'
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
module: TCPIP
- steps: '1. PC上建立TCP 监听 test_tcp_port1
-
- 2.target1上创建TCP socket
+ steps: '1. target2 join SoftAP
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
+ 2. target1 join group and create UDP socket using multicast addr
- 4.PC与target1 创建好TCP 连接,有ACCEPT
+ 3. target2 create UDP socket
- 5.PC send 5 bytes to 8266
+ 4. target2 send to multicast addr'
+ sub module: IGMP
+ summary: softAP send multicast packets
+ test environment: SSC_T2_1
+ test environment description (auto): 'PC has 1 wired NIC connected to AP.
- 6.8266 send 5 bytes to PC
+ PC has 1 WiFi NIC.
- 7. PC send 100 * 1460 data to 8266,
-
- 8.8266 send 100 * 1460 to PC. '
- sub module: TCP
- summary: STA mode, send/recv basic test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
-
- PC has 1 WiFi NIC.
-
- 1 SSC target connect with PC by UART.'
+ 2 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
+ test point 2: IGMP send/recv test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_TCP_0101
+ ID: ^WIFI_CONN_0301
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [SOCR SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,OK', P SOC1 C +ACCEPT]
- - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock2> -i 123.456.678.789 -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,ERROR']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port2>
- - ['P SSC1 RE CONNECT:\d+,ERROR']
+ - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum> -h
+ 0 -m 8
+ - ['R SSC1 C +SAP:OK']
+ - - SSC SSC1 ap -Q
+ - ['R SSC1 RE "\+APCONFIG:%%s,%%s,\d+,3,0,8,\d+"%%(<target_ssid>,<target_password>)']
comment: ''
execution time: 0.0
- expected result: '1.OK
-
- 2.OK
-
- 3.OK; PC TCP server accept 成功
-
- 4.OK
-
- 5.ERROR
-
- 6.ERROR'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- module: TCPIP
- steps: '1.PC上建立TCP 监听 test_tcp_port1
-
- 2.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
-
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
-
- 4.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
+ expected result: '1. target1 set AP
- 5.target1上使用步骤4创建的socket,去连接不存在的ip,test_tcp_port1
+ 2.target 1上查询到跟设置AP时一致'
+ initial condition: APSTA1
+ initial condition description (auto): testing ap on sta + ap mode (autogen by APM1)
+ module: WIFI MAC
+ steps: '1. target1 set AP
- 6.target1上使用步骤2创建的socket,去连接 PC的ip,远端端口不存在。'
- sub module: TCP
- summary: STA mode, connect test. use different ip, port
+ 2.target 1上查询到跟设置AP时一致'
+ sub module: WIFI Connect
+ summary: AP config query test
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
+ test point 2: query AP config
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0116
+ ID: TCPIP_UDP_0114
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 soc -B -t TCP -p <random_port>
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -L -s <sock1>
- - ['R SSC1 RE LISTEN:\d+,OK']
- - - SOC SOC2 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
- - - SOC SOC3 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
- - - SOC SOC4 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
- - - SOC SOC5 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
- - - SOC SOC6 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
+ - - SSC SSC1 soc -I
+ - ['P SSC1 RE "SOCINFO:%%s,1,.+,%%d"%%(<sock1>,<test_udp_port1>)']
comment: ''
execution time: 0.0
- expected result: '1.+BIND:0,OK,0.0.0.0
-
- 2.OK
-
- 3.OK,pc tcp server accept成功
-
- 4.OK,pc tcp server accept成功
-
- 5.OK,pc tcp server accept成功
-
- 6.OK,pc tcp server accept成功
+ expected result: '1.OK
- 7.OK,pc tcp server accept成功'
- initial condition: APSTA2
- initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
- by APM2)
+ 2.OK'
+ initial condition: APM2
+ initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
+ a TC with initial condition APSTA2
module: TCPIP
- steps: "1.target1上创建TCP socket 端口随机\n2.target1上使用步骤4创建的socket1,去监听\n3.PC CONNECT<random_port>,<target_ip>\
- \ ,tcp 连接创建成功,创建socket2 \n4.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket3\
- \ \n5.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket4 \n6.PC CONNECT<random_port>,<target_ip>\
- \ ,tcp 连接创建成功,创建socket5 \n7.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket6"
- sub module: TCP
- summary: AP mode, accept max TCP client by server test
+ steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+
+ 2.target1上查询创建socket信息'
+ sub module: UDP
+ summary: AP mode, get active socket info test
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
+ test point 2: use UDP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0114
+ ID: TCPIP_UDP_0111
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: 1/5
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
+ - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
+ - ['R SSC1 C +SAP:OK']
+ - - WIFI <pc_wifi_nic> CONN <target_ssid> <target_password> <pc_ip_wifi> <target_auth>
+ <target_encryption>
+ - ['R PC_COM NC ERROR C +WIFICONN:OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
+ - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
- [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- - - SSC SSC1 soc -B -t TCP -p <random_port>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -L -s <sock1>
- - ['R SSC1 RE LISTEN:\d+,OK']
- - - SOC SOC2 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
- - ['R SSC1 A <sock2>:ACCEPT:(\d+),\d+,.+,\d+']
- - - SSC SSC1 soc -T -s <sock2>
- - ['R SSC1 RE CLOSE:\d+,OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock1>
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
+ - - SSC SSC2 ip
+ - ['R SSC2 A <ssc2_ip>:STAIP:(.+)\r\n']
+ - - SSC SSC2 soc -B -t UDP -p <test_udp_port2>
+ - ['R SSC2 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC1 A <sock2>:BIND:(\d+),OK']
+ - - SOC SOC1 SENDTO 5 <test_udp_port1> <target_ap_ip>
+ - ['R SSC1 RE "RECVFROM:%%s,5,%%s,%%u"%%(<sock2>,<pc_ip_wifi>,<test_udp_port1>)']
+ - - SSC SSC2 soc -S -s <sock1> -i <target_ap_ip> -p <test_udp_port1> -l 5
+ - ['R SSC1 RE "RECVFROM:%%s,5,%%s,%%u"%%(<sock2>,<ssc2_ip>,<test_udp_port2>)']
comment: ''
execution time: 0.0
expected result: '1.OK
4.OK
- 5.OK
-
- 6.OK,target1上accept 成功
-
- 7.target1关闭socket1
+ 5.OK,没收到UDP包
- 8.target1关闭socket2
+ 6.OK
- 9.OK
+ 7.OK'
+ initial condition: T2O_1
+ initial condition description (auto): same as T2_1 but will NOT autogen a TC with
+ initial condition T2_2
+ module: TCPIP
+ steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 10.OK,pc tcp server accept成功
+ 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 11.target1关闭socket1
+ 3.PC往8266上发送1字节数据
- 12.OK
+ 4.PC往8266上发送1472字节数据
- 13.OK,pc tcp server accept成功
+ 5.PC往8266上发送1473字节数据
- 14.OK
+ 6.PC上SOC2 UDP传输,bing <test_udp_port2> <pc_ip2>
- 15.target1关闭socket1'
- initial condition: APSTA2
- initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
- by APM2)
- module: TCPIP
- steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1关闭socket1\n\
- 4.target1上创建TCP socket 端口随机\n5.target1上使用步骤4创建的socket1,去监听\n6.PC CONNECT<random_port>,<target_ip>\
- \ ,tcp 连接创建成功,创建socket2 \n7.target1关闭socket1\n8.target1关闭socket2\n\
- 9.target1上创建TCP socket1\n10.target1上使用步骤10创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT\n\
- 11.target1关闭socket1\n12.target1上创建TCP socket1\n13.target1上使用步骤13创建的socket1,去连接\
- \ PC的ip,test_tcp_port1,PC有ACCEPT\n14.target1shutdown socket1\n15.target1关闭socket1"
- sub module: TCP
- summary: AP mode, close for different types of TCP sockets test
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ 7.PC往8266上发送1472字节数据'
+ sub module: UDP
+ summary: AP mode, recvfrom basic test
+ test environment: SSC_T2_1
+ test environment description (auto): 'PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
+ 2 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
+ test point 2: use UDP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0115
+ ID: TCPIP_UDP_0110
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: 1/5
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
+ - - SOC SOC1 BIND <test_udp_port1> <pc_ip_wifi>
- [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock3>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock4>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock4> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock5>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock5> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1]
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1472
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 1472]
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1473
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC_COM NC SOC_RECVFROM]
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip_wifi> -p <test_udp_port1> -l 1472 -n 10
+ -j 20
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 14720]
comment: ''
execution time: 0.0
expected result: '1.OK
2.OK
- 3.OK,pc tcp server accept成功
+ 3.OK
- 4 OK
+ 4.OK
- 5.OK,pc tcp server accept成功
-
- 6.OK
-
- 7.OK,pc tcp server accept成功
-
- 8 OK
-
- 9.OK,pc tcp server accept成功
-
- 10.OK
+ 5.OK,没收到UDP包
- 11.OK,pc tcp server accept成功'
- initial condition: APSTA2
- initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
- by APM2)
+ 6.OK'
+ initial condition: APM2
+ initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
+ a TC with initial condition APSTA2
module: TCPIP
- steps: '1.PC上建立TCP 监听 test_tcp_port1
-
- 2.target1上创建TCP socket1
-
- 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
-
- 4.target1上创建TCP socket2
-
- 5.target1上使用步骤4创建的socket2,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
-
- 6.target1上创建TCP socket3
+ steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
- 7.target1上使用步骤6创建的socket3,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+ 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 8.target1上创建TCP socket4
+ 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1字节数据
- 9.target1上使用步骤8创建的socket4,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+ 4.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472字节数据
- 10.target1上创建TCP socket5
+ 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1473字节数据
- 11.target1上使用步骤10创建的socket5,去连接 PC的ip,test_tcp_port1,PC有ACCEPT'
- sub module: TCP
- summary: AP mode, create max TCP sockets test
+ 6.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送1472*10字节数据'
+ sub module: UDP
+ summary: AP mode, sendto test with different length
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
+ test point 2: use UDP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0112
+ ID: TCPIP_UDP_0113
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SOC SOC1 ACCEPT SOC2
- - [R SOC_COM L OK]
- - - SOC SOC2 SEND 5
- - [R SSC1 SL <sock1>+5]
- - - SSC SSC1 soc -S -s <sock1> -l 5
- - ['P SSC1 RE SEND:\d+,OK', P SOC2 RL 5]
- - - SOC SOC2 SEND 146000
- - [R SSC1 SL <sock1>+146000]
- - - SSC SSC1 soc -S -s <sock1> -l 1460 -n 100
- - ['P SSC1 RE SEND:\d+,OK', P SOC2 RL 146000]
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC1 RE BIND:(\d+),OK']
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port2>
+ - ['R SSC1 RE BIND:(\d+),OK']
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port3>
+ - ['R SSC1 RE BIND:(\d+),OK']
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port4>
+ - ['R SSC1 RE BIND:(\d+),OK']
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port5>
+ - ['R SSC1 RE BIND:(\d+),OK']
comment: ''
execution time: 0.0
- expected result: '1.OK
-
- 2.OK
-
- 3.OK,pc tcp server accept成功
-
- 4.OK
+ expected result: '1.ok
- 5.target收到5byte数据
+ 2.ok
- 6.PC收到5byte数据
+ 3.ok
- 7.target收到146000 byte数据
+ 4.ok
- 8.OK,PC 收到146000 byte数据'
- initial condition: APSTA2
- initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
- by APM2)
+ 5.ok'
+ initial condition: APM2
+ initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
+ a TC with initial condition APSTA2
module: TCPIP
- steps: '1. PC上建立TCP 监听 test_tcp_port1
-
- 2.target1上创建TCP socket
-
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
-
- 4.PC与target1 创建好TCP 连接,有ACCEPT
+ steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 5.PC send 5 bytes to 8266
+ 2.target1上UDP传输,Bind socket2,本地ip target_udp_port2
- 6.8266 send 5 bytes to PC
+ 3.target1上UDP传输,Bind socket3,本地ip target_udp_port3
- 7. PC send 100 * 1460 data to 8266,
+ 4.target1上UDP传输,Bind socket4,本地ip target_udp_port4
- 8.8266 send 100 * 1460 to PC.'
- sub module: TCP
- summary: AP mode, send/recv basic test
+ 5.target1上UDP传输,Bind socket5,本地ip target_udp_port5'
+ sub module: UDP
+ summary: AP mode, create max udp socket test
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
+ test point 2: use UDP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0113
+ ID: TCPIP_UDP_0112
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock1> -h B
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock2> -h W
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock3>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SSC SSC1 soc -D -s <sock3> -h R
- - ['R SSC1 RE SHUTDOWN:\d+,OK']
+ - - SSC SSC1 soc -T -s <sock1>
+ - ['R SSC1 RE CLOSE:\d+']
comment: ''
execution time: 0.0
expected result: '1.OK
- 2.OK
-
- 3.OK,pc tcp server accept成功
-
- 4.OK
-
- 5.OK
-
- 6.OK,pc tcp server accept成功
-
- 7.OK
-
- 8.OK
-
- 9.OK,pc tcp server accept成功
-
- 10.OK'
- initial condition: APSTA2
- initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
- by APM2)
+ 2.OK'
+ initial condition: APM2
+ initial condition description (auto): AP mode, PC join AP, DHCP on, will autogen
+ a TC with initial condition APSTA2
module: TCPIP
- steps: '1. PC上建立TCP 监听 test_tcp_port1
-
- 2.target1上创建TCP socket
-
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
-
- 4.target1 shutdown socket1 B
-
- 5.target1上创建TCP socket
-
- 6.target1上使用步骤5创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
-
- 7.target1 shutdown socket2 W
-
- 8.target1上创建TCP socket
-
- 9.target1上使用步骤8创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+ steps: '1.target1上UDP传输,Bind socket1,本地ip target_udp_port1
- 10.target1 shutdown socket3 R'
- sub module: TCP
- summary: AP mode, shutdown basic test
+ 2.关闭socket1'
+ sub module: UDP
+ summary: AP mode, close UDP sockets test
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
+ test point 2: use UDP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0110
+ ID: WIFI_CONN_0501
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
- - [SOCR SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,OK', P SOC1 C +ACCEPT]
- - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock2> -i 123.456.678.789 -p <test_tcp_port1>
- - ['P SSC1 RE CONNECT:\d+,ERROR']
- - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port2>
- - ['P SSC1 RE CONNECT:\d+,ERROR']
+ - - SSC SSC2 sta -R -r 1
+ - ['R SSC2 C +RECONN:OK']
+ - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
+ - ['R SSC1 C +SAP:OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['R SSC2 RE "\+JAP:CONNECTED,%%s"%%(<target_ssid>)']
+ - - SSC SSC1 op -S -o 1
+ - ['R SSC1 C +MODE:OK']
+ - - DELAY 10
+ - ['']
+ - - SSC SSC1 op -S -o 2
+ - ['R SSC1 C +MODE:OK']
+ - - DELAY 15
+ - ['R SSC2 C +JAP:CONNECTED']
+ - - SSC SSC2 sta -R -r 0
+ - ['R SSC2 C +RECONN:OK']
+ - - SSC SSC2 sta -R -r 2
+ - ['R SSC2 C +RECONN:0']
+ - - SSC SSC1 op -S -o 1
+ - ['R SSC1 C +MODE:OK']
+ - - DELAY 10
+ - ['']
+ - - SSC SSC1 op -S -o 2
+ - ['R SSC1 C +MODE:OK']
+ - - DELAY 15
+ - [P PC_COM C +DELAYDONE, 'P SSC2 NC +JAP:CONNECTED']
+ - - SSC SSC2 sta -R -r 1
+ - ['R SSC2 C +RECONN:OK']
comment: ''
execution time: 0.0
- expected result: '1.OK
+ expected result: '1.设置reconn,开启(此功能不需要重启系统)
- 2.OK
+ 2.target1 set AP
- 3.OK; PC TCP server accept 成功
+ 3.target2 JAP target1 成功
- 4.OK
+ 4.target2 断开target1 连接
- 5.ERROR
+ 5.等待10s,target2 自动重连target1
- 6.ERROR'
- initial condition: APSTA2
- initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
- by APM2)
- module: TCPIP
- steps: '1.PC上建立TCP 监听 test_tcp_port1
+ 6.成功
- 2.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
+ 7.查询reconn状态,关闭
- 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
-
- 4.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
-
- 5.target1上使用步骤4创建的socket,去连接不存在的ip,test_tcp_port1
+ 8.修改mode 成功
- 6.target1上使用步骤2创建的socket,去连接 PC的ip,远端端口不存在。'
- sub module: TCP
- summary: AP mode, connect test. use different ip, port
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ 9.等待15s,target2 不会自动重连target1'
+ initial condition: T2_1
+ initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
+ autogen a TC with initial condition T2_2
+ module: WIFI MAC
+ steps: "1.设置reconn,开启(此功能不需要重启系统)\n2.target1下设置ssid 和pwd 加密方式\n3.target2 JAP target1\
+ \ \n4.target1 修改mode 为sta mode\n5.等待10s,target1 修改mode 为softAP mode\n6.设置reconn,关闭\n\
+ 7.查询reconn状态,关闭\n8.target1 修改mode 为sta mode\n9.等待15s,target1 修改mode 为softAP mode"
+ sub module: WIFI Connect
+ summary: reconnect policy test
+ test environment: SSC_T2_1
+ test environment description (auto): 'PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
+ 2 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
+ test point 2: reconnect policy test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0111
+ ID: WIFI_CONN_0502
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 soc -B -t TCP -p <random_port>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -L -s <sock1>
- - ['R SSC1 RE LISTEN:\d+,OK']
- - - SOC SOC1 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
- - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+', P SOC_COM C OK]
- - - SOC SOC1 CONNECT <test_tcp_port2> <target_ap_ip> 0 <pc_ip_wifi>
- - [P SOC_COM C ERROR, P SSC1 NC ACCEPT]
+ - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
+ - ['R SSC1 C +SAP:OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['R SSC2 C +JAP:CONNECTED']
+ - - SSC SSC2 sta -R -r 1
+ - ['R SSC2 C +RECONN:OK']
+ - - SSC SSC1 op -S -o 1
+ - ['R SSC1 C +MODE:OK']
+ - - DELAY 5
+ - ['R SSC2 C +JAP:DISCONNECTED']
+ - - SSC SSC1 op -S -o 2
+ - ['R SSC1 C +MODE:OK']
+ - - DELAY 10
+ - ['R SSC2 C +JAP:CONNECTED']
+ - - SSC SSC2 sta -D
+ - ['R SSC2 C +QAP:OK']
+ - - DELAY 10
+ - [P PC_COM C +DELAYDONE, 'P SSC2 NC +JAP:CONNECTED']
comment: ''
execution time: 0.0
- expected result: '1.OK
+ expected result: '1.target1 set AP
- 2.OK
+ 2.target2 jap target 1
- 3.PC TCP client accept
+ 3.设置reconn,开启(此功能不需要重启系统)
- 4.error'
- initial condition: APSTA2
- initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
- by APM2)
- module: TCPIP
- steps: '1.target1上创建TCP socket,bind到本地端口<random_port>
+ 4.target2 断开target1 连接
- 2.target1上使用步骤1创建的socket,创建TCP 监听
+ 5.等待10s,target2 自动重连target1
- 3.PC TCP 连接到target1 <random_port>,<target_ip>
+ 6.target2 断开target1 连接'
+ initial condition: T2_1
+ initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
+ autogen a TC with initial condition T2_2
+ module: WIFI MAC
+ steps: '1.target1下设置ssid 和pwd 加密方式
- 4.PC tcp 连接到不存在的port ,<target_ip>'
- sub module: TCP
- summary: AP mode, server listen test. use different kinds of port
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ 2.target2 jap target 1
+
+ 3.设置reconn,开启(此功能不需要重启系统)
+
+ 4.target2 断开target1 连接
+
+ 5.等待10s,target2 自动重连target1
+
+ 6.target2 断开target1 连接'
+ sub module: WIFI Connect
+ summary: will not do reconnect after manually disconnected
+ test environment: SSC_T2_1
+ test environment description (auto): 'PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: use TCP SAP (socket/espconn API) with different parameter
+ 2 SSC target connect with PC by UART.'
+ test point 1: abnormal/special use
+ test point 2: reconnect policy test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_ARP_0101
+ ID: ^WIFI_CONN_0401
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - STRING <cap_filter> ether%20src%20%%s%20or%20ether%20dst%20%%s <target_mac>
- <target_mac>
- - [R PC_COM C OK]
- - - NIC NIC1 START <pc_nic> capture+send+block_arp_ip <cap_filter>
- - ['R PC_COM C +NIC_START:OK']
- - - NIC NIC1 SEND ARP arp_op_code "request" arp_target_proto_addr <target_ip> ethernet_dst_addr
- "ff:ff:ff:ff:ff:ff"
- - ['P PC_COM C +NIC_SEND:OK', P NIC1 PDU (Ethernet.dst_addr=<pc_nic_mac>)(ARP.hw_type="Ethernet")(ARP.protocol="IPv4")(ARP.hw_len="6")(ARP.proto_len="4")(ARP.op_code="reply")(ARP.sender_hw_addr=<target_mac>)(ARP.sender_proto_addr=<target_ip>)(ARP.target_hw_addr=<pc_nic_mac>)(ARP.target_proto_addr=<pc_ip>)]
+ - - SSC SSC1 sta -R -a 0
+ - ['R SSC1 C +AUTORECONN:OK']
+ - - SSC SSC1 sta -R -a 2
+ - ['R SSC1 C +AUTORECONN:0']
+ - - SSC SSC1 reboot
+ - ['']
+ - - DELAY 15
+ - ['']
+ - - SSC SSC1 sta -Q
+ - ['R SSC1 C JAP:DISCONNECTED']
+ - - SSC SSC1 sta -R -a 1
+ - ['R SSC1 C +AUTORECONN:OK']
+ - - SSC SSC1 sta -R -a 2
+ - ['R SSC1 C +AUTORECONN:1']
+ - - SSC SSC1 reboot
+ - ['R SSC1 C +JAP:CONNECTED']
comment: ''
execution time: 0.0
- expected result: 1. PC recv target valid ARP reply
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- module: TCPIP
- steps: 1. PC send ARP req to target
- sub module: ARP
- summary: PC send valid ARP request to target
+ expected result: '1.设置autoreconn,关闭
+
+ 2.查询当前autoreconn状态是否关闭
+
+ 3.重启系统,等待15s
+
+ 4.查询target1 未自动重连AP
+
+ 5.设置autoreconn,开启
+
+ 6.查询当前autoreconn状态是否开启
+
+ 7.系统重启后target1 自动重连AP'
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
+ module: WIFI MAC
+ steps: '1.设置autoreconn,关闭
+
+ 2.查询当前autoreconn状态是否关闭
+
+ 3.重启系统,等待15s
+
+ 4.查询target1 未自动重连AP
+
+ 5.设置autoreconn,开启
+
+ 6.查询当前autoreconn状态是否开启
+
+ 7.系统重启后target1 自动重连AP'
+ sub module: WIFI Connect
+ summary: auto reconnect test
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: handling ARP request
- version: v1 (2015-8-15)
+ test point 2: power on auto reconnect test
+ version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_UDP_0304
+ ID: WIFI_MODE_0101
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
- - - SSC SSC1 op -S -o 2
- - ['P SSC1 C +MODE:OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
+ - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
+ - ['R SSC1 C +SAP:OK']
+ - - SSC SSC1 op -S -o 1
+ - ['R SSC1 C +MODE:OK']
+ - - SSC SSC1 dhcp -S -o 1
+ - ['R SSC1 C +DHCP:STA,OK']
+ - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
+ - ['R SSC1 RE "\+JAP:CONNECTED,%%s"%%(<ap_ssid>)']
+ - - SSC SSC2 sta -S
+ - [R SSC2 NP <target_ssid> C +SCANDONE]
+ - - SSC SSC1 sta -D
+ - ['R SSC1 C +QAP:OK']
comment: ''
execution time: 0.0
- expected result: '1.OK
+ expected result: '1.target1下设置ssid 和pwd 、加密方式成功
- 2.OK
+ 2.修改target 1的mode 为sta mode
- 3.OK
+ 3.target1的dhcp打开
- 4.OK
+ 4.target1成功连接上AP
- 5.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- module: TCPIP
- steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
- \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
- 4.修改8266的Mode为softAP mode \n5.关闭建立的socket1连接"
- sub module: UDP
- summary: close UDP socket after mode changed
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ 5.target2上不能查询到target_ssid
+
+ 6.target1断开AP'
+ initial condition: T2O_1
+ initial condition description (auto): same as T2_1 but will NOT autogen a TC with
+ initial condition T2_2
+ module: WIFI MAC
+ steps: '1.target1下设置ssid 和pwd 加密方式
+
+ 2.修改target1的mode 为sta mode
+
+ 3.target1的dhcp打开
+
+ 4.target1连接AP
+
+ 5.target2查询target_ssid
+
+ 6.target1断开AP'
+ sub module: WIFI Mode
+ summary: mode switch test (sta mode)
+ test environment: SSC_T2_1
+ test environment description (auto): 'PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: UDP handling abnormal event
+ 2 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: wifi mode fucntion
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_UDP_0305
+ ID: WIFI_MODE_0103
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
- - - NIC <pc_nic> DISABLED
- - [R PC_COM C OK]
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- comment: ''
- execution time: 0.0
- expected result: '1.OK
+ - - SSC SSC1 op -S -o 3
+ - ['R SSC1 C +MODE:OK']
+ - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
+ - ['R SSC1 C +SAP:OK']
+ - - SSC SSC1 dhcp -S -o 1
+ - ['R SSC1 C +DHCP:STA,OK']
+ - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
+ - ['R SSC1 RE "\+JAP:CONNECTED,%%s"%%(<ap_ssid>)']
+ - - SSC SSC2 sta -S
+ - [R SSC2 P <target_ssid>, R SSC2 C +SCANDONE]
+ comment: ''
+ execution time: 0.0
+ expected result: '1.target1 change to AP mode
- 2.OK
+ 2.target1 set AP
- 3.OK
+ 3.target 1 的dhcp 打开
- 4.OK
+ 4.target 1 成功连接上AP
- 5.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- module: TCPIP
- steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
- \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
- 4.PC上网卡禁止掉 \n5.关闭建立的socket1连接"
- sub module: UDP
- summary: close UDP socket after PC NIC disabled
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ 5.target 2 上查询到target_ssid'
+ initial condition: T2O_1
+ initial condition description (auto): same as T2_1 but will NOT autogen a TC with
+ initial condition T2_2
+ module: WIFI MAC
+ steps: '1.target1 change to AP mode
+
+ 2.target1下设置ssid 和pwd 加密方式
+
+ 3.target1 的dhcp 打开
+
+ 4.target1 连接AP
+
+ 5.target2 上查询target_ssid'
+ sub module: WIFI Mode
+ summary: mode switch test (STA+AP mode)
+ test environment: SSC_T2_1
+ test environment description (auto): 'PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: UDP handling abnormal event
+ 2 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: wifi mode fucntion
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_UDP_0306
+ ID: WIFI_MODE_0102
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
- - - SSC SSC1 dhcp -E -o 1
- - ['R SSC1 C +DHCP:STA,OK']
- - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
- - ['P SSC1 C +IP:OK']
- - - SSC SSC1 ip -Q -o 1
- - ['R SSC1 C +STAIP:192.168.111.210']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1
- - ['P SSC1 RE SEND:\d+,OK']
+ - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
+ - ['R SSC1 C +SAP:OK']
+ - - SSC SSC2 sta -S
+ - [R SSC2 P <target_ssid>, R SSC2 C +SCANDONE]
+ - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
+ - ['R SSC1 C +JAP:ERROR']
+ - - SSC SSC1 sta -D
+ - ['R SSC1 C +QAP:ERROR']
comment: ''
execution time: 0.0
- expected result: '1.OK
+ expected result: '1. target1 set AP
- 2.OK
+ 2.target 2 上查询到target_ssid
- 3.OK; PC TCP server accept 成功
+ 3. target1 can''t join AP
- 4.OK
+ 4. target1 can''t QAP'
+ initial condition: T2O_1
+ initial condition description (auto): same as T2_1 but will NOT autogen a TC with
+ initial condition T2_2
+ module: WIFI MAC
+ steps: '1.target1下设置ssid 和pwd 加密方式
- 5.OK
+ 2.target 2 上查询target_ssid
- 6.OK
+ 3.target1 join AP
- 7.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- module: TCPIP
- steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
- \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
- 4.关闭8266的DHCP 1\n5.设置sta ip \n6.查询sta ip 地址是否生效\n7.8266往PC上发送5字节数据"
- sub module: UDP
- summary: do UDP send after IP changed
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ 4.target1 DISCONN AP'
+ sub module: WIFI Mode
+ summary: mode switch test (AP mode)
+ test environment: SSC_T2_1
+ test environment description (auto): 'PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: UDP handling abnormal event
+ 2 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: wifi mode fucntion
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_UDP_0307
+ ID: ^WIFI_CONN_0904
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
- - - SSC SSC1 dhcp -E -o 1
- - ['R SSC1 C +DHCP:STA,OK']
- - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
- - ['P SSC1 C +IP:OK']
- - - SSC SSC1 ip -Q -o 1
- - ['R SSC1 C +STAIP:192.168.111.210']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
+ - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 3 -m 1
+ - ['R SSC1 C +SAP:OK']
+ - - SSC SSC2 sta -C -s <random_string> -p 1234567890
+ - ['R SSC2 C +JAP:DISCONNECTED,1,204']
+ - - SSC SSC2 sta -D
+ - ['R SSC2 C +QAP:OK']
+ - - WIFI <pc_wifi_nic> CONN <random_string> <random_string> <pc_ip_wifi>
+ - ['R PC_COM NC ERROR C +WIFICONN:OK']
+ - - SSC SSC2 sta -C -s <random_string> -p <random_string>
+ - ['R SSC2 C +JAP:DISCONNECTED,1,5']
+ - - WIFI <pc_wifi_nic> DISCONN
+ - [P PC_COM C OK, 'R SSC2 C +JAP:CONNECTED']
+ - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 3 -m 1
+ - ['P SSC1 C +SAP:OK', 'P SSC2 C +JAP:DISCONNECTED,5,4']
comment: ''
execution time: 0.0
- expected result: '1.OK
+ expected result: '1. succeed
- 2.OK
+ 2. disconnect event REASON_HANDSHAKE_TIMEOUT
- 3.OK; PC TCP server accept 成功
+ 3. succeed
- 4.OK
+ 4. succeed
- 5.OK
+ 5. disconnect event REASON_ASSOC_TOOMANY
- 6.OK
+ 6. succeed, target2 connect succeed
- 7.OK'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- module: TCPIP
- steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
- \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
- 4.关闭8266的DHCP 1\n5.设置sta ip \n6.查询sta ip 地址是否生效\n7.关闭建立的socket1连接"
- sub module: UDP
- summary: close UDP socket after IP changed
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ 7. disconnect event REASON_ASSOC_EXPIRE'
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1. config target1 softap max sta allowed 1
+
+ 2. target2 connect to target1 with wrong password
+
+ 3. target2 disconnect
+
+ 4. PC WIFI NIC connect to target1
+
+ 5. target2 connect to target1 with correct password
+
+ 6. PC WIFI NIC disconnect
+
+ 7. reconfig softap'
+ sub module: WIFI Connect
+ summary: test wifi disconnect reason REASON_ASSOC_TOOMANY, REASON_HANDSHAKE_TIMEOUT,
+ REASON_ASSOC_EXPIRE
+ test environment: SSC_T2_1
+ test environment description (auto): 'PC has 1 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: UDP handling abnormal event
+ 2 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: wifi disconnect reason test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_UDP_0301
+ ID: ^WIFI_CONN_0901
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
- Test App: SSC
+ Test App: basic function
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -i <target_ip> -p <test_udp_port1>
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
+ - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
+ - ['R SSC1 C +JAP:CONNECTED']
- - SSC SSC1 sta -D
- - ['P SSC1 C +QAP:OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - ['P SSC1 RE SEND:\d+,ERROR']
+ - ['R SSC1 C +JAP:DISCONNECTED,0,8']
+ - - SSC SSC1 sta -C -s <ap_ssid> -p <random_string>
+ - ['R SSC1 C +JAP:DISCONNECTED,2,15']
+ - - SSC SSC1 sta -C -s <random_string> -p <ap_password>
+ - ['R SSC1 C +JAP:DISCONNECTED,1,201']
comment: ''
execution time: 0.0
- expected result: '1.OK
-
- 2.OK
-
- 3.OK
-
- 4.OK
-
- 5.ERROR'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- module: TCPIP
- steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
+ expected result: '1. disconnect event reason REASON_ASSOC_LEAVE
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+ 2. disconnect event reason REASON_4WAY_HANDSHAKE_TIMEOUT
- 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据
+ 3. disconnect event reason REASON_NO_AP_FOUND'
+ initial condition: STAAP1
+ initial condition description (auto): testing sta on sta + ap mode, quit AP (autogen
+ by STAM1)
+ module: WIFI MAC
+ steps: '1. sta connect to AP, and disconnect
- 4.断开与AP 连接
+ 2. connect to AP with wrong password
- 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据'
- sub module: UDP
- summary: do UDP send after WIFI disconnected
+ 3. connect to AP not exist'
+ sub module: WIFI Connect
+ summary: test wifi disconnect reason REASON_ASSOC_LEAVE, REASON_4WAY_HANDSHAKE_TIMEOUT,
+ REASON_NO_AP_FOUND
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: UDP handling abnormal event
+ test point 1: basic function
+ test point 2: wifi disconnect reason test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_UDP_0302
+ ID: ^TCPIP_TCP_0201
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - - SOC SOC1 LISTEN <test_tcp_port1>
+ - [SOCR SOC_COM L OK]
+ - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port1>
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
- - - SSC SSC1 sta -D
- - ['P SSC1 C +QAP:OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - ['P SSC1 RE CONNECT:\d+,ERROR']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock2>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -L -s <sock2>
+ - ['R SSC1 RE LISTEN:\d+,OK']
+ - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
+ - ['P SSC1 RE CONNECT:\d+,ERROR']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock3>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
+ - ['P SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -D -s <sock3> -h B
+ - ['P SSC1 RE SHUTDOWN:\d+,OK']
+ - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
+ - ['P SSC1 RE CONNECT:\d+,ERROR']
+ - - SSC SSC1 soc -T
+ - [R SSC1 C +CLOSEALL]
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - ['P SSC1 RE CONNECT:\d+,ERROR']
comment: ''
execution time: 0.0
- expected result: '1.OK
+ expected result: '1.ok
2.OK
- 3.OK
+ 3.ERROR
4.OK
5.OK
- '
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
+ 6.ERROR
+
+ 7.OK
+
+ 8.OK
+
+ 9.OK
+
+ 10.OK
+
+ 11.OK
+
+ 12.ERROR'
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
module: TCPIP
- steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
+ steps: '1.PC上建立TCP 监听 test_tcp_port1
- 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+ 2.target1上创建UDP传输socket,bind到本地ip 0.0.0.0,<test_udp_port1>
- 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据
+ 3.target1上使用步骤2创建的socket,去连接 PC的ip,<test_udp_port1>
- 4.断开与AP 连接
+ 4.target1上创建TCP socket
- 5.关闭建立的socket1连接'
- sub module: UDP
- summary: "close UDP socket after WIFI \ndisconnected"
+ 5.target1上使用步骤4创建的socket,创建TCP 监听
+
+ 6.target1上使用步骤4创建的socket,去连接 PC的ip,<test_tcp_port1>
+
+ 7.target1上创建TCP socket
+
+ 8.target1上使用步骤7创建的socket,去连接 PC的ip,<test_tcp_port1>
+
+ 9.target1上关闭步骤7创建的socket
+
+ 10.target1上使用步骤7创建的socket,去连接 PC的ip,<test_tcp_port1>
+
+ 11.target1上关闭所有创建的socket
+
+ 12.target1上使用步骤2创建的socket,去连接 PC的ip,<test_tcp_port1>'
+ sub module: TCP
+ summary: STA mode, connect test. use socket in state that can't connect
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: UDP handling abnormal event
+ test point 1: basic function
+ test point 2: use TCP SAP (socket/espconn API) in different state
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_UDP_0303
+ ID: ^TCPIP_TCP_0206
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
+ - - SOC SOC1 LISTEN <test_tcp_port1>
- [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - - SSC SSC1 soc -B -t TCP -i <target_ip>
- ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
- - - SSC SSC1 op -S -o 2
- - ['P SSC1 C +MODE:OK']
- - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
- - ['P SSC1 RE SEND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP -i <target_ip>
+ - ['R SSC1 A <sock2>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -D -s <sock2>
+ - ['R SSC1 RE SHUTDOWN:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP -p <random_port>
+ - ['R SSC1 A <sock3>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -L -s <sock3>
+ - ['R SSC1 RE LISTEN:\d+,OK']
+ - - SOC SOC2 CONNECT <random_port> <target_ip>
+ - ['R SSC1 A <sock4>:ACCEPT:(\d+),\d+,.+,\d+']
+ - - SSC SSC1 soc -I
+ - ['P SSC1 RE "SOCINFO:%%s,2,%%s,\d+,%%s,%%d"%%(<sock1>,<target_ip>,<pc_ip>,<test_tcp_port1>)',
+ 'P SSC1 RE "SOCINFO:%%s,2,.+,\d+,.+,\d+"%%(<sock2>)', 'P SSC1 RE "SOCINFO:%%s,82,.+,%%d,.+,\d+"%%(<sock3>,<random_port>)',
+ 'P SSC1 RE "SOCINFO:%%s,2,%%s,%%d,%%s,\d+"%%(<sock4>,<target_ip>,<random_port>,<pc_ip>)']
comment: ''
execution time: 0.0
expected result: '1.OK
2.OK
- 3.OK
+ 3.OK,pc tcp server accept成功
4.OK
- 5.ERROR'
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
+ 5.OK
+
+ 6.OK
+
+ 7.OK
+
+ 8.OK
+
+ 9.PC OK, target1 +ACCEPT:3,2,<pc_ip>,port
+
+ 10.+SOCINFO:<sock1>,<target_ip>,<pc_ip>,<test_tcp_port1>
+
+ +SOCINFO:<sock2>,<target_ip>,<pc_ip>,<test_tcp_port1>
+
+ +SOCINFO:<sock3>,<random_port>
+
+ +SOCINFO:<sock4>,<target_ip>,<random_port>,<pc_ip>
+
+ +SOCINF0ALL'
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
module: TCPIP
- steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
- \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
- 4.修改8266的Mode为softAP mode \n5.8266往PC上发送5字节数据"
- sub module: UDP
- summary: do UDP send after mode changed
+ steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1,本地ip target_ip\n3.target1上使用步骤2创建的socket1,去连接\
+ \ PC的ip,test_tcp_port1,PC有ACCEPT\n4.target1上创建TCP socket2,本地ip target_ip\n5.target1上使用步骤4创建的socket2,去连接\
+ \ PC的ip,test_tcp_port1,PC有ACCEPT\n6.target1 shutdown socket2 \n7.target1上创建TCP\
+ \ socket3,本地端口random_port\n8.target1上使用步骤7创建的socket3,去监听\n9.PC CONNECT<random_port>,<target_ip>\
+ \ ,tcp 连接创建成功,创建socket4 \n10.target1 查询the socket information"
+ sub module: TCP
+ summary: STA mode, get active socket info test
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: UDP handling abnormal event
+ test point 1: basic function
+ test point 2: use TCP SAP (socket/espconn API) in different state
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: WIFI_CONN_0601
+ ID: ^TCPIP_TCP_0207
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
- - ['R SSC1 C +SAP:OK']
- - - WIFI <pc_wifi_nic> CONN <target_ssid> <target_password> <pc_ip_wifi> <target_auth>
- <target_encryption>
- - ['R PC_COM C +WIFICONN:OK']
- - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 ap -L
- - ['R SSC1 C +LSTA:', 'R SSC1 C +LSTA:', R SSC1 C +LSTADONE]
+ - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
+ - [SOCR SOC_COM L OK]
+ - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p <test_udp_port1>
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - ['P SSC1 RE CONNECT:\d+,ERROR']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock2>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -L -s <sock2>
+ - ['R SSC1 RE LISTEN:\d+,OK']
+ - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - ['P SSC1 RE CONNECT:\d+,ERROR']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock3>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - ['P SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -D -s <sock3> -h B
+ - ['P SSC1 RE SHUTDOWN:\d+,OK']
+ - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - ['P SSC1 RE CONNECT:\d+,ERROR']
+ - - SSC SSC1 soc -T
+ - [R SSC1 C +CLOSEALL]
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - ['P SSC1 RE CONNECT:\d+,ERROR']
comment: ''
execution time: 0.0
- expected result: '1.target1 set AP
+ expected result: '1.ok
- 2.PC WIFI CONNECTED
+ 2 OK
- 3.target2 jap target 1
+ 3.ERROR
- 4.查询到两个sta 连接到target1 上'
- initial condition: T2_1
- initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
- autogen a TC with initial condition T2_2
- module: WIFI MAC
- steps: '1. target1下设置ssid 和pwd 加密方式
+ 4.OK
- 2.PC WIFI CONNECTED target1
+ 5.OK
- 3.target2 jap target 1
+ 6.ERROR
- 4.查询到两个sta 连接到target1 上'
- sub module: WIFI Connect
- summary: list stations connected to soft ap test
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
+ 7.OK
- PC has 1 WiFi NIC.
+ 8.OK
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: list SoftAP connected station
- version: v1 (2016-8-15)
-- CI ready: 'Yes'
- ID: ^TCPIP_DHCP_0209
- SDK: '8266_NonOS
+ 9.OK
- 8266_RTOS
+ 10.OK
- ESP32_IDF'
- Test App: SSC
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
- - ['R SSC1 C +SAP:OK']
- - - SSC SSC2 sta -C -s <random_string> -p <random_string>
- - ['R SSC2 C +JAP:CONNECTED']
- - - SSC SSC1 dhcp -E -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
- - ['R SSC1 C +DHCP:LEASE,OK']
- - - SSC SSC1 dhcp -S -o 2
- - ['R SSC1 C +DHCP:AP,OK']
- - - WIFI <pc_wifi_nic> CONN <random_string> <random_string> 192.168.4.2
- - ['R PC_COM NC ERROR C +WIFICONN:OK']
- - - DELAY 20
+ 11.OK
+
+ 12.ERROR'
+ initial condition: APSTA2
+ initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
+ by APM2)
+ module: TCPIP
+ steps: '1.PC上建立TCP 监听 test_tcp_port1
+
+ 2.target1上创建UDP传输socket,bind到本地ip 0.0.0.0,<test_udp_port1>
+
+ 3.target1上使用步骤2创建的socket,去连接 PC的ip,<test_udp_port1>
+
+ 4.target1上创建TCP socket
+
+ 5.target1上使用步骤4创建的socket,创建TCP 监听
+
+ 6.target1上使用步骤4创建的socket,去连接 PC的ip,<test_tcp_port1>
+
+ 7.target1上创建TCP socket
+
+ 8.target1上使用步骤7创建的socket,去连接 PC的ip,<test_tcp_port1>
+
+ 9.target1上关闭步骤7创建的socket
+
+ 10.target1上使用步骤7创建的socket,去连接 PC的ip,<test_tcp_port1>
+
+ 11.target1上关闭所有创建的socket
+
+ 12.target1上使用步骤2创建的socket,去连接 PC的ip,<test_tcp_port1>'
+ sub module: TCP
+ summary: AP mode, connect test. use socket in state that can't connect
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: use TCP SAP (socket/espconn API) in different state
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: TCPIP_TCP_0501
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - STRING <cap_filter> ether%20src%20%%s%20or%20ether%20dst%20%%s <target_mac>
+ <target_mac>
+ - [R PC_COM C OK]
+ - - NIC NIC1 START <pc_nic> capture+block_ip <cap_filter>
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - ['']
+ - - DELAY 10
+ - ['R SSC1 RE CONNECT:\d+,ERROR']
+ comment: ''
+ execution time: 0.0
+ expected result: 2. connect failed, no exception
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
+ module: TCPIP
+ steps: '1. PC do not reply any IP packet on NIC
+
+ 2. target try to connect to TCP server with PC NIC IP'
+ sub module: TCP
+ summary: PC do not reply TCP SYN of target
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: abnormal/special use
+ test point 2: TCP connect and disconnect abnormal case
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0116
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: 2/3
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 2 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK', 'R CAP PDU (Wlan.frame_ctrl.type_subtype="Management-Beacon")(Wlan.ie_list.erp="")(Wlan.ie_list.ht_capabilities.short_gi_for_40="1")(Wlan.ie_list.ht_operation.second_channel_offset!="0","2")(Wlan.ie_list.ht_operation.sta_channel_width="1")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")']
+ comment: ''
+ execution time: 0.0
+ expected result: 1. beacon has erp/ht/xrates, cap.short_slot_time=1, ht_info.2nd_channel_offset=3,sta_channel_width=1,
+ rates+xrates=[1/2/5.5/11/6/9/12/18/24/36/48/54]
+ initial condition: APM1
+ initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
+ condition APSTA1
+ module: WIFI MAC
+ steps: 1. target set to PHY mode ht40, capture beacon
+ sub module: Phy Mode
+ summary: SoftAP set as ht40, check beacon
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: SoftAP PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: ^TCPIP_DNS_0101
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: 3/5
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 soc -H -d iot.espressif.cn
+ - ['R SSC1 C +HOSTIP:OK,115.29.202.58']
+ comment: ''
+ execution time: 0.0
+ expected result: 1.OK
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
+ module: TCPIP
+ steps: 1. get host name "espressif.cn"
+ sub module: DNS
+ summary: get host by name test
+ test environment: SSC_T1_2
+ test environment description (auto): 'Able to access WAN after connect to AP.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: DNS function test
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: ^TCPIP_DNS_0103
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: 3/5
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 soc -H -d iot.espressif.cn
+ - ['R SSC1 A <ip_addr>:\+HOSTIP:OK,(.+)\r\n']
+ - - SSC SSC1 soc -B -t UDP
+ - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
+ - - SSC SSC1 soc -S -s <sock1> -i <ip_addr> -p 9003 -l 10
+ - ['P SSC1 RE \+SEND:\d+,OK', P SSC1 SL <sock1>+10]
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
+
+ 2.OK
+
+ 3.OK'
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
+ module: TCPIP
+ steps: '1. get host name "espressif.cn"
+
+ 2. sendto, recvfrom1. get host name "espressif.cn"
+
+ 2. sendto, recvfrom'
+ sub module: DNS
+ summary: UDP send to iot.expressif.com
+ test environment: SSC_T1_2
+ test environment description (auto): 'Able to access WAN after connect to AP.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: DNS function test
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: ^TCPIP_DNS_0102
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: 3/5
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 soc -H -d iot.espressif.cn
+ - ['R SSC1 A <ip_addr>:\+HOSTIP:OK,(.+)\r\n']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock1>:\+BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <ip_addr> -p 9001
+ - ['R SSC1 RE \+CONNECT:\d+,OK']
+ - - SSC SSC1 soc -S -s <sock1> -l 10
+ - ['P SSC1 RE \+SEND:\d+,OK', P SSC1 SL <sock1>+10]
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
+
+ 2.OK
+
+ 3.OK
+
+ 4.OK'
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
+ module: TCPIP
+ steps: '1. get host name "espressif.cn"
+
+ 2. connect, send, recv1. get host name "espressif.cn"
+
+ 2. connect, send, recv'
+ sub module: DNS
+ summary: TCP connect to iot.espressif.com
+ test environment: SSC_T1_2
+ test environment description (auto): 'Able to access WAN after connect to AP.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: DNS function test
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: TCPIP_TCP_0106
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SOC SOC1 LISTEN <test_tcp_port1>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock2>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock3>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock4>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock4> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock5>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock5> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
+
+ 2.OK
+
+ 3.OK,pc tcp server accept成功
+
+ 4 OK
+
+ 5.OK,pc tcp server accept成功
+
+ 6.OK
+
+ 7.OK,pc tcp server accept成功
+
+ 8 OK
+
+ 9.OK,pc tcp server accept成功
+
+ 10.OK
+
+ 11.OK,pc tcp server accept成功'
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
+ module: TCPIP
+ steps: '1.PC上建立TCP 监听 test_tcp_port1
+
+ 2.target1上创建TCP socket1
+
+ 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+
+ 4.target1上创建TCP socket2
+
+ 5.target1上使用步骤4创建的socket2,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+
+ 6.target1上创建TCP socket3
+
+ 7.target1上使用步骤6创建的socket3,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+
+ 8.target1上创建TCP socket4
+
+ 9.target1上使用步骤8创建的socket4,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+
+ 10.target1上创建TCP socket5
+
+ 11.target1上使用步骤10创建的socket5,去连接 PC的ip,test_tcp_port1,PC有ACCEPT'
+ sub module: TCP
+ summary: STA mode, create max TCP sockets test
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: use TCP SAP (socket/espconn API) with different parameter
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: TCPIP_TCP_0107
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 soc -B -t TCP -p <random_port>
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -L -s <sock1>
+ - ['R SSC1 RE LISTEN:\d+,OK']
+ - - SOC SOC2 CONNECT <random_port> <target_ip>
+ - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
+ - - SOC SOC3 CONNECT <random_port> <target_ip>
+ - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
+ - - SOC SOC4 CONNECT <random_port> <target_ip>
+ - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
+ - - SOC SOC5 CONNECT <random_port> <target_ip>
+ - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
+ - - SOC SOC6 CONNECT <random_port> <target_ip>
+ - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
+ comment: ''
+ execution time: 0.0
+ expected result: '1.+BIND:0,OK,0.0.0.0
+
+ 2.OK
+
+ 3.OK,pc tcp server accept成功
+
+ 4.OK,pc tcp server accept成功
+
+ 5.OK,pc tcp server accept成功
+
+ 6.OK,pc tcp server accept成功
+
+ 7.OK,pc tcp server accept成功'
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
+ module: TCPIP
+ steps: "1.target1上创建TCP socket 端口随机\n2.target1上使用步骤4创建的socket1,去监听\n3.PC CONNECT<random_port>,<target_ip>\
+ \ ,tcp 连接创建成功,创建socket2 \n4.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket3\
+ \ \n5.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket4 \n6.PC CONNECT<random_port>,<target_ip>\
+ \ ,tcp 连接创建成功,创建socket5 \n7.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket6\
+ \ "
+ sub module: TCP
+ summary: STA mode, accept max TCP client by server test
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: use TCP SAP (socket/espconn API) with different parameter
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: TCPIP_TCP_0104
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SOC SOC1 LISTEN <test_tcp_port1>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -D -s <sock1> -h B
+ - ['R SSC1 RE SHUTDOWN:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock2>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -D -s <sock2> -h W
+ - ['R SSC1 RE SHUTDOWN:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock3>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock3> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -D -s <sock3> -h R
+ - ['R SSC1 RE SHUTDOWN:\d+,OK']
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
+
+ 2.OK
+
+ 3.OK,pc tcp server accept OK
+
+ 4.OK
+
+ 5.OK
+
+ 6.OK,pc tcp server accept OK
+
+ 7.OK
+
+ 8.OK
+
+ 9.OK,pc tcp server accept OK
+
+ 10.OK'
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
+ module: TCPIP
+ steps: '1. PC上建立TCP 监听 test_tcp_port1
+
+ 2.target1上创建TCP socket
+
+ 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+
+ 4.target1 shutdown socket1 B
+
+ 5.target1上创建TCP socket
+
+ 6.target1上使用步骤5创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+
+ 7.target1 shutdown socket2 W
+
+ 8.target1上创建TCP socket
+
+ 9.target1上使用步骤8创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+
+ 10.target1 shutdown socket3 R'
+ sub module: TCP
+ summary: STA mode, shutdown basic test
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: use TCP SAP (socket/espconn API) with different parameter
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: TCPIP_TCP_0105
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SOC SOC1 LISTEN <test_tcp_port1>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -T -s <sock1>
+ - ['R SSC1 RE CLOSE:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP -p <random_port>
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -L -s <sock1>
+ - ['R SSC1 RE LISTEN:\d+,OK']
+ - - SOC SOC2 CONNECT <random_port> <target_ip>
+ - ['R SSC1 A <sock2>:ACCEPT:(\d+),\d+,.+,\d+']
+ - - SSC SSC1 soc -T -s <sock2>
+ - ['R SSC1 RE CLOSE:\d+,OK']
+ - - SSC SSC1 soc -T -s <sock1>
+ - ['R SSC1 RE CLOSE:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -T -s <sock1>
+ - ['R SSC1 RE CLOSE:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -D -s <sock1>
+ - ['R SSC1 RE SHUTDOWN:\d+,OK']
+ - - SSC SSC1 soc -T -s <sock1>
+ - ['R SSC1 RE CLOSE:\d+,OK']
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
+
+ 2.OK
+
+ 3.OK
+
+ 4.OK
+
+ 5.OK
+
+ 6.OK
+
+ 7.target1关闭socket1
+
+ 8.target1关闭socket2
+
+ 9.OK
+
+ 10.OK,pc tcp server accept成功
+
+ 11.target1关闭socket1
+
+ 12.OK
+
+ 13.OK,pc tcp server accept成功
+
+ 14.OK
+
+ 15.target1关闭socket1'
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
+ module: TCPIP
+ steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1关闭socket1\n\
+ 4.target1上创建TCP socket 端口随机\n5.target1上使用步骤4创建的socket1,去监听\n6.PC CONNECT<random_port>,<target_ip>\
+ \ ,tcp 连接创建成功,创建socket2 \n7.target1关闭socket1\n8.target1关闭socket2\n\
+ 9.target1上创建TCP socket1\n10.target1上使用步骤10创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT\n\
+ 11.target1关闭socket1\n12.target1上创建TCP socket1\n13.target1上使用步骤13创建的socket1,去连接\
+ \ PC的ip,test_tcp_port1,PC有ACCEPT\n14.target1shutdown socket1\n15.target1关闭socket1"
+ sub module: TCP
+ summary: STA mode, close for different types of TCP sockets test
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: use TCP SAP (socket/espconn API) with different parameter
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: TCPIP_TCP_0102
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 soc -B -t TCP -p <random_port>
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -L -s <sock1>
+ - ['R SSC1 RE LISTEN:\d+,OK']
+ - - SOC SOC1 CONNECT <random_port> <target_ip>
+ - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+', P SOC_COM C OK]
+ - - SOC SOC1 CONNECT <test_tcp_port2> <target_ip>
+ - [P SOC_COM C ERROR, P SSC1 NC ACCEPT]
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
+
+ 2.OK
+
+ 3.PC TCP client accept
+
+ 4.error'
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
+ module: TCPIP
+ steps: '1.target1上创建TCP socket,bind到本地端口<random_port>
+
+ 2.target1上使用步骤1创建的socket,创建TCP 监听
+
+ 3.PC TCP 连接到target1 <random_port>,<target_ip>
+
+ 4.PC tcp 连接到不存在的port ,<target_ip>'
+ sub module: TCP
+ summary: STA mode, server listen test. use different kinds of port
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: use TCP SAP (socket/espconn API) with different parameter
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: TCPIP_TCP_0103
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SOC SOC1 LISTEN <test_tcp_port1>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SOC SOC1 ACCEPT SOC2
+ - [R SOC_COM L OK]
+ - - SOC SOC2 SEND 5
+ - [R SSC1 SL <sock1>+5]
+ - - SSC SSC1 soc -S -s <sock1> -l 5
+ - ['P SSC1 RE SEND:\d+,OK', P SOC2 RL 5]
+ - - SOC SOC2 SEND 146000
+ - [R SSC1 SL <sock1>+146000]
+ - - SSC SSC1 soc -S -s <sock1> -l 1460 -n 100
+ - ['P SSC1 RE SEND:\d+,OK', P SOC2 RL 146000]
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
+
+ 2.OK
+
+ 3.OK,pc上回accept
+
+ 4.OK
+
+ 5.target收到5 byte
+
+ 6.PC收到5 byte
+
+ 7.target收到 146000 byte
+
+ 8.OK,PC 回SOC_RECV=SOC2,RECV_LEN=字节数'
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
+ module: TCPIP
+ steps: '1. PC上建立TCP 监听 test_tcp_port1
+
+ 2.target1上创建TCP socket
+
+ 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
+
+ 4.PC与target1 创建好TCP 连接,有ACCEPT
+
+ 5.PC send 5 bytes to 8266
+
+ 6.8266 send 5 bytes to PC
+
+ 7. PC send 100 * 1460 data to 8266,
+
+ 8.8266 send 100 * 1460 to PC. '
+ sub module: TCP
+ summary: STA mode, send/recv basic test
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: use TCP SAP (socket/espconn API) with different parameter
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: TCPIP_TCP_0101
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SOC SOC1 LISTEN <test_tcp_port1>
+ - [SOCR SOC_COM L OK]
+ - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - ['P SSC1 RE CONNECT:\d+,OK', P SOC1 C +ACCEPT]
+ - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
+ - ['R SSC1 A <sock2>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock2> -i 123.456.678.789 -p <test_tcp_port1>
+ - ['P SSC1 RE CONNECT:\d+,ERROR']
+ - - SSC SSC1 soc -C -s <sock2> -i <pc_ip> -p <test_tcp_port2>
+ - ['P SSC1 RE CONNECT:\d+,ERROR']
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
+
+ 2.OK
+
+ 3.OK; PC TCP server accept 成功
+
+ 4.OK
+
+ 5.ERROR
+
+ 6.ERROR'
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
+ module: TCPIP
+ steps: '1.PC上建立TCP 监听 test_tcp_port1
+
+ 2.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
+
+ 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
+
+ 4.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
+
+ 5.target1上使用步骤4创建的socket,去连接不存在的ip,test_tcp_port1
+
+ 6.target1上使用步骤2创建的socket,去连接 PC的ip,远端端口不存在。'
+ sub module: TCP
+ summary: STA mode, connect test. use different ip, port
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: use TCP SAP (socket/espconn API) with different parameter
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: ^TCPIP_TCP_0116
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 soc -B -t TCP -p <random_port>
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -L -s <sock1>
+ - ['R SSC1 RE LISTEN:\d+,OK']
+ - - SOC SOC2 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
+ - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
+ - - SOC SOC3 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
+ - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
+ - - SOC SOC4 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
+ - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
+ - - SOC SOC5 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
+ - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
+ - - SOC SOC6 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
+ - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+']
+ comment: ''
+ execution time: 0.0
+ expected result: '1.+BIND:0,OK,0.0.0.0
+
+ 2.OK
+
+ 3.OK,pc tcp server accept成功
+
+ 4.OK,pc tcp server accept成功
+
+ 5.OK,pc tcp server accept成功
+
+ 6.OK,pc tcp server accept成功
+
+ 7.OK,pc tcp server accept成功'
+ initial condition: APSTA2
+ initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
+ by APM2)
+ module: TCPIP
+ steps: "1.target1上创建TCP socket 端口随机\n2.target1上使用步骤4创建的socket1,去监听\n3.PC CONNECT<random_port>,<target_ip>\
+ \ ,tcp 连接创建成功,创建socket2 \n4.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket3\
+ \ \n5.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket4 \n6.PC CONNECT<random_port>,<target_ip>\
+ \ ,tcp 连接创建成功,创建socket5 \n7.PC CONNECT<random_port>,<target_ip> ,tcp 连接创建成功,创建socket6"
+ sub module: TCP
+ summary: AP mode, accept max TCP client by server test
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: use TCP SAP (socket/espconn API) with different parameter
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: ^TCPIP_TCP_0114
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -T -s <sock1>
+ - ['R SSC1 RE CLOSE:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP -p <random_port>
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -L -s <sock1>
+ - ['R SSC1 RE LISTEN:\d+,OK']
+ - - SOC SOC2 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
+ - ['R SSC1 A <sock2>:ACCEPT:(\d+),\d+,.+,\d+']
+ - - SSC SSC1 soc -T -s <sock2>
+ - ['R SSC1 RE CLOSE:\d+,OK']
+ - - SSC SSC1 soc -T -s <sock1>
+ - ['R SSC1 RE CLOSE:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -T -s <sock1>
+ - ['R SSC1 RE CLOSE:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -D -s <sock1>
+ - ['R SSC1 RE SHUTDOWN:\d+,OK']
+ - - SSC SSC1 soc -T -s <sock1>
+ - ['R SSC1 RE CLOSE:\d+,OK']
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
+
+ 2.OK
+
+ 3.OK
+
+ 4.OK
+
+ 5.OK
+
+ 6.OK,target1上accept 成功
+
+ 7.target1关闭socket1
+
+ 8.target1关闭socket2
+
+ 9.OK
+
+ 10.OK,pc tcp server accept成功
+
+ 11.target1关闭socket1
+
+ 12.OK
+
+ 13.OK,pc tcp server accept成功
+
+ 14.OK
+
+ 15.target1关闭socket1'
+ initial condition: APSTA2
+ initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
+ by APM2)
+ module: TCPIP
+ steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1\n3.target1关闭socket1\n\
+ 4.target1上创建TCP socket 端口随机\n5.target1上使用步骤4创建的socket1,去监听\n6.PC CONNECT<random_port>,<target_ip>\
+ \ ,tcp 连接创建成功,创建socket2 \n7.target1关闭socket1\n8.target1关闭socket2\n\
+ 9.target1上创建TCP socket1\n10.target1上使用步骤10创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT\n\
+ 11.target1关闭socket1\n12.target1上创建TCP socket1\n13.target1上使用步骤13创建的socket1,去连接\
+ \ PC的ip,test_tcp_port1,PC有ACCEPT\n14.target1shutdown socket1\n15.target1关闭socket1"
+ sub module: TCP
+ summary: AP mode, close for different types of TCP sockets test
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: use TCP SAP (socket/espconn API) with different parameter
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: ^TCPIP_TCP_0115
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock2>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock3>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock4>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock4> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock5>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock5> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
+
+ 2.OK
+
+ 3.OK,pc tcp server accept成功
+
+ 4 OK
+
+ 5.OK,pc tcp server accept成功
+
+ 6.OK
+
+ 7.OK,pc tcp server accept成功
+
+ 8 OK
+
+ 9.OK,pc tcp server accept成功
+
+ 10.OK
+
+ 11.OK,pc tcp server accept成功'
+ initial condition: APSTA2
+ initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
+ by APM2)
+ module: TCPIP
+ steps: '1.PC上建立TCP 监听 test_tcp_port1
+
+ 2.target1上创建TCP socket1
+
+ 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+
+ 4.target1上创建TCP socket2
+
+ 5.target1上使用步骤4创建的socket2,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+
+ 6.target1上创建TCP socket3
+
+ 7.target1上使用步骤6创建的socket3,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+
+ 8.target1上创建TCP socket4
+
+ 9.target1上使用步骤8创建的socket4,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+
+ 10.target1上创建TCP socket5
+
+ 11.target1上使用步骤10创建的socket5,去连接 PC的ip,test_tcp_port1,PC有ACCEPT'
+ sub module: TCP
+ summary: AP mode, create max TCP sockets test
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: use TCP SAP (socket/espconn API) with different parameter
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: ^TCPIP_TCP_0112
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SOC SOC1 ACCEPT SOC2
+ - [R SOC_COM L OK]
+ - - SOC SOC2 SEND 5
+ - [R SSC1 SL <sock1>+5]
+ - - SSC SSC1 soc -S -s <sock1> -l 5
+ - ['P SSC1 RE SEND:\d+,OK', P SOC2 RL 5]
+ - - SOC SOC2 SEND 146000
+ - [R SSC1 SL <sock1>+146000]
+ - - SSC SSC1 soc -S -s <sock1> -l 1460 -n 100
+ - ['P SSC1 RE SEND:\d+,OK', P SOC2 RL 146000]
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
+
+ 2.OK
+
+ 3.OK,pc tcp server accept成功
+
+ 4.OK
+
+ 5.target收到5byte数据
+
+ 6.PC收到5byte数据
+
+ 7.target收到146000 byte数据
+
+ 8.OK,PC 收到146000 byte数据'
+ initial condition: APSTA2
+ initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
+ by APM2)
+ module: TCPIP
+ steps: '1. PC上建立TCP 监听 test_tcp_port1
+
+ 2.target1上创建TCP socket
+
+ 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
+
+ 4.PC与target1 创建好TCP 连接,有ACCEPT
+
+ 5.PC send 5 bytes to 8266
+
+ 6.8266 send 5 bytes to PC
+
+ 7. PC send 100 * 1460 data to 8266,
+
+ 8.8266 send 100 * 1460 to PC.'
+ sub module: TCP
+ summary: AP mode, send/recv basic test
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: use TCP SAP (socket/espconn API) with different parameter
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: ^TCPIP_TCP_0113
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -D -s <sock1> -h B
+ - ['R SSC1 RE SHUTDOWN:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock2>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -D -s <sock2> -h W
+ - ['R SSC1 RE SHUTDOWN:\d+,OK']
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock3>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock3> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SSC SSC1 soc -D -s <sock3> -h R
+ - ['R SSC1 RE SHUTDOWN:\d+,OK']
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
+
+ 2.OK
+
+ 3.OK,pc tcp server accept成功
+
+ 4.OK
+
+ 5.OK
+
+ 6.OK,pc tcp server accept成功
+
+ 7.OK
+
+ 8.OK
+
+ 9.OK,pc tcp server accept成功
+
+ 10.OK'
+ initial condition: APSTA2
+ initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
+ by APM2)
+ module: TCPIP
+ steps: '1. PC上建立TCP 监听 test_tcp_port1
+
+ 2.target1上创建TCP socket
+
+ 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+
+ 4.target1 shutdown socket1 B
+
+ 5.target1上创建TCP socket
+
+ 6.target1上使用步骤5创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+
+ 7.target1 shutdown socket2 W
+
+ 8.target1上创建TCP socket
+
+ 9.target1上使用步骤8创建的socket,去连接 PC的ip,test_tcp_port1,PC有ACCEPT
+
+ 10.target1 shutdown socket3 R'
+ sub module: TCP
+ summary: AP mode, shutdown basic test
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: use TCP SAP (socket/espconn API) with different parameter
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: ^TCPIP_TCP_0110
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SOC SOC1 LISTEN <test_tcp_port1> <pc_ip_wifi>
+ - [SOCR SOC_COM L OK]
+ - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip_wifi> -p <test_tcp_port1>
+ - ['P SSC1 RE CONNECT:\d+,OK', P SOC1 C +ACCEPT]
+ - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0
+ - ['R SSC1 A <sock2>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock2> -i 123.456.678.789 -p <test_tcp_port1>
+ - ['P SSC1 RE CONNECT:\d+,ERROR']
+ - - SSC SSC1 soc -C -s <sock2> -i <pc_ip_wifi> -p <test_tcp_port2>
+ - ['P SSC1 RE CONNECT:\d+,ERROR']
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
+
+ 2.OK
+
+ 3.OK; PC TCP server accept 成功
+
+ 4.OK
+
+ 5.ERROR
+
+ 6.ERROR'
+ initial condition: APSTA2
+ initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
+ by APM2)
+ module: TCPIP
+ steps: '1.PC上建立TCP 监听 test_tcp_port1
+
+ 2.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
+
+ 3.target1上使用步骤2创建的socket,去连接 PC的ip,test_tcp_port1
+
+ 4.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0
+
+ 5.target1上使用步骤4创建的socket,去连接不存在的ip,test_tcp_port1
+
+ 6.target1上使用步骤2创建的socket,去连接 PC的ip,远端端口不存在。'
+ sub module: TCP
+ summary: AP mode, connect test. use different ip, port
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: use TCP SAP (socket/espconn API) with different parameter
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: ^TCPIP_TCP_0111
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 soc -B -t TCP -p <random_port>
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -L -s <sock1>
+ - ['R SSC1 RE LISTEN:\d+,OK']
+ - - SOC SOC1 CONNECT <random_port> <target_ap_ip> 0 <pc_ip_wifi>
+ - ['R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+', P SOC_COM C OK]
+ - - SOC SOC1 CONNECT <test_tcp_port2> <target_ap_ip> 0 <pc_ip_wifi>
+ - [P SOC_COM C ERROR, P SSC1 NC ACCEPT]
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
+
+ 2.OK
+
+ 3.PC TCP client accept
+
+ 4.error'
+ initial condition: APSTA2
+ initial condition description (auto): testing ap on sta + ap mode, PC join AP (autogen
+ by APM2)
+ module: TCPIP
+ steps: '1.target1上创建TCP socket,bind到本地端口<random_port>
+
+ 2.target1上使用步骤1创建的socket,创建TCP 监听
+
+ 3.PC TCP 连接到target1 <random_port>,<target_ip>
+
+ 4.PC tcp 连接到不存在的port ,<target_ip>'
+ sub module: TCP
+ summary: AP mode, server listen test. use different kinds of port
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: use TCP SAP (socket/espconn API) with different parameter
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_SCAN_0302
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
+ - ['R SSC1 C +JAP:CONNECTED']
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -n 1000000 -j 5
+ - ['']
+ - - SSC SSC2 phy -S -o 1 -m b
+ - ['R SSC2 C +PHY:OK']
+ - - SSC SSC2 sta -S -n <ap_channel>
+ - [R SSC2 P <ap_ssid>]
+ - - SSC SSC2 phy -S -o 1 -m g
+ - ['R SSC2 C +PHY:OK']
+ - - SSC SSC2 sta -S -n <ap_channel>
+ - [R SSC2 P <ap_ssid>]
+ - - SSC SSC2 phy -S -o 1 -m n -b 20
+ - ['R SSC2 C +PHY:OK']
+ - - SSC SSC2 sta -S -n <ap_channel>
+ - [R SSC2 P <ap_ssid>]
+ - - SSC SSC2 phy -S -o 1 -m n -b 40
+ - ['R SSC2 C +PHY:OK']
+ - - SSC SSC2 sta -S -n <ap_channel>
+ - [R SSC2 P <ap_ssid>]
+ comment: ''
+ execution time: 0.0
+ expected result: 3. target 2 able to scan AP
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1. target 1 connect to AP
+
+ 2. target 1 start sending UDP packets
+
+ 3. target 2 scan in AP channel in 11b.g,n,ht40 mode'
+ sub module: WIFI Scan
+ summary: scan in congest channel
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: interaction
+ test point 2: Scan interact with other WiFi operation
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: TCPIP_ARP_0101
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - STRING <cap_filter> ether%20src%20%%s%20or%20ether%20dst%20%%s <target_mac>
+ <target_mac>
+ - [R PC_COM C OK]
+ - - NIC NIC1 START <pc_nic> capture+send+block_arp_ip <cap_filter>
+ - ['R PC_COM C +NIC_START:OK']
+ - - NIC NIC1 SEND ARP arp_op_code "request" arp_target_proto_addr <target_ip> ethernet_dst_addr
+ "ff:ff:ff:ff:ff:ff"
+ - ['P PC_COM C +NIC_SEND:OK', P NIC1 PDU (Ethernet.dst_addr=<pc_nic_mac>)(ARP.hw_type="Ethernet")(ARP.protocol="IPv4")(ARP.hw_len="6")(ARP.proto_len="4")(ARP.op_code="reply")(ARP.sender_hw_addr=<target_mac>)(ARP.sender_proto_addr=<target_ip>)(ARP.target_hw_addr=<pc_nic_mac>)(ARP.target_proto_addr=<pc_ip>)]
+ comment: ''
+ execution time: 0.0
+ expected result: 1. PC recv target valid ARP reply
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
+ module: TCPIP
+ steps: 1. PC send ARP req to target
+ sub module: ARP
+ summary: PC send valid ARP request to target
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: handling ARP request
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: TCPIP_UDP_0304
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: 1/5
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
+ - - SSC SSC1 op -S -o 2
+ - ['P SSC1 C +MODE:OK']
+ - - SSC SSC1 soc -T -s <sock1>
+ - ['R SSC1 RE CLOSE:\d+,OK']
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
+
+ 2.OK
+
+ 3.OK
+
+ 4.OK
+
+ 5.OK'
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
+ module: TCPIP
+ steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
+ \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
+ 4.修改8266的Mode为softAP mode \n5.关闭建立的socket1连接"
+ sub module: UDP
+ summary: close UDP socket after mode changed
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: abnormal/special use
+ test point 2: UDP handling abnormal event
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: TCPIP_UDP_0305
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: 1/5
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
+ - - NIC <pc_nic> DISABLED
+ - [R PC_COM C OK]
+ - - SSC SSC1 soc -T -s <sock1>
+ - ['R SSC1 RE CLOSE:\d+,OK']
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
+
+ 2.OK
+
+ 3.OK
+
+ 4.OK
+
+ 5.OK'
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
+ module: TCPIP
+ steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
+ \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
+ 4.PC上网卡禁止掉 \n5.关闭建立的socket1连接"
+ sub module: UDP
+ summary: close UDP socket after PC NIC disabled
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: abnormal/special use
+ test point 2: UDP handling abnormal event
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: TCPIP_UDP_0306
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: 1/5
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
+ - - SSC SSC1 dhcp -E -o 1
+ - ['R SSC1 C +DHCP:STA,OK']
+ - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
+ - ['P SSC1 C +IP:OK']
+ - - SSC SSC1 ip -Q -o 1
+ - ['R SSC1 C +STAIP:192.168.111.210']
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 1
+ - ['P SSC1 RE SEND:\d+,OK']
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
+
+ 2.OK
+
+ 3.OK; PC TCP server accept 成功
+
+ 4.OK
+
+ 5.OK
+
+ 6.OK
+
+ 7.OK'
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
+ module: TCPIP
+ steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
+ \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
+ 4.关闭8266的DHCP 1\n5.设置sta ip \n6.查询sta ip 地址是否生效\n7.8266往PC上发送5字节数据"
+ sub module: UDP
+ summary: do UDP send after IP changed
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: abnormal/special use
+ test point 2: UDP handling abnormal event
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: TCPIP_UDP_0307
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: 1/5
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
+ - - SSC SSC1 dhcp -E -o 1
+ - ['R SSC1 C +DHCP:STA,OK']
+ - - SSC SSC1 ip -S -o 1 -i 192.168.111.210
+ - ['P SSC1 C +IP:OK']
+ - - SSC SSC1 ip -Q -o 1
+ - ['R SSC1 C +STAIP:192.168.111.210']
+ - - SSC SSC1 soc -T -s <sock1>
+ - ['R SSC1 RE CLOSE:\d+,OK']
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
+
+ 2.OK
+
+ 3.OK; PC TCP server accept 成功
+
+ 4.OK
+
+ 5.OK
+
+ 6.OK
+
+ 7.OK'
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
+ module: TCPIP
+ steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
+ \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
+ 4.关闭8266的DHCP 1\n5.设置sta ip \n6.查询sta ip 地址是否生效\n7.关闭建立的socket1连接"
+ sub module: UDP
+ summary: close UDP socket after IP changed
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: abnormal/special use
+ test point 2: UDP handling abnormal event
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: TCPIP_UDP_0301
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: 1/5
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t UDP -i <target_ip> -p <test_udp_port1>
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
+ - - SSC SSC1 sta -D
+ - ['P SSC1 C +QAP:OK']
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
+ - ['P SSC1 RE SEND:\d+,ERROR']
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
+
+ 2.OK
+
+ 3.OK
+
+ 4.OK
+
+ 5.ERROR'
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
+ module: TCPIP
+ steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
+
+ 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+
+ 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据
+
+ 4.断开与AP 连接
+
+ 5.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据'
+ sub module: UDP
+ summary: do UDP send after WIFI disconnected
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: abnormal/special use
+ test point 2: UDP handling abnormal event
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: TCPIP_UDP_0302
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: 1/5
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
+ - - SSC SSC1 sta -D
+ - ['P SSC1 C +QAP:OK']
+ - - SSC SSC1 soc -T -s <sock1>
+ - ['R SSC1 RE CLOSE:\d+,OK']
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
+
+ 2.OK
+
+ 3.OK
+
+ 4.OK
+
+ 5.OK
+
+ '
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
+ module: TCPIP
+ steps: '1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>
+
+ 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1
+
+ 3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据
+
+ 4.断开与AP 连接
+
+ 5.关闭建立的socket1连接'
+ sub module: UDP
+ summary: "close UDP socket after WIFI \ndisconnected"
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: abnormal/special use
+ test point 2: UDP handling abnormal event
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: TCPIP_UDP_0303
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: 1/5
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SOC SOC1 BIND <test_udp_port1> <pc_ip>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
+ - ['P SSC1 RE SEND:(\d+),OK', P SOC1 UL 5]
+ - - SSC SSC1 op -S -o 2
+ - ['P SSC1 C +MODE:OK']
+ - - SSC SSC1 soc -S -s <sock1> -i <pc_ip> -p <test_udp_port1> -l 5
+ - ['P SSC1 RE SEND:(\d+),OK']
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
+
+ 2.OK
+
+ 3.OK
+
+ 4.OK
+
+ 5.ERROR'
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
+ module: TCPIP
+ steps: "1.PC上SOC1 UDP传输,bing <test_udp_port1> <pc_ip>\n2.target1上UDP传输,Bind socket1,本地ip\
+ \ target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n\
+ 4.修改8266的Mode为softAP mode \n5.8266往PC上发送5字节数据"
+ sub module: UDP
+ summary: do UDP send after mode changed
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: abnormal/special use
+ test point 2: UDP handling abnormal event
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_CONN_0601
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 ap -S -s <target_ssid> -p <target_password> -t <target_auth_enum>
+ - ['R SSC1 C +SAP:OK']
+ - - WIFI <pc_wifi_nic> CONN <target_ssid> <target_password> <pc_ip_wifi> <target_auth>
+ <target_encryption>
+ - ['R PC_COM C +WIFICONN:OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['R SSC2 C +JAP:CONNECTED']
+ - - SSC SSC1 ap -L
+ - ['R SSC1 C +LSTA:', 'R SSC1 C +LSTA:', R SSC1 C +LSTADONE]
+ comment: ''
+ execution time: 0.0
+ expected result: '1.target1 set AP
+
+ 2.PC WIFI CONNECTED
+
+ 3.target2 jap target 1
+
+ 4.查询到两个sta 连接到target1 上'
+ initial condition: T2_1
+ initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
+ autogen a TC with initial condition T2_2
+ module: WIFI MAC
+ steps: '1. target1下设置ssid 和pwd 加密方式
+
+ 2.PC WIFI CONNECTED target1
+
+ 3.target2 jap target 1
+
+ 4.查询到两个sta 连接到target1 上'
+ sub module: WIFI Connect
+ summary: list stations connected to soft ap test
+ test environment: SSC_T2_1
+ test environment description (auto): 'PC has 1 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 2 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: list SoftAP connected station
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: ^TCPIP_DHCP_0209
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 ap -S -s <random_string> -p <random_string> -t 4
+ - ['R SSC1 C +SAP:OK']
+ - - SSC SSC2 sta -C -s <random_string> -p <random_string>
+ - ['R SSC2 C +JAP:CONNECTED']
+ - - SSC SSC1 dhcp -E -o 2
+ - ['R SSC1 C +DHCP:AP,OK']
+ - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100
+ - ['R SSC1 C +DHCP:LEASE,OK']
+ - - SSC SSC1 dhcp -S -o 2
+ - ['R SSC1 C +DHCP:AP,OK']
+ - - WIFI <pc_wifi_nic> CONN <random_string> <random_string> 192.168.4.2
+ - ['R PC_COM NC ERROR C +WIFICONN:OK']
+ - - DELAY 20
- ['']
- - SSC SSC1 ap -L
- [R SSC1 C 192.168.4.2 C 192.168.4.3 P <pc_wifi_nic_mac> P <target2_mac>]
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: 3/5
auto test: 'Yes'
category: Function
cmd set:
test point 1: basic function
test point 2: DNS function test
version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0303
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: 2/3
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 1 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m b
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m b
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s%20or%20wlan%20addr2%20%%s <target_mac>
+ <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11n_40> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities="")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP OR 2 PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")
+ PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.msc="")']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp!)(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates!)(Wlan.capability.short_slot_time="1")(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M")']
+ comment: ''
+ execution time: 0.0
+ expected result: '1. succeed
+
+ 2. check STA packet
+
+ 3. check SoftAP packet'
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1. set softAP 11b, STA 11bgn
+
+ 2. STA connect to ext AP
+
+ 3. ext STA connect to SoftAP'
+ sub module: Phy Mode
+ summary: SoftAP 11b, STA 11bgn, get connected and join AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA+SoftAP PHY mode test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
ID: TCPIP_DHCP_0206
SDK: '8266_NonOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
initial condition description (auto): target 1 as SoftAP, target 2 as STA, will
autogen a TC with initial condition T2_2
module: TCPIP
- steps: '1. config softap to a random ssid
+ steps: '1. config softap to a random ssid
+
+ 2. target2 connect to target1 softap
+
+ 3. disable DHCP server, do config and enable
+
+ 4. PC NIC connect to target1 softap
+
+ 5. softap list connected station'
+ sub module: DHCP
+ summary: dhcp server reconfig, old client and new client able to get IP
+ test environment: SSC_T2_1
+ test environment description (auto): 'PC has 1 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 2 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: DHCP server function test
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: ^TCPIP_TCP_0412
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SOC SOC1 LISTEN <test_tcp_port1>
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock1>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
+ - ['R SSC1 RE CONNECT:\d+,OK']
+ - - SOC SOC1 ACCEPT SOC2
+ - [R SOC_COM L OK]
+ - - SSC SSC1 soc -B -t TCP
+ - ['R SSC1 A <sock2>:BIND:(\d+),OK']
+ - - SSC SSC1 soc -T -s <sock1>
+ - ['R SSC1 RE CLOSE:\d+,OK']
+ - - SSC SSC1 soc -T -s <sock2>
+ - ['R SSC1 RE CLOSE:\d+,OK']
+ comment: ''
+ execution time: 0.0
+ expected result: '1.OK
+
+ 2.OK
+
+ 3.OK; PC TCP server accept 成功
+
+ 4.OK
+
+ 5.OK
+
+ 6.OK
+
+ 7.OK'
+ initial condition: STAAP2
+ initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
+ on (autogen by STAM2)
+ module: TCPIP
+ steps: '1.PC上建立TCP 监听 test_tcp_port1
- 2. target2 connect to target1 softap
+ 2.target1上创建TCP socket1
- 3. disable DHCP server, do config and enable
+ 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
- 4. PC NIC connect to target1 softap
+ 4.PC与target1创建好TCP 连接,有ACCEPT
- 5. softap list connected station'
- sub module: DHCP
- summary: dhcp server reconfig, old client and new client able to get IP
- test environment: SSC_T2_1
- test environment description (auto): 'PC has 1 wired NIC connected to AP.
+ 5.target1上创建TCP socket2
+
+ 6.关闭socket1 连接
+
+ 7.关闭socket2连接'
+ sub module: TCP
+ summary: close TCP send after socket changed
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
PC has 1 WiFi NIC.
- 2 SSC target connect with PC by UART.'
- test point 1: basic function
- test point 2: DHCP server function test
+ 1 SSC target connect with PC by UART.'
+ test point 1: abnormal/special use
+ test point 2: TCP handling abnormal event
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0412
+ ID: ^TCPIP_TCP_0411
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- [R SOC_COM L OK]
- - SSC SSC1 soc -B -t TCP
- ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -T -s <sock1>
- - ['R SSC1 RE CLOSE:\d+,OK']
- - - SSC SSC1 soc -T -s <sock2>
- - ['R SSC1 RE CLOSE:\d+,OK']
+ - - SSC SSC1 soc -S -s <sock2> -l 5
+ - ['P SSC1 RE SEND:\d+,ERROR']
+ - - SSC SSC1 soc -S -s <sock1> -l 5
+ - ['P SSC1 RE SEND:\d+,OK']
comment: ''
execution time: 0.0
expected result: '1.OK
5.OK
- 6.OK
+ 6.ERROR
7.OK'
initial condition: STAAP2
5.target1上创建TCP socket2
- 6.关闭socket1 连接
+ 6.8266往PC socket2上发送5字节数据
- 7.关闭socket2连接'
+ 7.8266往PC socket1上发送5字节数据'
sub module: TCP
- summary: close TCP send after socket changed
+ summary: do TCP send after socket changed
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
test point 2: TCP handling abnormal event
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: ^TCPIP_TCP_0411
+ ID: WIFI_CONN_0901
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: basic function
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
+ - ['R SSC1 C +JAP:CONNECTED']
+ - - SSC SSC1 sta -D
+ - ['R SSC1 C +JAP:DISCONNECTED,0,8']
+ - - SSC SSC1 sta -C -s <ap_ssid> -p <random_string>
+ - ['R SSC1 C +JAP:DISCONNECTED,2,15']
+ - - SSC SSC1 sta -C -s <random_string> -p <ap_password>
+ - ['R SSC1 C +JAP:DISCONNECTED,1,201']
+ comment: ''
+ execution time: 0.0
+ expected result: '1. disconnect event reason REASON_ASSOC_LEAVE
+
+ 2. disconnect event reason REASON_4WAY_HANDSHAKE_TIMEOUT
+
+ 3. disconnect event reason REASON_NO_AP_FOUND'
+ initial condition: STAM1
+ initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
+ TC with initial condition STAAP1
+ module: WIFI MAC
+ steps: '1. sta connect to AP, and disconnect
+
+ 2. connect to AP with wrong password
+
+ 3. connect to AP not exist'
+ sub module: WIFI Connect
+ summary: test wifi disconnect reason REASON_ASSOC_LEAVE, REASON_4WAY_HANDSHAKE_TIMEOUT,
+ REASON_NO_AP_FOUND
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: basic function
+ test point 2: wifi disconnect reason test
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: TCPIP_ARP_0203
+ SDK: '8266_NonOS
+
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - STRING <cap_filter> ether%20src%20%%s%20or%20ether%20dst%20%%s <target_mac>
+ <target_mac>
+ - [R PC_COM C OK]
+ - - NIC NIC1 START <pc_nic> capture+send+block_arp_ip <cap_filter>
+ - ['R PC_COM C +NIC_START:OK']
+ - - NIC NIC1 SEND ARP arp_op_code "request" arp_target_proto_addr <target_ip> arp_hw_len
+ 10 ethernet_dst_addr "ff:ff:ff:ff:ff:ff"
+ - ['']
+ - - DELAY 2
+ - [P PC_COM C +DELAYDONE, P NIC1 NPDU (Ethernet.dst_addr=<pc_nic_mac>)(Ethernet.len_type="ARP")]
+ - - NIC NIC1 SEND ARP arp_op_code "request" arp_target_proto_addr <target_ip> arp_proto_len
+ 10 ethernet_dst_addr "ff:ff:ff:ff:ff:ff"
+ - ['']
+ - - DELAY 2
+ - [P PC_COM C +DELAYDONE, P NIC1 NPDU (Ethernet.dst_addr=<pc_nic_mac>)(Ethernet.len_type="ARP")]
+ comment: ''
+ execution time: 0.0
+ expected result: 1. PC can't recv ARP reply from target
+ initial condition: STAM2
+ initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
+ TC with initial condition STAAP2
+ module: TCPIP
+ steps: 1. PC send ARP req with hw_addr_len and proto_addr_len not correct
+ sub module: ARP
+ summary: PC send invalid ARP request to target 3
+ test environment: SSC_T1_1
+ test environment description (auto): 'PC has 2 wired NIC connected to AP.
+
+ PC has 1 WiFi NIC.
+
+ 1 SSC target connect with PC by UART.'
+ test point 1: abnormal/special use
+ test point 2: handling ARP request
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_CONN_0903
SDK: '8266_NonOS
- 8266_RTOS
+ 8266_RTOS
+
+ ESP32_IDF'
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 sta -C -s <wep_ap_ssid> -p bacfd
+ - ['R SSC1 C +JAP:DISCONNECTED,4,2']
+ comment: ''
+ execution time: 0.0
+ expected result: 1. disconect event reason REASON_AUTH_EXPIRE
+ initial condition: STAM1
+ initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
+ TC with initial condition STAAP1
+ module: WIFI MAC
+ steps: 1. connect WEP ap with error password (valid wep password)
+ sub module: WIFI Connect
+ summary: test wifi disconnect reason REASON_AUTH_EXPIRE
+ test environment: SSC_T1_WEP
+ test environment description (auto): '1 SSC target connect with PC by UART.
+
+ One WEP share key AP placed near SSC1.'
+ test point 1: basic function
+ test point 2: wifi disconnect reason test
+ version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0108
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: 2/3
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 2 -m g
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m g
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp="")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")']
+ comment: ''
+ execution time: 0.0
+ expected result: '1. succeed
+
+ 2. assoc response has erp/xrates, no ht, cap.short_slot_time=1, rates+xrates=[1/2/5.5/11/6/9/12/18/24/36/48/54]
+
+ 3. radiotap rates in rates and xrates'
+ initial condition: APM1
+ initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
+ condition APSTA1
+ module: WIFI MAC
+ steps: '1. target set to PHY mode 11bg
+
+ 2. 11bg STA connect to SoftAP, capture assoc response
+
+ 3. ping, capture Data'
+ sub module: Phy Mode
+ summary: SoftAP set as 11bg, 11g STA connect to AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: SoftAP PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0109
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: 2/3
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 2 -m g
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m n -b 20
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp="")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")']
+ comment: ''
+ execution time: 0.0
+ expected result: '1. succeed
+
+ 2. assoc response has erp/xrates, no ht, cap.short_slot_time=1, rates+xrates=[1/2/5.5/11/6/9/12/18/24/36/48/54]
+
+ 3. radiotap rates in rates and xrates'
+ initial condition: APM1
+ initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
+ condition APSTA1
+ module: WIFI MAC
+ steps: '1. target set to PHY mode 11bg
+
+ 2. 11bgn STA connect to SoftAP, capture assoc response
+
+ 3. ping, capture Data'
+ sub module: Phy Mode
+ summary: SoftAP set as 11bg, 11n STA connect to AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: SoftAP PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0106
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: 2/3
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 2 -m g
+ - ['R SSC1 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-Beacon")(Wlan.ie_list.erp="")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")']
+ comment: ''
+ execution time: 0.0
+ expected result: 1. beacon has erp/xrates, no ht, cap.short_slot_time=1, rates+xrates=[1/2/5.5/11/6/9/12/18/24/36/48/54]
+ initial condition: APM1
+ initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
+ condition APSTA1
+ module: WIFI MAC
+ steps: 1. target set to PHY mode 11bg, capture beacon
+ sub module: Phy Mode
+ summary: SoftAP set as 11bg, check beacon
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: SoftAP PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0107
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: 2/3
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 2 -m g
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m b
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp!)(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.supported_rates=""1/","2/","5.5/","11/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M")']
+ comment: ''
+ execution time: 0.0
+ expected result: '1. succeed
+
+ 2. assoc response has erp/xrates, no ht, cap.short_slot_time=1, rates+xrates=[1/2/5.5/11/6/9/12/18/24/36/48/54]
+
+ 3. radiotap rates in rates'
+ initial condition: APM1
+ initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
+ condition APSTA1
+ module: WIFI MAC
+ steps: '1. target set to PHY mode 11bg
+
+ 2. 11b STA connect to SoftAP, capture assoc response
- ESP32_IDF'
+ 3. ping, capture Data'
+ sub module: Phy Mode
+ summary: SoftAP set as 11bg, 11b STA connect to AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: SoftAP PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_SCAN_0201
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SOC SOC1 LISTEN <test_tcp_port1>
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock1>:BIND:(\d+),OK']
- - - SSC SSC1 soc -C -s <sock1> -i <pc_ip> -p <test_tcp_port1>
- - ['R SSC1 RE CONNECT:\d+,OK']
- - - SOC SOC1 ACCEPT SOC2
- - [R SOC_COM L OK]
- - - SSC SSC1 soc -B -t TCP
- - ['R SSC1 A <sock2>:BIND:(\d+),OK']
- - - SSC SSC1 soc -S -s <sock2> -l 5
- - ['P SSC1 RE SEND:\d+,ERROR']
- - - SSC SSC1 soc -S -s <sock1> -l 5
- - ['P SSC1 RE SEND:\d+,OK']
+ - - SSC SSC1 phy -S -o 1 -m b
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 sta -S
+ - [R SSC1 P <ap_ssid_11b> P <ap_ssid_11g> P <ap_ssid_11n_ht20> P <ap_ssid_11n_ht40>]
+ - - SSC SSC1 phy -S -o 1 -m g
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 sta -S
+ - [R SSC1 P <ap_ssid_11b> P <ap_ssid_11g> P <ap_ssid_11n_ht20> P <ap_ssid_11n_ht40>]
+ - - SSC SSC1 phy -S -o 1 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 sta -S
+ - [R SSC1 P <ap_ssid_11b> P <ap_ssid_11g> P <ap_ssid_11n_ht20> P <ap_ssid_11n_ht40>]
+ - - SSC SSC1 phy -S -o 1 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 sta -S
+ - [R SSC1 P <ap_ssid_11b> P <ap_ssid_11g> P <ap_ssid_11n_ht20> P <ap_ssid_11n_ht40>]
comment: ''
execution time: 0.0
- expected result: '1.OK
+ expected result: '3. find all 3 ext APs
- 2.OK
+ 5. find all 3 ext APs
- 3.OK; PC TCP server accept 成功
+ 7. find all 3 ext APs
- 4.OK
+ 9. find all 3 ext APs'
+ initial condition: STAM1
+ initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
+ TC with initial condition STAAP1
+ module: WIFI MAC
+ steps: '1. 3 ext APs in 11b, 11g, 11n mode
- 5.OK
+ 2. STA in 11b mode
- 6.ERROR
+ 3. do all channel scan
- 7.OK'
- initial condition: STAAP2
- initial condition description (auto): testing sta on sta + ap mode, join AP, DHCP
- on (autogen by STAM2)
- module: TCPIP
- steps: '1.PC上建立TCP 监听 test_tcp_port1
+ 4. STA in 11g mode
- 2.target1上创建TCP socket1
+ 5. do all channel scan
- 3.target1上使用步骤2创建的socket1,去连接 PC的ip,test_tcp_port1
+ 6. STA in 11n ht20 mode
- 4.PC与target1创建好TCP 连接,有ACCEPT
+ 7. do all channel scan
- 5.target1上创建TCP socket2
+ 8. STA in 11n ht40 mode
- 6.8266往PC socket2上发送5字节数据
+ 9. do all channel scan'
+ sub module: WIFI Scan
+ summary: STA in differnt PHY mode to scan AP in different PHY mode
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 7.8266往PC socket1上发送5字节数据'
- sub module: TCP
- summary: do TCP send after socket changed
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- PC has 1 WiFi NIC.
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: TCP handling abnormal event
- version: v1 (2016-8-15)
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: Scan in different mode and channel
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
- ID: WIFI_CONN_0901
+ ID: WIFI_CONN_0503
SDK: '8266_NonOS
8266_RTOS
ESP32_IDF'
- Test App: basic function
+ Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 sta -C -s <ap_ssid> -p <ap_password>
- - ['R SSC1 C +JAP:CONNECTED']
- - - SSC SSC1 sta -D
- - ['R SSC1 C +JAP:DISCONNECTED,0,8']
+ - - SSC SSC1 sta -R -r 0
+ - [R SSC1 C OK]
+ - - SSC SSC1 sta -C -s <random_string> -p <random_string>
+ - ['R SSC1 C +JAP:OK', 'R SSC1 NC +JAP:DISCONNECTED,1 C +JAP:DISCONNECTED,3']
+ - - DELAY 5
+ - ['R SSC1 NC +JAP:DISCONNECTED', P PC_COM C +DELAYDONE]
- - SSC SSC1 sta -C -s <ap_ssid> -p <random_string>
- - ['R SSC1 C +JAP:DISCONNECTED,2,15']
- - - SSC SSC1 sta -C -s <random_string> -p <ap_password>
- - ['R SSC1 C +JAP:DISCONNECTED,1,201']
+ - ['R SSC1 C +JAP:OK', 'R SSC1 NC +JAP:DISCONNECTED,1 C +JAP:DISCONNECTED,2']
+ - - DELAY 5
+ - ['R SSC1 NC +JAP:DISCONNECTED', P PC_COM C +DELAYDONE]
+ - - SSC SSC1 sta -R -r 1
+ - [SSC SSC1 C OK]
comment: ''
execution time: 0.0
- expected result: '1. disconnect event reason REASON_ASSOC_LEAVE
+ expected result: '1. succeed
- 2. disconnect event reason REASON_4WAY_HANDSHAKE_TIMEOUT
+ 2. not reconnect when connect failed, status when recv disconnect event is correct
- 3. disconnect event reason REASON_NO_AP_FOUND'
+ 3. not reconnect when connect failed, status when recv disconnect event is correct
+
+ 4. succeed'
initial condition: STAM1
initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
TC with initial condition STAAP1
module: WIFI MAC
- steps: '1. sta connect to AP, and disconnect
+ steps: '1. set sta reconnect policy as not reconnect
- 2. connect to AP with wrong password
+ 2. sta connect to ap not exist
- 3. connect to AP not exist'
+ 3. sta connect to ap with wrong password
+
+ 4. reset sta reconnect policy as auto reconnect
+
+ '
sub module: WIFI Connect
- summary: test wifi disconnect reason REASON_ASSOC_LEAVE, REASON_4WAY_HANDSHAKE_TIMEOUT,
- REASON_NO_AP_FOUND
+ summary: reconnect policy interact with failed STA connect/reconnect
test environment: SSC_T1_1
test environment description (auto): 'PC has 2 wired NIC connected to AP.
1 SSC target connect with PC by UART.'
test point 1: basic function
- test point 2: wifi disconnect reason test
+ test point 2: reconnect policy test
version: v1 (2016-8-15)
- CI ready: 'Yes'
- ID: TCPIP_ARP_0203
- SDK: '8266_NonOS
-
- 8266_RTOS
-
- ESP32_IDF'
+ ID: WIFI_PHY_0402
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - STRING <cap_filter> ether%20src%20%%s%20or%20ether%20dst%20%%s <target_mac>
- <target_mac>
- - [R PC_COM C OK]
- - - NIC NIC1 START <pc_nic> capture+send+block_arp_ip <cap_filter>
- - ['R PC_COM C +NIC_START:OK']
- - - NIC NIC1 SEND ARP arp_op_code "request" arp_target_proto_addr <target_ip> arp_hw_len
- 10 ethernet_dst_addr "ff:ff:ff:ff:ff:ff"
- - ['']
- - - DELAY 2
- - [P PC_COM C +DELAYDONE, P NIC1 NPDU (Ethernet.dst_addr=<pc_nic_mac>)(Ethernet.len_type="ARP")]
- - - NIC NIC1 SEND ARP arp_op_code "request" arp_target_proto_addr <target_ip> arp_proto_len
- 10 ethernet_dst_addr "ff:ff:ff:ff:ff:ff"
+ - - SSC SSC1 phy -S -o 1 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m n -b 20
+ - ['R SSC2 C +PHY:OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED']
+ - - SSC SSC1 sta -C -s <ap_ssid_c1_ht20> -p <ap_password_phy>
- ['']
- - - DELAY 2
- - [P PC_COM C +DELAYDONE, P NIC1 NPDU (Ethernet.dst_addr=<pc_nic_mac>)(Ethernet.len_type="ARP")]
+ - - DELAY 10
+ - ['P SSC2 NC +JAP:DISCONNECTED', 'P SSC1 C +JAP:CONNECTED']
comment: ''
execution time: 0.0
- expected result: 1. PC can't recv ARP reply from target
- initial condition: STAM2
- initial condition description (auto): sta mode, join AP, DHCP on, will autogen a
- TC with initial condition STAAP2
- module: TCPIP
- steps: 1. PC send ARP req with hw_addr_len and proto_addr_len not correct
- sub module: ARP
- summary: PC send invalid ARP request to target 3
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ expected result: 3. SoftAP and STA in channel2, both bandwidth 20M, SoftAP not get
+ disconnected
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1. SoftAP 11n ht20, in channel1, ext AP 11n ht20, in channel2
- PC has 1 WiFi NIC.
+ 2. AP get connected
- 1 SSC target connect with PC by UART.'
- test point 1: abnormal/special use
- test point 2: handling ARP request
+ 3. STA connect to ext AP'
+ sub module: Phy Mode
+ summary: SoftAP ext AP in defferent channel, both bandwidth 20M, Softap get connected
+ than STA connect to AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA+SoftAP initial channel test
version: v1 (2015-8-15)
- CI ready: 'Yes'
- ID: WIFI_CONN_0903
- SDK: '8266_NonOS
+ ID: WIFI_PHY_0401
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 1 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m n -b 20
+ - ['R SSC2 C +PHY:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_c1_ht20> -p <ap_password_phy>
+ - ['R SSC1 C +JAP:CONNECTED']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['']
+ - - DELAY 10
+ - ['P SSC1 NC +JAP:DISCONNECTED', 'P SSC2 C +JAP:CONNECTED']
+ comment: ''
+ execution time: 0.0
+ expected result: 3. SoftAP and STA in channel2, both bandwidth 20M, STA not disconnected
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1. SoftAP 11n ht20, in channel1, ext AP 11n ht20, in channel2
- 8266_RTOS
+ 2. STA connect to ext AP
- ESP32_IDF'
+ 3. AP get connected'
+ sub module: Phy Mode
+ summary: SoftAP ext AP in defferent channel, both bandwidth 20M, STA connect to
+ AP then Softap get connected
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA+SoftAP initial channel test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0407
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 sta -C -s <wep_ap_ssid> -p bacfd
- - ['R SSC1 C +JAP:DISCONNECTED,4,2']
+ - - SSC SSC1 phy -S -o 1 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m n -b 40
+ - ['R SSC2 C +PHY:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_c1_ht40> -p <ap_password_phy>
+ - ['R SSC1 C +JAP:CONNECTED']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['']
+ - - DELAY 10
+ - ['P SSC1 NC +JAP:DISCONNECTED', 'P SSC2 C +JAP:CONNECTED']
comment: ''
execution time: 0.0
- expected result: 1. disconect event reason REASON_AUTH_EXPIRE
- initial condition: STAM1
- initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
- TC with initial condition STAAP1
+ expected result: 3. SoftAP and STA in channel2, SoftAP 40M, STA 20M, STA not disconnected
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
module: WIFI MAC
- steps: 1. connect WEP ap with error password (valid wep password)
- sub module: WIFI Connect
- summary: test wifi disconnect reason REASON_AUTH_EXPIRE
- test environment: SSC_T1_WEP
- test environment description (auto): '1 SSC target connect with PC by UART.
+ steps: '1. SoftAP 11n ht40, in channel1, ext AP 11n ht20, in channel2
- One WEP share key AP placed near SSC1.'
+ 2. STA connect to ext AP
+
+ 3. AP get connected'
+ sub module: Phy Mode
+ summary: SoftAP ext AP in defferent channel, SoftAP 40M, ext AP 20M, STA connect
+ to AP then Softap get connected
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
test point 1: basic function
- test point 2: wifi disconnect reason test
- version: v1 (2016-8-15)
+ test point 2: STA+SoftAP initial channel test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
- ID: WIFI_CONN_0503
- SDK: '8266_NonOS
+ ID: WIFI_PHY_0406
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 1 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m n -b 40
+ - ['R SSC2 C +PHY:OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED']
+ - - SSC SSC1 sta -C -s <ap_ssid_c1_ht20> -p <ap_password_phy>
+ - ['']
+ - - DELAY 10
+ - ['P SSC2 NC +JAP:DISCONNECTED', 'P SSC1 C +JAP:CONNECTED']
+ comment: ''
+ execution time: 0.0
+ expected result: 3. SoftAP and STA in channel2, both bandwidth 40M, SoftAP not get
+ disconnected
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1. SoftAP 11n ht40, in channel1, ext AP 11n ht40, in channel2
- 8266_RTOS
+ 2. AP get connected
- ESP32_IDF'
+ 3. STA connect to ext AP'
+ sub module: Phy Mode
+ summary: SoftAP ext AP in defferent channel, both bandwidth 40M, Softap get connected
+ than STA connect to AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA+SoftAP initial channel test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0405
+ SDK: ESP32_IDF
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
- ''
- - - SSC SSC1 sta -R -r 0
- - [R SSC1 C OK]
- - - SSC SSC1 sta -C -s <random_string> -p <random_string>
- - ['R SSC1 C +JAP:OK', 'R SSC1 NC +JAP:DISCONNECTED,1 C +JAP:DISCONNECTED,3']
- - - DELAY 5
- - ['R SSC1 NC +JAP:DISCONNECTED', P PC_COM C +DELAYDONE]
- - - SSC SSC1 sta -C -s <ap_ssid> -p <random_string>
- - ['R SSC1 C +JAP:OK', 'R SSC1 NC +JAP:DISCONNECTED,1 C +JAP:DISCONNECTED,2']
- - - DELAY 5
- - ['R SSC1 NC +JAP:DISCONNECTED', P PC_COM C +DELAYDONE]
- - - SSC SSC1 sta -R -r 1
- - [SSC SSC1 C OK]
+ - - SSC SSC1 phy -S -o 1 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m n -b 40
+ - ['R SSC2 C +PHY:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_c1_ht20> -p <ap_password_phy>
+ - ['R SSC1 C +JAP:CONNECTED']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['']
+ - - DELAY 10
+ - ['P SSC1 NC +JAP:DISCONNECTED', 'P SSC2 C +JAP:CONNECTED']
comment: ''
execution time: 0.0
- expected result: '1. succeed
+ expected result: 3. SoftAP and STA in channel2, both bandwidth 40M, STA not disconnected
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1. SoftAP 11n ht40, in channel1, ext AP 11n ht40, in channel2
- 2. not reconnect when connect failed, status when recv disconnect event is correct
+ 2. STA connect to ext AP
- 3. not reconnect when connect failed, status when recv disconnect event is correct
+ 3. AP get connected'
+ sub module: Phy Mode
+ summary: SoftAP ext AP in defferent channel, both bandwidth 40M, STA connect to
+ AP then Softap get connected
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- 4. succeed'
- initial condition: STAM1
- initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
- TC with initial condition STAAP1
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA+SoftAP initial channel test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0404
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 1 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m n -b 20
+ - ['R SSC2 C +PHY:OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED']
+ - - SSC SSC1 sta -C -s <ap_ssid_c1_ht40> -p <ap_password_phy>
+ - ['']
+ - - DELAY 10
+ - ['P SSC2 NC +JAP:DISCONNECTED', 'P SSC1 C +JAP:CONNECTED']
+ comment: ''
+ execution time: 0.0
+ expected result: 3. SoftAP and STA in channel2, SoftAP 20M, STA 40M, SoftAP not
+ get disconnected
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
module: WIFI MAC
- steps: '1. set sta reconnect policy as not reconnect
-
- 2. sta connect to ap not exist
+ steps: '1. SoftAP 11n ht20, in channel1, ext AP 11n ht40, in channel2
- 3. sta connect to ap with wrong password
+ 2. AP get connected
- 4. reset sta reconnect policy as auto reconnect
+ 3. STA connect to ext AP'
+ sub module: Phy Mode
+ summary: SoftAP ext AP in defferent channel, SoftAP 20M, ext AP 40M, Softap get
+ connected than STA connect to AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
- '
- sub module: WIFI Connect
- summary: reconnect policy interact with failed STA connect/reconnect
- test environment: SSC_T1_1
- test environment description (auto): 'PC has 2 wired NIC connected to AP.
+ PC has one WiFi NIC support capture wlan packet using libpcap.
- PC has 1 WiFi NIC.
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
- 1 SSC target connect with PC by UART.'
+ Put 4 APs near SSC targets.'
test point 1: basic function
- test point 2: reconnect policy test
- version: v1 (2016-8-15)
+ test point 2: STA+SoftAP initial channel test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
ID: ^TCPIP_UDP_0112
SDK: '8266_NonOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
test point 1: basic function
test point 2: use UDP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0408
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 1 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m n -b 40
+ - ['R SSC2 C +PHY:OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED']
+ - - SSC SSC1 sta -C -s <ap_ssid_c1_ht40> -p <ap_password_phy>
+ - ['']
+ - - DELAY 10
+ - ['P SSC2 NC +JAP:DISCONNECTED', 'P SSC1 C +JAP:CONNECTED']
+ comment: ''
+ execution time: 0.0
+ expected result: 3. SoftAP and STA in channel2, SoftAP 40M, STA 20M, SoftAP not
+ get disconnected
+ initial condition: T2_2
+ initial condition description (auto): target 1 as AP+STA, target 2 as AP+STA (autogen)
+ module: WIFI MAC
+ steps: '1. SoftAP 11n ht40, in channel1, ext AP 11n ht20, in channel2
+
+ 2. AP get connected
+
+ 3. STA connect to ext AP'
+ sub module: Phy Mode
+ summary: SoftAP ext AP in defferent channel, SoftAP 40M, ext AP 20M, Softap get
+ connected than STA connect to AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA+SoftAP initial channel test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
ID: ^TCPIP_UDP_0114
SDK: '8266_NonOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
test point 1: basic function
test point 2: use UDP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0214
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: 2/3
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 1 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11n_40> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities.short_gi_for_40="1")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP OR 2 PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")
+ PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.msc="")']
+ comment: ''
+ execution time: 0.0
+ expected result: '1. succeed
+
+ 2. succeed
+
+ 3. probe-req and assoc-req has xrates/ht, ht_cap.short_gi40=1, 40width=1, cap.short_slot_time=1,rates+xrates=[1/2/5.5/11/6/9/12/18/24/36/48/54];
+
+ 4. 40M
+
+ 5. succeed
+
+ 6. data rate in radiotap is in rates or xrates'
+ initial condition: STAM1
+ initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
+ TC with initial condition STAAP1
+ module: WIFI MAC
+ steps: '1. target set to PHY mode 11bgn ht40
+
+ 2. target connect to 11n ht40 AP
+
+ 3. capture probe-req and assoc-req in step2
+
+ 4. check if config bandwidth correct
+
+ 5. send data from target
+
+ 6. capture data in step5'
+ sub module: Phy Mode
+ summary: target STA set as 11bgn ht40,join ht40 external AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0212
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: 2/3
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 1 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11g> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")']
+ comment: ''
+ execution time: 0.0
+ expected result: '1. succeed
+
+ 2. succeed
+
+ 3. probe-req has xrates/ht, ht_cap.short_gi40=1, 40width=1, cap.short_slot_time=1,rates+xrates=[1/2/5.5/11/6/9/12/18/24/36/48/54];
+
+ assoc-req has xrates no ht, cap.short_slot_time=1,rates+xrates=[1/2/5.5/11/6/9/12/18/24/36/48/54];
+
+ 4. 20M
+
+ 5. succeed
+
+ 6. data rate in radiotap is in rates or xrates'
+ initial condition: STAM1
+ initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
+ TC with initial condition STAAP1
+ module: WIFI MAC
+ steps: '1. target set to PHY mode 11bgn ht40
+
+ 2. target connect to 11g AP
+
+ 3. capture probe-req and assoc-req in step2
+
+ 4. check if config bandwidth correct
+
+ 5. send data from target
+
+ 6. capture data in step5'
+ sub module: Phy Mode
+ summary: target STA set as 11bgn ht40, join 11g external AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0213
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: 2/3
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 1 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11n_20> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities="")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP OR 2 PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")
+ PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.msc="")']
+ comment: ''
+ execution time: 0.0
+ expected result: '1. succeed
+
+ 2. succeed
+
+ 3. probe-req has xrates/ht, ht_cap.short_gi40=1, 40width=1, cap.short_slot_time=1,rates+xrates=[1/2/5.5/11/6/9/12/18/24/36/48/54];
+
+ assoc-req has xrates/ht, cap.short_slot_time=1,rates+xrates=[1/2/5.5/11/6/9/12/18/24/36/48/54];
+
+ 4. 20M
+
+ 5. succeed
+
+ 6. data rate in radiotap is in rates or xrates'
+ initial condition: STAM1
+ initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
+ TC with initial condition STAAP1
+ module: WIFI MAC
+ steps: '1. target set to PHY mode 11bgn ht40
+
+ 2. target connect to 11n AP
+
+ 3. capture probe-req and assoc-req in step2
+
+ 4. check if config bandwidth correct
+
+ 5. send data from target
+
+ 6. capture data in step5'
+ sub module: Phy Mode
+ summary: target STA set as 11bgn ht40, join 11n external AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0210
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: 2/3
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 1 -m n -b 20
+ - ['R SSC1 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11n_40> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities="")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")(Wlan.capability.short_slot_time="1")',
+ 'P CAP OR 2 PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M","6M","9M","12M","18M","24M","36M","48M","54M")
+ PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.msc="")']
+ comment: ''
+ execution time: 0.0
+ expected result: '1. succeed
+
+ 2. succeed
+
+ 3. probe-req and assoc-req has xrates/ht, cap.short_slot_time=1,rates+xrates=[1/2/5.5/11/6/9/12/18/24/36/48/54]
+
+ 4. 20M
+
+ 5. succeed
+
+ 6. data rate in radiotap is in rates or xrates or msc0-7'
+ initial condition: STAM1
+ initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
+ TC with initial condition STAAP1
+ module: WIFI MAC
+ steps: '1. target set to PHY mode 11bgn
+
+ 2. target connect to 11n ht40 AP
+
+ 3. capture probe-req and assoc-req in step2
+
+ 4. check if config bandwidth correct
+
+ 5. send data from target
+
+ 6. capture data in step5'
+ sub module: Phy Mode
+ summary: target STA set as 11bgn, join ht40 external AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA PHY mode test
+ version: v1 (2015-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0211
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: 2/3
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 1 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC1 sta -C -s <ap_ssid_11b> -p <ap_password_phy>
+ - ['P SSC1 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-ProbeReq")(Wlan.ie_list.extended_supported_rates+Wlan.ie_list.supported_rates="24/","36/","48/","54/","1/","2/","5.5/","11/","6/","9/","12/","18/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocReq")(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates!)(Wlan.capability.short_slot_time="1")(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M")']
+ comment: ''
+ execution time: 0.0
+ expected result: '1. succeed
+
+ 2. succeed
+
+ 3. probe-req has xrates/ht, ht_cap.short_gi40=1, 40width=1, cap.short_slot_time=1,rates+xrates=[1/2/5.5/11/6/9/12/18/24/36/48/54];
+
+ assoc-req has no ht/xrates, cap.short_slot_time=1,rates=[1/2/5.5/11]
+
+ 4. 20M
+
+ 5. succeed
+
+ 6. data rate in radiotap is in [1/2/5.5/11]'
+ initial condition: STAM1
+ initial condition description (auto): sta mode, quit AP, DHCP on, will autogen a
+ TC with initial condition STAAP1
+ module: WIFI MAC
+ steps: '1. target set to PHY mode 11bgn ht40
+
+ 2. target connect to 11b AP
+
+ 3. capture probe-req and assoc-req in step2
+
+ 4. check if config bandwidth correct
+
+ 5. send data from target
+
+ 6. capture data in step5'
+ sub module: Phy Mode
+ summary: target STA set as 11bgn ht40, join 11b external AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA PHY mode test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
ID: ^WIFI_CONN_0104
SDK: '8266_NonOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
test point 1: basic function
test point 2: SAP/JAP with different config
version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0504
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: ''
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 1 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC1 phy -S -o 2 -m n -b 40
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 sta -C -s <ap_ssid_c1_ht40> -p <ap_password_phy>
+ - ['R SSC2 C +JAP:CONNECTED']
+ - - SSC SSC1 sta -C -s <target2_ssid> -p <target2_password>
+ - ['R SSC1 C +JAP:CONNECTED']
+ - - SSC SSC3 sta -C -s <target_ssid> -p <target_password>
+ - ['R SSC3 C +JAP:CONNECTED']
+ - - SSC SSC2 sta -C -s <ap_ssid_c2_ht20> -p <ap_password_phy>
+ - ['']
+ - - DELAY 10
+ - ['P SSC2 C +JAP:CONNECTED', 'P SSC[1,3] NC +JAP:DISCONNECTED']
+ comment: ''
+ execution time: 0.0
+ expected result: 4. all STA not get disconnected; target 1 SoftAP and STA both in
+ channel2 20M
+ initial condition: T3_PHY1
+ initial condition description (auto): '1. target 1 and target 2 set to AP+STA mode,
+ target 3 set to STA mode
+
+ 2. all interface of target 2,3 set to 11n ht40
+
+ 3. config softAP of target 1 and target 2'
+ module: WIFI MAC
+ steps: '1. target 1 STA and SoftAP set to 40M
+
+ 2. target 2 STA connect to ap_channel1_40
+
+ 3. target 1/3 STA connect to target 2/1 SoftAP
+
+ 4. target 2 STA connect to ap_channel2_20'
+ sub module: Phy Mode
+ summary: SoftAP STA in channel1, SoftAP 20M, STA 40M, STA changed to channel2 40M
+ test environment: SSC_T3_PhyMode
+ test environment description (auto): '3 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with (HT20, channel1), (HT20, channel2), (HT40, channel1), (HT40, channel2).
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: STA+SoftAP dynamic channel switch test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
ID: ^TCPIP_IP_0101
SDK: '8266_NonOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
test point 1: basic function
test point 2: use TCP SAP (socket/espconn API) with different parameter
version: v1 (2016-8-15)
+- CI ready: 'Yes'
+ ID: WIFI_PHY_0104
+ SDK: ESP32_IDF
+ Test App: SSC
+ allow fail: 2/3
+ auto test: 'Yes'
+ category: Function
+ cmd set:
+ - ''
+ - - SSC SSC1 phy -S -o 2 -m b
+ - ['R SSC1 C +PHY:OK']
+ - - SSC SSC2 phy -S -o 1 -m n -b 20
+ - ['R SSC2 C +PHY:OK']
+ - - STRING <cap_filter> wlan%20addr2%20%%s <target_ap_mac>
+ - [R PC_COM C OK]
+ - - 'NIC CAP START <capture_nic> wlan_capture <cap_filter> <capture_channel> '
+ - ['R PC_COM C +NIC_START:OK']
+ - - SSC SSC2 sta -C -s <target_ssid> -p <target_password>
+ - ['P SSC2 C +JAP:CONNECTED', 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Management-AssocRes")(Wlan.ie_list.erp!)(Wlan.ie_list.ht_capabilities!)(Wlan.ie_list.extended_supported_rates!)(Wlan.capability.short_slot_time="1")(Wlan.ie_list.supported_rates="1/","2/","5.5/","11/")',
+ 'P CAP PDU (Wlan.frame_ctrl.type_subtype="Data")(Wlan.radiotap.rate<"1M","2M","5.5M","11M")']
+ comment: ''
+ execution time: 0.0
+ expected result: '1. succeed
+
+ 2. assoc response has no erp/xrates/ht, cap.short_slot_time=1, rates=[1/2/5/5/11]
+
+ 3. radiotap rates in [1/2/5/5/11]'
+ initial condition: APM1
+ initial condition description (auto): AP mode, DHCP on, will autogen a TC with initial
+ condition APSTA1
+ module: WIFI MAC
+ steps: '1. target set to PHY mode 11b
+
+ 2. 11bgn STA connect to SoftAP, capture assoc response
+
+ 3. ping, capture Data'
+ sub module: Phy Mode
+ summary: SoftAP set as 11b, 11n STA connect to AP
+ test environment: SSC_T2_PhyMode
+ test environment description (auto): '2 SSC target connect with PC by UART.
+
+ PC has one WiFi NIC support capture wlan packet using libpcap.
+
+ Set 4 AP with phy mode 11b, 11g, 11n HT20, 11n HT40.
+
+ Put 4 APs near SSC targets.'
+ test point 1: basic function
+ test point 2: SoftAP PHY mode test
+ version: v1 (2015-8-15)
- CI ready: 'Yes'
ID: TCPIP_TCP_0113
SDK: '8266_NonOS
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set:
ESP32_IDF'
Test App: SSC
+ allow fail: ''
auto test: 'Yes'
category: Function
cmd set: