| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719 |
- test cases:
- - CI ready: 'Yes'
- 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_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
- execution time: 0.0
- expected result: |-
- 1. success
- 2. failed
- 3. failed
- 4. failed
- initial condition: STAM2
- level: Integration
- 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_5
- test point 1: basic function
- 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
- 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.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
- execution time: 0.0
- expected result: |-
- 1. success
- 2. failed
- 3. failed
- 4. failed
- 5. succeed
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: |-
- 1. join group with correct host addr and multicast addr
- 2. leave group with correct host addr and wrong multicast addr
- 3. leave group with wrong host addr and correct 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 leave group address check
- test environment: SSC_T1_5
- test point 1: basic function
- test point 2: IGMP API parameter check
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- 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 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
- execution time: 0.0
- expected result: |-
- 1. success
- 2. failed
- 3. failed
- 4. failed
- initial condition: APM2
- level: Integration
- 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: softAP IGMP join group address check
- test environment: SSC_T1_8
- test point 1: basic function
- test point 2: IGMP API parameter check
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- 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_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
- execution time: 0.0
- expected result: |-
- 1. success
- 2. failed
- 3. failed
- 4. failed
- 5. succeed
- initial condition: APM2
- level: Integration
- module: TCPIP
- steps: |-
- 1. join group with correct host addr and multicast addr
- 2. leave group with correct host addr and wrong multicast addr
- 3. leave group with wrong host addr and correct 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: softAP IGMP leave group address check
- test environment: SSC_T1_7
- test point 1: basic function
- test point 2: IGMP API parameter check
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_IGMP_0201
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- 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>
- - - 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
- execution time: 0.0
- expected result: |-
- 1. succeed
- 2. succeed
- 3. able to recv packet
- initial condition: STAM2
- level: Integration
- 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: station IGMP recv packets
- test environment: SSC_T1_6
- test point 1: basic function
- test point 2: IGMP send/recv test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_IGMP_0202
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- 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 <random_port>
- - - 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
- execution time: 0.0
- expected result: |-
- 1. succeed
- 2. succeed
- 3. succeed
- 4. target1 recv multicast packet
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: |-
- 1. target2 set to sta mode and join AP
- 2. target1 join group and create UDP socket using multicast addr
- 3. target2 create UDP socket
- 4. target2 send to multicast addr
- sub module: IGMP
- summary: station send multicast packets
- test environment: SSC_T2_4
- 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
- 8266_RTOS
- 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
- execution time: 0.0
- expected result: |-
- 1. succeed
- 2. succeed
- 3. able to recv packet
- initial condition: APM2
- level: Integration
- 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_8
- test point 1: basic function
- test point 2: IGMP send/recv test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_IGMP_0204
- SDK: |-
- 8266_NonOS
- 8266_RTOS
- 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
- execution time: 0.0
- expected result: |-
- 1. succeed
- 2. succeed
- 3. succeed
- 4. target1 recv multicast packet
- initial condition: T2_1
- level: Integration
- module: TCPIP
- steps: |-
- 1. target2 join SoftAP
- 2. target1 join group and create UDP socket using multicast addr
- 3. target2 create UDP socket
- 4. target2 send to multicast addr
- sub module: IGMP
- summary: softAP send multicast packets
- test environment: SSC_T2_4
- test point 1: basic function
- test point 2: IGMP send/recv test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_IGMP_0101
- SDK: '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 -J -s <sock1> -m 224.1.1.1
- - - R SSC1 C +IGMP:OK
- - - SSC SSC1 soc -G -s <sock1> -m 224.1.1.1
- - - R SSC1 C +IGMP:OK
- - - SSC SSC1 soc -J -s <sock1> -m 223.1.1.1
- - - R SSC1 C +IGMP:ERROR
- - - SSC SSC1 soc -J -s <sock1> -m 240.1.1.1
- - - R SSC1 C +IGMP:ERROR
- execution time: 0.0
- expected result: |
- 1. OK
- 2. OK
- 3. OK
- 4. ERROR
- 5. ERROR
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: |
- 1. create UDP socket
- 2. join group with correct multicast addr
- 3. leave group with correct multicast addr
- 4. join group with wrong multicast addr
- 5. join group with wrong multicast addr
- sub module: IGMP
- summary: station IGMP join group address check
- test environment: SSC_T1_6
- test point 1: basic function
- test point 2: IGMP API parameter check
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_IGMP_0102
- SDK: '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 -J -s <sock1> -m 224.1.1.1
- - - R SSC1 C +IGMP:OK
- - - SSC SSC1 soc -G -s <sock1> -m 224.1.1.1
- - - R SSC1 C +IGMP:OK
- - - SSC SSC1 soc -B -t UDP -p <random_port>
- - - R SSC1 A <sock2>:\+BIND:(\d+),OK
- - - SSC SSC1 soc -J -s <sock2> -m 224.1.1.2
- - - R SSC1 C +IGMP:OK
- - - SSC SSC1 soc -G -s <sock2> -m 224.1.1.1
- - - R SSC1 C +IGMP:ERROR
- execution time: 0.0
- expected result: |
- 1. OK
- 2. OK
- 3. OK
- 4. OK
- 5. OK
- 6. ERROR
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: |
- 1. create UDP socket
- 2. join group with correct multicast addr
- 3. leave group with correct multicast addr
- 4. create UDP socket
- 5. join group with correct multicast addr
- 6. leave group with wrong multicast addr
- sub module: IGMP
- summary: station IGMP leave group address check
- test environment: SSC_T1_5
- test point 1: basic function
- test point 2: IGMP API parameter check
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_IGMP_0103
- SDK: '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 -J -s <sock1> -m 224.1.1.1
- - - R SSC1 C +IGMP:OK
- - - SSC SSC1 soc -G -s <sock1> -m 224.1.1.1
- - - R SSC1 C +IGMP:OK
- - - SSC SSC1 soc -J -s <sock1> -m 223.1.1.1
- - - R SSC1 C +IGMP:ERROR
- - - SSC SSC1 soc -J -s <sock1> -m 240.1.1.1
- - - R SSC1 C +IGMP:ERROR
- execution time: 0.0
- expected result: |
- 1. OK
- 2. OK
- 3. OK
- 4. ERROR
- 5. ERROR
- initial condition: APM2
- level: Integration
- module: TCPIP
- steps: |
- 1. create UDP socket
- 2. join group with correct multicast addr
- 3. leave group with correct multicast addr
- 4. join group with wrong multicast addr
- 5. join group with wrong multicast addr
- sub module: IGMP
- summary: softAP IGMP join group address check
- test environment: SSC_T1_8
- test point 1: basic function
- test point 2: IGMP API parameter check
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_IGMP_0104
- SDK: '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 -J -s <sock1> -m 224.1.1.1
- - - R SSC1 C +IGMP:OK
- - - SSC SSC1 soc -G -s <sock1> -m 224.1.1.1
- - - R SSC1 C +IGMP:OK
- - - SSC SSC1 soc -B -t UDP -p <random_port>
- - - R SSC1 A <sock2>:\+BIND:(\d+),OK
- - - SSC SSC1 soc -J -s <sock2> -m 224.1.1.2
- - - R SSC1 C +IGMP:OK
- - - SSC SSC1 soc -G -s <sock2> -m 224.1.1.1
- - - R SSC1 C +IGMP:ERROR
- execution time: 0.0
- expected result: |
- 1. OK
- 2. OK
- 3. OK
- 4. OK
- 5. OK
- 6. ERROR
- initial condition: APM2
- level: Integration
- module: TCPIP
- steps: |
- 1. create UDP socket
- 2. join group with correct multicast addr
- 3. leave group with correct multicast addr
- 4. create UDP socket
- 5. join group with correct multicast addr
- 6. leave group with wrong multicast addr
- sub module: IGMP
- summary: softAP IGMP leave group address check
- test environment: SSC_T1_7
- test point 1: basic function
- test point 2: IGMP API parameter check
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_IGMP_0201
- SDK: 'ESP32_IDF'
- Test App: SSC
- allow fail: '1/5'
- auto test: 'Yes'
- category: Function
- cmd set:
- - ''
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port2>
- - - R SSC1 A <sock1>:\+BIND:(\d+),OK
- - - SSC SSC1 soc -J -s <sock1> -m 224.1.1.1
- - - R SSC1 C +IGMP:OK
- - - SOC SOC1 BIND <test_udp_port2>
- - - R SOC_COM L OK
- - - SOC SOC1 SENDTO 1 <test_udp_port2> 224.1.1.1
- - - R SSC1 SL <sock1>+1
- - - SSC SSC1 soc -G -s <sock1> -m 224.1.1.1
- - - R SSC1 C +IGMP:OK
- - - SOC SOC1 SENDTO 1 <test_udp_port2> 224.1.1.1
- - - R SSC1 NC +RECVFROM
- execution time: 0.0
- expected result: |
- 1. OK
- 2. OK
- 3. OK
- 4. able to recv packet
- 5. OK
- 6. not able to recv packet
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: |
- 1. create UDP socket
- 2. join group with correct multicast addr
- 3. PC上 SOC1 UDP 传输,bing <test_udp_port2> <pc_ip>
- 4. PC send UDP packet to multicast addr
- 5. leave group with correct multicast addr
- 6. PC send UDP packet to multicast addr
- sub module: IGMP
- summary: station IGMP recv packets
- test environment: SSC_T1_6
- test point 1: basic function
- test point 2: IGMP send/recv test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_IGMP_0202
- SDK: 'ESP32_IDF'
- Test App: SSC
- allow fail: '1/5'
- 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 SSC2 soc -T
- - - R SSC2 C +CLOSEALL
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 A <sock1>:\+BIND:(\d+),OK
- - - SSC SSC1 soc -J -s <sock1> -m 224.1.1.1
- - - R SSC1 C +IGMP:OK
- - - SSC SSC2 soc -B -t UDP -p <random_port>
- - - 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 soc -G -s <sock1> -m 224.1.1.1
- - - R SSC1 C +IGMP:OK
- - - SSC SSC2 soc -S -s <sock2> -i 224.1.1.1 -p <test_udp_port1> -l 10
- - - R SSC1 NC +RECVFROM
- - - SSC SSC2 soc -T -s <sock2>
- - - R SSC2 RE CLOSE:\d+,OK
- execution time: 0.0
- expected result: |
- 1. OK
- 2. target2 connect succeed
- 3. CLOSEALL
- 4. OK
- 5. OK
- 6. OK
- 7. able to recv packet
- 8. OK
- 9. not able to recv packet
- 10. OK
- initial condition: STAM2
- level: Integration
- module: TCPIP
- steps: |
- 1. target2 set to sta mode
- 2. target2 join AP
- 3. target2 close socket
- 4. target1 create UDP socket
- 5. target1 join group using multicast addr
- 6. target2 create UDP socket
- 7. target2 send to multicast addr
- 8. target1 leave group with correct multicast addr
- 9. target2 send to multicast addr
- 10. target2 close socket
- sub module: IGMP
- summary: station send multicast packets
- test environment: SSC_T2_4
- 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: '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 -J -s <sock1> -m 224.1.1.1
- - - R SSC1 C +IGMP: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 soc -G -s <sock1> -m 224.1.1.1
- - - R SSC1 C +IGMP:OK
- - - SOC SOC1 SENDTO 1 <test_udp_port1> 224.1.1.1
- - - R SSC1 NC +RECVFROM
- execution time: 0.0
- expected result: |
- 1. OK
- 2. OK
- 3. OK
- 4. able to recv packet
- 5. OK
- 6. not able to recv packet
- initial condition: APM2
- level: Integration
- module: TCPIP
- steps: |
- 1. create UDP socket
- 2. join group using multicast addr
- 3. PC上 SOC1 UDP 传输,bing <test_udp_port1> <pc_ip_wifi>
- 4. PC send UDP packet to multicast addr
- 5. leave group with correct multicast addr
- 6. PC send UDP packet to multicast addr
- sub module: IGMP
- summary: softAP IGMP recv packets
- test environment: SSC_T1_8
- test point 1: basic function
- test point 2: IGMP send/recv test
- version: v1 (2016-8-15)
- - CI ready: 'Yes'
- ID: TCPIP_IGMP_0204
- 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>
- - - R SSC2 C +JAP:CONNECTED
- - - SSC SSC1 soc -B -t UDP -p <test_udp_port1>
- - - R SSC1 A <sock1>:\+BIND:(\d+),OK
- - - SSC SSC1 soc -J -s <sock1> -m 224.1.1.1
- - - R SSC1 C +IGMP:OK
- - - SSC SSC2 soc -B -t UDP -p <random_port>
- - - 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 soc -G -s <sock1> -m 224.1.1.1
- - - R SSC1 C +IGMP:OK
- - - SSC SSC2 soc -S -s <sock2> -i 224.1.1.1 -p <test_udp_port1> -l 10
- - - R SSC1 NC +RECVFROM
- - - SSC SSC2 soc -T -s <sock2>
- - - R SSC2 RE CLOSE:\d+,OK
- execution time: 0.0
- expected result: |
- 1. target2 connect succeed
- 2. OK
- 3. OK
- 4. OK
- 5. target1 able to recv packet
- 6. OK
- 7. target1 not able to recv packet
- 8. OK
- initial condition: APM2
- level: Integration
- module: TCPIP
- steps: |
- 1. target2 join AP
- 2. target1 create UDP socket
- 3. target1 join group using multicast addr
- 4. target2 create UDP socket
- 5. target2 send to multicast addr
- 6. target1 leave group with correct multicast addr
- 7. target2 send to multicast addr
- 8. target2 close socket
- sub module: IGMP
- summary: softAP send multicast packets
- test environment: SSC_T2_4
- test point 1: basic function
- test point 2: IGMP send/recv test
- version: v1 (2016-8-15)
|