diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9b14ec08c1..e34df80871 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -52,10 +52,14 @@ variables: APPLY_BOT_FILTER_SCRIPT: "$CI_PROJECT_DIR/tools/ci/apply_bot_filter.py" CHECKOUT_REF_SCRIPT: "$CI_PROJECT_DIR/tools/ci/checkout_project_ref.py" -# Docker images + # Docker images BOT_DOCKER_IMAGE_TAG: ":latest" -# target test config file, used by assign test job + # target test config file, used by assign test job CI_TARGET_TEST_CONFIG_FILE: "$CI_PROJECT_DIR/tools/ci/config/target-test.yml" + # target test repo parameters + TEST_ENV_CONFIG_REPO: "${GITLAB_SSH_SERVER}/qa/ci-test-runner-configs.git" + CI_AUTO_TEST_SCRIPT_REPO_URL: "${GITLAB_SSH_SERVER}/qa/auto_test_script.git" + CI_AUTO_TEST_SCRIPT_REPO_BRANCH: "ci/v3.1" # Versioned esp-idf-doc env image to use for all document building jobs ESP_IDF_DOC_ENV_IMAGE: "$CI_DOCKER_REGISTRY/esp-idf-doc-env:v7" diff --git a/components/idf_test/integration_test/INIT_COND_MESH.yml b/components/idf_test/integration_test/INIT_COND_MESH.yml deleted file mode 100644 index 7e1afcf81c..0000000000 --- a/components/idf_test/integration_test/INIT_COND_MESH.yml +++ /dev/null @@ -1,227 +0,0 @@ -.MESH_INIT_COND: &MESH_INIT_COND - test script: InitCondMesh - restore post cmd set: - - '' - - - 'MSSC SSC[1-] ram' - - ['P SSC[1-] C +FREEHEAP:'] -# - - 'MSSC SSC[1-] mesh -Q -o 1' -# - ['P SSC[1-] C MESH_NETWORK'] - -.mesh_get_all_dut_mac: &mesh_get_all_dut_mac - LIST_MERGE: - - - 'MSSC SSC[1-] mac' - - ['R SSC[1-] A :\+STAMAC:(.+)\r\n'] - -.mesh_check_tree_num: &mesh_check_tree_num - LIST_MERGE: - - - 'MSSC SSC[1-] mesh -Q -o 2' - - ['P SSC[1-] T topo'] - - - 'MESHTREE' - - ['R PC_COM RE "MESHTREE:%%s"%%()'] - -.mesh_tree_stably: &mesh_tree_stably - LIST_MERGE: - - - 'SSC MNODE(0) mesh -Q -o 1 -t ' - - ['P MNODE(0) RE "MESH_NETWORK:1,%%s"%%()', 'P MNODE(0) C MESH_STABLE_CHECK:PASS'] - -.deinit_mesh: &deinit_mesh - LIST_MERGE: - - - 'MSSC SSC[1-] mesh -I -o 1' - - ['P SSC[1-] C +MESH:DEINITED'] - -.mesh_force_reboot: &mesh_force_reboot - LIST_MERGE: - - - 'MSSC SSC[1-] restore' - - ['P SSC[1-] C !!!ready!!!'] - -.mesh_config_all_duts: &mesh_config_all_duts - LIST_MERGE: - - - 'MSSC SSC[1-] meshset -M -o 0 -t -e -l 10' - - ['P SSC[1-] C +MESHSET:MAP_AUTH,OK'] - - - 'MSSC SSC[1-] meshset -G -o 0 -m -s -p -n - -b -t -e -i ' - - ['P SSC[1-] C +MESHSET:CFG,OK'] - - - 'MSSC SSC[1-] meshset -L -o 0 -l ' - - ['P SSC[1-] C +MESHSET:MLAYER,OK'] - - - 'MSSC SSC[1-] meshset -W -o 0 -t -n -l -i -k ' - - ['P SSC[1-] C +MESHSET:SWITCH,OK'] - - - 'MSSC SSC[1-] meshset -K -o 0 -i ' - - ['P SSC[1-] C +MESHSET:ALLOW_ROOTS,OK'] - - - 'MSSC SSC[1-] meshset -J -o 0 -t ' - - ['P SSC[1-] C +MESHSET:ASSOC,OK'] - -.mesh_set_same_ssid_softap: &mesh_set_same_ssid_softap - LIST_MERGE: - - - 'MSSC SSC[1-3] op -S -o 2' - - ['P SSC[1-3] C +MODE:OK'] - - - 'MSSC SSC[1-3] ap -S -s -p -t -n - [,,]' - - ['P SSC[1-3] C +SAP:OK'] - -initial condition: -- tag: MESH_DEINIT_STA - <<: *MESH_INIT_COND - initial condition detail: all DUTs with mesh not inited, station mode - check cmd set: - - '' - - - MSSC SSC[1-] mesh -Q - - - P SSC[1-] C MESH_STATE_NONE - - - MSSC SSC[1-] op -S -o 1 - - - P SSC[1-] C +MODE:OK - - *mesh_get_all_dut_mac - restore cmd set: - - '' - - - MSSC SSC[1-] mesh -I -o 1 - - - P SSC[1-] C +MESH_DEINITED - - - MSSC SSC[1-] op -S -o 1 - - - P SSC[1-] C +MODE:OK - - *mesh_get_all_dut_mac - force restore cmd set: - - '' -# - - MSSC SSC[1-] reboot - - - FREBOOT SSC[1-] - - - P SSC[1-] C !!!ready!!! - - *mesh_get_all_dut_mac -- tag: MESH_INIT1 - <<: *MESH_INIT_COND - initial condition detail: DUTs with mesh network already established, router.... - check cmd set: - - '' - - *mesh_get_all_dut_mac - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - - - MSSC SSC[1-] mesh -Q -o 3 - - - P SSC[1-] RE "MID,%%s"%%() - - P SSC[1-] RE "MROUTER,%%s"%%() - - P SSC[1-] C NO_SPECIFIC_SETTINGS - restore cmd set: - - '' - - - MSSC SSC[1-] mesh -I -o 1 - - - P SSC[1-] C MESH_DEINITED - - - MSSC SSC[1-] op -S -o 1 - - - P SSC[1-] C +MODE:OK - - *mesh_get_all_dut_mac - - - MSSC SSC[1-] mesh -I - - - P SSC[1-] C +MESH:INIT,OK - - *mesh_config_all_duts - - - MSSC SSC[1-] mesh -T - - - P SSC[1-] C +MESH:START,OK - - - DELAY - - - '' - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - force restore cmd set: - - '' - - - MSSC SSC[1-] reboot - - - P SSC[1-] C !!!ready!!! - - *mesh_get_all_dut_mac - - - MSSC SSC[1-] mesh -I - - - P SSC[1-] C +MESH:INIT,OK - - *mesh_config_all_duts - - - MSSC SSC[1-] mesh -T - - - P SSC[1-] C +MESH:START,OK - - - DELAY - - - '' - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably -- tag: MESH_INIT_SWITCH - <<: *MESH_INIT_COND - initial condition detail: 3 duts in softAP mode with same ssid/password, all duts establish network - check cmd set: - - '' - - - SSC SSC[1-3] ap -Q - - - P SSC[1-3] RE "RE "APCONFIG:%%s"%%() - - - MSSC SSC[4-] mac - - - R SSC[4-] A :\+STAMAC:(.+)\r\n - - - VALUE -3 - - - R PC_COM L OK - - - MSSC SSC[4-] mesh -Q -o 2 - - - P SSC[4-] T topo - - - MESHTREE - - - R PC_COM RE "TREE_TOTAL_NODES:%%s"%%() - - - MSSC SSC[4-] mesh -Q -o 3 - - P SSC[4-] RE "MROUTER,%%s"%%() - - - DELAY 5 - - - P PC_COM C +DELAYDONE - - P SSC[4-] NC MESH_EVENT_DISCONNECTED - restore cmd set: - - '' - - - ASSERT - - - '' - force restore cmd set: - - '' - - - MSSC SSC[1-] reboot - - - P SSC[1-] C !!!ready!!! - - *mesh_get_all_dut_mac - - *mesh_set_same_ssid_softap - - - MSSC SSC[4-] mesh -I - - - P SSC[4-] C +MESH:INIT,OK - - - MSSC SSC[4-] meshset -M -o 0 -t -e -l 10 - - - P SSC[4-] C +MESHSET:MAP_AUTH,OK - - - MSSC SSC[4-] meshset -G -o 0 -m -s -p -n -h 1 -t - -e -i - - - P SSC[4-] C +MESHSET:CFG,OK - - - MSSC SSC[4-] meshset -L -o 0 -l - - - P SSC[4-] C +MESHSET:MLAYER,OK - - - MSSC SSC[4-] meshset -W -o 0 -t -n -l -i -k - - - P SSC[4-] C +MESHSET:SWITCH,OK - - - MSSC SSC[4-] meshset -K -o 0 -i - - - P SSC[4-] C +MESHSET:ALLOW_ROOTS,OK - - - MSSC SSC[4-] mesh -T - - - P SSC[4-] C +MESH:START,OK - - - DELAY - - - '' - - - VALUE -3 - - - R PC_COM L OK - - - MSSC SSC[4-] mesh -Q -o 2 - - - P SSC[4-] T topo - - - MESHTREE - - - R PC_COM RE "TREE_TOTAL_NODES:%%s"%%() - - - DELAY 10 - - - P PC_COM C +DELAYDONE - - P SSC[4-] NC MESH_EVENT_DISCONNECTED -- tag: MESH_NO_ROUTER - <<: *MESH_INIT_COND - initial condition detail: DUTs with mesh network already established, router.... - check cmd set: - - '' - - *mesh_get_all_dut_mac - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - - - MSSC SSC[1-] mesh -Q -o 3 - - - P SSC[1-] RE "MID,%%s"%%() - - P SSC[1-] C NO_ROUTER - restore cmd set: - - '' - - - ASSERT - - - '' - force restore cmd set: - - '' - - - ASSERT - - - '' -- tag: MESH_STABLE - <<: *MESH_INIT_COND - initial condition detail: DUTs with mesh network already established and stable, never restore - check cmd set: - - '' - - *mesh_get_all_dut_mac - - - MSSC SSC[1-] mesh -Q -o 2 - - - P SSC[1-] T topo - - - MESHTREE stable - - - P PC_COM RE "MESHTREE:%%s%20nodes"%%() - restore cmd set: - - '' - - - ASSERT - - - '' - force restore cmd set: - - '' - - - ASSERT - - - '' diff --git a/components/idf_test/integration_test/INIT_COND_SSC.yml b/components/idf_test/integration_test/INIT_COND_SSC.yml deleted file mode 100644 index 746fa9e83d..0000000000 --- a/components/idf_test/integration_test/INIT_COND_SSC.yml +++ /dev/null @@ -1,3140 +0,0 @@ -.SSC_INIT_COND: &SSC_INIT_COND - test script: InitCondBase - restore post cmd set: - - '' - - - SSC SSC1 soc -T - - - R SSC1 C +CLOSEALL - - - SSC SSC1 ram - - - 'R SSC1 C +FREEHEAP:' - -.dut1_start_wifi: &dut1_start_wifi - LIST_MERGE: - - - SSC SSC1 op -W -a init - - - R SSC1 C +MODE - - - SSC SSC1 op -W -a start - - - R SSC1 C +MODE - -.dut_init_espnow: &dut_init_espnow - LIST_MERGE: - - - SSC SSC[1,2] espnow -D - - - 'R SSC[1,2] C +ESPNOW:' - - - SSC SSC[1,2] espnow -I - - - 'R SSC[1,2] C +ESPNOW:' - -initial condition: -- tag: APM1 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT set to SoftAP mode and config SoftAP, enable DHCP server - check cmd set: - - '' - - *dut1_start_wifi - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:2 - - - SSC SSC1 ap -Q - - - R SSC1 RE "\+APCONFIG:%%s,%%s,\d+,\d+,\d+,4,"%%(,) - - - SSC SSC1 dhcp -Q -o 2 - - - R SSC1 C +DHCP:AP,STARTED - - - SSC SSC1 mac -Q -o 2 - - - R SSC1 P - restore cmd set: - - '' - - - SSC SSC1 op -S -o 2 - - - R SSC1 C +MODE:OK - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC1 ap -S -s -p -t - - - R SSC1 C +SAP:OK - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC1 op -S -o 2 - - - R SSC1 C +MODE:OK - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC1 ap -S -s -p -t - - - R SSC1 C +SAP:OK -- tag: APM2 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT set to SoftAP mode, PC Wi-Fi NIC connected with SoftAP - check cmd set: - - '' - - *dut1_start_wifi - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:2 - - - SSC SSC1 ap -Q - - - R SSC1 RE "\+APCONFIG:%%s,%%s,\d+,\d+,\d+,4,"%%(,) - - - SSC SSC1 ap -L - - - R SSC1 RE "\+LSTA:.+,%%s"%%() - - - SSC SSC1 dhcp -Q -o 2 - - - R SSC1 C +DHCP:AP,STARTED - - - SSC SSC1 mac -Q -o 2 - - - R SSC1 P - restore cmd set: - - '' - - - SSC SSC1 op -S -o 2 - - - R SSC1 C +MODE:OK - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP - - - SSC SSC1 ap -S -s -p -t - - - R SSC1 C +SAP:OK - - - WIFI CONN - - - - R PC_COM NC ERROR C +WIFICONN:OK - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC1 op -S -o 2 - - - R SSC1 C +MODE:OK - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP - - - SSC SSC1 ap -S -s -p -t - - - R SSC1 C +SAP:OK - - - WIFI CONN - - - - R PC_COM NC ERROR C +WIFICONN:OK -- tag: APO1 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT set to SoftAP mode and config SoftAP, enable DHCP server - check cmd set: - - '' - - *dut1_start_wifi - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:2 - - - SSC SSC1 ap -Q - - - R SSC1 RE "\+APCONFIG:%%s,%%s,\d+,\d+,\d+,4,"%%(,) - - - SSC SSC1 dhcp -Q -o 2 - - - R SSC1 C +DHCP:AP,STARTED - - - SSC SSC1 mac -Q -o 2 - - - R SSC1 P - restore cmd set: - - '' - - - SSC SSC1 op -S -o 2 - - - R SSC1 C +MODE:OK - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC1 ap -S -s -p -t - - - R SSC1 C +SAP:OK - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC1 op -S -o 2 - - - R SSC1 C +MODE:OK - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC1 ap -S -s -p -t - - - R SSC1 C +SAP:OK -- tag: APO2 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT set to SoftAP mode, PC Wi-Fi NIC connected with SoftAP - check cmd set: - - '' - - *dut1_start_wifi - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:2 - - - SSC SSC1 ap -Q - - - R SSC1 RE "\+APCONFIG:%%s,%%s,\d+,\d+,\d+,4,"%%(,) - - - SSC SSC1 ap -L - - - R SSC1 RE "\+LSTA:.+,%%s"%%() - - - SSC SSC1 dhcp -Q -o 2 - - - R SSC1 C +DHCP:AP,STARTED - - - SSC SSC1 mac -Q -o 2 - - - R SSC1 P - restore cmd set: - - '' - - - SSC SSC1 op -S -o 2 - - - R SSC1 C +MODE:OK - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP - - - SSC SSC1 ap -S -s -p -t - - - R SSC1 C +SAP:OK - - - WIFI CONN - - - - R PC_COM NC ERROR C +WIFICONN:OK - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC1 op -S -o 2 - - - R SSC1 C +MODE:OK - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP - - - SSC SSC1 ap -S -s -p -t - - - R SSC1 C +SAP:OK - - - WIFI CONN - - - - R PC_COM NC ERROR C +WIFICONN:OK -- tag: APSTA1 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT set to STA+SoftAP mode, config SoftAP and enable DHCP server - check cmd set: - - '' - - *dut1_start_wifi - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:3 - - - SSC SSC1 ap -Q - - - R SSC1 RE "\+APCONFIG:%%s,%%s,\d+,\d+,\d+,4,"%%(,) - - - SSC SSC1 dhcp -Q -o 2 - - - R SSC1 C +DHCP:AP,STARTED - - - SSC SSC1 mac -Q -o 2 - - - R SSC1 P - restore cmd set: - - '' - - - SSC SSC1 op -S -o 3 - - - R SSC1 C +MODE:OK - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP - - - SSC SSC1 ap -S -s -p -t - - - R SSC1 C +SAP:OK - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC1 op -S -o 3 - - - R SSC1 C +MODE:OK - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP - - - SSC SSC1 ap -S -s -p -t - - - R SSC1 C +SAP:OK -- tag: APSTA2 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT set to STA+SoftAP mode, PC Wi-Fi NIC connected with SoftAP - check cmd set: - - '' - - *dut1_start_wifi - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:3 - - - SSC SSC1 ap -Q - - - R SSC1 RE "\+APCONFIG:%%s,%%s,\d+,\d+,\d+,4,"%%(,) - - - SSC SSC1 ap -L - - - R SSC1 RE "\+LSTA:.+,%%s"%%() - - - SSC SSC1 dhcp -Q -o 2 - - - R SSC1 C +DHCP:AP,STARTED - - - SSC SSC1 mac -Q -o 2 - - - R SSC1 P - restore cmd set: - - '' - - - SSC SSC1 op -S -o 3 - - - R SSC1 C +MODE:OK - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP - - - SSC SSC1 ap -S -s -p -t - - - R SSC1 C +SAP:OK - - - WIFI CONN - - - - R PC_COM NC ERROR C +WIFICONN:OK - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC1 op -S -o 3 - - - R SSC1 C +MODE:OK - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP - - - SSC SSC1 ap -S -s -p -t - - - R SSC1 C +SAP:OK - - - WIFI CONN - - - - R PC_COM NC ERROR C +WIFICONN:OK -- tag: APWIFISTO - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT set to SoftAP mode, stop Wi-Fi - check cmd set: - - '' - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:2 - - - SSC SSC1 op -W -a init - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a start - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a stop - - - R SSC1 C +MODE:OK - restore cmd set: - - '' - - - SSC SSC1 op -S -o 2 - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a init - - - R SSC1 c +MODE:OK - - - SSC SSC1 op -W -a start - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a stop - - - R SSC1 C +MODE:OK - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC1 op -S -o 2 - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a init - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a start - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a stop - - - R SSC1 C +MODE:OK -- tag: APM2_MDNS - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT set to SoftAP mode, PC Wi-Fi NIC connected with SoftAP, restart MDNS - check cmd set: - - '' - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:2 - - - SSC SSC1 ap -Q - - - R SSC1 RE "\+APCONFIG:%%s,%%s,7,\d+,\d+,4,"%%(,) - - - SSC SSC1 ap -L - - - R SSC1 RE "\+LSTA:.+,%%s"%%() - - - SSC SSC1 dhcp -Q -o 2 - - - R SSC1 C +DHCP:AP,STARTED - - - SSC SSC1 mac -Q -o 2 - - - R SSC1 P - - - SSC SSC1 mdns -T - - - R SSC1 C +MDNS:OK - - - SSC SSC1 mdns -I - - - R SSC1 C +MDNS:OK - restore cmd set: - - '' - - - SSC SSC1 op -S -o 2 - - - R SSC1 C +MODE:OK - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP - - - SSC SSC1 ap -S -s -p -t -n 7 - - - R SSC1 C +SAP:OK - - - WIFI CONN - - - - R PC_COM NC ERROR C +WIFICONN:OK - - - SSC SSC1 mdns -T - - - R SSC1 C +MDNS:OK - - - SSC SSC1 mdns -I - - - R SSC1 C +MDNS:OK - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC1 op -S -o 2 - - - R SSC1 C +MODE:OK - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP - - - SSC SSC1 ap -S -s -p -t -n 7 - - - R SSC1 C +SAP:OK - - - WIFI CONN - - - - R PC_COM NC ERROR C +WIFICONN:OK - - - SSC SSC1 mdns -T - - - R SSC1 C +MDNS:OK - - - SSC SSC1 mdns -I - - - R SSC1 C +MDNS:OK -- tag: BLE_CONN2 - <<: *SSC_INIT_COND - initial condition detail: (SSC) enable BLE one 2 DUTs, GATT service 0xA000 started on DUT2, DUT1 connected with DUT2 - check cmd set: - - '' - - - ASSERT - - - '' - restore cmd set: - - '' - # do wifi disconnect, to prevent wifi reconnect cause bad BLE performance - - - SSC SSC[1-2] sta -D - - [] - - - SSC SSC[1-2] bt -D -z init - - - 'R SSC[1-2] C +BT:' - - - SSC SSC[1-2] bt -D -z enable - - - 'R SSC[1-2] C +BT:' - - - SSC SSC[1-2] ble -R - - - 'R SSC[1-2] C +BLE:' - - - SSC SSC[1-2] bleconn -D -z all - - - 'R SSC[1-2] C +BLECONN:' - - - SSC SSC[1-2] blesmp -B -z clear - - - R SSC[1-2] C +BLESMP:ClearBond,Success - - - SSC SSC[1-2] gatts -S -z delete - - - 'R SSC[1-2] C +GATTS:' - - - SSC SSC[1-2] gattc -U -z all - - - R SSC[1-2] C +GATTC:OK - - - SSC SSC2 gatts -S -z load -p 0xA0 - - - R SSC2 C +GATTS:StartService,OK,A000 - - - SSC SSC[1-2] bleadv -D -z stop - - - R SSC[1-2] C +BLEADV:Stop - - - SSC SSC[1-2] ble -S -z public - - - R SSC[1-2] C +BLE:OK - - - SSC SSC2 bleadv -L -c 0 -t 3 - - - R SSC2 C +BLEADV:SetAdv,OK - - - SSC SSC2 bleadv -D -z start - - - R SSC2 C +BLEADV:Start,OK - - - SSC SSC1 gattc -F -r - - - R SSC1 C +GATTC:OK - - - SSC SSC1 bleconn -C -p 0x10 -a - - - R SSC1 C +BLECONN:GapConnect,OK - - P SSC2 C +BLECONN:GapConnect,OK - force restore cmd set: - - '' - - - SSC SSC[1-2] reboot - - - R SSC[1-2] C !!!ready!!! - # do wifi disconnect, to prevent wifi reconnect cause bad BLE performance - - - SSC SSC[1-2] sta -D - - [] - - - SSC SSC[1-2] ble -R - - - 'R SSC[1-2] C +BLE:' - - - SSC SSC[1-2] bleconn -D -z all - - - 'R SSC[1-2] C +BLECONN:' - - - SSC SSC[1-2] blesmp -B -z clear - - - R SSC[1-2] C +BLESMP:ClearBond,Success - - - SSC SSC[1-2] gatts -S -z delete - - - 'R SSC[1-2] C +GATTS:' - - - SSC SSC[1-2] gattc -U -z all - - - R SSC[1-2] C +GATTC:OK - - - SSC SSC2 gatts -S -z load -p 0xA0 - - - R SSC2 C +GATTS:StartService,OK,A000 - - - SSC SSC[1-2] bleadv -D -z stop - - - R SSC[1-2] C +BLEADV:Stop - - - SSC SSC[1-2] ble -S -z public - - - R SSC[1-2] C +BLE:OK - - - SSC SSC2 bleadv -L -c 0 -t 3 - - - R SSC2 C +BLEADV:SetAdv,OK - - - SSC SSC2 bleadv -D -z start - - - R SSC2 C +BLEADV:Start,OK - - - SSC SSC1 gattc -F -r - - - R SSC1 C +GATTC:OK - - - SSC SSC1 bleconn -C -p 0x10 -a - - - R SSC1 C +BLECONN:GapConnect,OK - - P SSC2 C +BLECONN:GapConnect,OK - restore post cmd set: - - '' - - - SSC SSC1 ram - - - R SSC1 A :(\d+) -- tag: BLE_CONN3 - <<: *SSC_INIT_COND - initial condition detail: (SSC) enable BLE on 2 DUTs, GATT service 0xA002 started on DUT2, DUT1 connected with DUT2 - check cmd set: - - '' - - - ASSERT - - - '' - restore cmd set: - - '' - # do wifi disconnect, to prevent wifi reconnect cause bad BLE performance - - - SSC SSC[1-2] sta -D - - [] - - - SSC SSC[1-2] bt -D -z init - - - 'R SSC[1-2] C +BT:' - - - SSC SSC[1-2] bt -D -z enable - - - 'R SSC[1-2] C +BT:' - - - SSC SSC[1-2] ble -R - - - 'R SSC[1-2] C +BLE:' - - - SSC SSC[1-2] bleconn -D -z all - - - 'R SSC[1-2] C +BLECONN:' - - - SSC SSC[1-2] blesmp -B -z clear - - - R SSC[1-2] C +BLESMP:ClearBond,Success - - - SSC SSC[1-2] gatts -S -z delete - - - 'R SSC[1-2] C +GATTS:' - - - SSC SSC[1-2] gattc -U -z all - - - R SSC[1-2] C +GATTC:OK - - - SSC SSC2 gatts -S -z load -p 0xA2 - - - R SSC2 C +GATTS:StartService,OK,A002 - - - SSC SSC[1-2] bleadv -D -z stop - - - R SSC[1-2] C +BLEADV:Stop - - - SSC SSC[1-2] ble -S -z public - - - R SSC[1-2] C +BLE:OK - - - SSC SSC2 bleadv -L -c 0 -t 3 - - - R SSC2 C +BLEADV:SetAdv,OK - - - SSC SSC2 bleadv -D -z start - - - R SSC2 C +BLEADV:OK - - - SSC SSC1 gattc -F -r - - - R SSC1 C +GATTC:OK - - - SSC SSC1 bleconn -C -p 0x10 -a - - - R SSC1 C +BLECONN:GapConnect,OK - - P SSC2 C +BLECONN:GapConnect,OK - force restore cmd set: - - '' - - - SSC SSC[1-2] reboot - - - R SSC[1-2] C !!!ready!!! - # do wifi disconnect, to prevent wifi reconnect cause bad BLE performance - - - SSC SSC[1-2] sta -D - - [] - - - SSC SSC[1-2] ble -R - - - 'R SSC[1-2] C +BLE:' - - - SSC SSC[1-2] bleconn -D -z all - - - 'R SSC[1-2] C +BLECONN:' - - - SSC SSC[1-2] blesmp -B -z clear - - - R SSC[1-2] C +BLESMP:ClearBond,Success - - - SSC SSC[1-2] gatts -S -z delete - - - 'R SSC[1-2] C +GATTS:' - - - SSC SSC[1-2] gattc -U -z all - - - R SSC[1-2] C +GATTC:OK - - - SSC SSC2 gatts -S -z load -p 0xA2 - - - R SSC2 C +GATTS:StartService,OK,A002 - - - SSC SSC[1-2] bleadv -D -z stop - - - R SSC[1-2] C +BLEADV:Stop - - - SSC SSC[1-2] ble -S -z public - - - R SSC[1-2] C +BLE:OK - - - SSC SSC2 bleadv -L -c 0 -t 3 - - - R SSC2 C +BLEADV:SetAdv,OK - - - SSC SSC2 bleadv -D -z start - - - R SSC2 C +BLEADV:OK - - - SSC SSC1 gattc -F -r - - - R SSC1 C +GATTC:OK - - - SSC SSC1 bleconn -C -p 0x10 -a - - - R SSC1 C +BLECONN:GapConnect,OK - - P SSC2 C +BLECONN:GapConnect,OK - restore post cmd set: - - '' - - - SSC SSC1 ram - - - R SSC1 A :(\d+) -- tag: BLE_CONN4 - <<: *SSC_INIT_COND - initial condition detail: (SSC) enable BLE and create both GATTC and GATTS app on DUT1 and DUT2. DUT1 connected with DUT2. use GATT service A002. - check cmd set: - - '' - - - ASSERT - - - '' - restore cmd set: - - '' - # do wifi disconnect, to prevent wifi reconnect cause bad BLE performance - - - SSC SSC[1-2] sta -D - - [] - - - SSC SSC[1-2] bt -D -z init - - - 'R SSC[1-2] C +BT:' - - - SSC SSC[1-2] bt -D -z enable - - - 'R SSC[1-2] C +BT:' - - - SSC SSC[1-2] ble -R - - - 'R SSC[1-2] C +BLE:' - - - SSC SSC[1-2] bleconn -D -z all - - - 'R SSC[1-2] C +BLECONN:' - - - SSC SSC[1-2] blesmp -B -z clear - - - R SSC[1-2] C +BLESMP:ClearBond,Success - - - SSC SSC[1-2] gatts -S -z delete - - - 'R SSC[1-2] C +GATTS:' - - - SSC SSC[1-2] gattc -U -z all - - - R SSC[1-2] C +GATTC:OK - - - SSC SSC[1-2] gatts -S -z load -p 0xA2 - - - R SSC[1-2] C +GATTS:StartService,OK,A002 - - - SSC SSC[1-2] bleadv -D -z stop - - - R SSC[1-2] C +BLEADV:Stop - - - SSC SSC[1-2] ble -S -z public - - - R SSC[1-2] C +BLE:OK - - - SSC SSC2 bleadv -L -c 0 -t 3 - - - R SSC2 C +BLEADV:SetAdv,OK - - - SSC SSC2 bleadv -D -z start - - - R SSC2 C +BLEADV - - - SSC SSC[1-2] gattc -F -r - - - R SSC[1-2] C +GATTC:OK - - - SSC SSC1 bleconn -C -p 0x10 -a - - - R SSC1 C +BLECONN:GapConnect,OK - - P SSC2 C +BLECONN:GapConnect,OK - force restore cmd set: - - '' - - - SSC SSC[1-2] reboot - - - R SSC[1-2] C !!!ready!!! - # do wifi disconnect, to prevent wifi reconnect cause bad BLE performance - - - SSC SSC[1-2] sta -D - - [] - - - SSC SSC[1-2] ble -R - - - 'R SSC[1-2] C +BLE:' - - - SSC SSC[1-2] bleconn -D -z all - - - 'R SSC[1-2] C +BLECONN:' - - - SSC SSC[1-2] blesmp -B -z clear - - - R SSC[1-2] C +BLESMP:ClearBond,Success - - - SSC SSC[1-2] gatts -S -z delete - - - 'R SSC[1-2] C +GATTS:' - - - SSC SSC[1-2] gattc -U -z all - - - R SSC[1-2] C +GATTC:OK - - - SSC SSC[1-2] gatts -S -z load -p 0xA2 - - - R SSC[1-2] C +GATTS:StartService,OK,A002 - - - SSC SSC[1-2] bleadv -D -z stop - - - R SSC[1-2] C +BLEADV:Stop - - - SSC SSC[1-2] ble -S -z public - - - R SSC[1-2] C +BLE:OK - - - SSC SSC2 bleadv -L -c 0 -t 3 - - - R SSC2 C +BLEADV:SetAdv,OK - - - SSC SSC2 bleadv -D -z start - - - R SSC2 C +BLEADV:Start,OK - - - SSC SSC[1-2] gattc -F -r - - - R SSC[1-2] C +GATTC:OK - - - SSC SSC1 bleconn -C -p 0x10 -a - - - R SSC1 C +BLECONN:GapConnect,OK - - P SSC2 C +BLECONN:GapConnect,OK - restore post cmd set: - - '' - - - SSC SSC1 ram - - - R SSC1 A :(\d+) -- tag: BLE_CONN5 - <<: *SSC_INIT_COND - initial condition detail: (SSC) enable BLE on 5 DUTs, DUT1 connected with DUT2-5 as master, DUT2-5 use GATT service 0xA002 - check cmd set: - - '' - - - ASSERT - - - '' - force restore cmd set: - - '' - - - SSC SSC[1-5] reboot - - - R SSC[1-5] C !!!ready!!! - # do wifi disconnect, to prevent wifi reconnect cause bad BLE performance - - - SSC SSC[1-5] sta -D - - [] - - - SSC SSC[1-5] ble -R - - - 'R SSC[1-5] C +BLE:' - - - SSC SSC[1-5] bleconn -D -z all - - - 'R SSC[1-5] C +BLECONN:' - - - SSC SSC[1-5] blesmp -B -z clear - - - R SSC[1-5] C +BLESMP:ClearBond,Success - - - SSC SSC[1-5] gatts -S -z delete - - - 'R SSC[1-5] C +GATTS:' - - - SSC SSC[1-5] gattc -U -z all - - - R SSC[1-5] C +GATTC:OK - - - SSC SSC[2-5] gatts -S -z load -p 0xA2 - - - P SSC[2-5] C +GATTS:StartService,OK,A002 - - - SSC SSC[1-5] bleadv -D -z stop - - - R SSC[1-5] C +BLEADV:Stop - - - SSC SSC[1-5] ble -S -z public - - - R SSC[1-5] C +BLE:OK - - - SSC SSC[2-5] bleadv -D -z start - - - P SSC[2-5] C +BLEADV:Start,OK - - - SSC SSC1 gattc -F -r - - - R SSC1 C +GATTC:OK - - - LOOP 4 1 "[2,3,4,5]" "[2,3,4,5]" "[2,3,4,5]" - - '' - - - SSC SSC1 bleconn -C -p 0x10 -a - - - R SSC1 RE "\+BLECONN:GapConnect,OK,0010,%%s"%%() - - P SSC{%d} C +BLECONN:GapConnect,OK - restore cmd set: - - '' - # do wifi disconnect, to prevent wifi reconnect cause bad BLE performance - - - SSC SSC[1-5] sta -D - - [] - - - SSC SSC[1-5] bt -D -z init - - - 'R SSC[1-5] C +BT:' - - - SSC SSC[1-5] bt -D -z enable - - - 'R SSC[1-5] C +BT:' - - - SSC SSC[1-5] ble -R - - - 'R SSC[1-5] C +BLE:' - - - SSC SSC[1-5] bleconn -D -z all - - - 'R SSC[1-5] C +BLECONN:' - - - SSC SSC[1-5] blesmp -B -z clear - - - R SSC[1-5] C +BLESMP:ClearBond,Success - - - SSC SSC[1-5] gatts -S -z delete - - - 'R SSC[1-5] C +GATTS:' - - - SSC SSC[1-5] gattc -U -z all - - - R SSC[1-5] C +GATTC:OK - - - SSC SSC[2-5] gatts -S -z load -p 0xA2 - - - P SSC[2-5] C +GATTS:StartService,OK,A002 - - - SSC SSC[1-5] bleadv -D -z stop - - - R SSC[1-5] C +BLEADV:Stop - - - SSC SSC[1-5] ble -S -z public - - - R SSC[1-5] C +BLE:OK - - - SSC SSC[2-5] bleadv -D -z start - - - P SSC[2-5] C +BLEADV:Start,OK - - - SSC SSC1 gattc -F -r - - - R SSC1 C +GATTC:OK - - - LOOP 4 1 "[2,3,4,5]" "[2,3,4,5]" "[2,3,4,5]" - - '' - - - SSC SSC1 bleconn -C -p 0x10 -a - - - R SSC1 RE "\+BLECONN:GapConnect,OK,0010,%%s"%%() - - P SSC{%d} C +BLECONN:GapConnect,OK, - restore post cmd set: - - '' - - - SSC SSC1 ram - - - R SSC1 A :(\d+) -- tag: BLE_CONN6 - <<: *SSC_INIT_COND - initial condition detail: (SSC) enable BLE on 5 DUTs, DUT1 is slave, connected by DUT2-5, DUT1 use GATT service 0xA002 - check cmd set: - - '' - - - ASSERT - - - '' - restore cmd set: - - '' - # do wifi disconnect, to prevent wifi reconnect cause bad BLE performance - - - SSC SSC[1-5] sta -D - - [] - - - SSC SSC[1-5] bt -D -z init - - - 'R SSC[1-5] C +BT:' - - - SSC SSC[1-5] bt -D -z enable - - - 'R SSC[1-5] C +BT:' - - - SSC SSC[1-5] ble -R - - - 'R SSC[1-5] C +BLE:' - - - SSC SSC[1-5] bleconn -D -z all - - - 'R SSC[1-5] C +BLECONN:' - - - SSC SSC[1-5] blesmp -B -z clear - - - R SSC[1-5] C +BLESMP:ClearBond,Success - - - SSC SSC[1-5] gatts -S -z delete - - - 'R SSC[1-5] C +GATTS:' - - - SSC SSC[1-5] gattc -U -z all - - - R SSC[1-5] C +GATTC:OK - - - SSC SSC[1-5] ble -S -z public - - - R SSC[1-5] C +BLE:OK - - - SSC SSC1 gatts -S -z load -p 0xA2 - - - R SSC1 C +GATTS:StartService,OK,A002 - - - SSC SSC[1-5] bleadv -D -z stop - - - R SSC[1-5] C +BLEADV:Stop - - - LOOP 4 3 "[2,3,4,5]" "[2,3,4,5]" - - '' - - - SSC SSC1 bleadv -D -z start - - - P SSC1 C +BLEADV:Start,OK - - - SSC SSC[2-5] gattc -F -r - - - R SSC[2-5] C +GATTC:OK - - - SSC SSC{%d} bleconn -C -p 0x10 -a - - - R SSC{%d} RE "\+BLECONN:GapConnect,OK,0010,%%s"%%() - - P SSC1 C +BLECONN:GapConnect,OK - force restore cmd set: - - '' - - - SSC SSC[1-5] reboot - - - R SSC[1-5] C !!!ready!!! - # do wifi disconnect, to prevent wifi reconnect cause bad BLE performance - - - SSC SSC[1-5] sta -D - - [] - - - SSC SSC[1-5] ble -R - - - 'R SSC[1-5] C +BLE:' - - - SSC SSC[1-5] bleconn -D -z all - - - 'R SSC[1-5] C +BLECONN:' - - - SSC SSC[1-5] blesmp -B -z clear - - - R SSC[1-5] C +BLESMP:ClearBond,Success - - - SSC SSC[1-5] gatts -S -z delete - - - 'R SSC[1-5] C +GATTS:' - - - SSC SSC[1-5] gattc -U -z all - - - R SSC[1-5] C +GATTC:OK - - - SSC SSC[1-5] bleadv -D -z stop - - - R SSC[1-5] C +BLEADV:Stop - - - SSC SSC[1-5] ble -S -z public - - - R SSC[1-5] C +BLE:OK - - - SSC SSC1 gatts -S -z load -p 0xA2 - - - R SSC1 C +GATTS:StartService,OK,A002 - - - SSC SSC[2-5] gattc -F -r - - - R SSC[2-5] C +GATTC:OK - - - LOOP 4 3 "[2,3,4,5]" "[2,3,4,5]" - - '' - - - SSC SSC1 bleadv -D -z start - - - P SSC1 C +BLEADV:Start,OK - - - SSC SSC[2-5] gattc -F -r - - - R SSC[2-5] C +GATTC:OK - - - SSC SSC{%d} bleconn -C -p 0x10 -a - - - R SSC{%d} RE "\+BLECONN:GapConnect,OK,0010,%%s"%%() - - P SSC1 C +BLECONN:GapConnect,OK - restore post cmd set: - - '' - - - SSC SSC1 ram - - - R SSC1 A :(\d+) -- tag: BLE_CONN7 - <<: *SSC_INIT_COND - initial condition detail: (SSC) BLE is enable on 5 DUTs, DUT1 connected with DUT2-3 as master, connected with DUT4-5 as slave, use service 0xA002 on GATTS - check cmd set: - - '' - - - ASSERT - - - '' - restore cmd set: - - '' - # do wifi disconnect, to prevent wifi reconnect cause bad BLE performance - - - SSC SSC[1-5] sta -D - - [] - - - SSC SSC[1-5] bt -D -z init - - - 'R SSC[1-5] C +BT:' - - - SSC SSC[1-5] bt -D -z enable - - - 'R SSC[1-5] C +BT:' - - - SSC SSC[1-5] ble -R - - - 'R SSC[1-5] C +BLE:' - - - SSC SSC[1-5] bleconn -D -z all - - - 'R SSC[1-5] C +BLECONN:' - - - SSC SSC[1-5] blesmp -B -z clear - - - R SSC[1-5] C +BLESMP:ClearBond,Success - - - SSC SSC[1-5] gatts -S -z delete - - - 'R SSC[1-5] C +GATTS:' - - - SSC SSC[1-5] gattc -U -z all - - - R SSC[1-5] C +GATTC:OK - - - SSC SSC[1-5] bleadv -D -z stop - - - R SSC[1-5] C +BLEADV:Stop - - - SSC SSC[1-5] ble -S -z public - - - R SSC[1-5] C +BLE:OK - - - SSC SSC[1-3] gatts -S -z load -p 0xA2 - - - R SSC[1-3] C +GATTS:StartService,OK,A002 - - - LOOP 2 2 "[4,5]" "[4,5]" - - '' - - - SSC SSC1 bleadv -D -z start - - - P SSC1 C +BLEADV:Start,OK - - - SSC SSC{%d} bleconn -C -p 0x10 -a - - - R SSC{%d} RE "\+BLECONN:GapConnect,OK,0010,%%s"%%() - - P SSC1 C +BLECONN:GapConnect,OK - - - SSC SSC[2-3] bleadv -D -z start - - - P SSC[2-3] C +BLEADV:Start,OK - - - LOOP 2 1 "[2,3]" "[2,3]" "[2,3]" - - '' - - - SSC SSC1 bleconn -C -p 0x10 -a - - - R SSC1 RE "\+BLECONN:GapConnect,OK,0010,%%s"%%() - - P SSC{%d} C +BLECONN:GapConnect,OK, - force restore cmd set: - - '' - - - SSC SSC[1-5] reboot - - - R SSC[1-5] C !!!ready!!! - # do wifi disconnect, to prevent wifi reconnect cause bad BLE performance - - - SSC SSC[1-5] sta -D - - [] - - - SSC SSC[1-5] ble -R - - - 'R SSC[1-5] C +BLE:' - - - SSC SSC[1-5] bleconn -D -z all - - - 'R SSC[1-5] C +BLECONN:' - - - SSC SSC[1-5] blesmp -B -z clear - - - R SSC[1-5] C +BLESMP:ClearBond,Success - - - SSC SSC[1-5] gatts -S -z delete - - - 'R SSC[1-5] C +GATTS:' - - - SSC SSC[1-5] gattc -U -z all - - - R SSC[1-5] C +GATTC:OK - - - SSC SSC[1-5] bleadv -D -z stop - - - R SSC[1-5] C +BLEADV:Stop - - - SSC SSC[1-5] ble -S -z public - - - R SSC[1-5] C +BLE:OK - - - SSC SSC[1-3] gatts -S -z load -p 0xA2 - - - R SSC[1-3] C +GATTS:StartService,OK,A002 - - - LOOP 2 2 "[4,5]" "[4,5]" - - '' - - - SSC SSC1 bleadv -D -z start - - - P SSC1 C +BLEADV:Start,OK - - - SSC SSC{%d} bleconn -C -p 0x10 -a - - - R SSC{%d} RE "\+BLECONN:GapConnect,OK,0010,%%s"%%() - - P SSC1 C +BLECONN:GapConnect,OK, - - - SSC SSC[2-3] bleadv -D -z start - - - P SSC[2-3] C +BLEADV:Start,OK - - - LOOP 2 1 "[2,3]" "[2,3]" "[2,3]" - - '' - - - SSC SSC1 bleconn -C -p 0x10 -a - - - R SSC1 RE "\+BLECONN:GapConnect,OK,0010,%%s"%%() - - P SSC{%d} C +BLECONN:GapConnect,OK - restore post cmd set: - - '' - - - SSC SSC1 ram - - - R SSC1 A :(\d+) -- tag: BLE_CONN_SMP - <<: *SSC_INIT_COND - initial condition detail: (SSC) enable BLE on 2 DUTs, DUT1 connected and paired with DUT2, DUT2 created GATT service 0xA000 - check cmd set: - - '' - - - ASSERT - - - '' - restore cmd set: - - '' - # do wifi disconnect, to prevent wifi reconnect cause bad BLE performance - - - SSC SSC[1-2] sta -D - - [] - - - SSC SSC[1-2] bt -D -z init - - - 'R SSC[1-2] C +BT:' - - - SSC SSC[1-2] bt -D -z enable - - - 'R SSC[1-2] C +BT:' - - - SSC SSC[1-2] ble -R - - - 'R SSC[1-2] C +BLE:' - - - SSC SSC[1-2] bleconn -D -z all - - - 'R SSC[1-2] C +BLECONN:' - - - SSC SSC[1-2] blesmp -B -z clear - - - R SSC[1-2] C +BLESMP:ClearBond,Success - - - SSC SSC[1-2] gatts -S -z delete - - - 'R SSC[1-2] C +GATTS:' - - - SSC SSC[1-2] gattc -U -z all - - - R SSC[1-2] C +GATTC:OK - - - SSC SSC[1-2] bleadv -D -z stop - - - R SSC[1-2] C +BLEADV:Stop - - - SSC SSC2 gatts -S -z load -p 0xA2 - - - R SSC2 C +GATTS:StartService,OK,A002 - - - SSC SSC[1-2] ble -S -z public - - - R SSC[1-2] C +BLE:OK - - - SSC SSC2 bleadv -L -c 0 -t 3 - - - R SSC2 C +BLEADV:SetAdv,OK - - - SSC SSC2 bleadv -D -z start - - - R SSC2 C +BLEADV:Start,OK - - - SSC SSC2 blesmp -S -z AuthReqMode -v 0x01 - - - P SSC2 C +BLESMP:OK - - - SSC SSC2 blesmp -S -z IOCAP -v 0x03 - - - P SSC2 C +BLESMP:OK - - - SSC SSC2 blesmp -S -z RspKey -v 0x03 - - - P SSC2 C +BLESMP:OK - - - SSC SSC1 bleconn -C -p 0x10 -a - - - P SSC1 C +BLECONN:GapConnect,OK - - P SSC2 C +BLECONN:GapConnect,OK - - - SSC SSC2 blesmp -E -r -z Enc - - - P SSC[1-2] C +BLESMP:AuthComplete,Success,0 - - - SSC SSC1 gattc -F -r - - - R SSC1 C +GATTC:OK - force restore cmd set: - - '' - - - SSC SSC[1-2] reboot - - - R SSC[1-2] C !!!ready!!! - # do wifi disconnect, to prevent wifi reconnect cause bad BLE performance - - - SSC SSC[1-2] sta -D - - [] - - - SSC SSC[1-2] ble -R - - - 'R SSC[1-2] C +BLE:' - - - SSC SSC[1-2] bleconn -D -z all - - - 'R SSC[1-2] C +BLECONN:' - - - SSC SSC[1-2] blesmp -B -z clear - - - R SSC[1-2] C +BLESMP:ClearBond,Success - - - SSC SSC[1-2] gatts -S -z delete - - - 'R SSC[1-2] C +GATTS:' - - - SSC SSC[1-2] gattc -U -z all - - - R SSC[1-2] C +GATTC:OK - - - SSC SSC[1-2] bleadv -D -z stop - - - R SSC[1-2] C +BLEADV:Stop - - - SSC SSC2 gatts -S -z load -p 0xA2 - - - R SSC2 C +GATTS:StartService,OK,A002 - - - SSC SSC[1-2] ble -S -z public - - - R SSC[1-2] C +BLE:OK - - - SSC SSC2 bleadv -L -c 0 -t 3 - - - R SSC2 C +BLEADV:SetAdv,OK - - - SSC SSC2 bleadv -D -z start - - - R SSC2 C +BLEADV:Start,OK - - - SSC SSC2 blesmp -S -z AuthReqMode -v 0x01 - - - P SSC2 C +BLESMP:OK - - - SSC SSC2 blesmp -S -z IOCAP -v 0x03 - - - P SSC2 C +BLESMP:OK - - - SSC SSC2 blesmp -S -z RspKey -v 0x03 - - - P SSC2 C +BLESMP:OK - - - SSC SSC1 bleconn -C -p 0x10 -a - - - P SSC1 C +BLECONN:GapConnect,OK - - P SSC2 C +BLECONN:GapConnect,OK - - - SSC SSC2 blesmp -E -r -z Enc - - - P SSC[1-2] C +BLESMP:AuthComplete,Success,0 - - - SSC SSC1 gattc -F -r - - - R SSC1 C +GATTC:OK - restore post cmd set: - - '' - - - SSC SSC1 ram - - - R SSC1 A :(\d+) -- tag: BLE_DEINIT1 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT deinit BT host - check cmd set: - - '' - - - SSC SSC1 bt -Q - - - R SSC1 C +BT:status,DEINIT - restore cmd set: - - '' - - - SSC SSC1 bt -D -z disable - - - 'R SSC1 C +BT:' - - - SSC SSC1 bt -D -z deinit - - - 'R SSC1 C +BT:' - - - SSC SSC1 bt -Q - - - R SSC1 C +BT:status,DEINIT - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC1 bt -D -z stop - - - R SSC1 C +BT:OK - restore post cmd set: - - '' - - - SSC SSC1 ram - - - R SSC1 A :(\d+) -- tag: BTC_DEINIT1 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT deinit BT controller - check cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - "SSC SSC1 btc -D -z disable" - - ["R SSC1 C +BTC:OK"] - - - "SSC SSC1 btc -D -z deinit" - - ["R SSC1 C +BTC:OK"] - - - SSC SSC1 btc -Q - - - R SSC1 C +BTC:status,IDLE - - - SSC SSC1 bt -D -z disable - - - 'R SSC1 C +BT:' - - - SSC SSC1 bt -D -z deinit - - - 'R SSC1 C +BT:' - - - SSC SSC1 bt -Q - - - R SSC1 C +BT:status,DEINIT - restore cmd set: - - '' - - - "SSC SSC1 btc -D -z disable" - - ["R SSC1 C +BTC:OK"] - - - "SSC SSC1 btc -D -z deinit" - - ["R SSC1 C +BTC:OK"] - - - SSC SSC1 btc -Q - - - R SSC1 C +BTC:status,IDLE - - - SSC SSC1 bt -D -z disable - - - 'R SSC1 C +BT:' - - - SSC SSC1 bt -D -z deinit - - - 'R SSC1 C +BT:' - - - SSC SSC1 bt -Q - - - R SSC1 C +BT:status,DEINIT - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC1 btc -D -z stop - - - R SSC1 C +BTC:OK - - - SSC SSC1 bt -D -z stop - - - R SSC1 C +BT:OK - restore post cmd set: - - '' - - - SSC SSC1 ram - - - R SSC1 A :(\d+) -- tag: BLE_INIT1 - <<: *SSC_INIT_COND - initial condition detail: (SSC) enable BLE on DUT - check cmd set: - - '' - - - SSC SSC1 bt -Q - - - R SSC1 C +BT:status,ENABLE - - - SSC SSC1 ble -R - - - 'R SSC1 C +BLE:' - - - SSC SSC1 bleconn -Q - - - R SSC1 C +BLECONN:ConnCount,0 - restore cmd set: - - '' - - - SSC SSC1 bt -D -z init - - - 'R SSC1 C +BT:' - - - SSC SSC1 bt -D -z enable - - - 'R SSC1 C +BT:' - - - SSC SSC1 ble -R - - - 'R SSC1 C +BLE:' - - - SSC SSC1 bleconn -D -z all - - - 'R SSC1 C +BLECONN:' - - - SSC SSC[1-2] blesmp -B -z clear - - - R SSC[1-2] C +BLESMP:ClearBond,Success - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC1 bt -D -z init - - - 'R SSC1 C +BT:' - - - SSC SSC1 bt -D -z enable - - - 'R SSC1 C +BT:' - - - SSC SSC1 ble -R - - - 'R SSC1 C +BLE:' - restore post cmd set: - - '' - # do wifi disconnect, to prevent wifi reconnect cause bad BLE performance - - - SSC SSC1 sta -D - - [] - - - SSC SSC1 bleconn -D -z all - - - 'R SSC1 C +BLECONN:' - - - SSC SSC[1-2] blesmp -B -z clear - - - R SSC[1-2] C +BLESMP:ClearBond,Success - - - SSC SSC1 gatts -S -z delete - - - 'R SSC1 C +GATTS:' - - - SSC SSC1 gattc -U -z all - - - R SSC1 C +GATTC:OK - - - SSC SSC1 ram - - - R SSC1 A :(\d+) -- tag: BLE_INIT2 - <<: *SSC_INIT_COND - initial condition detail: (SSC) enable BLE on 2 DUTs, no active connection, DUT2 load service 0xA0 and start adv - check cmd set: - - '' - - - SSC SSC[1-2] bt -Q - - - R SSC[1-2] C +BT:status,ENABLE - restore cmd set: - - '' - - - SSC SSC[1-2] bt -D -z init - - - 'R SSC[1-2] C +BT:' - - - SSC SSC[1-2] bt -D -z enable - - - 'R SSC[1-2] C +BT:' - force restore cmd set: - - '' - - - SSC SSC[1-2] reboot - - - R SSC[1-2] C !!!ready!!! - - - SSC SSC[1-2] bt -D -z init - - - 'R SSC[1-2] C +BT:' - - - SSC SSC[1-2] bt -D -z enable - - - 'R SSC[1-2] C +BT:' - restore post cmd set: - - '' - # do wifi disconnect, to prevent wifi reconnect cause bad BLE performance - - - SSC SSC[1-2] sta -D - - [] - - - SSC SSC[1-2] ble -R - - - 'R SSC[1-2] C +BLE:' - - - SSC SSC[1-2] bleconn -D -z all - - - 'R SSC[1-2] C +BLECONN:' - - - SSC SSC[1-2] blesmp -B -z clear - - - R SSC[1-2] C +BLESMP:ClearBond,Success - - - SSC SSC[1-2] gatts -S -z delete - - - 'R SSC[1-2] C +GATTS:' - - - SSC SSC[1-2] gattc -U -z all - - - R SSC[1-2] C +GATTC:OK - - - SSC SSC[1-2] bleadv -D -z stop - - - R SSC[1-2] C +BLEADV:Stop - - - SSC SSC2 gatts -S -z load -p 0xA0 - - - R SSC2 C +GATTS:StartService,OK,A000 - - - SSC SSC[1-2] ble -S -z public - - - R SSC[1-2] C +BLE:OK - - - SSC SSC2 bleadv -L -c 0 -t 3 - - - R SSC2 C +BLEADV:SetAdv,OK - - - SSC SSC2 bleadv -D -z start - - - R SSC2 C +BLEADV:Start,OK - - - SSC SSC1 ram - - - R SSC1 A :(\d+) -- tag: BLE_INIT3 - <<: *SSC_INIT_COND - initial condition detail: (SSC) enable BLE on 2 DUTs, no active connection, DUT2 load service 0xA002 and start adv - check cmd set: - - '' - - - SSC SSC[1-2] bt -Q - - - R SSC[1-2] C +BT:status,ENABLE - restore cmd set: - - '' - - - SSC SSC[1-2] bt -D -z init - - - 'R SSC[1-2] C +BT:' - - - SSC SSC[1-2] bt -D -z enable - - - 'R SSC[1-2] C +BT:' - force restore cmd set: - - '' - - - SSC SSC[1-2] reboot - - - R SSC[1-2] C !!!ready!!! - - - SSC SSC[1-2] bt -D -z init - - - 'R SSC[1-2] C +BT:' - - - SSC SSC[1-2] bt -D -z enable - - - 'R SSC[1-2] C +BT:' - restore post cmd set: - - '' - - - SSC SSC[1-2] ble -R - - - 'R SSC[1-2] C +BLE:' - - - SSC SSC[1-2] bleconn -D -z all - - - 'R SSC[1-2] C +BLECONN:' - - - SSC SSC[1-2] blesmp -B -z clear - - - R SSC[1-2] C +BLESMP:ClearBond,Success - - - SSC SSC[1-2] gatts -S -z delete - - - 'R SSC[1-2] C +GATTS:' - - - SSC SSC[1-2] gattc -U -z all - - - R SSC[1-2] C +GATTC:OK - - - SSC SSC2 gatts -S -z load -p 0xA2 - - - R SSC2 C +GATTS:StartService,OK,A002 - - - SSC SSC[1-2] bleadv -D -z stop - - - R SSC[1-2] C +BLEADV:Stop - - - SSC SSC[1-2] ble -S -z public - - - R SSC[1-2] C +BLE:OK - - - SSC SSC2 bleadv -L -c 0 -t 3 - - - R SSC2 C +BLEADV:SetAdv,OK - - - SSC SSC2 bleadv -D -z start - - - R SSC2 C +BLEADV:Start,OK - - - SSC SSC1 ram - - - R SSC1 A :(\d+) -- tag: BLE_INIT5 - <<: *SSC_INIT_COND - initial condition detail: (SSC) enable BLE on 5 DUTs, no active connection - check cmd set: - - '' - - - SSC SSC[1-5] bt -Q - - - R SSC[1-5] C +BT:status,ENABLE - restore cmd set: - - '' - - - SSC SSC[1-5] bt -D -z init - - - 'R SSC[1-5] C +BT:' - - - SSC SSC[1-5] bt -D -z enable - - - 'R SSC[1-5] C +BT:' - force restore cmd set: - - '' - - - SSC SSC[1-5] reboot - - - R SSC[1-5] C !!!ready!!! - - - SSC SSC[1-5] bt -D -z init - - - 'R SSC[1-5] C +BT:' - - - SSC SSC[1-5] bt -D -z enable - - - 'R SSC[1-5] C +BT:' - restore post cmd set: - - '' - # do wifi disconnect, to prevent wifi reconnect cause bad BLE performance - - - SSC SSC[1-5] sta -D - - [] - - - SSC SSC[1-5] ble -R - - - 'R SSC[1-5] C +BLE:' - - - SSC SSC[1-5] bleconn -D -z all - - - 'R SSC[1-5] C +BLECONN:' - - - SSC SSC[1-5] blesmp -B -z clear - - - R SSC[1-5] C +BLESMP:ClearBond,Success - - - SSC SSC[1-5] gatts -S -z delete - - - 'R SSC[1-5] C +GATTS:' - - - SSC SSC[1-2] gattc -U -z all - - - R SSC[1-2] C +GATTC:OK - - - "SSC SSC[2-5] gatts -S -z load -p 0xA2" - - ["P SSC[2-5] C +GATTS:StartService,OK,A002"] - - - SSC SSC[1-5] bleadv -D -z stop - - - R SSC[1-5] C +BLEADV:Stop - - - SSC SSC[1-5] ble -S -z public - - - R SSC[1-5] C +BLE:OK - - - SSC SSC1 gattc -F -r - - - R SSC1 C +GATTC:OK - - - SSC SSC1 ram - - - R SSC1 A :(\d+) -- tag: BLE_INIT_SMP - <<: *SSC_INIT_COND - initial condition detail: (SSC) enable BLE on 2 DUTs, no active connection, create GATT service 0xA002 on DUT2, DUT2 start adv, DUT1 load default initiator param, DUT2 load default responder param - check cmd set: - - '' - - - ASSERT - - - '' - restore cmd set: - - '' - - - ASSERT - - - '' - force restore cmd set: - - '' - - - SSC SSC[1-2] reboot - - - R SSC[1-2] C !!!ready!!! - - - SSC SSC[1-2] ble -R - - - 'R SSC[1-2] C +BLE:' - - - SSC SSC[1-2] bleconn -D -z all - - - 'R SSC[1-2] C +BLECONN:' - - - SSC SSC[1-2] blesmp -B -z clear - - - R SSC[1-2] C +BLESMP:ClearBond,Success - - - SSC SSC[1-2] gatts -S -z delete - - - 'R SSC[1-2] C +GATTS:' - - - SSC SSC[1-2] gattc -U -z all - - - R SSC[1-2] C +GATTC:OK - - - SSC SSC[1-2] bleadv -D -z stop - - - R SSC[1-2] C +BLEADV:Stop - - - SSC SSC[1-2] ble -S -z public - - - R SSC[1-2] C +BLE:OK - - - SSC SSC2 gatts -S -z load -p 0xA2 - - - R SSC2 C +GATTS:StartService,OK,A002 - - - SSC SSC2 bleadv -L -c 0 -t 3 - - - R SSC2 C +BLEADV:SetAdv,OK - - - SSC SSC2 bleadv -D -z start - - - R SSC2 C +BLEADV:Start,OK - - - SSC SSC[1-2] blesmp -L -c [1,0] - - - R SSC[1-2] C +BLESMP:OK - - - SSC SSC1 gattc -F -r - - - R SSC1 C +GATTC:OK - - - SSC SSC1 ram - - - R SSC1 A :(\d+) - restore post cmd set: - - '' - # do wifi disconnect, to prevent wifi reconnect cause bad BLE performance - - - SSC SSC[1-2] sta -D - - [] - - - SSC SSC[1-2] ble -R - - - 'R SSC[1-2] C +BLE:' - - - SSC SSC[1-2] bleconn -D -z all - - - 'R SSC[1-2] C +BLECONN:' - - - SSC SSC[1-2] blesmp -B -z clear - - - R SSC[1-2] C +BLESMP:ClearBond,Success - - - SSC SSC[1-2] gatts -S -z delete - - - 'R SSC[1-2] C +GATTS:' - - - SSC SSC[1-2] gattc -U -z all - - - R SSC[1-2] C +GATTC:OK - - - SSC SSC[1-2] bleadv -D -z stop - - - R SSC[1-2] C +BLEADV:Stop - - - SSC SSC[1-2] ble -S -z public - - - R SSC[1-2] C +BLE:OK - - - SSC SSC2 gatts -S -z load -p 0xA2 - - - R SSC2 C +GATTS:StartService,OK,A002 - - - SSC SSC2 bleadv -L -c 0 -t 3 - - - R SSC2 C +BLEADV:SetAdv,OK - - - SSC SSC2 bleadv -D -z start - - - R SSC2 C +BLEADV:Start,OK - - - SSC SSC[1-2] blesmp -L -c [1,0] - - - R SSC[1-2] C +BLESMP:OK - - - SSC SSC1 gattc -F -r - - - R SSC1 C +GATTC:OK - - - SSC SSC1 ram - - - R SSC1 A :(\d+) -- tag: BLE_INIT_SMP5 - <<: *SSC_INIT_COND - initial condition detail: (SSC) enable BLE on 5 DUTs, no active connection, create GATT service 0xA000 on DUT2-5, DUT2-5 start adv, DUT1 load default initiator param, DUT2-5 load default responder param - check cmd set: - - '' - - - ASSERT - - - '' - restore cmd set: - - '' - - - ASSERT - - - '' - force restore cmd set: - - '' - - - SSC SSC[1-5] reboot - - - R SSC[1-5] C !!!ready!!! - - - SSC SSC[1-5] ble -R - - - 'R SSC[1-5] C +BLE:' - - - SSC SSC[1-5] bleconn -D -z all - - - 'R SSC[1-5] C +BLECONN:' - - - SSC SSC[1-5] blesmp -B -z clear - - - R SSC[1-5] C +BLESMP:ClearBond,Success - - - SSC SSC[1-5] gatts -S -z delete - - - 'R SSC[1-5] C +GATTS:' - - - SSC SSC[1-5] gattc -U -z all - - - R SSC[1-5] C +GATTC:OK - - - SSC SSC[1-5] bleadv -D -z stop - - - R SSC[1-5] C +BLEADV:Stop - - - SSC SSC[1-5] ble -S -z public - - - R SSC[1-5] C +BLE:OK - - - SSC SSC[2-5] gatts -S -z load -p 0xA2 - - - R SSC[2-5] C +GATTS:StartService,OK,A002 - - - SSC SSC[2-5] bleadv -L -c 0 -t 3 - - - R SSC[2-5] C +BLEADV:SetAdv,OK - - - SSC SSC[2-5] bleadv -D -z start - - - R SSC[2-5] C +BLEADV:Start,OK - - - SSC SSC[1-5] blesmp -L -c [1,0] - - - R SSC[1-5] C +BLESMP:OK - - - SSC SSC1 gattc -F -r - - - R SSC1 C +GATTC:OK - - - SSC SSC1 ram - - - R SSC1 A :(\d+) - restore post cmd set: - - '' - - - SSC SSC[1-5] ble -R - - - 'R SSC[1-5] C +BLE:' - - - SSC SSC[1-5] bleconn -D -z all - - - 'R SSC[1-5] C +BLECONN:' - - - SSC SSC[1-5] blesmp -B -z clear - - - R SSC[1-5] C +BLESMP:ClearBond,Success - - - SSC SSC[1-5] gatts -S -z delete - - - 'R SSC[1-5] C +GATTS:' - - - SSC SSC[1-5] gattc -U -z all - - - R SSC[1-5] C +GATTC:OK - - - SSC SSC[1-5] bleadv -D -z stop - - - R SSC[1-5] C +BLEADV:Stop - - - SSC SSC[1-5] ble -S -z public - - - R SSC[1-5] C +BLE:OK - - - SSC SSC[2-5] gatts -S -z load -p 0xA2 - - - R SSC[2-5] C +GATTS:StartService,OK,A002 - - - SSC SSC[2-5] bleadv -L -c 0 -t 3 - - - R SSC[2-5] C +BLEADV:SetAdv,OK - - - SSC SSC[2-5] bleadv -D -z start - - - R SSC[2-5] C +BLEADV:Start,OK - - - SSC SSC1 blesmp -L -c 1 - - - R SSC1 C +BLESMP:OK - - - SSC SSC[2-5] blesmp -L -c 0 - - - R SSC[2-5] C +BLESMP:OK - # do wifi disconnect, to prevent wifi reconnect cause bad BLE performance - - - SSC SSC[1-5] sta -D - - [] - - - SSC SSC1 gattc -F -r - - - R SSC1 C +GATTC:OK - - - SSC SSC1 ram - - - R SSC1 A :(\d+) -- tag: NOW_STAM1 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT in sta mode and espnow is de-initialized - check cmd set: - - '' - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:1 - - - SSC SSC1 sta -D - - - 'R SSC1 C +QAP:' - - - SSC SSC1 dhcp -Q -o 1 - - - R SSC1 C +DHCP:STA,STARTED - - - SSC SSC1 mac -Q -o 1 - - - R SSC1 P - - - SSC SSC1 espnow -D - - - 'R SSC1 C +ESPNOW:' - restore cmd set: - - '' - - - SSC SSC1 op -S -o 1 - - - R SSC1 C +MODE:OK - - - SSC SSC1 sta -D - - - 'R SSC1 C +QAP:' - - - SSC SSC1 dhcp -S -o 1 - - - R SSC1 C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC1 espnow -D - - - 'R SSC1 C +ESPNOW:' - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC1 op -S -o 1 - - - R SSC1 C +MODE:OK - - - SSC SSC1 sta -D - - - 'R SSC1 C +QAP:' - - - SSC SSC1 dhcp -S -o 1 - - - R SSC1 C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC1 espnow -D - - - 'R SSC1 C +ESPNOW:' -- tag: NOW_STAM2 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT in sta mode, join AP and espnow is de-initialized - check cmd set: - - '' - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:1 - - - SSC SSC1 sta -Q - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC1 dhcp -Q -o 1 - - - R SSC1 C +DHCP:STA,STARTED - - - SSC SSC1 mac -Q -o 1 - - - R SSC1 P - - - SSC SSC1 espnow -D - - - 'R SSC1 C +ESPNOW:' - restore cmd set: - - '' - - - SSC SSC1 op -S -o 1 - - - R SSC1 C +MODE:OK - - - SSC SSC1 dhcp -S -o 1 - - - R SSC1 C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC1 sta -C -s -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC1 espnow -D - - - 'R SSC1 C +ESPNOW:' - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC1 op -S -o 1 - - - R SSC1 C +MODE:OK - - - SSC SSC1 dhcp -S -o 1 - - - R SSC1 C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC1 sta -C -s -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC1 espnow -D - - - 'R SSC1 C +ESPNOW:' -- tag: NOW_APM1 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT1 in AP mode and espnow is de-initialized - check cmd set: - - '' - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:2 - - - SSC SSC1 ap -Q - - - R SSC1 RE "\+APCONFIG:%%s,%%s,8,\d+,\d+,4,"%%(,) - - - SSC SSC1 dhcp -Q -o 2 - - - R SSC1 C +DHCP:AP,STARTED - - - SSC SSC1 mac -Q -o 2 - - - R SSC1 P - - - SSC SSC1 espnow -D - - - 'R SSC1 C +ESPNOW:' - restore cmd set: - - '' - - - SSC SSC1 op -S -o 2 - - - R SSC1 C +MODE:OK - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC1 ap -S -s -p -t -n 8 - - - R SSC1 C +SAP:OK - - - SSC SSC1 espnow -D - - - 'R SSC1 C +ESPNOW:' - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC1 op -S -o 2 - - - R SSC1 C +MODE:OK - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC1 ap -S -s -p -t -n 8 - - - R SSC1 C +SAP:OK - - - SSC SSC1 espnow -D - - - 'R SSC1 C +ESPNOW:' -- tag: NOW_T2_STAM1 - <<: *SSC_INIT_COND - initial condition detail: (SSC) two DUTs in sta mode, set same channel and espnow is de-initialized - check cmd set: - - '' - - - SSC SSC[1,2] op -Q - - - R SSC[1,2] C +CURMODE:1 - - - SSC SSC[1,2] sta -D - - - 'R SSC[1,2] C +QAP:' - - - SSC SSC[1,2] channel -G - - - R SSC[1,2] C +CHANNEL:5 - - - SSC SSC[1,2] dhcp -Q -o 1 - - - R SSC[1,2] C +DHCP:STA,STARTED - - - SSC SSC[1,2] mac -Q -o 1 - - - R SSC[1,2] P - - *dut_init_espnow - restore cmd set: - - '' - - - SSC SSC[1,2] op -S -o 1 - - - R SSC[1,2] C +MODE:OK - - - SSC SSC[1,2] sta -D - - - 'R SSC[1,2] C +QAP:' - - - SSC SSC[1,2] channel -S -c 5 - - - R SSC[1,2] C +CHANNEL:OK - - - SSC SSC[1,2] dhcp -S -o 1 - - - R SSC[1,2] C +DHCP - - - SSC SSC[1,2] mac -S -o 1 -m - - - R SSC[1,2] C +MAC:STA,OK - - *dut_init_espnow - force restore cmd set: - - '' - - - SSC SSC[1,2] reboot - - - R SSC[1,2] C !!!ready!!! - - - SSC SSC[1,2] op -S -o 1 - - - R SSC[1,2] C +MODE:OK - - - SSC SSC[1,2] sta -D - - - 'R SSC[1,2] C +QAP:' - - - SSC SSC[1,2] channel -S -c 5 - - - R SSC[1,2] C +CHANNEL:OK - - - SSC SSC[1,2] dhcp -S -o 1 - - - R SSC[1,2] C +DHCP - - - SSC SSC[1,2] mac -S -o 1 -m - - - R SSC[1,2] C +MAC:STA,OK - - *dut_init_espnow -- tag: NOW_T2_STAM2 - <<: *SSC_INIT_COND - initial condition detail: (SSC) one DUT in sta mode, one DUT in softap mode, station joins softap and espnow is de-initialized - check cmd set: - - '' - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:1 - - - SSC SSC2 op -Q - - - R SSC2 C +CURMODE:2 - - - SSC SSC2 ap -Q - - - R SSC2 RE "\+APCONFIG:%%s,%%s,8,\d+,\d+,4,"%%(,) - - - SSC SSC1 sta -Q - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC1 dhcp -Q -o 1 - - - R SSC1 C +DHCP:STA,STARTED - - - SSC SSC2 dhcp -Q -o 2 - - - R SSC2 C +DHCP:AP,STARTED - - - SSC SSC1 mac -Q -o 1 - - - R SSC1 P - - - SSC SSC2 mac -Q -o 2 - - - R SSC2 P - - *dut_init_espnow - restore cmd set: - - '' - - - SSC SSC1 op -S -o 1 - - - R SSC1 C +MODE:OK - - - SSC SSC2 op -S -o 2 - - - R SSC2 C +MODE:OK - - - SSC SSC[1,2] dhcp -S -o [1,2] - - - R SSC[1,2] C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC2 mac -S -o 2 -m - - - R SSC2 C +MAC:AP,OK - - - SSC SSC2 ap -S -s -p -t -n 8 - - - R SSC2 C +SAP:OK - - - SSC SSC1 sta -C -s -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - *dut_init_espnow - force restore cmd set: - - '' - - - SSC SSC[1-2] reboot - - - R SSC[1-2] C !!!ready!!! - - - SSC SSC[1-2] op -S -o [1,2] - - - R SSC[1-2] C +MODE:OK - - - SSC SSC[1,2] dhcp -S -o [1,2] - - - R SSC[1,2] C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC2 mac -S -o 2 -m - - - R SSC2 C +MAC:AP,OK - - - SSC SSC2 ap -S -s -p -t -n 8 - - - R SSC2 C +SAP:OK - - - SSC SSC1 sta -C -s -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - *dut_init_espnow -- tag: NOW_T2_APM1 - <<: *SSC_INIT_COND - initial condition detail: (SSC) 2 DUTs in softap mode, set same channel and espnow is de-initialized - check cmd set: - - '' - - - SSC SSC[1,2] op -Q - - - R SSC[1,2] C +CURMODE:2 - - - SSC SSC[1,2] ap -Q - - - R SSC[1,2] RE "\+APCONFIG:%%s,%%s,2,\d+,\d+,4,"%%(,) - - - SSC SSC[1,2] dhcp -Q -o 2 - - - R SSC[1,2] C +DHCP:AP,STARTED - - - SSC SSC[1,2] mac -Q -o 2 - - - R SSC[1,2] P - - *dut_init_espnow - restore cmd set: - - '' - - - SSC SSC[1,2] op -S -o 2 - - - R SSC[1,2] C +MODE:OK - - - SSC SSC[1,2] dhcp -S -o 2 - - - R SSC[1,2] C +DHCP - - - SSC SSC[1,2] mac -S -o 2 -m - - - R SSC[1,2] C +MAC:AP,OK - - - SSC SSC[1,2] ap -S -s -p -t -n 2 - - - R SSC[1,2] C +SAP:OK - - *dut_init_espnow - force restore cmd set: - - '' - - - SSC SSC[1,2] reboot - - - R SSC[1,2] C !!!ready!!! - - - SSC SSC[1,2] op -S -o 2 - - - R SSC[1,2] C +MODE:OK - - - SSC SSC[1,2] dhcp -S -o 2 - - - R SSC[1,2] C +DHCP - - - SSC SSC[1,2] mac -S -o 2 -m - - - R SSC[1,2] C +MAC:AP,OK - - - SSC SSC[1,2] ap -S -s -p -t -n 2 - - - R SSC[1,2] C +SAP:OK - - *dut_init_espnow -- tag: NOW_T2_STAAP1 - <<: *SSC_INIT_COND - initial condition detail: (SSC) two DUTs in sta + ap mode, set same channel and espnow is de-initialized - check cmd set: - - '' - - - SSC SSC[1,2] op -Q - - - R SSC[1,2] C +CURMODE:3 - - - SSC SSC[1,2] sta -D - - - 'R SSC[1,2] C +QAP:' - - - SSC SSC[1,2] ap -Q - - - R SSC[1,2] RE "\+APCONFIG:%%s,%%s,8,\d+,\d+,4,"%%(,) - - - SSC SSC[1,2] dhcp -Q -o 1 - - - R SSC[1,2] C +DHCP:STA,STARTED - - - SSC SSC[1,2] dhcp -Q -o 2 - - - R SSC[1,2] C +DHCP:AP,STARTED - - - SSC SSC[1,2] mac -Q -o 1 - - - R SSC[1,2] P - - - SSC SSC[1,2] mac -Q -o 2 - - - R SSC[1,2] P - - *dut_init_espnow - restore cmd set: - - '' - - - SSC SSC[1,2] op -S -o 3 - - - R SSC[1,2] C +MODE:OK - - - SSC SSC[1,2] sta -D - - - 'R SSC[1,2] C +QAP:' - - - SSC SSC[1,2] dhcp -S -o 1 - - - R SSC[1,2] C +DHCP - - - SSC SSC[1,2] dhcp -S -o 2 - - - R SSC[1,2] C +DHCP - - - SSC SSC[1,2] mac -S -o 1 -m - - - R SSC[1,2] C +MAC:STA,OK - - - SSC SSC[1,2] mac -S -o 2 -m - - - R SSC[1,2] C +MAC:AP,OK - - - SSC SSC[1,2] ap -S -s -p -t -n 8 - - - R SSC[1,2] C +SAP:OK - - *dut_init_espnow - force restore cmd set: - - '' - - - SSC SSC[1,2] reboot - - - R SSC[1,2] C !!!ready!!! - - - SSC SSC[1,2] op -S -o 3 - - - R SSC[1,2] C +MODE:OK - - - SSC SSC[1,2] sta -D - - - 'R SSC[1,2] C +QAP:' - - - SSC SSC[1,2] dhcp -S -o 1 - - - R SSC[1,2] C +DHCP - - - SSC SSC[1,2] dhcp -S -o 2 - - - R SSC[1,2] C +DHCP - - - SSC SSC[1,2] mac -S -o 1 -m - - - R SSC[1,2] C +MAC:STA,OK - - - SSC SSC[1,2] mac -S -o 2 -m - - - R SSC[1,2] C +MAC:AP,OK - - - SSC SSC[1,2] ap -S -s -p -t -n 8 - - - R SSC[1,2] C +SAP:OK - - *dut_init_espnow -- tag: NOW_T2_STAAP2 - <<: *SSC_INIT_COND - initial condition detail: (SSC) one DUT in softap mode, one DUT in sta + softap mode, station join softap and espnow is de-initialized - check cmd set: - - '' - - - SSC SSC[1,2] op -Q - - - R SSC[1,2] C +CURMODE:3 - - - SSC SSC2 ap -Q - - - R SSC2 RE "\+APCONFIG:%%s,%%s,8,\d+,\d+,4,"%%(,) - - - SSC SSC1 sta -Q - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC1 dhcp -Q -o 1 - - - R SSC1 C +DHCP:STA,STARTED - - - SSC SSC2 dhcp -Q -o 2 - - - R SSC2 C +DHCP:AP,STARTED - - - SSC SSC1 mac -Q -o 1 - - - R SSC1 P - - - SSC SSC2 mac -Q -o 2 - - - R SSC2 P - - - SSC SSC2 sta -D - - - 'R SSC2 C +QAP:' - - *dut_init_espnow - restore cmd set: - - '' - - - SSC SSC[1,2] op -S -o 3 - - - R SSC[1,2] C +MODE:OK - - - SSC SSC1 dhcp -S -o 1 - - - R SSC1 C +DHCP - - - SSC SSC2 dhcp -S -o 2 - - - R SSC2 C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC2 mac -S -o 2 -m - - - R SSC2 C +MAC:AP,OK - - - SSC SSC2 ap -S -s -p -t -n 8 - - - R SSC2 C +SAP:OK - - - SSC SSC1 sta -C -s -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC2 sta -D - - - 'R SSC2 C +QAP:' - - *dut_init_espnow - force restore cmd set: - - '' - - - SSC SSC[1,2] reboot - - - R SSC[1,2] C !!!ready!!! - - - SSC SSC[1,2] op -S -o 3 - - - R SSC[1,2] C +MODE:OK - - - SSC SSC1 dhcp -S -o 1 - - - R SSC1 C +DHCP - - - SSC SSC2 dhcp -S -o 2 - - - R SSC2 C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC2 mac -S -o 2 -m - - - R SSC2 C +MAC:AP,OK - - - SSC SSC2 ap -S -s -p -t -n 8 - - - R SSC2 C +SAP:OK - - - SSC SSC1 sta -C -s -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC2 sta -D - - - 'R SSC2 C +QAP:' - - *dut_init_espnow -- tag: None - <<: *SSC_INIT_COND - initial condition detail: (SSC) do nothing - check cmd set: - - '' - - - DELAY 0.1 - - - dummy - restore cmd set: - - '' - - - DELAY 0.1 - - - dummy - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - restore post cmd set: - - '' - - - DELAY 0.1 - - - dummy -- tag: PAIR1 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT1 and simple is de-inited - check cmd set: - - '' - - - SSC SSC1 sp -D - - - R SSC1 C +SP:OK - restore cmd set: - - '' - - - SSC SSC1 sp -D - - - R SSC1 C +SP:OK - force restore cmd set: - - '' - - - SSC SSC1 sp -D - - - R SSC1 C +SP:OK - restore post cmd set: - - '' - - - SSC SSC1 ram - - - R SSC1 A :(\d+) -- tag: PAIR2 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT1 in SoftAP mode, DUT2 in STA mode, two DUTs deinit simple pair - and init simple pair - check cmd set: - - '' - - - SSC SSC[1,2] op -Q - - - R SSC[1,2] C +MODE:[2,1] - - - SSC SSC[1,2] mac -Q -o 3 - - - R SSC[1,2] P P - - - SSC SSC[1,2] sp -D - - - R SSC[1,2] C +SP:OK - - - SSC SSC[1,2] sp -I - - - R SSC[1,2] C +SP:OK - restore cmd set: - - '' - - - SSC SSC[1,2] op -S -o 3 - - - R SSC[1,2] C +MODE:OK - - - SSC SSC[1,2] mac -S -m -o 2 - - - R SSC[1,2] C +MAC:AP,OK - - - SSC SSC[1,2] mac -S -m -o 1 - - - R SSC[1,2] C +MAC:STA,OK - - - SSC SSC[1,2] op -S -o [2,1] - - - R SSC[1,2] C +MODE:OK - - - SSC SSC[1,2] sp -D - - - R SSC[1,2] C +SP:OK - - - SSC SSC[1,2] sp -I - - - R SSC[1,2] C +SP:OK - force restore cmd set: - - '' - - - SSC SSC[1,2] reboot - - - R SSC[1,2] C !!!ready!!! - - - SSC SSC[1,2] op -S -o 3 - - - R SSC[1,2] C +MODE:OK - - - SSC SSC[1,2] mac -S -m -o 2 - - - R SSC[1,2] C +MAC:AP,OK - - - SSC SSC[1,2] mac -S -m -o 1 - - - R SSC[1,2] C +MAC:STA,OK - - - SSC SSC[1,2] op -S -o [2,1] - - - R SSC[1,2] C +MODE:OK - - - SSC SSC[1,2] sp -D - - - R SSC[1,2] C +SP:OK - - - SSC SSC[1,2] sp -I - - - R SSC[1,2] C +SP:OK - restore post cmd set: - - '' - - - SSC SSC1 ram - - - R SSC1 A :(\d+) -- tag: PAIR3 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT1 and DUT2 set to STA+SoftAP mode, two DUTs deinit simple pair - and init simple pair - check cmd set: - - '' - - - SSC SSC[1,2] op -Q - - - R SSC[1,2] C +MODE:[3,3] - - - SSC SSC[1,2] mac -Q -o 3 - - - R SSC[1,2] P P - - - SSC SSC[1,2] sp -D - - - R SSC[1,2] C +SP:OK - - - SSC SSC[1,2] sp -I - - - R SSC[1,2] C +SP:OK - restore cmd set: - - '' - - - SSC SSC[1,2] op -S -o [3,3] - - - R SSC[1,2] C +MODE:OK - - - SSC SSC[1,2] mac -S -m -o 2 - - - R SSC[1,2] C +MAC:AP,OK - - - SSC SSC[1,2] mac -S -m -o 1 - - - R SSC[1,2] C +MAC:STA,OK - - - SSC SSC[1,2] sp -D - - - R SSC[1,2] C +SP:OK - - - SSC SSC[1,2] sp -I - - - R SSC[1,2] C +SP:OK - force restore cmd set: - - '' - - - SSC SSC[1,2] reboot - - - R SSC[1,2] C !!!ready!!! - - - SSC SSC[1,2] op -S -o [3,3] - - - R SSC[1,2] C +MODE:OK - - - SSC SSC[1,2] mac -S -m -o 2 - - - R SSC[1,2] C +MAC:AP,OK - - - SSC SSC[1,2] mac -S -m -o 1 - - - R SSC[1,2] C +MAC:STA,OK - - - SSC SSC[1,2] sp -D - - - R SSC[1,2] C +SP:OK - - - SSC SSC[1,2] sp -I - - - R SSC[1,2] C +SP:OK - restore post cmd set: - - '' - - - SSC SSC1 ram - - - R SSC1 A :(\d+) -- tag: STAAP1 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT set to STA+SoftAP mode, disconnected from AP, enable DHCP client - check cmd set: - - '' - - *dut1_start_wifi - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:3 - - - SSC SSC1 sta -D - - - 'R SSC1 C +QAP:' - - - SSC SSC1 dhcp -Q -o 1 - - - R SSC1 C +DHCP:STA,STARTED - - - SSC SSC1 mac -Q -o 1 - - - R SSC1 P - restore cmd set: - - '' - - - SSC SSC1 op -S -o 3 - - - R SSC1 C +MODE:OK - - - SSC SSC1 sta -D - - - 'R SSC1 C +QAP:' - - - SSC SSC1 dhcp -S -o 1 - - - R SSC1 C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC1 op -S -o 3 - - - R SSC1 C +MODE:OK - - - SSC SSC1 sta -D - - - 'R SSC1 C +QAP:' - - - SSC SSC1 dhcp -S -o 1 - - - R SSC1 C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK -- tag: STAAP2 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT set to STA+SoftAP mode, connected with AP - check cmd set: - - '' - - *dut1_start_wifi - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:3 - - - SSC SSC1 sta -Q - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC1 dhcp -Q -o 1 - - - R SSC1 C +DHCP:STA,STARTED - - - SSC SSC1 mac -Q -o 1 - - - R SSC1 P - restore cmd set: - - '' - - - SSC SSC1 op -S -o 3 - - - R SSC1 C +MODE:OK - - - SSC SSC1 dhcp -S -o 1 - - - R SSC1 C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC1 sta -C -s -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC1 op -S -o 3 - - - R SSC1 C +MODE:OK - - - SSC SSC1 dhcp -S -o 1 - - - R SSC1 C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC1 sta -C -s -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() -- tag: STAM1 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT set to STA mode, disconnected from AP, enable DHCP client - check cmd set: - - '' - - *dut1_start_wifi - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:1 - - - SSC SSC1 sta -D - - - 'R SSC1 C +QAP:' - - - SSC SSC1 dhcp -Q -o 1 - - - R SSC1 C +DHCP:STA,STARTED - - - SSC SSC1 mac -Q -o 1 - - - R SSC1 P - restore cmd set: - - '' - - - SSC SSC1 op -S -o 1 - - - R SSC1 C +MODE:OK - - - SSC SSC1 sta -D - - - 'R SSC1 C +QAP:' - - - SSC SSC1 dhcp -S -o 1 - - - R SSC1 C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC1 op -S -o 1 - - - R SSC1 C +MODE:OK - - - SSC SSC1 sta -D - - - 'R SSC1 C +QAP:' - - - SSC SSC1 dhcp -S -o 1 - - - R SSC1 C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK -- tag: STAM2 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT set to STA mode, connected with AP - check cmd set: - - '' - - *dut1_start_wifi - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:1 - - - SSC SSC1 sta -Q - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC1 dhcp -Q -o 1 - - - R SSC1 C +DHCP:STA,STARTED - - - SSC SSC1 mac -Q -o 1 - - - R SSC1 P - restore cmd set: - - '' - - - SSC SSC1 op -S -o 1 - - - R SSC1 C +MODE:OK - - - SSC SSC1 dhcp -S -o 1 - - - R SSC1 C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC1 sta -C -s -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC1 op -S -o 1 - - - R SSC1 C +MODE:OK - - - SSC SSC1 dhcp -S -o 1 - - - R SSC1 C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC1 sta -C -s -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() -- tag: STAM2_MDNS - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT set to STA mode, connected with AP, restart MDNS - check cmd set: - - '' - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:1 - - - SSC SSC1 sta -Q - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC1 dhcp -Q -o 1 - - - R SSC1 C +DHCP:STA,STARTED - - - SSC SSC1 mac -Q -o 1 - - - R SSC1 P - - - SSC SSC1 mdns -T - - - R SSC1 C +MDNS:OK - - - SSC SSC1 mdns -I - - - R SSC1 C +MDNS:OK - restore cmd set: - - '' - - - SSC SSC1 op -S -o 1 - - - R SSC1 C +MODE:OK - - - SSC SSC1 dhcp -S -o 1 - - - R SSC1 C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC1 sta -C -s -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC1 mdns -T - - - R SSC1 C +MDNS:OK - - - SSC SSC1 mdns -I - - - R SSC1 C +MDNS:OK - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC1 op -S -o 1 - - - R SSC1 C +MODE:OK - - - SSC SSC1 dhcp -S -o 1 - - - R SSC1 C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC1 sta -C -s -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC1 mdns -T - - - R SSC1 C +MDNS:OK - - - SSC SSC1 mdns -I - - - R SSC1 C +MDNS:OK -- tag: STAO1 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT set to STA mode, disconnected from AP, enable DHCP client - check cmd set: - - '' - - *dut1_start_wifi - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:1 - - - SSC SSC1 sta -D - - - 'R SSC1 C +QAP:' - - - SSC SSC1 dhcp -Q -o 1 - - - R SSC1 C +DHCP:STA,STARTED - - - SSC SSC1 mac -Q -o 1 - - - R SSC1 P - restore cmd set: - - '' - - - SSC SSC1 op -S -o 1 - - - R SSC1 C +MODE:OK - - - SSC SSC1 sta -D - - - 'R SSC1 C +QAP:' - - - SSC SSC1 dhcp -S -o 1 - - - R SSC1 C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC1 op -S -o 1 - - - R SSC1 C +MODE:OK - - - SSC SSC1 sta -D - - - 'R SSC1 C +QAP:' - - - SSC SSC1 dhcp -S -o 1 - - - R SSC1 C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK -- tag: STAO2 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT set to STA mode, connected with AP - check cmd set: - - '' - - *dut1_start_wifi - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:1 - - - SSC SSC1 sta -Q - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC1 dhcp -Q -o 1 - - - R SSC1 C +DHCP:STA,STARTED - - - SSC SSC1 mac -Q -o 1 - - - R SSC1 P - restore cmd set: - - '' - - - SSC SSC1 op -S -o 1 - - - R SSC1 C +MODE:OK - - - SSC SSC1 dhcp -S -o 1 - - - R SSC1 C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC1 sta -C -s -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC1 op -S -o 1 - - - R SSC1 C +MODE:OK - - - SSC SSC1 dhcp -S -o 1 - - - R SSC1 C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC1 sta -C -s -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() -- tag: T1_ETH - <<: *SSC_INIT_COND - initial condition detail: (SSC) ethernet is enabled and got IP from AP - check cmd set: - - '' - - - SSC SSC1 eth -N - - - R SSC1 C +ETHNET:OK - - - SSC SSC1 eth -E - - - R SSC1 C +ETHNET:IP - - - SSC SSC1 ip -I - - - R SSC1 C +ETHIP:192.168 - restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC1 eth -N - - - R SSC1 C +ETHNET:OK - - - SSC SSC1 eth -E - - - R SSC1 C +ETHNET:IP - - - SSC SSC1 ip -I - - - R SSC1 C +ETHIP:192.168 - force restore cmd set: - - '' - - - SSC SSC1 restore - - - R SSC1 C !!!ready!!! - - - SSC SSC1 eth -N - - - R SSC1 C +ETHNET:OK - - - SSC SSC1 eth -E - - - R SSC1 C +ETHNET:IP - - - SSC SSC1 ip -I - - - R SSC1 C +ETHIP:192.168 -- tag: T2O_1 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT1 set to SoftAP mode, DUT2 set to STA mode, enable DHCP - check cmd set: - - '' - - *dut1_start_wifi - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:2 - - - SSC SSC2 op -Q - - - R SSC2 C +CURMODE:1 - - - SSC SSC2 sta -D - - - 'R SSC2 C +QAP:' - - - SSC SSC2 soc -T - - - '' - - - SSC SSC1 dhcp -Q -o 2 - - - R SSC1 C +DHCP:AP,STARTED - - - SSC SSC2 dhcp -Q -o 1 - - - R SSC2 C +DHCP:STA,STARTED - - - SSC SSC1 mac -Q -o 2 - - - R SSC1 P - - - SSC SSC2 mac -Q -o 1 - - - R SSC2 P - restore cmd set: - - '' - - - SSC SSC1 op -S -o 2 - - - R SSC1 C +MODE:OK - - - SSC SSC2 op -S -o 1 - - - R SSC2 C +MODE:OK - - - SSC SSC2 sta -D - - - 'R SSC2 C +QAP:' - - - SSC SSC2 soc -T - - - '' - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP - - - SSC SSC2 dhcp -S -o 1 - - - R SSC2 C +DHCP - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC2 mac -S -o 1 -m - - - R SSC2 C +MAC:STA,OK - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC2 reboot - - - R SSC2 C !!!ready!!! - - - SSC SSC1 op -S -o 2 - - - R SSC1 C +MODE:OK - - - SSC SSC2 op -S -o 1 - - - R SSC2 C +MODE:OK - - - SSC SSC2 sta -D - - - 'R SSC2 C +QAP:' - - - SSC SSC2 soc -T - - - '' - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP - - - SSC SSC2 dhcp -S -o 1 - - - R SSC2 C +DHCP - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC2 mac -S -o 1 -m - - - R SSC2 C +MAC:STA,OK -- tag: T2_1 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT1 set to SoftAP mode, DUT2 set to STA mode, enable DHCP - check cmd set: - - '' - - *dut1_start_wifi - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:2 - - - SSC SSC2 op -Q - - - R SSC2 C +CURMODE:1 - - - SSC SSC2 sta -D - - - 'R SSC2 C +QAP:' - - - SSC SSC2 soc -T - - - '' - - - SSC SSC1 dhcp -Q -o 2 - - - R SSC1 C +DHCP:AP,STARTED - - - SSC SSC2 dhcp -Q -o 1 - - - R SSC2 C +DHCP:STA,STARTED - - - SSC SSC1 mac -Q -o 2 - - - R SSC1 P - - - SSC SSC2 mac -Q -o 1 - - - R SSC2 P - restore cmd set: - - '' - - - SSC SSC1 op -S -o 2 - - - R SSC1 C +MODE:OK - - - SSC SSC2 op -S -o 1 - - - R SSC2 C +MODE:OK - - - SSC SSC2 sta -D - - - 'R SSC2 C +QAP:' - - - SSC SSC2 soc -T - - - '' - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP - - - SSC SSC2 dhcp -S -o 1 - - - R SSC2 C +DHCP - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC2 mac -S -o 1 -m - - - R SSC2 C +MAC:STA,OK - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC2 reboot - - - R SSC2 C !!!ready!!! - - - SSC SSC1 op -S -o 2 - - - R SSC1 C +MODE:OK - - - SSC SSC2 op -S -o 1 - - - R SSC2 C +MODE:OK - - - SSC SSC2 sta -D - - - 'R SSC2 C +QAP:' - - - SSC SSC2 soc -T - - - '' - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP - - - SSC SSC2 dhcp -S -o 1 - - - R SSC2 C +DHCP - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC2 mac -S -o 1 -m - - - R SSC2 C +MAC:STA,OK -- tag: T2_2 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT1 and DUT2 set to STA+SoftAP mode, enable DHCP - check cmd set: - - '' - - *dut1_start_wifi - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:3 - - - SSC SSC2 op -Q - - - R SSC2 C +CURMODE:3 - - - SSC SSC2 sta -D - - - 'R SSC2 C +QAP:' - - - SSC SSC2 soc -T - - - R SSC2 C +CLOSEALL - - - SSC SSC1 dhcp -Q -o 2 - - - R SSC1 C +DHCP:AP,STARTED - - - SSC SSC2 dhcp -Q -o 1 - - - R SSC2 C +DHCP:STA,STARTED - - - SSC SSC1 mac -Q -o 2 - - - R SSC1 P - - - SSC SSC2 mac -Q -o 1 - - - R SSC2 P - restore cmd set: - - '' - - - SSC SSC1 op -S -o 3 - - - R SSC1 C +MODE:OK - - - SSC SSC2 op -S -o 3 - - - R SSC2 C +MODE:OK - - - SSC SSC2 sta -D - - - 'R SSC2 C +QAP:' - - - SSC SSC2 soc -T - - - R SSC2 C +CLOSEALL - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP - - - SSC SSC2 dhcp -S -o 1 - - - R SSC2 C +DHCP - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC2 mac -S -o 1 -m - - - R SSC2 C +MAC:STA,OK - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC2 reboot - - - R SSC2 C !!!ready!!! - - - SSC SSC1 op -S -o 3 - - - R SSC1 C +MODE:OK - - - SSC SSC2 op -S -o 3 - - - R SSC2 C +MODE:OK - - - SSC SSC2 sta -D - - - 'R SSC2 C +QAP:' - - - SSC SSC2 soc -T - - - R SSC2 C +CLOSEALL - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP - - - SSC SSC2 dhcp -S -o 1 - - - R SSC2 C +DHCP - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC2 mac -S -o 1 -m - - - R SSC2 C +MAC:STA,OK -- tag: T2_3 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT1 set to STA+SoftAP mode, DUT2 set to STA+SoftAP mode - check cmd set: - - '' - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:2 - - - SSC SSC2 op -Q - - - R SSC2 C +CURMODE:3 - - - SSC SSC2 sta -D - - - 'R SSC2 C +QAP:' - - - SSC SSC2 soc -T - - - R SSC2 C +CLOSEALL - - - SSC SSC1 dhcp -Q -o 2 - - - R SSC1 C +DHCP:AP,STARTED - - - SSC SSC2 dhcp -Q -o 1 - - - R SSC2 C +DHCP:STA,STARTED - - - SSC SSC1 mac -Q -o 2 - - - R SSC1 P - - - SSC SSC2 mac -Q -o 1 - - - R SSC2 P - restore cmd set: - - '' - - - SSC SSC1 op -S -o 2 - - - R SSC1 C +MODE:OK - - - SSC SSC2 op -S -o 3 - - - R SSC2 C +MODE:OK - - - SSC SSC2 sta -D - - - 'R SSC2 C +QAP:' - - - SSC SSC2 soc -T - - - R SSC2 C +CLOSEALL - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP - - - SSC SSC2 dhcp -S -o 1 - - - R SSC2 C +DHCP - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC2 mac -S -o 1 -m - - - R SSC2 C +MAC:STA,OK - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC2 reboot - - - R SSC2 C !!!ready!!! - - - SSC SSC1 op -S -o 2 - - - R SSC1 C +MODE:OK - - - SSC SSC2 op -S -o 3 - - - R SSC2 C +MODE:OK - - - SSC SSC2 sta -D - - - 'R SSC2 C +QAP:' - - - SSC SSC2 soc -T - - - R SSC2 C +CLOSEALL - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP - - - SSC SSC2 dhcp -S -o 1 - - - R SSC2 C +DHCP - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC2 mac -S -o 1 -m - - - R SSC2 C +MAC:STA,OK -- tag: T2_MDNS - <<: *SSC_INIT_COND - initial condition detail: (SSC) Both DUT set to STA mode, connected with AP, restart MDNS - check cmd set: - - '' - - - SSC SSC[1-2] op -Q - - - R SSC[1-2] C+CURMODE:1 - - - SSC SSC[1-2] sta -Q - - - R SSC[1-2] RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC[1-2] dhcp -Q -o 1 - - - R SSC[1-2] C +DHCP:STA,STARTED - - - SSC SSC1 mac -Q -o 1 - - - R SSC1 P - - - SSC SSC2 mac -Q -o 1 - - - R SSC2 P - - - SSC SSC[1-2] mdns -T - - - R SSC[1-2] C +MDNS:OK - - - SSC SSC[1-2] mdns -I - - - R SSC[1-2] C +MDNS:OK - restore cmd set: - - '' - - - SSC SSC[1-2] op -S -o [1,1] - - - R SSC[1-2] C +MODE:OK - - - SSC SSC[1-2] dhcp -S -o 1 - - - R SSC[1-2] C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC2 mac -S -o 1 -m - - - R SSC2 C +MAC:STA,OK - - - SSC SSC[1-2] sta -C -s -p - - - R SSC[1-2] RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC[1-2] mdns -T - - - R SSC[1-2] C +MDNS:OK - - - SSC SSC[1-2] mdns -I - - - R SSC[1-2] C +MDNS:OK - force restore cmd set: - - '' - - - SSC SSC[1-2] reboot - - - R SSC[1-2] C !!!ready!!! - - - SSC SSC[1-2] op -S -o 1 - - - R SSC[1-2] C +MODE:OK - - - SSC SSC[1-2] dhcp -S -o 1 - - - R SSC[1-2] C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC2 mac -S -o 1 -m - - - R SSC2 C +MAC:STA,OK - - - SSC SSC[1-2] sta -C -s -p - - - R SSC[1-2] RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC[1-2] mdns -T - - - R SSC[1-2] C +MDNS:OK - - - SSC SSC[1-2] mdns -I - - - R SSC[1-2] C +MDNS:OK -- tag: T2_MDNS_MODE1 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT1 set to STA mode, DUT2 set to SoftAP mode, DUT1 connected with DUT2, restart MDNS - check cmd set: - - '' - - - SSC SSC1 op -Q - - - R SSC1 C+CURMODE:1 - - - SSC SSC2 op -Q - - - R SSC2 C+CURMODE:2 - - - SSC SSC1 sta -Q - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC2 ap -Q - - - R SSC2 RE "\+APCONFIG:%%s,%%s,7,\d+,\d+,4,"%%(,) - - - SSC SSC1 dhcp -Q -o 1 - - - R SSC1 C +DHCP:STA,STARTED - - - SSC SSC2 dhcp -Q -o 2 - - - R SSC2 C +DHCP:AP,STARTED - - - SSC SSC1 mac -Q -o 1 - - - R SSC1 P - - - SSC SSC2 mac -Q -o 2 - - - R SSC2 P - - - SSC SSC[1-2] mdns -T - - - R SSC[1-2] C +MDNS:OK - - - SSC SSC[1-2] mdns -I - - - R SSC[1-2] C +MDNS:OK - restore cmd set: - - '' - - - SSC SSC[1-2] op -S -o [1,2] - - - R SSC[1-2] C +MODE:OK - - - SSC SSC[1-2] dhcp -S -o [1,2] - - - R SSC[1-2] C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC2 mac -S -o 2 -m - - - R SSC2 C +MAC:AP,OK - - - SSC SSC2 ap -S -s -p -t -n 7 - - - R SSC2 C +SAP:OK - - - SSC SSC1 sta -C -s -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC[1-2] mdns -T - - - R SSC[1-2] C +MDNS:OK - - - SSC SSC[1-2] mdns -I - - - R SSC[1-2] C +MDNS:OK - force restore cmd set: - - '' - - - SSC SSC[1-2] reboot - - - R SSC[1-2] C !!!ready!!! - - - SSC SSC[1-2] op -S -o [1,2] - - - R SSC[1-2] C +MODE:OK - - - SSC SSC[1-2] dhcp -S -o [1,2] - - - R SSC[1-2] C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC2 mac -S -o 2 -m - - - R SSC2 C +MAC:AP,OK - - - SSC SSC2 ap -S -s -p -t -n 7 - - - R SSC2 C +SAP:OK - - - SSC SSC1 sta -C -s -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC[1-2] mdns -T - - - R SSC[1-2] C +MDNS:OK - - - SSC SSC[1-2] mdns -I - - - R SSC[1-2] C +MDNS:OK -- tag: T2_MDNS_MODE2 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT1 set to SoftAP mode, DUT2 set to STA mode, DUT1 connected with DUT2, restart MDNS - check cmd set: - - '' - - - SSC SSC1 op -Q - - - R SSC1 C+CURMODE:2 - - - SSC SSC2 op -Q - - - R SSC2 C+CURMODE:1 - - - SSC SSC1 ap -Q - - - R SSC1 RE "\+APCONFIG:%%s,%%s,7,\d+,\d+,4,"%%(,) - - - SSC SSC2 sta -Q - - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC1 dhcp -Q -o 2 - - - R SSC1 C +DHCP:AP,STARTED - - - SSC SSC2 dhcp -Q -o 1 - - - R SSC2 C +DHCP:STA,STARTED - - - SSC SSC1 mac -Q -o 2 - - - R SSC1 P - - - SSC SSC2 mac -Q -o 1 - - - R SSC2 P - - - SSC SSC[1-2] mdns -T - - - R SSC[1-2] C +MDNS:OK - - - SSC SSC[1-2] mdns -I - - - R SSC[1-2] C +MDNS:OK - restore cmd set: - - '' - - - SSC SSC[1-2] op -S -o [2,1] - - - R SSC[1-2] C +MODE:OK - - - SSC SSC[1-2] dhcp -S -o [2,1] - - - R SSC[1-2] C +DHCP - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC2 mac -S -o 1 -m - - - R SSC2 C +MAC:STA,OK - - - SSC SSC1 ap -S -s -p -t -n 7 - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC[1-2] mdns -T - - - R SSC[1-2] C +MDNS:OK - - - SSC SSC[1-2] mdns -I - - - R SSC[1-2] C +MDNS:OK - force restore cmd set: - - '' - - - SSC SSC[1-2] reboot - - - R SSC[1-2] C !!!ready!!! - - - SSC SSC[1-2] op -S -o [2,1] - - - R SSC[1-2] C +MODE:OK - - - SSC SSC[1-2] dhcp -S -o [2,1] - - - R SSC[1-2] C +DHCP - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC2 mac -S -o 1 -m - - - R SSC2 C +MAC:STA,OK - - - SSC SSC1 ap -S -s -p -t -n 7 - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC[1-2] mdns -T - - - R SSC[1-2] C +MDNS:OK - - - SSC SSC[1-2] mdns -I - - - R SSC[1-2] C +MDNS:OK -- tag: T3_1 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT1 set to STA+SoftAP mode, DUT2 and DUT3 set to STA mode - check cmd set: - - '' - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:3 - - - SSC SSC[2-3] op -Q - - - R SSC[2-3] C +CURMODE:1 - - - SSC SSC[1-3] sta -D - - - 'R SSC[1-3] C +QAP:' - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP - - - SSC SSC[2-3] dhcp -Q -o 1 - - - R SSC[2-3] C +DHCP:STA,STARTED - - - SSC SSC1 mac -Q -o 2 - - - R SSC1 P - - - SSC SSC2 mac -Q -o 1 - - - R SSC2 P - - - SSC SSC3 mac -Q -o 1 - - - R SSC3 P - restore cmd set: - - '' - - - SSC SSC[1-3] op -S -o [3,1,1] - - - R SSC[1-3] C +MODE:OK - - - SSC SSC[1-3] sta -D - - - 'R SSC[1-3] C +QAP:' - - - SSC SSC[1-3] dhcp -S -o [2,1,1] - - - R SSC[1-3] C +DHCP - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC2 mac -S -o 1 -m - - - R SSC2 C +MAC:STA,OK - - - SSC SSC3 mac -S -o 1 -m - - - R SSC3 C +MAC:STA,OK - force restore cmd set: - - '' - - - SSC SSC[1-3] reboot - - - R SSC[1-3] C !!!ready!!! - - - SSC SSC[1-3] op -S -o [3,1,1] - - - R SSC[1-3] C +MODE:OK - - - SSC SSC[1-3] sta -D - - - 'R SSC[1-3] C +QAP:' - - - SSC SSC[1-3] dhcp -S -o [2,1,1] - - - R SSC[1-3] C +DHCP - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC2 mac -S -o 1 -m - - - R SSC2 C +MAC:STA,OK - - - SSC SSC3 mac -S -o 1 -m - - - R SSC3 C +MAC:STA,OK -- tag: T3_2 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT1 set to SoftAP mode, DUT2 as STA mode - check cmd set: - - '' - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:2 - - - SSC SSC2 op -Q - - - R SSC2 C +CURMODE:1 - - - SSC SSC3 op -Q - - - R SSC3 C +CURMODE:2 - - - SSC SSC2 sta -D - - - 'R SSC2 C +QAP:' - - - SSC SSC2 soc -T - - - '' - - - SSC SSC1 dhcp -Q -o 2 - - - R SSC1 C +DHCP:AP,STARTED - - - SSC SSC2 dhcp -Q -o 1 - - - R SSC2 C +DHCP:STA,STARTED - - - SSC SSC3 dhcp -Q -o 2 - - - R SSC3 C +DHCP:AP,STARTED - - - SSC SSC1 mac -Q -o 2 - - - R SSC1 P - - - SSC SSC2 mac -Q -o 1 - - - R SSC2 P - - - SSC SSC3 mac -Q -o 2 - - - R SSC3 P - restore cmd set: - - '' - - - SSC SSC[1-3] op -S -o [2,1,2] - - - R SSC[1-3] C +MODE:OK - - - SSC SSC2 sta -D - - - 'R SSC2 C +QAP:' - - - SSC SSC2 soc -T - - - '' - - - SSC SSC[1-3] dhcp -S -o [2,1,2] - - - R SSC[1-3] C +DHCP - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC2 mac -S -o 1 -m - - - R SSC2 C +MAC:STA,OK - - - SSC SSC3 mac -S -o 2 -m - - - R SSC3 C +MAC:AP,OK - force restore cmd set: - - '' - - - SSC SSC[1-3] reboot - - - R SSC[1-3] C !!!ready!!! - - - SSC SSC[1-3] op -S -o [2,1,2] - - - R SSC[1-3] C +MODE:OK - - - SSC SSC2 sta -D - - - 'R SSC2 C +QAP:' - - - SSC SSC2 soc -T - - - '' - - - SSC SSC[1-3] dhcp -S -o [2,1,2] - - - R SSC[1-3] C +DHCP - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC2 mac -S -o 1 -m - - - R SSC2 C +MAC:STA,OK - - - SSC SSC3 mac -S -o 2 -m - - - R SSC3 C +MAC:AP,OK -- tag: T3_3 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT1 set to SoftAp mode, DUT2-3 set to STA mode - check cmd set: - - '' - - - SSC SSC[1,2,3] op -Q - - - R SSC[1,2,3] C +CURMODE:[2,1,1] - - - SSC SSC[2,3] sta -D - - - 'R SSC[2,3] C +QAP:' - restore cmd set: - - '' - - - SSC SSC[1,2,3] op -S -o [2,1,1] - - - R SSC[1,2,3] C +MODE:OK - - - SSC SSC[2,3] sta -D - - - 'R SSC[2,3] C +QAP:' - force restore cmd set: - - '' - - - SSC SSC[1,2,3] reboot - - - R SSC[1,2,3] C !!!ready!!! - - - SSC SSC[1,2,3] op -S -o [2,1,1] - - - R SSC[1,2,3] C +MODE:OK - - - SSC SSC[2,3] sta -D - - - 'R SSC[2,3] C +QAP:' -- tag: T3_MDNS - <<: *SSC_INIT_COND - initial condition detail: (SSC) All 3 DUTs set to STA mode, connected with AP, restart MDNS - check cmd set: - - '' - - - SSC SSC[1-3] op -Q - - - R SSC[1-3] C +CURMODE:1 - - - SSC SSC[1-3] sta -Q - - - R SSC[1-3] RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC[1-3] dhcp -Q -o 1 - - - R SSC[1-3] C +DHCP:STA,STARTED - - - SSC SSC1 mac -Q -o 1 - - - R SSC1 P - - - SSC SSC2 mac -Q -o 1 - - - R SSC2 P - - - SSC SSC3 mac -Q -o 1 - - - R SSC3 P - - - SSC SSC[1-3] mdns -T - - - R SSC[1-3] C +MDNS:OK - - - SSC SSC[1-3] mdns -I - - - R SSC[1-3] C +MDNS:OK - restore cmd set: - - '' - - - SSC SSC[1-3] op -S -o 1 - - - R SSC[1-3] C +MODE:OK - - - SSC SSC[1-3] dhcp -S -o 1 - - - R SSC[1-3] C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC2 mac -S -o 1 -m - - - R SSC2 C +MAC:STA,OK - - - SSC SSC3 mac -S -o 1 -m - - - R SSC3 C +MAC:STA,OK - - - SSC SSC[1-3] sta -C -s -p - - - R SSC[1-3] RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC[1-3] mdns -T - - - R SSC[1-3] C +MDNS:OK - - - SSC SSC[1-3] mdns -I - - - R SSC[1-3] C +MDNS:OK - force restore cmd set: - - '' - - - SSC SSC[1-3] reboot - - - R SSC[1-3] C !!!ready!!! - - - SSC SSC[1-3] op -S -o 1 - - - R SSC[1-3] C +MODE:OK - - - SSC SSC[1-3] dhcp -S -o 1 - - - R SSC[1-3] C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC2 mac -S -o 1 -m - - - R SSC2 C +MAC:STA,OK - - - SSC SSC3 mac -S -o 1 -m - - - R SSC3 C +MAC:STA,OK - - - SSC SSC[1-3] sta -C -s -p - - - R SSC[1-3] RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC[1-3] mdns -T - - - R SSC[1-3] C +MDNS:OK - - - SSC SSC[1-3] mdns -I - - - R SSC[1-3] C +MDNS:OK -- tag: T3_MDNS_MODE1 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT1 and DUT2 set to STA mode, DUT3 set to SoftAP mode, DUT1 and DUT2 connected with DUT3, restart MDNS on all DUTs - check cmd set: - - '' - - - SSC SSC[1-2] op -Q - - - R SSC[1-2] C +CURMODE:1 - - - SSC SSC3 op -Q - - - R SSC3 C +CURMODE:2 - - - SSC SSC[1-2] sta -Q - - - R SSC[1-2] RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC3 ap -Q - - - R SSC3 RE "\+APCONFIG:%%s,%%s,7,\d+,\d+,4,"%%(,) - - - SSC SSC[1-2] dhcp -Q -o 1 - - - R SSC[1-2] C +DHCP:STA,STARTED - - - SSC SSC3 dhcp -Q -o 2 - - - R SSC3 C +DHCP:AP,STARTED - - - SSC SSC1 mac -Q -o 1 - - - R SSC1 P - - - SSC SSC2 mac -Q -o 1 - - - R SSC2 P - - - SSC SSC3 mac -Q -o 2 - - - R SSC3 P - - - SSC SSC[1-3] mdns -T - - - R SSC[1-3] C +MDNS:OK - - - SSC SSC[1-3] mdns -I - - - R SSC[1-3] C +MDNS:OK - restore cmd set: - - '' - - - SSC SSC[1-3] op -S -o [1,1,2] - - - R SSC[1-3] C +MODE:OK - - - SSC SSC[1-3] dhcp -S -o [1,1,2] - - - R SSC[1-3] C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC2 mac -S -o 1 -m - - - R SSC2 C +MAC:STA,OK - - - SSC SSC3 mac -S -o 2 -m - - - R SSC3 C +MAC:AP,OK - - - SSC SSC3 ap -S -s -p -t -n 7 - - - R SSC3 C +SAP:OK - - - SSC SSC[1-2] sta -C -s -p - - - R SSC[1-2] RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC[1-3] mdns -T - - - R SSC[1-3] C +MDNS:OK - - - SSC SSC[1-3] mdns -I - - - R SSC[1-3] C +MDNS:OK - force restore cmd set: - - '' - - - SSC SSC[1-3] reboot - - - R SSC[1-3] C !!!ready!!! - - - SSC SSC[1-3] op -S -o [1,1,2] - - - R SSC[1-3] C +MODE:OK - - - SSC SSC[1-3] dhcp -S -o [1,1,2] - - - R SSC[1-3] C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC2 mac -S -o 1 -m - - - R SSC2 C +MAC:STA,OK - - - SSC SSC3 mac -S -o 2 -m - - - R SSC3 C +MAC:AP,OK - - - SSC SSC3 ap -S -s -p -t -n 7 - - - R SSC3 C +SAP:OK - - - SSC SSC[1-2] sta -C -s -p - - - R SSC[1-2] RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC[1-3] mdns -T - - - R SSC[1-3] C +MDNS:OK - - - SSC SSC[1-3] mdns -I - - - R SSC[1-3] C +MDNS:OK -- tag: T3_MDNS_MODE2 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT1 and DUT3 set to STA mode, DUT2 set to SoftAP mode, DUT1 and DUT3 connected with DUT2, restart MDNS on all DUTs - check cmd set: - - '' - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:1 - - - SSC SSC2 op -Q - - - R SSC2 C +CURMODE:2 - - - SSC SSC3 op -Q - - - R SSC3 C +CURMODE:1 - - - SSC SSC1 sta -Q - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC2 ap -Q - - - R SSC2 RE "\+APCONFIG:%%s,%%s,7,\d+,\d+,4,"%%(,) - - - SSC SSC3 sta -Q - - - R SSC3 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC1 dhcp -Q -o 1 - - - R SSC1 C +DHCP:STA,STARTED - - - SSC SSC2 dhcp -Q -o 2 - - - R SSC2 C +DHCP:AP,STARTED - - - SSC SSC3 dhcp -Q -o 1 - - - R SSC3 C +DHCP:STA,STARTED - - - SSC SSC1 mac -Q -o 1 - - - R SSC1 P - - - SSC SSC2 mac -Q -o 2 - - - R SSC2 P - - - SSC SSC3 mac -Q -o 1 - - - R SSC3 P - - - SSC SSC[1-3] mdns -T - - - R SSC[1-3] C +MDNS:OK - - - SSC SSC[1-3] mdns -I - - - R SSC[1-3] C +MDNS:OK - restore cmd set: - - '' - - - SSC SSC[1-3] op -S -o [1,2,1] - - - R SSC[1-3] C +MODE:OK - - - SSC SSC[1-3] dhcp -S -o [1,2,1] - - - R SSC[1-3] C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC2 mac -S -o 2 -m - - - R SSC2 C +MAC:AP,OK - - - SSC SSC3 mac -S -o 1 -m - - - R SSC3 C +MAC:STA,OK - - - SSC SSC2 ap -S -s -p -t -n 7 - - - R SSC2 C +SAP:OK - - - SSC SSC1 sta -C -s -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC3 sta -C -s -p - - - R SSC3 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC[1-3] mdns -T - - - R SSC[1-3] C +MDNS:OK - - - SSC SSC[1-3] mdns -I - - - R SSC[1-3] C +MDNS:OK - force restore cmd set: - - '' - - - SSC SSC[1-3] reboot - - - R SSC[1-3] C !!!ready!!! - - - SSC SSC[1-3] op -S -o [1,2,1] - - - R SSC[1-3] C +MODE:OK - - - SSC SSC[1-3] dhcp -S -o [1,2,1] - - - R SSC[1-3] C +DHCP - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC2 mac -S -o 2 -m - - - R SSC2 C +MAC:AP,OK - - - SSC SSC3 mac -S -o 1 -m - - - R SSC3 C +MAC:STA,OK - - - SSC SSC2 ap -S -s -p -t -n 7 - - - R SSC2 C +SAP:OK - - - SSC SSC1 sta -C -s -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC3 sta -C -s -p - - - R SSC3 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC[1-3] mdns -T - - - R SSC[1-3] C +MDNS:OK - - - SSC SSC[1-3] mdns -I - - - R SSC[1-3] C +MDNS:OK -- tag: T3_MDNS_MODE3 - <<: *SSC_INIT_COND - initial condition detail: softap + sta + sta mode, sta join softap, DHCP on, mdns stop - check cmd set: - - '' - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:2 - - - SSC SSC2 op -Q - - - R SSC2 C +CURMODE:1 - - - SSC SSC3 op -Q - - - R SSC3 C +CURMODE:1 - - - SSC SSC1 ap -Q - - - R SSC1 RE "\+APCONFIG:%%s,%%s,7,\d+,\d+,4,"%%(,) - - - SSC SSC2 sta -Q - - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC3 sta -Q - - - R SSC3 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC1 dhcp -Q -o 2 - - - R SSC1 C +DHCP:AP,STARTED - - - SSC SSC2 dhcp -Q -o 1 - - - R SSC2 C +DHCP:STA,STARTED - - - SSC SSC3 dhcp -Q -o 1 - - - R SSC3 C +DHCP:STA,STARTED - - - SSC SSC1 mac -Q -o 2 - - - R SSC1 P - - - SSC SSC2 mac -Q -o 1 - - - R SSC2 P - - - SSC SSC3 mac -Q -o 1 - - - R SSC3 P - - - SSC SSC[1-3] mdns -T - - - R SSC[1-3] C +MDNS:OK - - - SSC SSC[1-3] mdns -I - - - R SSC[1-3] C +MDNS:OK - restore cmd set: - - '' - - - SSC SSC[1-3] op -S -o [2,1,1] - - - R SSC[1-3] C +MODE:OK - - - SSC SSC[1-3] dhcp -S -o [2,1,1] - - - R SSC[1-3] C +DHCP - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC2 mac -S -o 1 -m - - - R SSC2 C +MAC:STA,OK - - - SSC SSC3 mac -S -o 1 -m - - - R SSC3 C +MAC:STA,OK - - - SSC SSC1 ap -S -s -p -t -n 7 - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC3 sta -C -s -p - - - R SSC3 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC[1-3] mdns -T - - - R SSC[1-3] C +MDNS:OK - - - SSC SSC[1-3] mdns -I - - - R SSC[1-3] C +MDNS:OK - force restore cmd set: - - '' - - - SSC SSC[1-3] reboot - - - R SSC[1-3] C !!!ready!!! - - - SSC SSC[1-3] op -S -o [2,1,1] - - - R SSC[1-3] C +MODE:OK - - - SSC SSC[1-3] dhcp -S -o [2,1,1] - - - R SSC[1-3] C +DHCP - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC2 mac -S -o 1 -m - - - R SSC2 C +MAC:STA,OK - - - SSC SSC3 mac -S -o 1 -m - - - R SSC3 C +MAC:STA,OK - - - SSC SSC1 ap -S -s -p -t -n 7 - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC3 sta -C -s -p - - - R SSC3 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC[1-3] mdns -T - - - R SSC[1-3] C +MDNS:OK - - - SSC SSC[1-3] mdns -I - - - R SSC[1-3] C +MDNS:OK -- tag: T3_PHY1 - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT1-2 set to STA+SoftAP mode, DUT3 set to STA mode. All interface of DUT2-3 set to 11n ht40. Set DUT1-2 SoftAP config. - check cmd set: - - '' - - - SSC SSC[1-3] op -Q - - - R SSC[1-3] C +CURMODE:3 - - - SSC SSC[1-3] phy -Q -o 3 - - - R SSC[1-3] C STA,n,40 C AP,n,40 - restore cmd set: - - '' - - - SSC SSC[1-3] op -S -o 3 - - - R SSC[1-3] C +MODE:OK - - - SSC SSC[1-3] phy -S -o 3 -m n -b 40 - - - R SSC[1-3] C +PHY:OK - force restore cmd set: - - '' - - - SSC SSC[1-3] reboot - - - R SSC[1-3] C !!!ready!!! - - - SSC SSC[1-3] op -S -o 3 - - - R SSC[1-3] C +MODE:OK - - - SSC SSC[1-3] phy -S -o 3 -m n -b 40 - - - R SSC[1-3] C +PHY:OK - restore post cmd set: - - '' - - - SSC SSC1 soc -T - - - R SSC1 C +CLOSEALL - - - SSC SSC1 sta -R -r 1 - - - R SSC1 C OK - - - SSC SSC1 ram - - - R SSC1 A :(\d+) -- tag: WIFIBTSTOP - <<: *SSC_INIT_COND - initial condition detail: (SSC) deinit Wi-Fi and BT host/controller - check cmd set: - - '' - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:3 - - - SSC SSC1 op -W -a init - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a start - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a stop - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a deinit - - - R SSC1 C +MODE:OK - - - SSC SSC1 btc -D -z stop - - - 'R SSC1 C +BTC:' - - - SSC SSC1 bt -D -z stop - - - 'R SSC1 C +BT:' - - - SSC SSC1 bt -D -z disable - - - 'R SSC1 C +BT:' - - - SSC SSC1 bt -D -z deinit - - - 'R SSC1 C +BT:' - restore cmd set: - - '' - - - SSC SSC1 op -S -o 3 - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a init - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a start - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a stop - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a deinit - - - R SSC1 C +MODE:OK - - - SSC SSC1 btc -D -z stop - - - 'R SSC1 C +BTC:' - - - SSC SSC1 bt -D -z stop - - - 'R SSC1 C +BT:' - - - SSC SSC1 bt -D -z disable - - - 'R SSC1 C +BT:' - - - SSC SSC1 bt -D -z deinit - - - 'R SSC1 C +BT:' - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC1 op -S -o 3 - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a init - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a start - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a stop - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a deinit - - - R SSC1 C +MODE:OK - - - SSC SSC1 btc -D -z stop - - - 'R SSC1 C +BTC:' - - - SSC SSC1 bt -D -z stop - - - 'R SSC1 C +BT:' - - - SSC SSC1 bt -D -z disable - - - 'R SSC1 C +BT:' - - - SSC SSC1 bt -D -z deinit - - - 'R SSC1 C +BT:' -- tag: WIFISTO - <<: *SSC_INIT_COND - initial condition detail: (SSC) DUT in STA mode, stop Wi-Fi - check cmd set: - - '' - - - SSC SSC1 op -W -a init - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a start - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a stop - - - R SSC1 C +MODE:OK - restore cmd set: - - '' - - - SSC SSC1 op -W -a init - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a start - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a stop - - - R SSC1 C +MODE:OK - force restore cmd set: - - '' - - - SSC SSC1 reboot - - - R SSC1 C !!!ready!!! - - - SSC SSC1 op -W -a init - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a start - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a stop - - - R SSC1 C +MODE:OK -- tag: BLE_INIT_REBOOT2 - <<: *SSC_INIT_COND - initial condition detail: (SSC) reboot and enable BLE on DUT1 and DUT2 - check cmd set: - - '' - - - SSC SSC[1-2] reboot - - - R SSC[1-2] C !!!ready!!! - - - SSC SSC[1-2] ble -R - - - 'R SSC[1-2] C +BLE:' - restore cmd set: - - '' - - - SSC SSC[1-2] bt -D -z init - - - 'R SSC[1-2] C +BT:' - - - SSC SSC[1-2] bt -D -z enable - - - 'R SSC[1-2] C +BT:' - force restore cmd set: - - '' - - - SSC SSC[1-2] reboot - - - R SSC[1-2] C !!!ready!!! - - - SSC SSC[1-2] bt -D -z init - - - 'R SSC[1-2] C +BT:' - - - SSC SSC[1-2] bt -D -z enable - - - 'R SSC[1-2] C +BT:' - restore post cmd set: - - '' - - - SSC SSC[1-2] ble -R - - - 'R SSC[1-2] C +BLE:' - - - SSC SSC[1-2] bleconn -D -z all - - - 'R SSC[1-2] C +BLECONN:' - - - SSC SSC[1-2] blesmp -B -z clear - - - R SSC[1-2] C +BLESMP:ClearBond,Success - - - SSC SSC[1-2] gatts -S -z delete - - - 'R SSC[1-2] C +GATTS:' - - - SSC SSC[1-2] gattc -U -z all - - - R SSC[1-2] C +GATTC:OK - - - SSC SSC[1-2] bleadv -D -z stop - - - R SSC[1-2] C +BLEADV:Stop - - - SSC SSC[1-2] ble -S -z public - - - R SSC[1-2] C +BLE:OK - - - SSC SSC1 ram - - - R SSC1 A :(\d+) diff --git a/components/idf_test/integration_test/KnownIssues b/components/idf_test/integration_test/KnownIssues index ddfe1be5a1..99034af9cf 100644 --- a/components/idf_test/integration_test/KnownIssues +++ b/components/idf_test/integration_test/KnownIssues @@ -4,4 +4,7 @@ ESP32.BTSTK_MISC_0301 # GATT read multiple ESP32.BTSTK_GATT_27002 -ESP32.BTSTK_GATT_27003 +ESP32.BTSTK_GATT_27003 + +# CI +ESP32.BLUEDROID_GAP_04005 diff --git a/components/idf_test/integration_test/TC_IT_BLUEDROID_GAP.yml b/components/idf_test/integration_test/TC_IT_BLUEDROID_GAP.yml deleted file mode 100644 index 8a378df626..0000000000 --- a/components/idf_test/integration_test/TC_IT_BLUEDROID_GAP.yml +++ /dev/null @@ -1,1213 +0,0 @@ -.GAP_CASE: &GAP_CASE - SDK: ESP32_IDF - Test App: SSC_BLE - auto test: 'Yes' - category: Function - test point 1: basic function - initial condition: BLE_INIT2 - test environment: SSC_T2_5 - execution time: 0 - module: BLUEDROID - sub module: GAP - version: v1 (2016-12-31) - CI ready: 'Yes' - level: Integration - allow fail: '' - -.set_default_ble_name: &set_default_ble_name - LIST_MERGE: - - - "SSC SSC1 ble -S -z name -n " - - ["R SSC1 C +BLE:OK"] - -.open_capture_nic: &open_capture_nic - LIST_MERGE: - - - "NIC BLENIC START bt+capture" - - ['R PC_COM C +NIC_START:OK'] - -.dut1_stop_adv: &dut1_stop_adv - LIST_MERGE: - - - "SSC SSC1 bleadv -D -z stop" - - ["R SSC1 C +BLEADV:"] - -.dut1_start_adv: &dut1_start_adv - LIST_MERGE: - - - "SSC SSC1 bleadv -D -z start" - - ["R SSC1 C +BLEADV:Start,OK"] - -.dut1_connect_to_dut2: &dut1_connect_to_dut2 - LIST_MERGE: - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - -.set_default_adv_data: &set_default_adv_data - LIST_MERGE: - - - "SSC SSC1 bleadv -D -z stop" - - ["R SSC1 C +BLEADV:"] - - - "SSC SSC1 bleadv -L -c 0 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK C +BLEADV:SetScanRes,OK"] - - - "SSC SSC1 bleadv -D -z start" - - ["R SSC1 C +BLEADV:Start,OK"] - -.dut2_stop_adv: &dut2_stop_adv - LIST_MERGE: - - - "SSC SSC2 bleadv -D -z stop" - - ["R SSC2 C +BLEADV:"] - -test cases: -- ID: BLUEDROID_GAP_01003 - <<: *GAP_CASE - test point 2: BLE GAP param device name test - summary: ble set long device name for BLUEDROID - steps: | - 1. DUT1 set 32 byte device name A - 2. stop advertising - 3. config scan response and start advertising - 4. DUT2 do active scan - 5. DUT1 set 33 bytes device name - 6. stop advertising - 7. config scan response and start advertising - 8. DUT2 do active scan - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. DUT1 mac in scan result (device name is too long) - 5. failed - 6. succeed - 7. succeed - 8. DUT1 mac in scan result (device name is too long) - cmd set: - - "" - - - "SSC SSC1 ble -S -z name -n " - - ["R SSC1 C +BLE:OK"] - - *set_default_adv_data - - *dut2_stop_adv - - - "SSC SSC2 blescan -D -z start -t 3 -c 0 -s 1" - - ["R SSC2 P C Complete"] - - - "SSC SSC1 ble -S -z name -n 123456789012345678901234567890123" - - ["R SSC1 C +BLE:ERROR"] - - *set_default_adv_data - - - "SSC SSC2 blescan -D -z start -t 3 -c 0 -s 1" - - ["R SSC2 P C Complete"] -- ID: BLUEDROID_GAP_03003 - <<: *GAP_CASE - test point 2: BLE GAP set advertise param - summary: ble set adv parameter own address type for BLUEDROID - steps: | - 1. DUT1 stop advertise - 2. DUT1 start adv with own address type public - 3. PC do active scan and capture advertising report - 4. repeat step 1-3 with own address type random, rpa_public, rpa_random - 5. repeat step 1-3 with channel map not valid - expected result: | - 1. succeed - 2. succeed - 3. get ADV_IND with DUT1 BT MAC - 4. get ADV_IND with DUT1 BT MAC - 5. can not get ADV_IND with DUT1 BT MAC - initial condition: BLE_INIT1 - test environment: SSC_T1_3 - cmd set: - - "" - - *set_default_ble_name - - - "SSC SSC1 bleadv -L -c 0 -t 3 -n 1" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *open_capture_nic - - - LOOP 4 3 "[0,2,1,3]" "['PDU','PDU','NPDU','NPDU']" - - *dut1_stop_adv - - - "SSC SSC1 bleadv -D -z start -t 0 -o {%d}" - - ["R SSC1 C +BLEADV:OK"] - - - "HCITOOL 2 -i lescan" - - - 'P PC_COM C +HCITOOL:OK' - - 'P BLENIC {%s} (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="ADV_IND")(HCIEvent.data_0.NameComplete=)(HCIEvent.address_0=)' -- ID: BLUEDROID_GAP_03006 - <<: *GAP_CASE - test point 2: BLE GAP set advertise param - summary: ble set paramters for SCAN_IND for BLUEDROID - steps: | - 1. DUT1 stop advertise - 2. DUT1 set incorrect adv interval for SCAN_IND - 3. PC do active scan and capture advertising report - 4. repeat step 1-3 with correct adv interval - expected result: | - 1. succeed - 2. succeed - 3. can not get SCAN_IND with DUT1 BT MAC - 4. get SCAN_IND with DUT1 BT MAC - initial condition: BLE_INIT1 - test environment: SSC_T1_3 - cmd set: - - "" - - *set_default_ble_name - - - "SSC SSC1 bleadv -L -c 0 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *open_capture_nic - - *dut1_stop_adv - - - LOOP 2 2 "['0x20-0x40','0xA0-0xB0']" "['PDU','PDU']" - - [""] - - - "SSC SSC1 bleadv -D -z start -t 2 -i {%s}" - - ["R SSC1 C +BLEADV:OK"] - - - "HCITOOL 2 -i lescan" - - - 'P PC_COM C +HCITOOL:OK' - - 'P BLENIC {%s} (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="SCAN_IND")(HCIEvent.address_0=)' -- ID: BLUEDROID_GAP_03007 - <<: *GAP_CASE - test point 2: BLE GAP set advertise param - summary: ble set paramters for NONCONN_IND for BLUEDROID - steps: | - 1. DUT1 stop advertise - 2. DUT1 set incorrect adv interval for NONCONN_IND - 3. PC do active scan and capture advertising report - 4. repeat step 1-3 with correct adv interval - expected result: | - 1. succeed - 2. succeed - 3. can not get SCAN_IND with DUT1 BT MAC - 4. get SCAN_IND with DUT1 BT MAC - initial condition: BLE_INIT1 - test environment: SSC_T1_3 - cmd set: - - "" - - *set_default_ble_name - - - "SSC SSC1 bleadv -L -c 0 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *open_capture_nic - - *dut1_stop_adv - - - LOOP 2 2 "['0x20-0x40','0xA0-0xB0']" "['PDU','PDU']" - - [""] - - - "SSC SSC1 bleadv -D -z start -t 3 -i {%s}" - - ["R SSC1 C +BLEADV:OK"] - - - "HCITOOL 2 -i lescan" - - - 'P PC_COM C +HCITOOL:OK' - - 'P BLENIC {%s} (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="NONCONN_IND")(HCIEvent.address_0=)' -- ID: BLUEDROID_GAP_06001 - <<: *GAP_CASE - test point 2: BLE GAP connect / disconnect - summary: ble connect as "client" and "server" for BLUEDROID - allow fail: 1/2 - steps: | - 1. DUT1 connect to DUT2 as "client" - 2. DUT1 disconnected with DUT2 - 3. DUT1 start gatt server app - 4. DUT1 connect to DUT2 as "server" - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - cmd set: - - "" - - *dut1_connect_to_dut2 - - - "SSC SSC1 bleconn -D -p 0x10" - - ['R SSC1 C +BLE:CLOSE,OK'] - - - "SSC SSC1 gatts -S -z load -p 0xA0" - - ['R SSC1 C +GATTS:LoadProfile,OK'] - - - "SSC SSC2 bleadv -D -z start" - - ['R SSC2 C +BLEADV:OK'] - - - "SSC SSC1 bleconn -C -p 0xA0 -a -z server" - - ['R SSC1 C +BLECONN:GapConnect'] -- ID: BLUEDROID_GAP_06002 - <<: *GAP_CASE - test point 2: BLE GAP connect / disconnect - summary: ble disconnect as "client" and "server" for BLUEDROID - steps: | - 1. DUT1 connect to DUT2 as "client" - 2. DUT1 disconnected with DUT2 as "client" - 3. DUT1 start gatt server app - 4. DUT1 connect to DUT2 as client - 5. DUT1 disconnect with DUT2 as "server" - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - cmd set: - - "" - - *dut1_connect_to_dut2 - - - "SSC SSC1 bleconn -D -p 0x10" - - ['R SSC1 C +BLE:CLOSE,OK'] - - - "SSC SSC2 bleadv -D -z start" - - ['R SSC2 C +BLEADV:OK'] - - - "SSC SSC1 gatts -S -z load -p 0xA0" - - ['R SSC1 C +GATTS:LoadProfile,OK'] - - *dut1_connect_to_dut2 - - - "SSC SSC1 bleconn -D -p 0x10" - - ['R SSC1 C +BLE:CLOSE,OK'] -- ID: BLUEDROID_GAP_06003 - <<: *GAP_CASE - allow fail: 1/2 - test point 2: BLE GAP connect / disconnect - summary: ble connect/disconnect to same connection multiple times for BLUEDROID - steps: | - 1. DUT1 connect to DUT2 as "client" - 2. DUT1 start gatt server app - 3. DUT1 connect to DUT2 as "client" again - 4. DUT1 connect to DUT2 as "server" - 5. DUT1 disconnected with DUT2 as "client" - 6. DUT1 disconnected with DUT2 as "server" - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - 6. succeed - cmd set: - - "" - - *dut1_connect_to_dut2 - - - "SSC SSC1 gatts -S -z load -p 0xA0" - - ['R SSC1 C +GATTS:LoadProfile,OK'] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['R SSC1 C +BLE:GattcOpen,OK'] - - - "SSC SSC1 bleconn -C -p 0xA0 -a -z server" - - ['R SSC1 C +BLE:GattsOpen,OK,00A0'] - - - "SSC SSC1 bleconn -D -p 0x10" - - ['R SSC1 C +BLE:CLOSE,OK'] - - - "SSC SSC1 bleconn -D -p 0xA0 -z server" - - ['R SSC1 C +BLE:GattsClose,OK'] -- ID: BLUEDROID_GAP_06004 - <<: *GAP_CASE - test point 2: BLE GAP connect / disconnect - summary: ble connect to invalid address for BLUEDROID - allow fail: 2/3 - steps: | - 1. DUT1 connect to invalid address - 2. DUT1 connect to DUT2 - expected result: | - 1. failed - 2. succeed - cmd set: - - "" - - - "SSC SSC1 bleconn -C -p 0x10 -a 24:0a:c4:04:26:50" - - ['R SSC1 C +BLECONN:OK'] - - - DELAY 30 - - ['R SSC1 C +BLE:GattcOpen,ERROR'] - - *dut1_connect_to_dut2 -- ID: BLUEDROID_GAP_06005 - <<: *GAP_CASE - test point 2: BLE GAP connect / disconnect - summary: ble connect/disconnect event to active app for BLUEDROID - steps: | - 1. DUT1 create gatts app - 2. DUT1 connect to DUT2 as "client" - 3. DUT1 do disconnect as "server" - expected result: | - 1. succeed - 2. succeed, DUT1 and DUT2 gatts get connect event - 3. DUT1 and DUT2 gatts get disconnect event - cmd set: - - "" - - - "SSC SSC1 gatts -S -z load -p 0xA0" - - ['R SSC1 C +GATTS:LoadProfile,OK'] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect', 'P SSC2 C +BLECONN:GapConnect'] - - - "SSC SSC1 bleconn -D -p 0xA0 -z server" - - ['P SSC1 C +BLE:GattsClose'] -- ID: BLUEDROID_GAP_07001 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update connect parameters by master for BLUEDROID - steps: | - 1. update connect parameters by master - expected result: | - 1. succeed - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC1"] - - [''] - - - interval=["32-64"] - - [''] - - - latency=["0"] - - [''] - - - supervision_timeout=["32"] - - [''] - - - expect_result=["OK"] - - [''] -- ID: BLUEDROID_GAP_07002 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update connect parameters by slave for BLUEDROID - steps: | - 1. update connect parameters by slave - expected result: | - 1. succeed - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC2"] - - [''] - - - interval=["32-64"] - - [''] - - - latency=["0"] - - [''] - - - supervision_timeout=["32"] - - [''] - - - expect_result=["OK"] - - [''] -- ID: BLUEDROID_GAP_07003 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update invalid connect parameters(timeout<(1+latency)*2*MAX_interval*1.25) for BLUEDROID - steps: | - 1. update invalid connect parameters(timeout<(1+latency)*2*MAX_interval*1.25) - expected result: | - 1. fail - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC1"] - - [''] - - - interval=["7-90"] - - [''] - - - latency=["1"] - - [''] - - - supervision_timeout=["41"] - - [''] - - - expect_result=["ERROR"] - - [''] -- ID: BLUEDROID_GAP_07004 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update connnect parameters and interval within allowed range for BLUEDROID - steps: | - 1. DUT1 update connection parametres and interval is 6-128 - 2. DUT1 update connection parametres and interval is 33-3200 - expected result: | - 1. succeed - 2. succeed - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC1","SSC1"] - - [''] - - - interval=["6-128","33-3200"] - - [''] - - - latency=["0","0"] - - [''] - - - supervision_timeout=["50","1000"] - - [''] - - - expect_result=["OK","OK"] - - [''] -- ID: BLUEDROID_GAP_07005 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update connect parameters interval and interval out of allowed range for BLUEDROID - steps: | - 1. DUT1 update invalid interval and interval is 16-3201 - 2. DUT1 update invalid interval and interval is 5-64 - expected result: | - 1. fail - 2. fail - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC1","SSC1"] - - [''] - - - interval=["16-3201","5-64"] - - [''] - - - latency=["0","0"] - - [''] - - - supervision_timeout=["32","32"] - - [''] - - - expect_result=["ERROR","ERROR"] - - [''] -- ID: BLUEDROID_GAP_07006 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update connect parameters latency and latency within allowed range and timeout<(1+latency)*2*MAX_interval*1.25 for BLUEDROID - steps: | - 1. DUT1 update connect parameters latency and latency within allowed range and timeout<(1+latency)*2*MAX_interval*1.25 - expected result: | - 1. fail - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC1"] - - [''] - - - interval=["32-64"] - - [''] - - - latency=["8"] - - [''] - - - supervision_timeout=["32"] - - [''] - - - expect_result=["ERROR"] - - [''] -- ID: BLUEDROID_GAP_07007 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update connect parameters latency and latency = 501 - steps: | - 1. DUT1 uupdate connect parameters latency and latency = 501 - expected result: | - 1. fail - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC1"] - - [''] - - - interval=["6-8"] - - [''] - - - latency=["501"] - - [''] - - - supervision_timeout=["1003"] - - [''] - - - expect_result=["ERROR"] - - [''] -- ID: BLUEDROID_GAP_07008 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update connect parameters latency and latency = 500 for BLUEDROID - steps: | - 1. DUT1 update connect parameters latency and latency = 500 - expected result: | - 1. succeed - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC1"] - - [''] - - - interval=["6-8"] - - [''] - - - latency=["500"] - - [''] - - - supervision_timeout=["1003"] - - [''] - - - expect_result=["OK"] - - [''] -- ID: BLUEDROID_GAP_07009 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update connect parameters timeout and timeout within allowed range and timeout<(1+latency)*2*MAX_interval*1.25 for BLUEDROID - steps: | - 1. DUT1 update connect parameters timeout and timeout within allowed range and timeout<(1+latency)*2*MAX_interval*1.25 - expected result: | - 1. fail - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC1"] - - [''] - - - interval=["32-64"] - - [''] - - - latency=["0"] - - [''] - - - supervision_timeout=["12"] - - [''] - - - expect_result=["ERROR"] - - [''] -- ID: BLUEDROID_GAP_07010 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update connect parameters timeout and timeout = 9 for BLUEDROID - steps: | - 1. DUT1 update connect parameters timeout and timeout = 9 - expected result: | - 1. fail - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC1"] - - [''] - - - interval=["8-10"] - - [''] - - - latency=["0"] - - [''] - - - supervision_timeout=["9"] - - [''] - - - expect_result=["ERROR"] - - [''] -- ID: BLUEDROID_GAP_07011 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update connect parameters timeout and timeout within allowed range for BLUEDROID - steps: | - 1. DUT1 update timeout = 10 - 2. DUT1 update timeout = 3200 - expected result: | - 1. succeed - 2. succeed - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC1","SSC1"] - - [''] - - - interval=["8-10","8-10"] - - [''] - - - latency=["0","0"] - - [''] - - - supervision_timeout=["10","3200"] - - [''] - - - expect_result=["OK","OK"] - - [''] -- ID: BLUEDROID_GAP_07012 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update connect parameters timeout and timeout = 3201 for BLUEDROID - steps: | - 1. DUT1 update timeout = 3201 - expected result: | - 1. fail - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC1"] - - [''] - - - interval=["8-10"] - - [''] - - - latency=["0"] - - [''] - - - supervision_timeout=["3201"] - - [''] - - - expect_result=["ERROR"] - - [''] -- ID: BLUEDROID_GAP_07013 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update invalid connect parameters before configure connect param event back for BLUEDROID - steps: | - 1. DUT1 update valid interval - 2. DUT1 update valid interval - expected result: | - 1. - 2. succeed - initial condition: BLE_CONN2 - cmd set: - - "" - - - "SSC SSC1 bleconn -S -z ConnParam -a " - - [''] - - - "SSC SSC1 bleconn -S -z ConnParam -a -t 0x40" - - ['R SSC1 C pending'] -- ID: BLUEDROID_GAP_07014 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update invalid connect param and unpdate valid connect params by master for BLUEDROID - steps: | - 1. DUT1 update invalid connect parameters - 2. DUT2 update valid connect - expected result: | - 1. fail - 2. succeed - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC1","SSC1"] - - [''] - - - interval=["32-64","32-64"] - - [''] - - - latency=["9","0"] - - [''] - - - supervision_timeout=["32","32"] - - [''] - - - expect_result=["ERROR","OK"] - - [''] -- ID: BLUEDROID_GAP_07015 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update valid connect parameters twice for BLUEDROID - allow fail: 1/2 - steps: | - 1. DUT1 update valid connect parameters - 2. DUT1 update valid connect parameters - expected result: | - 1. succeed - 2. succeed - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC1","SSC1"] - - [''] - - - interval=["7-80","10-100"] - - [''] - - - latency=["1","0"] - - [''] - - - supervision_timeout=["41","30"] - - [''] - - - expect_result=["OK","OK"] - - [''] -- ID: BLUEDROID_GAP_07016 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update valid connect parameters(timeout<(1+latency)*2*MAX_interval*1.25) by slave for BLUEDROID - steps: | - 1. DUT2 update valid connect parameters(timeout<(1+latency)*2*MAX_interval*1.25) by slave - expected result: | - 1. fail - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC2"] - - [''] - - - interval=["7-90"] - - [''] - - - latency=["1"] - - [''] - - - supervision_timeout=["41"] - - [''] - - - expect_result=["ERROR"] - - [''] -- ID: BLUEDROID_GAP_07017 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update connnect parameters interval within allowed range by slave for BLUEDROID - steps: | - 1. DUT2 update interval 6-128 - 2. DUT2 update interval 21-3200 - expected result: | - 1. succeed - 2. succeed - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC2","SSC2"] - - [''] - - - interval=["6-128","21-3200"] - - [''] - - - latency=["0","0"] - - [''] - - - supervision_timeout=["50","1000"] - - [''] - - - expect_result=["OK","OK"] - - [''] -- ID: BLUEDROID_GAP_07018 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update connnect parameters interval out of allowed range by slave for BLUEDROID - steps: | - 1. DUT2 update invalid interval 10-3201 - 2. DUT2 update invalid interval 5-64 - expected result: | - 1. fail - 2. fail - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC2","SSC2"] - - [''] - - - interval=["10-3201","5-64"] - - [''] - - - latency=["0","0"] - - [''] - - - supervision_timeout=["32","32"] - - [''] - - - expect_result=["ERROR","ERROR"] - - [''] -- ID: BLUEDROID_GAP_07019 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update connnect parameters and latency within allowed range and timeout<(1+latency)*2*MAX_interval*1.25 by slave for BLUEDROID - steps: | - 1. DUT2 update connnect parameters and latency within allowed range and timeout<(1+latency)*2*MAX_interval*1.25 by slave - expected result: | - 1. fail - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC2"] - - [''] - - - interval=["32-64"] - - [''] - - - latency=["8"] - - [''] - - - supervision_timeout=["32"] - - [''] - - - expect_result=["ERROR"] - - [''] -- ID: BLUEDROID_GAP_07020 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update connect parameters latency and latency out of allowed range by slave for BLUEDROID - steps: | - 1. DUT2 update invalid latency = 501 - expected result: | - 1. fail - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC2"] - - [''] - - - interval=["6-8"] - - [''] - - - latency=["501"] - - [''] - - - supervision_timeout=["1003"] - - [''] - - - expect_result=["ERROR"] - - [''] -- ID: BLUEDROID_GAP_07021 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update valid connect parameters and latency = 500 by slave for BLUEDROID - steps: | - 1. DUT2 update latency = 500 - expected result: | - 1. success - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC2"] - - [''] - - - interval=["6-8"] - - [''] - - - latency=["500"] - - [''] - - - supervision_timeout=["1003"] - - [''] - - - expect_result=["OK"] - - [''] -- ID: BLUEDROID_GAP_07022 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update connect parameters timeout and timeout = 9 by slave for BLUEDROID - steps: | - 1. DUT2 update connect parameters timeout and timeout = 9 - expected result: | - 1. fail - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC2"] - - [''] - - - interval=["8-10"] - - [''] - - - latency=["0"] - - [''] - - - supervision_timeout=["9"] - - [''] - - - expect_result=["ERROR"] - - [''] -- ID: BLUEDROID_GAP_07023 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update connect parameters timeout and timeout = 10 by slave for BLUEDROID - steps: | - 1. DUT2 update connect parameters timeout and timeout = 10 by slave - expected result: | - 1. fail - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC2"] - - [''] - - - interval=["8-10"] - - [''] - - - latency=["0"] - - [''] - - - supervision_timeout=["10"] - - [''] - - - expect_result=["OK"] - - [''] -- ID: BLUEDROID_GAP_07024 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update connect parameters timeout and timeout = 3200 by slave for BLUEDROID - steps: | - 1. DUT2 update connect parameters timeout and timeout = 3200 by slave - expected result: | - 1. fail - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC2"] - - [''] - - - interval=["8-10"] - - [''] - - - latency=["0"] - - [''] - - - supervision_timeout=["3200"] - - [''] - - - expect_result=["OK"] - - [''] -- ID: BLUEDROID_GAP_07025 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update connect parameters timeout and timeout = 3201 by slave for BLUEDROID - steps: | - 1. DUT2 update connect parameters timeout and timeout = 3201 by slave - expected result: | - 1. fail - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC2"] - - [''] - - - interval=["8-10"] - - [''] - - - latency=["0"] - - [''] - - - supervision_timeout=["3201"] - - [''] - - - expect_result=["ERROR"] - - [''] -- ID: BLUEDROID_GAP_07026 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update invalid connect parameters before configure connect param event back by slave for BLUEDROID - steps: | - 1. DUT2 update valid interval - 2. DUT2 update valid interval - expected result: | - 1. - 2. pending - initial condition: BLE_CONN2 - cmd set: - - "" - - - "SSC SSC2 bleconn -S -z ConnParam -a " - - [''] - - - "SSC SSC2 bleconn -S -z ConnParam -a -t 0x40" - - ['R SSC2 C pending'] -- ID: BLUEDROID_GAP_07027 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update invalid connect param and update valid connect params by slave for BLUEDROID - steps: | - 1. DUT2 update invalid connect - 2. DUT2 update valid connect - expected result: | - 1. fail - 2. succeed - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC2","SSC2"] - - [''] - - - interval=["32-64","32-64"] - - [''] - - - latency=["0","0"] - - [''] - - - supervision_timeout=["9","21"] - - [''] - - - expect_result=["ERROR","OK"] - - [''] -- ID: BLUEDROID_GAP_07028 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update valid connect parameters twice by slave for BLUEDROID - allow fail: 1/2 - steps: | - 1. DUT2 update valid interval - 2. DUT2 update valid interval - expected result: | - 1. succeed - 2. succeed - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC2","SSC2"] - - [''] - - - interval=["7-80","10-100"] - - [''] - - - latency=["1","0"] - - [''] - - - supervision_timeout=["41","30"] - - [''] - - - expect_result=["OK","OK"] - - [''] -- ID: BLUEDROID_GAP_07029 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update invalid connect param by master and update valid connect params by slave for BLUEDROID - steps: | - 1. DUT1 update invalid connect - 2. DUT2 update valid connect - expected result: | - 1. fail - 2. succeed - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC1","SSC2"] - - [''] - - - interval=["32-64","32-64"] - - [''] - - - latency=["9","0"] - - [''] - - - supervision_timeout=["32","32"] - - [''] - - - expect_result=["ERROR","OK"] - - [''] -- ID: BLUEDROID_GAP_07030 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update valid connect param by master and update valid connect params by slave for BLUEDROID - steps: | - 1. DUT1 update valid interval - 2. DUT2 update valid interval - expected result: | - 1. succeed - 2. succeed - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC1","SSC2"] - - [''] - - - interval=["7-80","10-100"] - - [''] - - - latency=["1","0"] - - [''] - - - supervision_timeout=["41","30"] - - [''] - - - expect_result=["OK","OK"] - - [''] -- ID: BLUEDROID_GAP_07031 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update invalid connect param by slave and update valid connect params by master for BLUEDROID - steps: | - 1. DUT1 update invalid connect - 2. DUT2 update valid connect - expected result: | - 1. fail - 2. success - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC2","SSC1"] - - [''] - - - interval=["32-64","32-64"] - - [''] - - - latency=["9","0"] - - [''] - - - supervision_timeout=["32","32"] - - [''] - - - expect_result=["ERROR","OK"] - - [''] -- ID: BLUEDROID_GAP_07032 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update valid connect param by slave and update valid connect params by master for BLUEDROID - allow fail: 1/2 - steps: | - 1. DUT2 update valid interval - 2. DUT1 update valid interval - expected result: | - 1. succeed - 2. succeed - initial condition: BLE_CONN2 - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC2","SSC1"] - - [''] - - - interval=["7-80","10-100"] - - [''] - - - latency=["1","0"] - - [''] - - - supervision_timeout=["41","30"] - - [''] - - - expect_result=["OK","OK"] - - [''] -- ID: BLUEDROID_GAP_07033 - <<: *GAP_CASE - test point 2: BLE GAP update connect parameters - summary: update connect parameters by master after pairing for BLUEDROID - steps: | - 1. DUT1 update connection parameters - expected result: | - 1. succeed - initial condition: BLE_CONN_SMP - cmd set: - - "BLEFunction/ConnParamUpdate" - - - dut = ["SSC1"] - - [''] - - - interval=["32-64"] - - [''] - - - latency=["0"] - - [''] - - - supervision_timeout=["32"] - - [''] - - - expect_result=["OK"] - - [''] -- ID: BLUEDROID_GAP_09001 - <<: *GAP_CASE - test point 2: BLE GAP processing scan data - summary: process scan data txp, manufacturer data, interval range, appearence, flag - steps: | - 1. DUT1 set raw adv data tx power, manufacturer data, interval range, apperaence, flag - 2. DUT1 start adv - 3. DUT2 do active scan with extended scan data - expected result: | - 1. succeed - 2. succeed - 3. scan with the correct adv data - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 bleadv -R -t 1 -r 0x020AEB06FF1112131415051220004000021901020106" - - ["R SSC1 C +BLEADV:OK"] - - *dut1_start_adv - - *dut2_stop_adv - - - "SSC SSC2 blescan -D -z start -t 1 -e 1 -c 0 -d 1" - - - 'P SSC2 RE "\+BTSCANEXT:%%s,man,0x1112131415"%%()' - - 'P SSC2 RE "\+BTSCANEXT:%%s,txp,0xEB"%%()' - - 'P SSC2 RE "\+BTSCANEXT:%%s,intrange,0x20004000"%%()' - - 'P SSC2 RE "\+BTSCANEXT:%%s,app,0x01"%%()' - - 'P SSC2 RE "\+BTSCANEXT:%%s,flag,0x06"%%()' - - 'R SSC2 C Complete' -- ID: BLUEDROID_GAP_09004 - <<: *GAP_CASE - test point 2: BLE GAP processing scan data - summary: process combined adv data and scan response data - steps: | - 1. DUT1 set raw adv data manufacturer data - 2. DUT1 set scan response data tx power, interval range, apperaence, flag - 2. DUT1 start adv - 3. DUT2 do active scan with extended scan data 19 - expected result: | - 1. succeed - 2. succeed - 3. scan with the correct adv data - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 bleadv -R -t 1 -r 0x15FF1011121314151617181910111213141516171819" - - ["R SSC1 C +BLEADV:OK"] - - - "SSC SSC1 bleadv -R -t 2 -r 0x020AEB051220004000021901020106" - - ["R SSC1 C +BLEADV:OK"] - - *dut1_start_adv - - *dut2_stop_adv - - - "SSC SSC2 blescan -D -z start -t 1 -e 1 -d 1" - - - 'P SSC2 RE "\+BTSCANEXT:%%s,man,0x1011121314151617181910111213141516171819"%%()' - - 'P SSC2 RE "\+BTSCANEXT:%%s,txp,0xEB"%%()' - - 'P SSC2 RE "\+BTSCANEXT:%%s,intrange,0x20004000"%%()' - - 'P SSC2 RE "\+BTSCANEXT:%%s,app,0x01"%%()' - - 'P SSC2 RE "\+BTSCANEXT:%%s,flag,0x06"%%()' - - 'R SSC2 C Complete' -- ID: BLUEDROID_GAP_09007 - <<: *GAP_CASE - test point 2: BLE GAP processing scan data - summary: proccess scan data included adv interval - steps: | - 1. DUT1 stop advertise and set short device name - 2. DUT1 set max interval 0x40 min interval 0x20 for adv data and scan response - 3. DUT1 start advertising - 4. DUT2 start scan and processing scan data - 5. DUT1 stop advertising - 6. DUT1 set max interval 0x400 min interval 0x200 for adv data and scan response - 7. DUT1 start advertising - 8. DUT2 start scan and processing scan data - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. scan with the correct adv data - 5. succeed - 6. succeed - 7. succeed - 8. scan with the correct adv data - cmd set: - - "" - - *dut1_stop_adv - - *set_default_ble_name - - - "SSC SSC1 bleadv -L -c 0 -i 0x20-0x40 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - - "SSC SSC2 blescan -D -z start -t 1 -e 1 -c 0 -d 1" - - - 'P SSC2 RE "\+BTSCANEXT:%%s,intrange,0x20004000"%%()' - - 'R SSC2 C Complete' - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -i 0x200-0x400 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - - "SSC SSC2 blescan -D -z start -t 1 -e 1 -c 0 -d 1" - - - 'P SSC2 RE "\+BTSCANEXT:%%s,intrange,0x00020004"%%()' - - 'R SSC2 C Complete' -- ID: BLUEDROID_GAP_13001 - <<: *GAP_CASE - test point 2: BLE GAP param packet data length test - summary: gattc set packet data length at valid length (27-251) for BLUEDROID - steps: | - 1. DUT1 connect DUT2 - 2. DUT1 set packet data length - expected result: | - 1. succeed - 2. succeed - cmd set: - - "" - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['R SSC1 C +BLECONN:GapConnect,OK', 'R SSC2 C +BLECONN:GapConnect'] - - - LOOP 3 1 "[27,200,251]" "[27,200,251]" - - - "SSC SSC1 ble -S -z pktLen -a -l {%d}" - - ["R SSC1 C +BLECONN:UpdatePktLen,OK,{%d}"] -- ID: BLUEDROID_GAP_13002 - <<: *GAP_CASE - test point 2: BLE GAP param packet data length test - summary: gattc set packet data length at invalid length for BLUEDROID - steps: | - 1. DUT1 connect DUT2 - 2. DUT1 set packet data length - expected result: | - 1. succeed - 2. succeed - cmd set: - - "" - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['R SSC1 C +BLECONN:GapConnect,OK', 'R SSC2 C +BLECONN:GapConnect'] - - - LOOP 2 1 "[26,252]" "[27,251]" - - - "SSC SSC1 ble -S -z pktLen -a -l {%d}" - - ["R SSC1 C +BLECONN:UpdatePktLen,OK,{%d}"] -- ID: BLUEDROID_GAP_13003 - <<: *GAP_CASE - test point 2: BLE GAP param packet data length test - summary: gatts set packet data length at valid length (27-251) for BLUEDROID - steps: | - 1. DUT1 connect DUT2 - 2. DUT1 set packet data length - expected result: | - 1. succeed - 2. succeed - cmd set: - - "" - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['R SSC1 C +BLECONN:GapConnect,OK', 'R SSC2 C +BLECONN:GapConnect'] - - - LOOP 3 1 "[27,200,251]" "[27,200,251]" - - - "SSC SSC2 ble -S -z pktLen -a -l {%d}" - - ["R SSC2 C +BLECONN:UpdatePktLen,OK,{%d}"] -- ID: BLUEDROID_GAP_13004 - <<: *GAP_CASE - test point 2: BLE GAP param packet data length test - summary: gatts set packet data length at invalid length for BLUEDROID - steps: | - 1. DUT1 connect DUT2 - 2. DUT1 set packet data length - expected result: | - 1. succeed - 2. succeed - cmd set: - - "" - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['R SSC1 C +BLECONN:GapConnect,OK', 'R SSC2 C +BLECONN:GapConnect'] - - - LOOP 2 1 "[26,252]" "[27,251]" - - - "SSC SSC2 ble -S -z pktLen -a -l {%d}" - - ["R SSC2 C +BLECONN:UpdatePktLen,OK,{%d}"] -- ID: BLUEDROID_GAP_40001 - <<: *GAP_CASE - auto test: 'No' - test point 2: test if BLE work after switch off some sub modules - summary: GAP only test for BLUEDROID - steps: | - 1. download GAP only SSC bin on both DUT - 2. DUT1 set ascii device name - 3. stop advertising - 4. config scan response and start advertising - 5. DUT2 do active scan - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. device name in scan result - initial condition: None - version: v1 (2017-05-19) - cmd set: - - "" - - - "SSC SSC[1-2] reboot" - - ['R SSC[1-2] C !!!ready!!!'] - - - "SSC SSC[1-2] ble -R" - - ["R SSC[1-2] C +BLE:OK"] - - *set_default_ble_name - - *set_default_adv_data - - *dut2_stop_adv - - - "SSC SSC2 blescan -D -z start -t 3 -c 0" - - ["R SSC2 P "] - diff --git a/components/idf_test/integration_test/TC_IT_BLUEDROID_GATT.yml b/components/idf_test/integration_test/TC_IT_BLUEDROID_GATT.yml deleted file mode 100644 index 8e7e75d146..0000000000 --- a/components/idf_test/integration_test/TC_IT_BLUEDROID_GATT.yml +++ /dev/null @@ -1,1209 +0,0 @@ -.GATT_CASE: &GATT_CASE - SDK: ESP32_IDF - Test App: SSC_BLE - auto test: 'Yes' - category: Function - test point 1: basic function - initial condition: BLE_CONN2 - test environment: SSC_T2_5 - execution time: 0 - module: BLUEDROID - sub module: GATT - version: v1 (2016-12-31) - CI ready: 'Yes' - level: Integration - allow fail: '' - -.primary_service_discovery: &primary_service_discovery - LIST_MERGE: - - - "SSC SSC1 gattc -D -z primaryService -p 0x10 -r " - - ["R SSC1 C +GATTC:Discover,OK"] - -.included_service_connection: &included_primary_service_connection - LIST_MERGE: - - - "SSC SSC2 gatts -S -z load -p 0xA1" - - ["R SSC2 C +GATTS:CreateService,OK,A001"] - - - "SSC SSC2 gatts -S -z include -p 0xA1 -i 0xA0" - - ["R SSC2 C +GATTS:AddIncludedService,OK"] - - - "SSC SSC2 gatts -S -z add -p 0xA1" - - ["R SSC2 C +GATTS:StartService,OK,A001"] - - - SSC SSC1 gattc -F -r - - ['R SSC1 C +GATTC:OK'] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ["R SSC1 C +BLECONN:GapConnect,OK,0010", "R SSC2 C +BLECONN:GapConnect"] - -.included_second_service_connection: &included_second_service_connection - LIST_MERGE: - - - "SSC SSC2 gatts -S -z load -p 0xA4" - - ["R SSC2 C +GATTS:StartService,OK,A004"] - - - "SSC SSC2 gatts -S -z load -p 0xA1" - - ["R SSC2 C +GATTS:CreateService,OK,A001"] - - - "SSC SSC1 gatts -S -z add -p 0xA1" - - ["R SSC1 C +GATTS:StartService,OK,A001"] - - - "SSC SSC2 gatts -S -z include -p 0xA1 -i 0xA4" - - ["R SSC2 C +GATTS:AddIncludedService,OK"] - - - SSC SSC1 gattc -F -r - - ['R SSC1 C +GATTC:OK'] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ["R SSC1 C +BLECONN:GapConnect,OK,0010", "R SSC2 C +BLECONN:GapConnect"] - -.table_include_table_service: &table_include_table_service - LIST_MERGE: - - - "SSC SSC2 gatts -S -z load -p 0xA5 -i 0xA2" - - ["R SSC2 C +GATTS:StartService,OK,A005"] - - - SSC SSC1 gattc -F -r - - ['R SSC1 C +GATTC:OK'] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ["R SSC1 C +BLECONN:GapConnect,OK,0010", "R SSC2 C +BLECONN:GapConnect"] - -.table_include_service: &table_include_service - LIST_MERGE: - - - "SSC SSC2 gatts -S -z load -p 0xA5 -i 0xA0" - - ["R SSC2 C +GATTS:StartService,OK,A005"] - - - SSC SSC1 gattc -F -r - - ['R SSC1 C +GATTC:OK'] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ["R SSC1 C +BLECONN:GapConnect,OK,0010", "R SSC2 C +BLECONN:GapConnect"] - -.register_notify_c107: ®ister_notify_c107 - LIST_MERGE: - - - "SSC SSC1 gattc -N -z register -s 0xA000 -c 0xC107 -p 0x10 -r " - - ["R SSC1 C +GATTC:RegNotify,OK,0010,A000,C107"] - -.register_indicate_c108: ®ister_indicate_c108 - LIST_MERGE: - - - "SSC SSC1 gattc -N -z register -s 0xA000 -c 0xC108 -p 0x10 -r " - - ["R SSC1 C +GATTC:RegNotify,OK,0010,A000,C108"] - -.stop_adv: &stop_adv - LIST_MERGE: - - - "SSC SSC2 bleadv -D -z stop" - - ["R SSC2 C +BLEADV:Stop"] - -test cases: -- ID: BLUEDROID_GATT_01001 - <<: *GATT_CASE - test point 2: BLE GATT server create service - summary: create service, add char and descriptor and start service for BLUEDOID - steps: | - 1. create preset service 0xA000 - expected result: | - 1. succeed - initial condition: BLE_INIT1 - test environment: SSC_T1_4 - cmd set: - - "" - - - "SSC SSC1 gatts -S -z load -p 0xA0" - - ["R SSC1 C +GATTS:StartService,OK,A000"] -- ID: BLUEDROID_GATT_01002 - <<: *GATT_CASE - test point 2: BLE GATT server create service - summary: create service and include another service for BLUEDROID - steps: | - 1. create preset service 0xA000 - 2. create preset service 0xA001 - expected result: | - 1. succeed - 2. succeed - initial condition: BLE_INIT1 - test environment: SSC_T1_4 - cmd set: - - "" - - - "SSC SSC1 gatts -S -z load -p 0xA0" - - ["R SSC1 C +GATTS:StartService,OK,A000"] - - - "SSC SSC1 gatts -S -z load -p 0xA1" - - ["R SSC1 C +GATTS:CreateService,OK,A001"] - - - "SSC SSC1 gatts -S -z add -p 0xA1" - - ["R SSC1 C +GATTS:StartService,OK,A001"] -- ID: BLUEDROID_GATT_20001 - <<: *GATT_CASE - test point 2: BLE GATT client service / char discovery - summary: GATT client discover manual primary service for BLUEDOID - steps: | - 1. DUT2 create preset service 0xA000 - 2. DUT2 create preset service 0xA001 - 3. DUT1 connect to DUT2 - 4. DUT1 do primary service discovery - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. found service 0xA000 and 0xA001 - initial condition: BLE_INIT2 - cmd set: - - "" - - *included_primary_service_connection - - - "SSC SSC1 gattc -D -z primaryService -p 0x10" - - ["R SSC1 C +GATTC:DiscoverService,A000 C +GATTC:DiscoverService,A001"] - - - SSC SSC1 gattc -F -r - - ['R SSC1 C +GATTC:OK'] -- ID: BLUEDROID_GATT_20002 - <<: *GATT_CASE - test point 2: BLE GATT client service / char discovery - summary: GATT client get manual included service for BLUEDOID - steps: | - 1. DUT2 create preset service 0xA000 - 2. DUT2 create preset service 0xA001 - 3. DUT1 connect to DUT2 - 4. DUT1 do primary service discovery - 5. DUT1 get included service 0xA000 from service 0xA001 - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. get included service 0xA000 from service 0xA001 - initial condition: BLE_INIT2 - cmd set: - - "" - - *included_primary_service_connection - - - "SSC SSC1 gattc -D -z primaryService -p 0x10" - - ["R SSC1 C +GATTC:DiscoverService,A000 A :GATTC:DiscoverService,A001,(\\d+-\\d+)"] - - - "SSC SSC1 gattc -D -z includedService -p 0x10 -s 0xA001 -i 0xA000 -q -k 1" - - ["R SSC1 C +GATTC:IncludedService,0010,A001,A000"] - - - SSC SSC1 gattc -F -r - - ['R SSC1 C +GATTC:OK'] -- ID: BLUEDROID_GATT_20003 - <<: *GATT_CASE - test point 2: BLE GATT client service / char discovery - summary: GATT client discover table primary service (table service include table service) for BLUEDROID - steps: | - 1. DUT2 create preset service 0xA002 - 2. DUT2 create preset service 0xA005 - 3. DUT1 connect to DUT2 - 4. DUT1 do primary service discovery - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. found service 0xA002 and 0xA005 - initial condition: BLE_INIT3 - cmd set: - - "" - - *table_include_table_service - - - "SSC SSC1 gattc -D -z primaryService -p 0x10" - - ["R SSC1 C +GATTC:DiscoverService,A002 C +GATTC:DiscoverService,A005"] -- ID: BLUEDROID_GATT_20004 - <<: *GATT_CASE - test point 2: BLE GATT client service / char discovery - summary: GATT client get table included service for BLUEDROID - steps: | - 1. DUT2 create preset service 0xA002 - 2. DUT2 create preset service 0xA005 - 3. DUT1 connect to DUT2 - 4. DUT1 do primary service discovery - 5. DUT1 get included service 0xA002 from service 0xA005 - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. get included service 0xA002 from service 0xA005 - initial condition: BLE_INIT3 - cmd set: - - "" - - *table_include_table_service - - - "SSC SSC1 gattc -D -z primaryService -p 0x10" - - ["R SSC1 C +GATTC:DiscoverService,A002 A :GATTC:DiscoverService,A005,(\\d+-\\d+)"] - - - "SSC SSC1 gattc -D -z includedService -p 0x10 -s 0xA005 -i 0xA002 -q -k 1" - - ["R SSC1 C +GATTC:IncludedService,0010,A005,A002"] -- ID: BLUEDROID_GATT_20005 - <<: *GATT_CASE - test point 2: BLE GATT client service / char discovery - summary: GATT client discover table primary service (table service include manual service) for BLUEDROID - steps: | - 1. DUT2 create preset service 0xA000 - 2. DUT2 create preset service 0xA005 - 3. DUT1 connect to DUT2 - 4. DUT1 do primary service discovery - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. found service 0xA000 and 0xA005 - initial condition: BLE_INIT2 - cmd set: - - "" - - *table_include_service - - - "SSC SSC1 gattc -D -z primaryService -p 0x10" - - ["R SSC1 C +GATTC:DiscoverService,A000 C +GATTC:DiscoverService,A005"] -- ID: BLUEDROID_GATT_20006 - <<: *GATT_CASE - test point 2: BLE GATT client service / char discovery - summary: GATT client get table included manual service for BLUEDROID - steps: | - 1. DUT2 create preset service 0xA000 - 2. DUT2 create preset service 0xA005 - 3. DUT1 connect to DUT2 - 4. DUT1 do primary service discovery - 5. DUT1 get included service 0xA000 from service 0xA005 - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. get included service 0xA000 from service 0xA005 - initial condition: BLE_INIT2 - cmd set: - - "" - - *table_include_service - - - "SSC SSC1 gattc -D -z primaryService -p 0x10" - - ["R SSC1 C +GATTC:DiscoverService,A000 A :GATTC:DiscoverService,A005,(\\d+-\\d+)"] - - - "SSC SSC1 gattc -D -z includedService -p 0x10 -s 0xA005 -i 0xA000 -q -k 1" - - ["R SSC1 C +GATTC:IncludedService,0010,A005,A000"] -- ID: BLUEDROID_GATT_21001 - <<: *GATT_CASE - test point 2: BLE GATT client read char and descriptor - summary: GATT client read short char for BLUEDROID - steps: | - 1. DUT1 do discover - 2. GATT client read 1 byte short char - expected result: | - 1. succeed - 2. read succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -R -z char -s 0xA000 -c 0xC100 -p 0x10" - - ["R SSC1 C +GATTC:ReadOnce,0010,A000,C100,1", "R SSC1 C +GATTC:Read,OK,0010,A000,C100"] -- ID: BLUEDROID_GATT_21002 - <<: *GATT_CASE - test point 2: BLE GATT client read char and descriptor - summary: GATT client read long char for BLUEDROID - steps: | - 1. DUT1 do service discovery - 2. DUT1 GATT client read 256 bytes long char - expected result: | - 1. succeed - 2. read succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -R -z char -s 0xA000 -c 0xC101 -p 0x10" - - ["R SSC1 C +GATTC:ReadOnce,0010,A000,C101,256", "R SSC1 C +GATTC:Read,OK,0010,A000,C101"] -- ID: BLUEDROID_GATT_21003 - <<: *GATT_CASE - test point 2: BLE GATT client read char and descriptor - summary: GATT client read short descriptor for BLUEDROID - steps: | - 1. DUT1 do service discovery - 2. GATT client read short descriptor - expected result: | - 1. succeed - 2. read succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -R -z descriptor -s 0xA000 -c 0xC107 -d 0x2902 -p 0x10" - - ["R SSC1 C +GATTC:ReadOnce,0010,A000,C107,2902,2", "R SSC1 C +GATTC:ReadDescriptor,OK,0010,A000,C107,2902"] -- ID: BLUEDROID_GATT_21004 - <<: *GATT_CASE - test point 2: BLE GATT client read char and descriptor - summary: GATT client read long descriptor for BLUEDROID - steps: | - 1. DUT1 do service discovery - 2. GATT client read long descriptor - expected result: | - 1. succeed - 2. read succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -R -z descriptor -s 0xA000 -c 0xC100 -d 0x2901 -p 0x10" - - ["R SSC1 C +GATTC:ReadOnce,0010,A000,C100,2901,2", "R SSC1 C +GATTC:ReadDescriptor,OK,0010,A000,C100,2901"] -- ID: BLUEDROID_GATT_21005 - <<: *GATT_CASE - test point 2: BLE GATT client read char and descriptor - summary: GATT client read short char of an included service for BLUEDROID - steps: | - 1. DUT2 create preset service 0xA000 - 2. DUT2 create preset service 0xA001 - 3. DUT1 connect to DUT2 - 4. DUT1 do discover - 5. GATT client read 1 byte short char - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - initial condition: BLE_INIT2 - cmd set: - - "" - - - "SSC SSC2 gatts -S -z load -p 0xA1" - - ["R SSC2 C +GATTS:CreateService,OK,A001"] - - - SSC SSC1 gattc -F -r - - ['R SSC1 C +GATTC:OK'] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ["R SSC1 C +BLECONN:GapConnect,OK,0010", "R SSC2 C +BLECONN:GapConnect"] - - *primary_service_discovery - - - "SSC SSC1 gattc -R -z char -s 0xA000 -c 0xC100 -p 0x10" - - ["R SSC1 C +GATTC:ReadOnce,0010,A000,C100,1", "R SSC1 C +GATTC:Read,OK,0010,A000,C100"] -- ID: BLUEDROID_GATT_21006 - <<: *GATT_CASE - test point 2: BLE GATT client read char and descriptor - summary: GATT client read short descriptor or an included service for BLUEDROID - allow fail: 1/2 - steps: | - 1. DUT2 create preset service 0xA000 - 2. DUT2 create preset service 0xA001 - 3. DUT1 connect to DUT2 - 4. DUT1 do discover - 5. GATT client read 1 byte short descriptor - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - initial condition: BLE_INIT2 - cmd set: - - "" - - - "SSC SSC2 gatts -S -z load -p 0xA1" - - ["R SSC2 C +GATTS:CreateService,OK,A001"] - - - SSC SSC1 gattc -F -r - - ['R SSC1 C +GATTC:OK'] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ["R SSC1 C +BLECONN:GapConnect,OK,0010", "R SSC2 C +BLECONN:GapConnect"] - - *primary_service_discovery - - - "SSC SSC1 gattc -R -z descriptor -s 0xA000 -c 0xC107 -d 0x2902 -p 0x10" - - ["R SSC1 C +GATTC:ReadOnce,0010,A000,C107,2902,2", "R SSC1 C +GATTC:ReadDescriptor,OK,0010,A000,C107,2902"] -- ID: BLUEDROID_GATT_22001 - <<: *GATT_CASE - test point 2: BLE GATT client write char and descriptor - summary: GATT client write with response to a short char with response for BLUEDROID - steps: | - 1. DUT1 do service discovery - 2. GATT client write with response to short char with response - expected result: | - 1. succeed - 2. write succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z char -s 0xA000 -c 0xC102 -p 0x10 -v 0x01" - - ["R SSC1 C +GATTC:WriteOnce,0010,A000,C102", "R SSC1 C +GATTC:Write,OK,0010,A000,C102"] -- ID: BLUEDROID_GATT_22002 - <<: *GATT_CASE - test point 2: BLE GATT client write char and descriptor - summary: GATT client write without response to a short char without response for BLUEDROID - steps: | - 1. DUT1 do service discovery - 2. GATT client write without response to short char without response - expected result: | - 1. succeed - 2. write succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z char -s 0xA000 -c 0xC103 -p 0x10 -v 0x01 -w 1" - - - "P SSC1 C +GATTC:WriteOnce,0010,A000,C103" - - "P SSC2 C +GATTS:Write,OK,A000,C103" - - "P SSC1 C +GATTC:Write,OK,0010,A000,C103" -- ID: BLUEDROID_GATT_22003 - <<: *GATT_CASE - test point 2: BLE GATT client write char and descriptor - summary: GATT client prepare write and do execute for BLUEDROID - steps: | - 1. DUT1 do service discovery - 2. GATT client prepare write and do execute - expected result: | - 1. succeed - 2. write succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z longChar -s 0xA000 -c 0xC110 -p 0x10 -l 256" - - ["P SSC1 C +GATTC:Write,OK,0010,A000,C110"] -- ID: BLUEDROID_GATT_22004 - <<: *GATT_CASE - test point 2: BLE GATT client write char and descriptor - summary: GATT client prepare write and do cancel for BLUEDROID - steps: | - 1. DUT1 do service discovery - 2. GATT client prepare write and do cancel - expected result: | - 1. succeed - 2. write succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z longChar -s 0xA000 -c 0xC110 -p 0x10 -l 256 -e 0" - - ["P SSC1 C +GATTC:Write,OK,0010,A000,C110"] - - - "SSC SSC1 gattc -W -z char -s 0xA000 -c 0xC110 -p 0x10 -l 256 -e 0" - - ["P SSC1 C +GATTC:Write,OK,0010,A000,C110"] -- ID: BLUEDROID_GATT_22005 - <<: *GATT_CASE - test point 2: BLE GATT client write char and descriptor - summary: GATT client write to a short descriptor for BLUEDROID - steps: | - 1. DUT1 do service discovery - 2. GATT client write to short descriptor - expected result: | - 1. succeed - 2. write succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z descriptor -s 0xA000 -c 0xC107 -d 0x2902 -p 0x10 -v 0x0100" - - ["R SSC1 C +GATTC:WriteOnce,0010,A000,C107,2902", "R SSC1 C +GATTC:WriteDescriptor,OK,0010,A000,C107,2902"] -- ID: BLUEDROID_GATT_22006 - <<: *GATT_CASE - test point 2: BLE GATT client write char and descriptor - summary: GATT client write to long descriptor and execute for BLUEDROID - steps: | - 1. DUT1 do service discovery - 2. GATT client write to long descriptor and execute - expected result: | - 1. succeed - 2. write succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z longDescriptor -s 0xA000 -c 0xC100 -d 0x2901 -p 0x10 -l 256" - - ["P SSC1 C +GATTC:WriteDescriptor,OK,0010,A000,C100,2901"] -- ID: BLUEDROID_GATT_22007 - <<: *GATT_CASE - test point 2: BLE GATT client write char and descriptor - summary: GATT client write to long descriptor using write API for BLUEDROID - steps: | - 1. DUT1 do service discovery - 2. GATT client write to long descriptor and execute - expected result: | - 1. succeed - 2. write succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z descriptor -s 0xA000 -c 0xC100 -d 0x2901 -p 0x10 -l 256" - - ["P SSC1 C +GATTC:WriteDescriptor,OK,0010,A000,C100,2901"] -- ID: BLUEDROID_GATT_22008 - <<: *GATT_CASE - test point 2: BLE GATT client write char and descriptor - summary: GATT client write to an included char for BLUEDROID - allow fail: 1/2 - steps: | - 1. DUT2 create preset service 0xA000 - 2. DUT2 create preset service 0xA001 - 3. DUT1 connect to DUT2 - 4. DUT1 do discover - 5. GATT client write with response to short char with response - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - initial condition: BLE_INIT2 - cmd set: - - "" - - - "SSC SSC2 gatts -S -z load -p 0xA1" - - ["R SSC2 C +GATTS:CreateService,OK,A001"] - - - SSC SSC1 gattc -F -r - - ['R SSC1 C +GATTC:OK'] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ["R SSC1 C +BLECONN:GapConnect,OK,0010", "R SSC2 C +BLECONN:GapConnect"] - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z char -s 0xA000 -c 0xC102 -p 0x10 -v 0x01" - - ["R SSC1 C +GATTC:WriteOnce,0010,A000,C102", "R SSC1 C +GATTC:Write,OK,0010,A000,C102"] -- ID: BLUEDROID_GATT_22009 - <<: *GATT_CASE - test point 2: BLE GATT client write char and descriptor - summary: GATT client write to an included descriptor for BLUEDROID - steps: | - 1. DUT2 create preset service 0xA000 - 2. DUT2 create preset service 0xA001 - 3. DUT1 connect to DUT2 - 4. DUT1 do discover - 5. GATT client write to short descriptor - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - initial condition: BLE_INIT2 - cmd set: - - "" - - - "SSC SSC2 gatts -S -z load -p 0xA1" - - ["R SSC2 C +GATTS:CreateService,OK,A001"] - - - SSC SSC1 gattc -F -r - - ['R SSC1 C +GATTC:OK'] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ["R SSC1 C +BLECONN:GapConnect,OK,0010", "R SSC2 C +BLECONN:GapConnect"] - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z descriptor -s 0xA000 -c 0xC107 -d 0x2902 -p 0x10 -v 0x0100" - - ["R SSC1 C +GATTC:WriteOnce,0010,A000,C107,2902", "R SSC1 C +GATTC:WriteDescriptor,OK,0010,A000,C107,2902"] -- ID: BLUEDROID_GATT_23001 - <<: *GATT_CASE - test point 2: BLE GATT client receive notify and indication - summary: GATT client register/unregister notify for BLUEDROID - steps: | - 1. DUT1 do service discovery - 2. DUT1 register notify on notification char - 3. DUT1 register notify on indication char - expected result: | - 1. succeed - 2. succeed - 3. succeed - cmd set: - - "" - - *primary_service_discovery - - *register_notify_c107 - - *register_indicate_c108 - - - "SSC SSC1 gattc -N -z unregister -s 0xA000 -c 0xC107 -p 0x10 -r " - - ["R SSC1 C +GATTC:UnRegNotify,OK,0010,A000,C107"] - - - "SSC SSC1 gattc -N -z unregister -s 0xA000 -c 0xC108 -p 0x10 -r " - - ["R SSC1 C +GATTC:UnRegNotify,OK,0010,A000,C108"] -- ID: BLUEDROID_GATT_23002 - <<: *GATT_CASE - test point 2: BLE GATT client receive notify and indication - summary: GATT client receive notify for BLUEDROID - steps: | - 1. DUT1 do service discovery - 2. DUT1 register notify on notification char and write to CCC - 3. DUT2 do notify - expected result: | - 1. succeed - 2. succeed - 3. DUT1 recv notify - cmd set: - - "" - - *primary_service_discovery - - *register_notify_c107 - - - "SSC SSC1 gattc -W -z descriptor -s 0xA000 -c 0xC107 -d 0x2902 -p 0x10 -v 0x0100" - - ["R SSC1 C +GATTC:WriteOnce,0010,A000,C107,2902", "R SSC1 C +GATTC:WriteDescriptor,OK,0010,A000,C107,2902"] - - - "SSC SSC2 gatts -N -c 0xC107 -p 0xA0 -v 0x01 -r " - - ["R SSC1 C +GATTC:Notification,0010,A000,C107,1"] -- ID: BLUEDROID_GATT_23003 - <<: *GATT_CASE - test point 2: BLE GATT client receive notify and indication - summary: GATT client receive indication for BLUEDROID - steps: | - 1. DUT1 do service discovery - 2. DUT1 register notify on inidcation char and write to CCC - 3. DUT2 do indication - expected result: | - 1. succeed - 2. succeed - 3. DUT1 recv indication - cmd set: - - "" - - *primary_service_discovery - - *register_indicate_c108 - - - "SSC SSC1 gattc -W -z descriptor -s 0xA000 -c 0xC108 -d 0x2902 -p 0x10 -v 0x0002" - - ["R SSC1 C +GATTC:WriteOnce,0010,A000,C108,2902", "R SSC1 C +GATTC:WriteDescriptor,OK,0010,A000,C108,2902"] - - - "SSC SSC2 gatts -I -c 0xC108 -p 0xA0 -v 0x01 -r " - - ["R SSC1 C +GATTC:Indication,0010,A000,C108,1"] -- ID: BLUEDROID_GATT_23004 - <<: *GATT_CASE - test point 2: BLE GATT client receive notify and indication - summary: GATT client can't receive notification/indication without write to CCC (manual service) for BLUEDROID - steps: | - 1. DUT1 do service discovery - 2. DUT1 register notify on notify and inidcation char - 3. DUT2 do notify and indication - expected result: | - 1. succeed - 2. succeed - 3. DUT1 can recv notify and indication (this is aganist Spec, but a reasonable behavior in bluedroid) - cmd set: - - "" - - *primary_service_discovery - - *register_notify_c107 - - *register_indicate_c108 - - - "SSC SSC1 gattc -W -z descriptor -s 0xA000 -c 0xC107 -d 0x2902 -p 0x10 -v 0x0000" - - ["R SSC1 C +GATTC:WriteOnce,0010,A000,C107,2902", "R SSC1 C +GATTC:WriteDescriptor,OK,0010,A000,C107,2902"] - - - "SSC SSC2 gatts -N -c 0xC107 -p 0xA0 -v 0x01 -r " - - ["P SSC1 C +GATTC:Notification,0010,A000,C107,1"] - - - "SSC SSC2 gatts -I -c 0xC108 -p 0xA0 -v 0x01 -r " - - ["P SSC1 C +GATTC:Indication,0010,A000,C108,1"] -- ID: BLUEDROID_GATT_24001 - <<: *GATT_CASE - test point 2: BLE GATT client do invalid read - summary: GATT client read to a char without read property for BLUEDROID - steps: | - 1. DUT1 do service discovery - 2. DUT1 read to a char without read property - expected result: | - 1. succeed - 2. failed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -R -z char -s 0xA000 -c 0xC103 -p 0x10" - - ["P SSC1 C +GATTC:Read,ERROR"] -- ID: BLUEDROID_GATT_24002 - <<: *GATT_CASE - test point 2: BLE GATT client do invalid read - summary: GATT client read to a descriptor without read property for BLUEDROID - steps: | - 1. DUT1 do service discovery - 2. DUT1 read to a descriptor without read property - expected result: | - 1. succeed - 2. failed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -R -z descriptor -s 0xA000 -c 0xC102 -d 0x2901 -p 0x10" - - ["P SSC1 C +GATTC:Read,ERROR"] -- ID: BLUEDROID_GATT_25001 - <<: *GATT_CASE - test point 2: BLE GATT client do invalid write - summary: GATT client write with response to a char without write property for BLUEDROID - steps: | - 1. DUT1 do service discovery - 2. DUT1 write with response to a char without write property - expected result: | - 1. succeed - 2. failed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z char -s 0xA000 -c 0xC100 -p 0x10 -l 1" - - ["R SSC1 C +GATTC:Write,ERROR"] -- ID: BLUEDROID_GATT_25002 - <<: *GATT_CASE - test point 1: basic function - test point 2: BLE GATT client do invalid write - summary: GATT client write without response to a char without write property for BLUEDROID - steps: | - 1. DUT1 do service discovery - 2. DUT1 write without response to a char without write property - expected result: | - 1. succeed - 2. succeed (write without response always succeed) - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z char -s 0xA000 -c 0xC100 -p 0x10 -l 1 -w 1" - - ["R SSC1 C +GATTC:Write,OK"] -- ID: BLUEDROID_GATT_25003 - <<: *GATT_CASE - test point 2: BLE GATT client do invalid write - summary: GATT client write to a descriptor without write property for BLUEDROID - steps: | - 1. DUT1 do service discovery - 2. DUT1 write to a descriptor without write property - expected result: | - 1. succeed - 2. failed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z descriptor -s 0xA000 -c 0xC101 -d 0x2901 -p 0x10 -l 1" - - ["R SSC1 C +GATTC:Write,ERROR"] -- ID: BLUEDROID_GATT_25004 - <<: *GATT_CASE - test point 2: BLE GATT client do invalid write - summary: GATT client prepare write to a char without write property for BLUEDROID - steps: | - 1. DUT1 do service discovery - 2. DUT1 prepare write to a char without write property - expected result: | - 1. succeed - 2. failed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z longChar -s 0xA000 -c 0xC100 -p 0x10 -l 256" - - ["R SSC1 C +GATTC:Write,ERROR"] -- ID: BLUEDROID_GATT_25005 - <<: *GATT_CASE - test point 2: BLE GATT client do invalid write - summary: GATT client prepare write to a descriptor without write property for BLUEDROID - steps: | - 1. DUT1 do service discovery - 2. DUT1 prepare write to a descriptor without write property - expected result: | - 1. succeed - 2. failed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z longDescriptor -s 0xA000 -c 0xC101 -d 0x2901 -p 0x10 -l 256" - - ["R SSC1 C +GATTC:Write,ERROR"] -- ID: BLUEDROID_GATT_25006 - <<: *GATT_CASE - test point 2: BLE GATT client do invalid write - summary: GATT client write with response to a char not send response for BLUEDROID - steps: | - 1. DUT1 do service discovery - 2. DUT1 write with response to a char not send response - expected result: | - 1. succeed - 2. failed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z char -s 0xA000 -c 0xC103 -p 0x10 -v 0x01" - - ["R SSC1 C +GATTC:Write,ERROR"] -- ID: BLUEDROID_GATT_25007 - <<: *GATT_CASE - test point 2: BLE GATT client do invalid write - summary: GATT client write without response to a char will send response for BLUEDROID - steps: | - 1. DUT1 do service discovery - 2. DUT1 write without response to a char will send response - expected result: | - 1. succeed - 2. succeed (write without response always succeed) - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z char -s 0xA000 -c 0xC102 -p 0x10 -v 0x01 -w 1" - - ["P SSC1 C +GATTC:WriteOnce"] -- ID: BLUEDROID_GATT_25013 - <<: *GATT_CASE - test point 2: BLE GATT client do invalid write - summary: GATT client write with response to a char created by table not send response - steps: | - 1. DUT1 do service discovery - 2. DUT1 write with response to auto reply char created by table not send response - 3. DUT1 write with response to app reply char created by table not send response - expected result: | - 1. succeed - 2. succeed(BLE Spec do not define the behavior of this case. IDF implementation will return success when GATTC write with response and recv response from remote side) - 3. failed - initial condition: BLE_CONN3 - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z char -s 0xA002 -c 0xC303 -p 0x10 -v 0x01 -r " - - ["R SSC1 C +GATTC:Write,OK,0010,A002,C303"] - - - "SSC SSC1 gattc -W -z char -s 0xA002 -c 0xC313 -p 0x10 -v 0x01 -r " - - ["R SSC1 C +GATTC:Write,ERROR"] -- ID: BLUEDROID_GATT_26001 - <<: *GATT_CASE - test point 2: BLE GATT client set mtu - summary: GATT client config different mtu size for BLUEDOID - steps: | - 1. set mtu size 22 - 2. set mtu size 23 - 3. set mtu size 517 - 4. set mtu size 518 - expected result: | - 1. failed - 2. succeed - 3. succeed - 4. failed - cmd set: - - "" - - - "SSC SSC1 bleconn -D -z all" - - ["P SSC1 C +BLECONN:GapDisconnect,OK", "P SSC2 C +BLECONN:GapDisconnect,OK"] - - - "SSC SSC1 gattc -S -m 22 " - - ["R SSC1 C +GATTC:ERROR"] - - - "SSC SSC1 gattc -S -m 23" - - ["R SSC1 C +GATTC:OK"] - - - "SSC SSC1 gattc -S -m 517" - - ["R SSC1 C +GATTC:OK"] - - - "SSC SSC1 gattc -S -m 518" - - ["R SSC1 C +GATTC:ERROR"] -- ID: BLUEDROID_GATT_26002 - <<: *GATT_CASE - test point 2: BLE GATT server set mtu - summary: GATT server config different mtu size for BLUEDOID - steps: | - 1. set mtu size 22 - 2. set mtu size 23 - 3. set mtu size 517 - 4. set mtu size 518 - expected result: | - 1. failed - 2. succeed - 3. succeed - 4. failed - cmd set: - - "" - - - "SSC SSC1 bleconn -D -z all" - - ["P SSC1 C +BLECONN:GapDisconnect,OK", "P SSC2 C +BLECONN:GapDisconnect,OK"] - - - "SSC SSC2 gatts -C -m 22" - - ["R SSC2 C +GATTS:ERROR"] - - - "SSC SSC2 gatts -C -m 23" - - ["R SSC2 C +GATTS:OK"] - - - "SSC SSC2 gatts -C -m 517" - - ["R SSC2 C +GATTS:OK"] - - - "SSC SSC2 gatts -C -m 518" - - ["R SSC2 C +GATTS:ERROR"] -- ID: BLUEDROID_GATT_26004 - <<: *GATT_CASE - test point 2: BLE GATT client config mtu - summary: GATT read write on mtu size 261 - allow fail: 1/2 - steps: | - 1. config mtu size 261 - 2. do read - 3. do write - expected result: | - 1. succeed - 2. succeed - 3. succeed - cmd set: - - "" - - - "SSC SSC1 bleconn -D -p 0x10" - - ["P SSC1 C +BLECONN:GapDisconnect,OK", "P SSC2 C +BLECONN:GapDisconnect,OK"] - - - "SSC SSC1 gattc -S -m 261" - - ["R SSC1 C +GATTC:OK"] - - - "SSC SSC2 gatts -C -m 261" - - ["R SSC2 C +GATTS:OK"] - - - "SSC SSC2 bleadv -D -z start" - - ['R SSC2 C +BLEADV:OK'] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['R SSC1 C +BLECONN:GapConnect,OK', 'R SSC2 C +BLECONN:GapConnect'] - - - "SSC SSC1 gattc -C" - - ["R SSC1 C +GATTC:OK","P SSC[1-2] C ConfigMTU,OK,261"] - - *primary_service_discovery - - - "SSC SSC1 gattc -R -z char -p 0x10 -s 0xA000 -c 0xC101" - - ["R SSC1 C +GATTC:ReadOnce,0010,A000,C101,256"] - - - "SSC SSC1 gattc -W -z char -p 0x10 -s 0xA000 -c 0xC109 -l 256" - - ["R SSC1 C +GATTC:WriteOnce,0010,A000,C109"] - - - "SSC SSC1 gattc -W -z longChar -p 0x10 -s 0xA000 -c 0xC110 -l 512" - - ["R SSC1 C +GATTC:Write,OK,0010,A000,C110", "P SSC2 C +GATTS:ReliableWrite,OK"] -- ID: BLUEDROID_GATT_26005 - <<: *GATT_CASE - test point 2: BLE GATT client config mtu - summary: GATT read write on mtu size 517 for BLUEDOID - allow fail: 1/2 - steps: | - 1. config mtu size 517 - 2. do read - 3. do write - expected result: | - 1. succeed - 2. succeed - 3. succeed - cmd set: - - "" - - - "SSC SSC1 bleconn -D -z all" - - ["P SSC1 C +BLECONN:GapDisconnect,OK", "P SSC2 C +BLECONN:GapDisconnect,OK"] - - - "SSC SSC1 gattc -S -m 517" - - ["R SSC1 C +GATTC:OK"] - - - "SSC SSC2 gatts -C -m 517" - - ["R SSC2 C +GATTS:OK"] - - - "SSC SSC2 bleadv -D -z start" - - ['R SSC2 C +BLEADV:OK'] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['R SSC1 C +BLECONN:GapConnect,OK', 'R SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC1 gattc -C -r " - - ["P SSC1 C +GATTC:OK", "P SSC[1-2] C ConfigMTU,OK,517"] - - *primary_service_discovery - - - "SSC SSC1 gattc -R -z char -p 0x10 -s 0xA000 -c 0xC101" - - ["R SSC1 C +GATTC:ReadOnce,0010,A000,C101,256"] - - - "SSC SSC1 gattc -W -z char -p 0x10 -s 0xA000 -c 0xC109 -l 256" - - ["R SSC1 C +GATTC:WriteOnce,0010,A000,C109"] - - - "SSC SSC1 gattc -W -z char -p 0x10 -s 0xA000 -c 0xC109 -l 512" - - ["R SSC1 C +GATTC:WriteOnce,0010,A000,C109"] -- ID: BLUEDROID_GATT_27001 - <<: *GATT_CASE - test point 2: BLE GATT read multiple - summary: GATT client read 2 char and 11 char of same service for BLUEDROID - steps: | - 1. DUT1 do discover - 2. GATT client read 2 char - 3. GATT client read 11 char - expected result: | - 1. succeed - 2. succeed - 3. succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -R -z multiple -u #0xC100##0xC101# -s 0xA000 -r " - - ['R SSC1 C +GATTC:ReadOnce,22', 'R SSC1 C +GATTC:ReadMultiple,OK'] - - - "SSC SSC1 gattc -R -z multiple -u #0xC100##0xC101##0xC107##0xC108##0xC109##0xC110##0xC100##0xC101##0xC107##0xC108##0xC109# -s 0xA000" - - ['R SSC1 C +GATTC:Read,ERROR'] -- ID: BLUEDROID_GATT_27002 - <<: *GATT_CASE - test point 2: BLE GATT read multiple - summary: GATT client read char and descriptor for BLUEDROID - steps: | - 1. DUT1 do discover - 2. GATT client read all char and descriptor - expected result: | - 1. succeed - 2. succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -R -z multiple -u 0xA00xC100#0xA00xC101#0xA00xC1000x29010xA00xC1070x2902 -r " - - ['R SSC1 C +GATTC:ReadOnce', 'R SSC1 C +GATTC:ReadMultiple,OK'] -- ID: BLUEDROID_GATT_27003 - <<: *GATT_CASE - test point 2: BLE GATT read multiple - summary: GATT client read char and descriptor of table create service for BLUEDROID - steps: | - 1. DUT1 do discover - 2. GATT client read all char and descriptor - expected result: | - 1. succeed - 2. succeed - cmd set: - - "" - - - "SSC SSC2 gatts -S -z load -p 0xA2" - - ['R SSC2 C +GATTS:StartService,OK,A002'] - - *primary_service_discovery - - - "SSC SSC1 gattc -R -z multiple -u 0xA20xC300#0xA20xC301#0xA20xC310#0xA20xC311# -r " - - ['R SSC1 C +GATTC:ReadOnce', 'R SSC1 C +GATTC:ReadMultiple,OK'] -- ID: BLUEDROID_GATT_27004 - <<: *GATT_CASE - test point 2: BLE GATT read multiple - summary: GATT client read char and descriptor of included service and table service for BLUEDROID - initial condition: BLE_INIT2 - steps: | - 1. DUT2 load service included service and table service - 2. DUT1 search service - 3. GATT client read all char and descriptor of different services - expected result: | - 1. succeed - 2. succeed - 3. succeed - cmd set: - - "" - - - "SSC SSC2 gatts -S -z load -p 0xA2" - - ['R SSC2 C +GATTS:StartService,OK,A002'] - - *included_primary_service_connection - - *primary_service_discovery - - - "SSC SSC1 gattc -R -z multiple -u 0xA10xC200#0xA00xC100#0xA00xC101#0xA20xC300#0xA20xC301#" - - ['R SSC1 C +GATTC:ReadOnce', 'R SSC1 C +GATTC:ReadMultiple,OK'] -- ID: BLUEDROID_GATT_30004 - <<: *GATT_CASE - test point 2: BLE GATT multi connection service discovery test - summary: do primary service discovery when master and slave both create GATTC and GATTS for BLUEDOID - steps: | - 1. DUT1 do primary service discovery for DUT2 - 2. DUT2 do primary service discovery for DUT1 - expected result: | - 1. succeed - 2. succeed - initial condition: BLE_CONN4 - cmd set: - - "" - - - "SSC SSC2 bleconn -C -p 0x10 -a " - - ["R SSC2 C +BLE:GattcOpen,OK"] - - - "SSC SSC1 gattc -D -z primaryService -p 0x10 -r " - - ["R SSC1 C +GATTC:Discover,OK"] - - - "SSC SSC2 gattc -D -z primaryService -p 0x10 -r " - - ["R SSC2 C +GATTC:Discover,OK"] -- ID: BLUEDROID_GATT_31004 - <<: *GATT_CASE - test point 2: BLE GATT multi connection read test - summary: do read when master and slave both create GATTC and GATTS for BLUEDOID - steps: | - 1. DUT1 do primary service discovery for DUT2 - 2. DUT2 do primary service discovery for DUT1 - 3. DUT1 do read on DUT2 - 4. DUT2 do read on DUT1 - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - initial condition: BLE_CONN4 - cmd set: - - "" - - - "SSC SSC2 bleconn -C -p 0x10 -a " - - ["R SSC2 C +BLE:GattcOpen,OK"] - - - "SSC SSC[1-2] gattc -D -z primaryService -p 0x10 -r " - - ["R SSC[1-2] C +GATTC:Discover,OK"] - - - "SSC SSC[1-2] gattc -R -z char -s 0xA002 -c 0xC300 -p 0x10 -r " - - ["R SSC[1-2] C +GATTC:ReadOnce,0010,A002,C300,1"] - - - "SSC SSC[1-2] gattc -R -z char -s 0xA002 -c 0xC301 -p 0x10 -r " - - ["R SSC[1-2] C +GATTC:ReadOnce,0010,A002,C301,256"] -- ID: BLUEDROID_GATT_32004 - <<: *GATT_CASE - test point 2: BLE GATT multi connection write test - summary: do write when master and slave both create GATTC and GATTS for BLUEDOID - steps: | - 1. DUT1 do primary service discovery for DUT2 - 2. DUT2 do primary service discovery for DUT1 - 3. DUT1 do write on DUT2 - 4. DUT2 do write on DUT1 - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - initial condition: BLE_CONN4 - cmd set: - - "" - - - "SSC SSC2 bleconn -C -p 0x10 -a " - - ["R SSC2 C +BLE:GattcOpen,OK"] - - - "SSC SSC[1-2] gattc -D -z primaryService -p 0x10 -r " - - ["R SSC[1-2] C +GATTC:Discover,OK"] - - - "SSC SSC[1-2] -W -z char -s 0xA002 -c 0xC302 -l 1 -p 0x10 -r " - - ["R SSC[1-2] C +GATTC:Write,OK,0010,A002,C302"] - - - "SSC SSC[1-2] -W -z char -s 0xA002 -c 0xC304 -l 256 -p 0x10 -r " - - ["R SSC[1-2] C +GATTC:Write,OK,0010,A002,C304"] -- ID: BLUEDROID_GATT_33004 - <<: *GATT_CASE - test point 2: BLE GATT multi connection notify test - summary: do notify when master and slave both create GATTC and GATTS for BLUEDOID - steps: | - 1. DUT1 do primary service discovery for DUT2 - 2. DUT2 do primary service discovery for DUT1 - 3. DUT[1-2] do register notify - 4. DUT1 and DUT2 send notify to each other - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. receive notification - initial condition: BLE_CONN4 - cmd set: - - "" - - - "SSC SSC2 bleconn -C -p 0x10 -a " - - ["R SSC2 C +BLE:GattcOpen,OK"] - - - "SSC SSC[1-2] gattc -D -z primaryService -p 0x10 -r " - - ["R SSC[1-2] C +GATTC:Discover,OK"] - - - "SSC SSC[1-2] gattc -N -z register -s 0xA002 -c 0xC305 -p 0x10 -r " - - ["R SSC[1-2] C +GATTC:RegNotify,OK,0010,A002,C305"] - - - "SSC SSC[1-2] gatts -N -c 0xC305 -l 1 -p 0xA2 -r " - - ['P SSC[1,2] RE "\+GATTC:Notification,0010,A002,C305,1,%%s"%%()'] -- ID: BLUEDROID_GATT_34004 - <<: *GATT_CASE - test point 2: BLE GATT multi connection indicate test - summary: do indicate when master and slave both create GATTC and GATTS for BLUEDOID - steps: | - 1. DUT1 do primary service discovery for DUT2 - 2. DUT2 do primary service discovery for DUT1 - 3. DUT[1-2] do register indication - 4. DUT1 and DUT2 send notify to each other - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. receive indication - initial condition: BLE_CONN4 - cmd set: - - "" - - - "SSC SSC2 bleconn -C -p 0x10 -a " - - ["R SSC2 C +BLE:GattcOpen,OK"] - - - "SSC SSC[1-2] gattc -D -z primaryService -p 0x10 -r " - - ["R SSC[1-2] C +GATTC:Discover,OK"] - - - "SSC SSC[1-2] gattc -N -z register -s 0xA002 -c 0xC306 -p 0x10 -r " - - ["R SSC[1-2] C +GATTC:RegNotify,OK,0010,A002,C306"] - - - "SSC SSC[1-2] gatts -I -c 0xC306 -l 1 -p 0xA2 -r " - - ['P SSC[1,2] RE "\+GATTC:Indication,0010,A002,C306,1,%%s"%%()'] -- ID: BLUEDROID_GATT_40001 - <<: *GATT_CASE - auto test: 'No' - test point 2: test if BLE work after switch off some sub modules - summary: GATTC only and GATTS only test for BLUEDROID - steps: | - 1. download GATTC only bin to DUT1 and GATTS only bin to DUT2 - 2. DUT2 start adv, enable service 0xA000, DUT1 connect to DUT2 - 3. DUT1 connect to DUT2 - 4. DUT1 do primary service discovery - 5. DUT1 do read - 6. DUT1 do read descriptor - 7. DUT1 do write - 8. DUT1 do write descriptor - 9. DUT1 register for notify and indication - 10. DUT2 do notify - 11. DUT2 do indicate - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. succeed - 9. succeed - 10. succeed - 11. succeed - initial condition: None - execution time: 5 - CI ready: 'No' - cmd set: - - "" - - - SSC SSC[1-2] reboot - - ['R SSC[1-2] C !!!ready!!!'] - - - SSC SSC[1-2] ble -R - - ['R SSC[1-2] C +BLE:OK'] - - - SSC SSC2 bleadv -D -z start - - ['R SSC2 C +BLEADV:OK'] - - - SSC SSC2 gatts -S -z load -p 0xA0 - - ['R SSC2 C +GATTS:StartService,OK,A000'] - - - SSC SSC1 bleconn -C -p 0x10 -a - - ['R SSC1 C +BLECONN:GapConnect,OK', 'R SSC2 C +BLECONN:GapConnect'] - - *primary_service_discovery - - - "SSC SSC1 gattc -R -z char -s 0xA000 -c 0xC100 -p 0x10" - - ["R SSC1 C +GATTC:ReadOnce,0010,A000,C100,1", "R SSC1 C +GATTC:Read,OK,0010,A000,C100"] - - - "SSC SSC1 gattc -W -z char -s 0xA000 -c 0xC102 -p 0x10 -v 0x01" - - ["R SSC1 C +GATTC:WriteOnce,0010,A000,C102", "R SSC1 C +GATTC:Write,OK,0010,A000,C102"] - - - "SSC SSC1 gattc -R -z descriptor -s 0xA000 -c 0xC100 -d 0x2901 -p 0x10" - - ["R SSC1 C +GATTC:ReadOnce,0010,A000,C100,2901,256", "R SSC1 C +GATTC:ReadDescriptor,OK,0010,A000,C100,2901"] - - - "SSC SSC1 gattc -W -z descriptor -s 0xA000 -c 0xC107 -d 0x2902 -p 0x10 -v 0x0100" - - ["R SSC1 C +GATTC:WriteOnce,0010,A000,C107,2902", "R SSC1 C +GATTC:WriteDescriptor,OK,0010,A000,C107,2902"] - - *register_notify_c107 - - *register_indicate_c108 - - - "SSC SSC1 gattc -W -z descriptor -s 0xA000 -c 0xC107 -d 0x2902 -p 0x10 -v 0x0300 -n 1" - - ["R SSC1 C +GATTC:WriteOnce,0010,A000,C107,2902", "R SSC1 C +GATTC:WriteDescriptor,OK,0010,A000,C107,2902"] - - - "SSC SSC2 gatts -N -c 0xC107 -p 0xA0 -v 0x01" - - ["P SSC2 C +GATTS:Done,Notify,A000,C107", "P SSC1 C +GATTC:Notification,0010,A000,C107,1"] - - - "SSC SSC2 gatts -I -c 0xC108 -p 0xA0 -v 0x01" - - ["P SSC2 C +GATTS:Done,Indicate,A000,C108", "P SSC1 C +GATTC:Indication,0010,A000,C108,1"] -- ID: BLUEDROID_GATT_40002 - <<: *GATT_CASE - auto test: 'No' - test point 2: test if BLE work after switch off some sub modules - summary: GATTC_SMP only and GATTS_SMP only test for BLUEDROID - steps: | - 1. download GATTC_SMP bin to DUT1 and GATTS_SMP bin to DUT2 - 2. DUT2 start adv, start service 0xA000, DUT1 connect to DUT2 - 3. DUT1 connect to DUT2 - 4. DUT1 do primary service discovery - 5. DUT1 do read - 6. DUT1 do read descriptor - 7. DUT1 do write - 8. DUT1 do write descriptor - 9. DUT1 register for notify and indication - 10. DUT2 do notify - 11. DUT2 do indicate - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. succeed - 9. succeed - 10. succeed - 11. succeed - initial condition: None - execution time: 5 - CI ready: 'No' - cmd set: - - "" - - - SSC SSC[1-2] reboot - - ['R SSC[1-2] C !!!ready!!!'] - - - SSC SSC[1-2] ble -R - - ['R SSC[1-2] C +BLE:OK'] - - - SSC SSC2 bleadv -D -z start - - ['R SSC2 C +BLEADV:OK'] - - - SSC SSC2 gatts -S -z load -p 0xA0 - - ['R SSC2 C +GATTS:StartService,OK,A000'] - - - SSC SSC1 bleconn -C -p 0x10 -a - - ['R SSC1 C +BLECONN:GapConnect,OK', 'R SSC2 C +BLECONN:GapConnect'] - - *primary_service_discovery - - - "SSC SSC1 gattc -R -z char -s 0xA000 -c 0xC100 -p 0x10" - - ["R SSC1 C +GATTC:ReadOnce,0010,A000,C100,1", "R SSC1 C +GATTC:Read,OK,0010,A000,C100"] - - - "SSC SSC1 gattc -W -z char -s 0xA000 -c 0xC102 -p 0x10 -v 0x01" - - ["R SSC1 C +GATTC:WriteOnce,0010,A000,C102", "R SSC1 C +GATTC:Write,OK,0010,A000,C102"] - - - "SSC SSC1 gattc -R -z descriptor -s 0xA000 -c 0xC100 -d 0x2901 -p 0x10" - - ["R SSC1 C +GATTC:ReadOnce,0010,A000,C100,2901,256", "R SSC1 C +GATTC:ReadDescriptor,OK,0010,A000,C100,2901"] - - - "SSC SSC1 gattc -W -z descriptor -s 0xA000 -c 0xC107 -d 0x2902 -p 0x10 -v 0x0100" - - ["R SSC1 C +GATTC:WriteOnce,0010,A000,C107,2902", "R SSC1 C +GATTC:WriteDescriptor,OK,0010,A000,C107,2902"] - - *register_notify_c107 - - *register_indicate_c108 - - - "SSC SSC1 gattc -W -z descriptor -s 0xA000 -c 0xC107 -d 0x2902 -p 0x10 -v 0x0300 -n 1" - - ["R SSC1 C +GATTC:WriteOnce,0010,A000,C107,2902", "R SSC1 C +GATTC:WriteDescriptor,OK,0010,A000,C107,2902"] - - - "SSC SSC2 gatts -N -c 0xC107 -p 0xA0 -v 0x01" - - ["P SSC2 C +GATTS:Done,Notify,A000,C107", "P SSC1 C +GATTC:Notification,0010,A000,C107,1"] - - - "SSC SSC2 gatts -I -c 0xC108 -p 0xA0 -v 0x01" - - ["P SSC2 C +GATTS:Done,Indicate,A000,C108", "P SSC1 C +GATTC:Indication,0010,A000,C108,1"] \ No newline at end of file diff --git a/components/idf_test/integration_test/TC_IT_BLUEDROID_SMP.yml b/components/idf_test/integration_test/TC_IT_BLUEDROID_SMP.yml deleted file mode 100644 index 5207f45efa..0000000000 --- a/components/idf_test/integration_test/TC_IT_BLUEDROID_SMP.yml +++ /dev/null @@ -1,607 +0,0 @@ -.SMP_CASE: &SMP_CASE - SDK: ESP32_IDF - Test App: SSC_BLE - auto test: 'Yes' - category: Function - test point 1: basic function - initial condition: BLE_INIT_SMP - test environment: SSC_T2_5 - execution time: 0 - module: BLUEDROID - sub module: SMP - version: v1 (2017-05-26) - CI ready: 'Yes' - level: Integration - allow fail: '' - -.just_work_pair: &just_work_pair - LIST_MERGE: - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC[1-2] C +BLESMP:AuthComplete,Success,0'] - -.slave_passkey_entry_pair: &slave_passkey_entry_pair - LIST_MERGE: - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC2 C +BLESMP:PassKeyReq', 'P SSC1 A :BLESMP:PassKeyNotify,(\d+)'] - - - "SSC SSC2 blesmp -K -r -a 1 -k " - - ['P SSC[1-2] C +BLESMP:AuthComplete,Success,0'] - -.master_passkey_entry_pair: &master_passkey_entry_pair - LIST_MERGE: - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC1 C +BLESMP:PassKeyReq', 'P SSC2 A :BLESMP:PassKeyNotify,(\d+)'] - - - "SSC SSC1 blesmp -K -r -a 1 -k " - - ['P SSC[1-2] C +BLESMP:AuthComplete,Success,0'] - -.both_side_passkey_entry_pair: &both_side_passkey_entry_pair - LIST_MERGE: - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC[1,2] C +BLESMP:PassKeyReq'] - - - "SSC SSC[1,2] blesmp -K -r -a 1 -k 123456" - - ['P SSC[1-2] C +BLESMP:AuthComplete,Success,0'] - -.numberic_comparision_pair: &numberic_comparision_pair - LIST_MERGE: - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['R SSC2 A :BLESMP:NCReq,(\d+)', 'R SSC1 C NCReq P '] - - - "SSC SSC[1-2] blesmp -C -r -a 1" - - ['P SSC[1-2] C +BLESMP:AuthComplete,Success,0'] - -.check_connection: &check_connection - LIST_MERGE: - - - "SSC SSC1 gattc -D -z primaryService -p 0x10 -r " - - ["R SSC1 C +GATTC:Discover,OK"] - -.disconnect: &disconnect - LIST_MERGE: - - - "SSC SSC1 bleconn -D -z all" - - ['P SSC1 C +BLECONN:GapDisconnect,OK', 'P SSC2 C +BLECONN:GapDisconnect,OK'] - - - "SSC SSC2 bleadv -D -z start" - - ['P SSC2 C +BLEADV:OK'] - -.connect: &connect - LIST_MERGE: - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - -.config_just_work: &config_just_work - LIST_MERGE: - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x00" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z IOCAP -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - -.config_master_passkey_entry: &config_master_passkey_entry - LIST_MERGE: - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x02" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x04" - - ['P SSC2 C +BLESMP:OK'] - -.config_slave_passkey_entry: &config_slave_passkey_entry - LIST_MERGE: - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z IOCAP -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - -.config_both_side_passkey_entry: &config_both_side_passkey_entry - LIST_MERGE: - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z IOCAP -v 0x02" - - ['P SSC[1-2] C +BLESMP:OK'] - -.config_numberic_comparision: &config_numberic_comparision - LIST_MERGE: - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z IOCAP -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - -.config_bond_device: &config_bond_device - LIST_MERGE: - - - "SSC SSC2 blesmp -S -z AuthReqMode -v 0x01" - - ['P SSC2 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x03" - - ['P SSC2 C +BLESMP:OK'] - -test cases: -- ID: BLUEDROID_SMP_04001 - <<: *SMP_CASE - test point 2: BLE SMP key test - summary: BLE SMP set key size less than required for BLUEDROID - allow fail: 1/2 - steps: | - 1. set key size 7 - 2. set key size 6 - 3. do just work pair - expected result: | - 1. succeed - 2. LTK size is 7 - 3. succeed - cmd set: - - "" - - *config_numberic_comparision - - - "SSC SSC1 blesmp -S -z KeySize -v 0x07" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z KeySize -v 0x06" - - ['P SSC1 C +BLESMP:OK'] - - *connect - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['R SSC2 A :BLESMP:NCReq,(\d+)', 'R SSC1 C NCReq P '] - - - "SSC SSC[1-2] blesmp -C -r -a 1" - - ['P SSC[1-2] C +BLESMP:Key,LocalLTK,16 C +BLESMP:AuthComplete,Success,0'] -- ID: BLUEDROID_SMP_04002 - <<: *SMP_CASE - test point 2: BLE SMP key test - summary: BLE SMP set key size greater than required for BLUEDROID - allow fail: 1/2 - steps: | - 1. set key size 16 - 2. set key size 17 - 3. do just work pair - expected result: | - 1. succeed - 2. LTK size is 17 - 3. succeed - cmd set: - - "" - - *config_numberic_comparision - - - "SSC SSC1 blesmp -S -z KeySize -v 0x10" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z KeySize -v 0x11" - - ['P SSC1 C +BLESMP:OK'] - - *connect - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['R SSC2 A :BLESMP:NCReq,(\d+)', 'R SSC1 C NCReq P '] - - - "SSC SSC[1-2] blesmp -C -r -a 1" - - ['P SSC[1-2] C +BLESMP:Key,LocalLTK,16 C +BLESMP:AuthComplete,Success,0'] -- ID: BLUEDROID_SMP_05001 - <<: *SMP_CASE - test point 2: BLE SMP unsuccessful pair reply test - summary: BLE SMP unsuccessful passkey entry test for BLUEDROID - steps: | - 1. enter passkey entry phase - 2. entry incorrect passkey and accept - 3. enter passkey entry phase - 4. entry correct passkey and reject - 5. enter passkey entry phase - 6. send numberic comparision accept - 7. enter passkey entry phase - 8. send numberic comparision reject - expected result: | - 1. succeed - 2. pair failed - 3. succeed - 4. pair failed - 5. succeed - 6. pair failed - 7. succeed - 8. pair failed - cmd set: - - "" - - *config_slave_passkey_entry - - - LOOP 2 5 "[1,0]" "['000001','']" - - "" - - *connect - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC2 C +BLESMP:PassKeyReq', 'P SSC1 A :BLESMP:PassKeyNotify,(\d+)'] - - - "SSC SSC2 blesmp -K -r -a {%d} -k {%s}" - - ['P SSC[1-2] C +BLESMP:AuthComplete,Fail'] - - *disconnect - - - LOOP 2 5 "[1,0]" - - "" - - *connect - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC2 C +BLESMP:PassKeyReq', 'P SSC1 A :BLESMP:PassKeyNotify,(\d+)'] - - - "SSC SSC[1-2] blesmp -C -r -a {%d}" - - ['P SSC[1-2] C +BLESMP:AuthComplete,Fail'] - - *disconnect -- ID: BLUEDROID_SMP_05002 - <<: *SMP_CASE - test point 2: BLE SMP unsuccessful pair reply test - summary: BLE SMP unsuccessful numberic comparision test for BLUEDROID - steps: | - 1. enter numberic comparision phase - 2. entry passkey and accept - 3. enter numberic comparision phase - 4. send numberic comparision reject - expected result: | - 1. succeed - 2. pair failed - 3. succeed - 4. pair failed - cmd set: - - "" - - *config_numberic_comparision - - - LOOP 2 6 "[1,0]" - - "" - - *connect - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['R SSC2 A :BLESMP:NCReq,(\d+)', 'R SSC1 C NCReq P '] - - - "SSC SSC2 blesmp -K -r -a {%d} -k 000001" - - [] - - - DELAY 10 - - ['P SSC[1-2] C +BLESMP:AuthComplete,Fail'] - - *disconnect - - - LOOP 2 5 "[1,0]" "[0,1]" - - "" - - *connect - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['R SSC2 A :BLESMP:NCReq,(\d+)', 'R SSC1 C NCReq P '] - - - "SSC SSC[1,2] blesmp -C -r -a [{%d},{%d}]" - - ['P SSC[1-2] C +BLESMP:AuthComplete,Fail'] - - *disconnect -- ID: BLUEDROID_SMP_06001 - <<: *SMP_CASE - test environment: SSC_T1_4 - initial condition: BLE_DEINIT1 - test point 2: BLE SMP use API in abnormal state - summary: BLE SMP use API when BLE not initialized, not enabled or not registered callback for BLUEDROID - steps: | - 1. set security parameter - 2. send security response - 3. send passkey reply - 4. send confirm reply - 5. init BLE - 6. set security parameter - 7. send security response - 8. send passkey reply - 9. send confirm reply - 10. init BLE - 11. set security parameter - 12. send security response - 13. send passkey reply - 14. send confirm reply - expected result: | - 1. failed - 2. failed - 3. failed - 4. failed - 5. succeed - 6. failed - 7. failed - 8. failed - 9. failed - 10. succeed - 11. failed - 12. failed - 13. failed - 14. failed - cmd set: - - "" - - - "SSC SSC1 blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC1 C +BLESMP:ERROR'] - - - "SSC SSC1 blesmp -R -a 1 -r " - - ['P SSC1 C +BLESMP:ERROR'] - - - "SSC SSC1 blesmp -K -r -a 1 -k 123456" - - ['P SSC1 C +BLESMP:ERROR'] - - - "SSC SSC1 blesmp -C -r -a 1" - - ['P SSC1 C +BLESMP:ERROR'] - - - SSC SSC1 bt -D -z init - - ['R SSC1 C +BT:'] - - - "SSC SSC1 blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC1 C +BLESMP'] - - - "SSC SSC1 blesmp -R -a 1 -r " - - ['P SSC1 C +BLESMP'] - - - "SSC SSC1 blesmp -K -r -a 1 -k 123456" - - ['P SSC1 C +BLESMP'] - - - "SSC SSC1 blesmp -C -r -a 1" - - ['P SSC1 C +BLESMP'] - - - SSC SSC1 bt -D -z enable - - ['R SSC1 C +BT:'] - - - "SSC SSC1 blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC1 C +BLESMP'] - - - "SSC SSC1 blesmp -R -a 1 -r " - - ['P SSC1 C +BLESMP'] - - - "SSC SSC1 blesmp -K -r -a 1 -k 123456" - - ['P SSC1 C +BLESMP'] - - - "SSC SSC1 blesmp -C -r -a 1" - - ['P SSC1 C +BLESMP'] -- ID: BLUEDROID_SMP_07002 - <<: *SMP_CASE - test point 2: BLE SMP no bond test and repairing - summary: BLE SMP just work pairing and reboot for BLUEDROID - steps: | - 1. DUT1 and DUT2 SMP with just work pair - 2. DUT1 reboot - 3. DUT1 connect to DUT2 - 4. DUT2 send auth request - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. failed - cmd set: - - "" - - *config_just_work - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC1 blesmp -E -r -z Enc" - - ['P SSC[1-2] C +BLESMP:AuthComplete,Success,0'] - - - "SSC SSC1 reboot" - - ['P SSC2 C +BLECONN:GapDisconnect,OK'] - - - "SSC SSC1 ble -R" - - ['R SSC1 C +BLE:'] - - - "SSC SSC2 bleadv -D -z start" - - ['R SSC2 C +BLEADV:OK'] - - *slave_passkey_entry_pair -- ID: BLUEDROID_SMP_07005 - <<: *SMP_CASE - test point 2: BLE SMP no bond test and repairing - summary: BLE SMP initiator with master passkey entry and reconnect for BLUEDROID - steps: | - 1. DUT1 and DUT2 SMP with master passkey entry - 2. DUT1 disconnect - 3. DUT1 connect to DUT2 - 4. DUT2 send auth request - expected result: | - 1. succeed - 2. succeed - 3. connect succeed - 4. succeed - cmd set: - - "" - - *config_master_passkey_entry - - *master_passkey_entry_pair - - *disconnect - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect'] - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC[1-2] C +BLESMP:AuthComplete,Success,0'] -- ID: BLUEDROID_SMP_07006 - <<: *SMP_CASE - test point 2: BLE SMP no bond test and repairing - summary: BLE SMP initiator with master passkey entry and reboot for BLUEDROID - steps: | - 1. DUT1 and DUT2 SMP bond with lagecy pairing - 2. DUT1 reboot - 3. DUT1 connect to DUT2 - 4. DUT2 send auth requst - expected result: | - 1. succeed - 2. succeed - 3. connect succeed - 4. fail - cmd set: - - "" - - *config_master_passkey_entry - - *master_passkey_entry_pair - - - "SSC SSC1 reboot" - - ['P SSC2 C +BLECONN:GapDisconnect,OK'] - - - "SSC SSC1 ble -R" - - ['R SSC1 C +BLE:'] - - - "SSC SSC2 bleadv -D -z start" - - ['R SSC2 C +BLEADV:OK'] - - *numberic_comparision_pair -- ID: BLUEDROID_SMP_07007 - <<: *SMP_CASE - test point 2: BLE SMP no bond test and repairing - summary: BLE SMP initiator numberic comparision and reconnect for BLUEDROID - steps: | - 1. DUT1 and DUT2 SMP with numberic comparision - 2. DUT1 disconnect - 3. DUT1 connect to DUT2 - 4. DUT2 send auth requst - expected result: | - 1. succeed - 2. succeed - 3. connect succeed - 4. succeed - cmd set: - - "" - - *config_numberic_comparision - - *numberic_comparision_pair - - *disconnect - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect'] - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC[1-2] C +BLESMP:AuthComplete,Success,0'] -- ID: BLUEDROID_SMP_07008 - <<: *SMP_CASE - test point 2: BLE SMP no bond test and repairing - summary: BLE SMP initiator numberic comparision and reboot for BLUEDROID - steps: | - 1. DUT1 and DUT2 SMP with numberic comparision - 2. DUT1 disconnect - 3. DUT1 and DUT2 reboot - 4. DUT2 send auth requst - expected result: | - 1. succeed - 2. succeed - 3. connect succeed - 4. failed - cmd set: - - "" - - *config_numberic_comparision - - *numberic_comparision_pair - - - "SSC SSC1 reboot" - - ['P SSC2 C +BLECONN:GapDisconnect,OK'] - - - "SSC SSC1 ble -R" - - ['R SSC1 C +BLE:'] - - - "SSC SSC2 bleadv -D -z start" - - ['R SSC2 C +BLEADV:OK'] - - *numberic_comparision_pair -- ID: BLUEDROID_SMP_08001 - <<: *SMP_CASE - test point 2: BLE SMP bond item management test - summary: BLE SMP get bond list and number without bond device for BLUEDROID - steps: | - 1. DUT1 get bond list - 2. DUT1 get bond number - expected result: | - 1. succeed - 2. succeed - cmd set: - - "" - - - "SSC SSC1 blesmp -B -z getlist -n 1" - - ['P SSC1 C +BLESMP:GetBondList,OK,0'] - - - "SSC SSC1 blesmp -B -z getnum" - - ['P SSC1 C +BLESMP:GetBondNum,0'] -- ID: BLUEDROID_SMP_08002 - <<: *SMP_CASE - test point 2: BLE SMP bond item management test - summary: BLE SMP remove bond after connected - steps: | - 1. DUT2 set AuthReqMode and RspKey - 2. pairing - 3. remove bond - expected result: | - 1. Succeed - 2. Succeed - 3. Succeed - cmd set: - - "" - - *config_bond_device - - - "SSC SSC2 bleadv -D -z start" - - ['R SSC2 C +BLEADV:Start,OK'] - - *connect - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC1 C +BLESMP:AuthComplete,Success,0','P SSC2 C +BLESMP:AuthComplete,Success,0'] - - - "SSC SSC1 blesmp -B -z getnum" - - ['P SSC1 C +BLESMP:GetBondNum,1'] - - - "SSC SSC1 blesmp -B -z remove -r " - - ['P SSC1 RE "\+BLESMP:RemoveBond,Success,%%s"%%()'] -- ID: BLUEDROID_SMP_08003 - <<: *SMP_CASE - CI ready: 'No' - test point 2: BLE SMP bond item management test - summary: BLE SMP get bond list and number when pairing and after reboot for BLUEDROID - steps: | - 1. all slaves set AuthReqMode and RspKey - 2. do pairing - 3. master and slave get bond list and num - 4. reboot - 5. master and slave get bond list and num - 6. slave remove bond device - expected result: | - 1. Succeed - 2. Succeed - 3. Succeed - 4. succeed - 5. succeed - 6. succeed - test environment: SSC_T5_1 - initial condition: BLE_INIT_SMP5 - allow fail: 3/5 - cmd set: - - "" - - - "SSC SSC[2-5] blesmp -S -z AuthReqMode -v 0x01" - - ['P SSC[2-5] C +BLESMP:OK'] - - - "SSC SSC[2-5] blesmp -S -z IOCAP -v 0x03" - - ['P SSC[2-5] C +BLESMP:OK'] - - - "SSC SSC[2-5] blesmp -S -z RspKey -v 0x03" - - ['P SSC[2-5] C +BLESMP:OK'] - - - LOOP 4 4 "[2,3,4,5]" "[2,3,4,5]" "[2,3,4,5]" "[2,3,4,5]" "[2,3,4,5]" "[2,3,4,5]" "[2,3,4,5]" - - "" - - - "SSC SSC{%d} bleadv -D -z start" - - ['R SSC{%d} C +BLEADV:Start,OK'] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC{%d} C +BLECONN:GapConnect'] - - - "SSC SSC{%d} blesmp -E -r -z Enc" - - ['P SSC1 C +BLESMP:SecReq'] - - - "SSC SSC1 blesmp -R -a 1 -r " - - ['P SSC1 C +BLESMP:AuthComplete,Success,0','P SSC{%d} C +BLESMP:AuthComplete,Success,0'] - - - "SSC SSC1 blesmp -B -z getlist -n 4" - - ['P SSC1 C +BLESMP:GetBondList,OK,4'] - - - "SSC SSC1 blesmp -B -z getnum" - - ['P SSC1 C +BLESMP:GetBondNum,4'] - - - "SSC SSC2 blesmp -B -z getnum" - - ['P SSC2 C +BLESMP:GetBondNum,1'] - - - "SSC SSC[1-2] reboot" - - ['R SSC[1-2] C !!!ready!!!'] - - - "SSC SSC[1-2] ble -R" - - ["R SSC[1-2] C +BLE:OK"] - - - "SSC SSC1 blesmp -B -z getnum" - - ['P SSC1 C +BLESMP:GetBondNum,4'] - - - "SSC SSC2 blesmp -B -z getnum" - - ['P SSC2 C +BLESMP:GetBondNum,1'] - - - "SSC SSC2 blesmp -B -z remove -r " - - ['P SSC2 RE "\+BLESMP:RemoveBond,Success,%%s"%%()'] -- ID: BLUEDROID_SMP_08004 - <<: *SMP_CASE - test point 2: BLE SMP bond item management test - summary: BLE SMP remove bond which not bond for BLUEDROID - steps: | - 1. DUT1 remove bond - expected result: | - 1. failed - cmd set: - - "" - - - "SSC SSC1 blesmp -B -z remove -r " - - ['P SSC1 C +BLESMP:RemoveBond,Fail'] -- ID: BLUEDROID_SMP_08005 - <<: *SMP_CASE - test point 2: BLE SMP remove bond - summary: BLE SMP bond 15/16 devices and get list - steps: | - 1. DUT2 set AuthReqMode and RspKey - 2. DUT2 set static random address - 3. DUT1 and DUT2 do pairing - 4. loop step 2 and step3 16 times - 5. get bond list and bond num - 6. DUT2 set static random address - 7. DUT1 and DUT2 do pairing - 8. get bond list and bond num - expected result: | - 1. Succeed - 2. Succeed - 3. Succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x01" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z IOCAP -v 0x03" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z RspKey -v 0x03" - - ['P SSC[1-2] C +BLESMP:OK'] - - - LOOP 15 7 "range(0,15)" "range(0,15)" "range(0,15)" - - "" - - - "SSC SSC2 bleadv -D -z stop" - - ['R SSC2 C +BLEADV:Stop,OK'] - - - "SSC SSC2 ble -S -z randAddr -a c0:9b:0e:36:6d:7{%x} -r 1" - - ["R SSC2 C +BLECONN:SetRandAddr,OK"] - - - "SSC SSC2 bleadv -D -z start -o 1" - - ['R SSC2 C +BLEADV:Start,OK'] - - - "SSC SSC1 bleconn -C -p 0x10 -a c0:9b:0e:36:6d:7{%x} -r 1" - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect'] - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC1 C +BLESMP:SecReq'] - - - "SSC SSC1 blesmp -R -a 1 -r c0:9b:0e:36:6d:7{%x}" - - ['P SSC1 C +BLESMP:AuthComplete,Success,0','P SSC2 C +BLESMP:AuthComplete,Success,0'] - - - "SSC SSC1 bleconn -D -z all" - - ['P SSC1 C +BLE:CLOSE', 'P SSC2 C +BLECONN:GapDisconnect,OK'] - - - "SSC SSC1 blesmp -B -z getlist -n 16" - - ['P SSC1 C +BLESMP:GetBondList,OK,15'] - - - "SSC SSC2 ble -S -z randAddr -a c1:0a:d3:25:7a:cf -r 1" - - ["R SSC2 C +BLECONN:SetRandAddr,OK"] - - - "SSC SSC2 bleadv -D -z stop" - - ['R SSC2 C +BLEADV:Stop,OK'] - - - "SSC SSC2 bleadv -D -z start -o 1" - - ['R SSC2 C +BLEADV:Start,OK'] - - - "SSC SSC1 bleconn -C -p 0x10 -a c1:0a:d3:25:7a:cf -r 1" - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect'] - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC1 C +BLESMP:SecReq'] - - - "SSC SSC1 blesmp -R -a 1 -r c1:0a:d3:25:7a:cf" - - ['P SSC1 C +BLESMP:AuthComplete,Success,0','P SSC2 C +BLESMP:AuthComplete,Success,0'] - - - "SSC SSC1 blesmp -B -z getlist -n 16" - - ['P SSC1 C +BLESMP:GetBondList,OK,15'] diff --git a/components/idf_test/integration_test/TC_IT_BTSTK_GAP.yml b/components/idf_test/integration_test/TC_IT_BTSTK_GAP.yml deleted file mode 100644 index a515593320..0000000000 --- a/components/idf_test/integration_test/TC_IT_BTSTK_GAP.yml +++ /dev/null @@ -1,2091 +0,0 @@ -.GAP_CASE: &GAP_CASE - SDK: ESP32_IDF - Test App: SSC_BLE - auto test: 'Yes' - category: Function - test point 1: basic function - initial condition: BLE_INIT3 - test environment: SSC_T2_5 - execution time: 0 - module: BT Stack - sub module: GAP - version: v1 (2016-12-31) - CI ready: 'Yes' - level: Integration - allow fail: '' - -.dut1_stop_adv: &dut1_stop_adv - LIST_MERGE: - - - "SSC SSC1 bleadv -D -z stop" - - ["R SSC1 C +BLEADV:"] - -.dut2_stop_adv: &dut2_stop_adv - LIST_MERGE: - - - "SSC SSC2 bleadv -D -z stop" - - ["R SSC2 C +BLEADV:"] - -.dut1_start_adv: &dut1_start_adv - LIST_MERGE: - - - "SSC SSC1 bleadv -D -z start" - - ["R SSC1 C +BLEADV:Start,OK"] - -.set_default_ble_name: &set_default_ble_name - LIST_MERGE: - - - "SSC SSC1 ble -S -z name -n " - - ["R SSC1 C +BLE:OK"] - -.set_default_adv_data: &set_default_adv_data - LIST_MERGE: - - - "SSC SSC1 bleadv -D -z stop" - - ["R SSC1 C +BLEADV:"] - - - "SSC SSC1 bleadv -L -c 0 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK C +BLEADV:SetScanRes,OK"] - - - "SSC SSC1 bleadv -D -z start" - - ["R SSC1 C +BLEADV:Start,OK"] - -.open_capture_nic: &open_capture_nic - LIST_MERGE: - - - "NIC BLENIC START bt+capture" - - ['R PC_COM C +NIC_START:OK'] - -.dut1_connect_to_dut2: &dut1_connect_to_dut2 - LIST_MERGE: - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - -test cases: -- ID: BTSTK_GAP_01001 - <<: *GAP_CASE - test point 2: BLE GAP param device name test - summary: ble set ascii device name - steps: | - 1. DUT1 set ascii device name - 2. stop advertising - 3. config scan response and start advertising - 4. DUT2 do active scan - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. device name in scan result - cmd set: - - "" - - *set_default_ble_name - - - "SSC SSC1 bleadv -D -z stop" - - ["R SSC1 C +BLEADV:"] - - - "SSC SSC1 bleadv -L -c 0 -t 3 -n 1" - - ["R SSC1 C +BLEADV:SetAdv,OK C +BLEADV:SetScanRes,OK"] - - - "SSC SSC1 bleadv -D -z start" - - ["R SSC1 C +BLEADV:Start,OK"] - - *dut2_stop_adv - - - "SSC SSC2 blescan -D -z start -t 3 -c 0" - - ["R SSC2 P "] -- ID: BTSTK_GAP_01002 - <<: *GAP_CASE - test point 2: BLE GAP param device name test - summary: ble set non-ascii device name - steps: | - 1. DUT1 set non-ascii device name - 2. stop advertising - 3. config scan response and start advertising - 4. DUT2 do active scan - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. device name in scan result - cmd set: - - "" - - - "SSC SSC1 ble -S -z name -n " - - ["R SSC1 C +BLE:OK"] - - - "SSC SSC1 bleadv -D -z stop" - - ["R SSC1 C +BLEADV:"] - - - "SSC SSC1 bleadv -L -c 0 -t 3 -n 1" - - ["R SSC1 C +BLEADV:SetAdv,OK C +BLEADV:SetScanRes,OK"] - - - "SSC SSC1 bleadv -D -z start" - - ["R SSC1 C +BLEADV:Start,OK"] - - *dut2_stop_adv - - - "SSC SSC2 blescan -D -z start -t 3 -c 0" - - ["R SSC2 P "] -- ID: BTSTK_GAP_02001 - <<: *GAP_CASE - test point 2: BLE GAP config advertising data - summary: ble set advertising data / scan response include name - steps: | - 1. DUT1 stop advertise and set short device name - 2. DUT1 set include device name for adv data and scan response - 3. DUT1 start advertising - 4. PC do active scan and capture advertising report - 5. DUT1 stop advertising - 6. DUT1 set not include device name for adv data and scan response - 7. DUT1 start advertising - 8. PC do active scan and capture advertising report - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. get complete device name in ADV_IND and SCAN_RSP - 5. succeed - 6. succeed - 7. succeed - 8. do not have complete device name in ADV_IND and SCAN_RSP - initial condition: BLE_INIT1 - test environment: SSC_T1_3 - version: v2 (2016-03-01) - cmd set: - - "" - - *dut1_stop_adv - - *set_default_ble_name - - - "SSC SSC1 bleadv -L -c 0 -n 1 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - *open_capture_nic - - - "HCITOOL 2 -i lescan" - - - 'P PC_COM C +HCITOOL:OK' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="ADV_IND")(HCIEvent.address_0=)(HCIEvent.data_0.NameComplete=)' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="SCAN_RSP")(HCIEvent.address_0=)(HCIEvent.data_0.NameComplete=)' - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -n 0 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - - "HCITOOL 2 -i lescan" - - - 'P PC_COM C +HCITOOL:OK' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="ADV_IND")(HCIEvent.address_0=)(!HCIEvent.data_0.NameComplete)' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="SCAN_RSP")(HCIEvent.address_0=)(!HCIEvent.data_0.NameComplete)' -- ID: BTSTK_GAP_02002 - <<: *GAP_CASE - test point 2: BLE GAP config advertising data - summary: ble set advertising data / scan response include Tx power - steps: | - 1. DUT1 set include Tx power for adv data and scan response - 2. DUT1 start advertising - 3. PC do active scan and capture advertising report - 4. DUT1 stop advertising - 5. DUT1 set not include Tx power for adv data and scan response - 6. DUT1 start advertising - 7. PC do active scan and capture advertising report - expected result: | - 1. succeed - 2. succeed - 3. get Tx power in ADV_IND and SCAN_RSP - 4. succeed - 5. succeed - 6. succeed - 7. do not have Tx power in ADV_IND and SCAN_RSP - initial condition: BLE_INIT1 - test environment: SSC_T1_3 - version: v2 (2016-03-01) - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -x 1 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - *open_capture_nic - - - "HCITOOL 2 -i lescan" - - - 'P PC_COM C +HCITOOL:OK' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="ADV_IND")(HCIEvent.address_0=)(HCIEvent.data_0.TxPower="")' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="SCAN_RSP")(HCIEvent.address_0=)(HCIEvent.data_0.TxPower="")' - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -x 0 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - - "HCITOOL 2 -i lescan" - - - 'P PC_COM C +HCITOOL:OK' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="ADV_IND")(HCIEvent.address_0=)(!HCIEvent.data_0.TxPower)' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="SCAN_RSP")(HCIEvent.address_0=)(!HCIEvent.data_0.TxPower)' -- ID: BTSTK_GAP_02004 - <<: *GAP_CASE - test point 2: BLE GAP config advertising data - summary: ble set advertising data / scan response appearance - steps: | - 1. DUT1 stop advertise - 2. DUT1 set appearance to 0 for adv data and scan response - 3. DUT1 start advertising - 4. PC do active scan and capture advertising report - 5. DUT1 stop advertising - 6. DUT1 set appearance to 1 for adv data and scan response - 7. DUT1 start advertising - 8. PC do active scan and capture advertising report - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. do not have appearance in ADV_IND and SCAN_RSP - 5. succeed - 6. succeed - 7. succeed - 8. get appearance 1 in ADV_IND and SCAN_RSP - initial condition: BLE_INIT1 - test environment: SSC_T1_3 - version: v2 (2016-03-01) - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -a 0 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - *open_capture_nic - - - "HCITOOL 2 -i lescan" - - - 'P PC_COM C +HCITOOL:OK' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="ADV_IND")(HCIEvent.address_0=)(!HCIEvent.data_0.Appearance)' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="SCAN_RSP")(HCIEvent.address_0=)(!HCIEvent.data_0.Appearance)' - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -a 1 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - - "HCITOOL 2 -i lescan" - - - 'P PC_COM C +HCITOOL:OK' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="ADV_IND")(HCIEvent.address_0=)(HCIEvent.data_0.Appearance="0x01")' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="SCAN_RSP")(HCIEvent.address_0=)(HCIEvent.data_0.Appearance="0x01")' -- ID: BTSTK_GAP_02005 - <<: *GAP_CASE - test point 2: BLE GAP config advertising data - summary: ble set advertising data / scan response manufacturer data - steps: | - 1. DUT1 stop advertise - 2. DUT1 set manufacturer to 0x12345678 for adv data and scan response - 3. DUT1 start advertising - 4. PC do active scan and capture advertising report - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. get manufacturer data 0x12345678 in ADV_IND and SCAN_RSP - initial condition: BLE_INIT1 - test environment: SSC_T1_3 - version: v2 (2016-03-01) - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -m 0x12345678 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - *open_capture_nic - - - "HCITOOL 2 -i lescan" - - - 'P PC_COM C +HCITOOL:OK' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="ADV_IND")(HCIEvent.address_0=)(HCIEvent.data_0.ManufacturerSpecificData="0x12345678")' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="SCAN_RSP")(HCIEvent.address_0=)(HCIEvent.data_0.ManufacturerSpecificData="0x12345678")' -- ID: BTSTK_GAP_02006 - <<: *GAP_CASE - test point 2: BLE GAP config advertising data - summary: ble set advertising data / scan response manufacturer length not equal to real lenght - steps: | - 1. DUT1 stop advertise - 2. DUT1 set manufacturer 0x12345678 and length 3 for adv data and scan response - 3. DUT1 start advertising - 4. PC do active scan and capture advertising report - 5. DUT1 stop advertise - 6. DUT1 set manufacturer 0x12345678 and length 10 for adv data and scan response - 7. DUT1 start advertising - 8. PC do active scan and capture advertising report - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. get manufacturer data 0x12345678 in ADV_IND and SCAN_RSP - 5. succeed - 6. succeed - 7. succeed - 8. get manufacturer data 0x12345678 in ADV_IND and SCAN_RSP - initial condition: BLE_INIT1 - test environment: SSC_T1_3 - version: v2 (2016-03-01) - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -m 0x12345678 -t 3 -l 3" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - *open_capture_nic - - - "HCITOOL 2 -i lescan" - - - 'P PC_COM C +HCITOOL:OK' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="ADV_IND")(HCIEvent.address_0=)(HCIEvent.data_0.ManufacturerSpecificData="0x12345678")' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="SCAN_RSP")(HCIEvent.address_0=)(HCIEvent.data_0.ManufacturerSpecificData="0x12345678")' - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -m 0x12345678 -t 3 -l 10" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - *open_capture_nic - - - "HCITOOL 2 -i lescan" - - - 'P PC_COM C +HCITOOL:OK' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="ADV_IND")(HCIEvent.address_0=)(HCIEvent.data_0.ManufacturerSpecificData="0x12345678")' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="SCAN_RSP")(HCIEvent.address_0=)(HCIEvent.data_0.ManufacturerSpecificData="0x12345678")' -- ID: BTSTK_GAP_02007 - <<: *GAP_CASE - test point 2: BLE GAP config advertising data - summary: ble set advertising data / scan response service data - steps: | - 1. DUT1 stop advertise - 2. DUT1 set advertising data and scan response service data 0x1234123456 and not include device name - 3. DUT1 start advertising - 4. PC do active scan and capture advertising report - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. get ServiceData16BitUUID 0x1234123456 in ADV_IND and SCAN_RSP - initial condition: BLE_INIT1 - test environment: SSC_T1_3 - version: v2 (2016-03-01) - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -n 0 -d 0x1234123456 -t 3 -p -f 0 -x 0" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - *open_capture_nic - - - "HCITOOL 2 -i lescan" - - - 'P PC_COM C +HCITOOL:OK' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="ADV_IND")(HCIEvent.address_0=)(HCIEvent.data_0.ServiceData16BitUUID="1234123456")' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="SCAN_RSP")(HCIEvent.address_0=)(HCIEvent.data_0.ServiceData16BitUUID="1234123456")' -- ID: BTSTK_GAP_02008 - <<: *GAP_CASE - test point 2: BLE GAP config advertising data - summary: ble set advertising data / scan response service data and set length not equal to real length - steps: | - 1. DUT1 stop advertise - 2. DUT1 set advertising data and scan response service data 0x1234123456 and service data length 3 - 3. DUT1 start advertising - 4. PC do active scan and capture advertising report - 5. DUT1 stop advertise - 6. DUT1 set advertising data and scan response service data 0x1234123456 and service data length 10 - 7. DUT1 start advertising - 8. PC do active scan and capture advertising report - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. get ServiceData16BitUUID 0x1234123456 in ADV_IND and SCAN_RSP - 5. succeed - 6. succeed - 7. succeed - 8. get ServiceData16BitUUID 0x1234123456 in ADV_IND and SCAN_RSP - initial condition: BLE_INIT1 - test environment: SSC_T1_3 - version: v2 (2016-03-01) - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -d 0x1234123456 -t 3 -l 3" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - *open_capture_nic - - - "HCITOOL 2 -i lescan" - - - 'P PC_COM C +HCITOOL:OK' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="ADV_IND")(HCIEvent.address_0=)(HCIEvent.data_0.ServiceData16BitUUID="1234123456")' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="SCAN_RSP")(HCIEvent.address_0=)(HCIEvent.data_0.ServiceData16BitUUID="1234123456")' - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -d 0x1234123456 -t 3 -l 10" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - *open_capture_nic - - - "HCITOOL 2 -i lescan" - - - 'P PC_COM C +HCITOOL:OK' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="ADV_IND")(HCIEvent.address_0=)(HCIEvent.data_0.ServiceData16BitUUID="1234123456")' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="SCAN_RSP")(HCIEvent.address_0=)(HCIEvent.data_0.ServiceData16BitUUID="1234123456")' -- ID: BTSTK_GAP_02009 - <<: *GAP_CASE - test point 2: BLE GAP config advertising data - summary: ble set advertising data / scan response service uuid list - steps: | - 1. DUT1 stop advertise - 2. DUT1 set advertising data and scan response not include name, service uuid list 0xABCD,ABCDDCBA,12349B5F8000008000100000ABCD0000 - 3. DUT1 start advertising - 4. PC do active scan and capture advertising report - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. get Complete16BitServiceUUID 0xABCD Complete32BitServiceUUID 0xABCDDCBA - and Complete128BitServiceUUID 0x12349B5F8000008000100000ABCD0000 in ADV_IND and SCAN_RSP - initial condition: BLE_INIT1 - test environment: SSC_T1_3 - version: v2 (2016-03-01) - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -n 0 -x 0 -i 0x00-0x00 -s ABCD,ABCDDCBA,12349B5F8000008000100000ABCD0000 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - *open_capture_nic - - - "HCITOOL 2 -i lescan" - - - 'P PC_COM C +HCITOOL:OK' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="ADV_IND")(HCIEvent.address_0=)(HCIEvent.data_0.Complete16BitServiceUUID="ABCD")(HCIEvent.data_0.Complete32BitServiceUUID="ABCDDCBA")(HCIEvent.data_0.Complete128BitServiceUUID="12349B5F8000008000100000ABCD0000")' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="SCAN_RSP")(HCIEvent.address_0=)(HCIEvent.data_0.Complete16BitServiceUUID="ABCD")(HCIEvent.data_0.Complete32BitServiceUUID="ABCDDCBA")(HCIEvent.data_0.Complete128BitServiceUUID="12349B5F8000008000100000ABCD0000")' -- ID: BTSTK_GAP_02010 - <<: *GAP_CASE - test point 2: BLE GAP config advertising data - summary: ble set advertising data / scan response service uuid list and uuid length not equal to real length - steps: | - 1. DUT1 stop advertise - 2. DUT1 set advertising data and scan response not include name, service uuid list 0xABCD,ABCDDCBA,12349B5F8000008000100000ABCD0000 and service uuid len 32 - 3. DUT1 start advertising - 4. PC do active scan and capture advertising report - 5. DUT1 stop advertise - 6. DUT1 set advertising data and scan response not include name, service uuid list 0xABCD,ABCDDCBA,12349B5F8000008000100000ABCD0000 and service uuid len 64 - 7. DUT1 start advertising - 8. PC do active scan and capture advertising report - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. get Complete16BitServiceUUID 0xABCD Complete32BitServiceUUID 0xABCDDCBA - and Complete128BitServiceUUID 0x12349B5F8000008000100000ABCD0000 in ADV_IND and SCAN_RSP - 5. succeed - 6. succeed - 7. succeed - 8. get Complete16BitServiceUUID 0xABCD Complete32BitServiceUUID 0xABCDDCBA - and Complete128BitServiceUUID 0x12349B5F8000008000100000ABCD0000 in ADV_IND and SCAN_RSP - initial condition: BLE_INIT1 - test environment: SSC_T1_3 - version: v2 (2016-03-01) - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -n 0 -x 0 -i 0x00-0x00 -s ABCD,ABCDDCBA,12349B5F8000008000100000ABCD0000 -t 3 -l 32" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - *open_capture_nic - - - "HCITOOL 2 -i lescan" - - - 'P PC_COM C +HCITOOL:OK' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="ADV_IND")(HCIEvent.address_0=)(HCIEvent.data_0.Complete16BitServiceUUID="ABCD")(HCIEvent.data_0.Complete32BitServiceUUID="ABCDDCBA")(HCIEvent.data_0.Complete128BitServiceUUID="12349B5F8000008000100000ABCD0000")' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="SCAN_RSP")(HCIEvent.address_0=)(HCIEvent.data_0.Complete16BitServiceUUID="ABCD")(HCIEvent.data_0.Complete32BitServiceUUID="ABCDDCBA")(HCIEvent.data_0.Complete128BitServiceUUID="12349B5F8000008000100000ABCD0000")' - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -n 0 -x 0 -i 0x00-0x00 -s ABCD,ABCDDCBA,12349B5F8000008000100000ABCD0000 -t 3 -l 64" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - *open_capture_nic - - - "HCITOOL 2 -i lescan" - - - 'P PC_COM C +HCITOOL:OK' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="ADV_IND")(HCIEvent.address_0=)(HCIEvent.data_0.Complete16BitServiceUUID="ABCD")(HCIEvent.data_0.Complete32BitServiceUUID="ABCDDCBA")(HCIEvent.data_0.Complete128BitServiceUUID="12349B5F8000008000100000ABCD0000")' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="SCAN_RSP")(HCIEvent.address_0=)(HCIEvent.data_0.Complete16BitServiceUUID="ABCD")(HCIEvent.data_0.Complete32BitServiceUUID="ABCDDCBA")(HCIEvent.data_0.Complete128BitServiceUUID="12349B5F8000008000100000ABCD0000")' -- ID: BTSTK_GAP_03001 - <<: *GAP_CASE - test point 2: BLE GAP set advertise param - summary: ble set adv parameter adv_type - steps: | - 1. DUT1 stop advertise - 2. DUT1 start adv with adv_type ADV_IND - 3. PC do active scan and capture advertising report - 4. repeat step 1-3 with adv_type ADV_TYPE_DIRECT_IND_HIGH - 5. repeat step 1-3 with adv_type ADV_TYPE_SCAN_IND - 6. repeat step 1-3 with adv_type ADV_TYPE_NONCONN_IND - 7. repeat step 1-3 with adv_type ADV_TYPE_DIRECT_IND_LOW - expected result: | - 1. succeed - 2. succeed - 3. get ADV_IND with DUT1 BT MAC - 4. get ADV_DIRECT_IND with DUT1 BT MAC - 5. get ADV_SCAN_IND with DUT1 BT MAC - 6. get ADV_NONCONN_IND with DUT1 BT MAC - 7. can not get ADV_DIRECT_IND with DUT1 BT MAC - initial condition: BLE_INIT1 - test environment: SSC_T1_3 - cmd set: - - "" - - - "SSC SSC1 bleadv -L -c 0 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK C +BLEADV:SetScanRes,OK"] - - *open_capture_nic - - *dut1_stop_adv - - - "SSC SSC1 bleadv -D -z start -t 0" - - ["R SSC1 C +BLEADV:OK"] - - - "HCITOOL 2 -i lescan" - - - 'P PC_COM C +HCITOOL:OK' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="ADV_IND")(HCIEvent.address_0=)' - - *dut1_stop_adv - - - "SSC SSC1 bleadv -D -z start -t 1 -y 0 -b " - - ["R SSC1 C +BLEADV:OK"] - - - "HCITOOL 2 -i lescan" - - - 'P PC_COM C +HCITOOL:OK' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="ADV_DIRECT_IND")(HCIEvent.address_0=)' - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -i 0x00B0-0x0200 -t 3" - - ["R SSC1 C +BLEADV:OK"] - - - "SSC SSC1 bleadv -D -z start -t 2 -i 0x00B0-0x0200" - - ["R SSC1 C +BLEADV:OK"] - - - "HCITOOL 2 -i lescan" - - - 'P PC_COM C +HCITOOL:OK' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="ADV_SCAN_IND")(HCIEvent.address_0=)' - - *dut1_stop_adv - - - "SSC SSC1 bleadv -D -z start -t 3 -i 0x00B0-0x0200" - - ["R SSC1 C +BLEADV:OK"] - - - "HCITOOL 2 -i lescan" - - - 'P PC_COM C +HCITOOL:OK' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="ADV_NONCONN_IND")(HCIEvent.address_0=)' - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -i 0x0640-0x0780 -t 3" - - ["R SSC1 C +BLEADV:OK"] - - - "SSC SSC1 bleadv -D -z start -t 4 -i 0x0640-0x0780 -y 0 -b " - - ["R SSC1 C +BLEADV:OK"] - - - "HCITOOL 3 -i lescan" - - - 'P PC_COM C +HCITOOL:OK' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.address_0!=)' -- ID: BTSTK_GAP_03002 - <<: *GAP_CASE - test point 2: BLE GAP set advertise param - summary: ble set adv parameter channel map - steps: | - 1. DUT1 stop advertise - 2. DUT1 start adv on channel 37 - 3. PC do active scan and capture advertising report - 4. repeat step 1-3 with channel map 38, 39, all - 4. repeat step 1-3 with channel map not valid - expected result: | - 1. succeed - 2. succeed - 3. get ADV_IND with DUT1 BT MAC - 4. get ADV_IND with DUT1 BT MAC - 5. can not get ADV_IND with DUT1 BT MAC - initial condition: BLE_INIT1 - test environment: SSC_T1_3 - allow fail: 1/2 - cmd set: - - "" - - - "SSC SSC1 bleadv -L -c 0 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK C +BLEADV:SetScanRes,OK"] - - *open_capture_nic - - - LOOP 7 3 "[1,2,3,4,5,6,7]" "['PDU','PDU','PDU','PDU','PDU','PDU','PDU']" - - *dut1_stop_adv - - - "SSC SSC1 bleadv -D -z start -t 0 -h {%d}" - - ["R SSC1 C +BLEADV:Start,OK"] - - - "HCITOOL 2 -i lescan" - - - 'P PC_COM C +HCITOOL:OK' - - 'P BLENIC {%s} (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.event_type_0="ADV_IND")(HCIEvent.address_0=)' - - - "SSC SSC1 bleadv -D -z start -t 0 -h 8" - - ["R SSC1 C +BLEADV:Start,ERROR"] -- ID: BTSTK_GAP_03004 - <<: *GAP_CASE - test point 2: BLE GAP set advertise param - summary: ble set adv parameter peer address and peer address type - steps: | - 1. DUT1 stop advertise - 2. DUT1 start adv with adv type DIRECT_IND_HIGH, peer address type public and peer address as - 3. PC do active scan and capture advertising report - 4. repeat step 1-3 with adv type DIRECT_IND_HIGH, peer address type random and peer address as - expected result: | - 1. succeed - 2. succeed - 3. get ADV_IND with DUT1 name DUT1 BT MAC - 4. get ADV_IND with DUT1 name and DUT1 BT MAC - initial condition: BLE_INIT1 - test environment: SSC_T1_3 - allow fail: 2/3 - cmd set: - - "" - - - "SSC SSC1 bleadv -L -c 0 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK C +BLEADV:SetScanRes,OK"] - - *open_capture_nic - - *dut1_stop_adv - - - LOOP 2 2 "[0,1]" "['=','!=']" - - [""] - - - "SSC SSC1 bleadv -D -z start -t 1 -y {%d} -b " - - ["R SSC1 C +BLEADV:OK"] - - - "HCITOOL 2 -i lescan" - - - 'P PC_COM C +HCITOOL:OK' - - 'P BLENIC PDU (HCIEvent.le_sub_event_code="LEAdvReport")(HCIEvent.address_0{%s})' -- ID: BTSTK_GAP_03005 - <<: *GAP_CASE - CI ready: "No" - test point 2: BLE GAP set advertise param - summary: ble set adv parameter adv interval - steps: | - 1. DUT1 stop advertise - 2. DUT1 start adv with adv interval 0x20-0x20 on channel 1 - 3. PC do active scan and capture advertising report - 4. repeat step 1-3 with adv interval 0x40-0x40, 0x60-0x60 - expected result: | - 1. succeed - 2. succeed - 3. calculate adv intervals, within the interval range in adv param - 4. calculate adv intervals, within the interval range in adv param - initial condition: BLE_INIT1 - test environment: SSC_T1_3 - CI ready: 'No' - cmd set: - - "BLEFunction/AdvInterval" - - - interval_list = ["0x0020-0x0020", "0x0040-0x0040", "0x0060-0x0060"] - - [''] - - - deviation = 0.3 - - [''] -- ID: BTSTK_GAP_03008 - <<: *GAP_CASE - test point 2: BLE GAP set advertise param - summary: ble adv with random address and RPA_PUBLIC - initial condition: BLE_INIT_SMP - steps: | - 1. DUT2 set random address - 2. DUT2 adv with RPA_PUBLIC - 3. DUT1 start scan - expected result: | - 1. succeed - 2. succeed - 3. succeed - cmd set: - - "" - - - "SSC SSC1 bleadv -L -c 0 -t 3 -n 1" - - ["R SSC1 C +BLEADV:SetAdv,OK C +BLEADV:SetScanRes,OK"] - - - "SSC SSC2 bleadv -D -z stop" - - ["R SSC2 C +BLEADV:Stop,OK"] - - - "SSC SSC2 ble -S -z privacy -p 1" - - ["R SSC2 C +BLECONN:SetResAddr,Success"] - - - "SSC SSC2 bleadv -D -z start -t 0 -o 2" - - ["R SSC2 C +BLEADV:OK"] - - - "SSC SSC1 blescan -D -z start" - - ["R SSC1 NP C InquiryComplete"] -- ID: BTSTK_GAP_03009 - <<: *GAP_CASE - test point 2: BLE GAP set advertise param - summary: ble set adv owner address type as RPA_PUBLIC - initial condition: BLE_INIT_SMP - steps: | - 1. DUT2 set owner address type as RPA_PUBLIC and start adv - 2. DUT1 scan - 3. exchange IRK and pairing - 4. DUT2 set privacy - 5. DUT2 set owner address type as RPA_PUBLIC and start adv - 6. DUT1 scan - 7. DUT1 connect to DUT2 - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - cmd set: - - "" - - - "SSC SSC2 ble -S -z name -n " - - ["R SSC2 C +BLE:OK"] - - - "SSC SSC2 blesmp -S -z AuthReqMode -v 0x01" - - ['P SSC2 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x03" - - ['P SSC2 C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z RspKey -v 0x02" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z InitKey -v 0x02" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC2 bleadv -L -c 0 -n 1" - - ["R SSC2 C +BLEADV:SetAdv,OK"] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC[1-2] C +BLESMP:AuthComplete,Success,0'] - - - "SSC SSC1 bleconn -D -z all" - - ['P SSC1 C +BLECONN:GapDisconnect,OK', 'P SSC2 C +BLECONN:GapDisconnect,OK'] - - - "SSC SSC2 ble -S -z privacy -p 1" - - ["R SSC2 C +BLECONN:SetResAddr,Success"] - - - "SSC SSC2 bleadv -D -z stop" - - ["R SSC2 C +BLEADV:"] - - - "SSC SSC2 bleadv -D -z start -o 2" - - ["R SSC2 C +BLEADV:OK"] - - - "SSC SSC1 blescan -D -z start" - - ["R SSC1 P C Complete"] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ["R SSC1 C +BLECONN:GapConnect,OK", "R SSC2 C +BLECONN:GapConnect,OK"] -- ID: BTSTK_GAP_03010 - <<: *GAP_CASE - CI ready: "No" # can't restore to use public address after set to use private address - test point 2: BLE GAP set advertise param - summary: ble adv with privacy address and RPA_RANDOM - initial condition: BLE_INIT_SMP - steps: | - 1. DUT2 set random address - 2. DUT2 adv with RPA_RANDOM - 3. DUT1 start scan - expected result: | - 1. succeed - 2. succeed - 3. succeed - cmd set: - - "" - - - "SSC SSC2 bleadv -D -z stop" - - ["R SSC2 C +BLEADV:Stop,OK"] - - *set_default_ble_name - - - "SSC SSC2 ble -S -z randAddr -a -r 1" - - ["R SSC2 C +BLECONN:SetRandAddr,OK"] - - - "SSC SSC2 ble -S -z privacy -p 1" - - ["R SSC2 C +BLECONN:SetResAddr,Success"] - - - "SSC SSC2 bleadv -L -c 0 -n 1" - - ["R SSC2 C +BLEADV:SetAdv,OK"] - - - "SSC SSC2 bleadv -D -z start -t 0 -o 3" - - ["R SSC2 C +BLEADV:OK"] - - - "SSC SSC1 blescan -D -z start" - - ["R SSC1 NP C Complete"] -- ID: BTSTK_GAP_03011 - <<: *GAP_CASE - CI ready: "No" # can't restore to use public address after set to use private address - test point 2: BLE GAP set advertise param - summary: ble set adv owner address type as RPA_RANDOM - initial condition: BLE_INIT_SMP - steps: | - 1. DUT2 set owner address type as RPA_RANDOM and start adv - 2. DUT2 set static random address - 3. DUT2 set owner address type as RPA_RANDOM and start adv - 4. DUT1 start scan - 5. exchange IRK and do pairing - 6. DUT2 set privacy - 7. DUT2 set owner address type as RPA_RANDOM and start adv - 8. DUT1 scan - 9. DUT1 connect to DUT2 - expected result: | - 1. failed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. succeed - 9. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x01" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z IOCAP -v 0x02" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z RspKey -v 0x02" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC[1-2] C +BLESMP:AuthComplete,Success,0'] - - - "SSC SSC1 bleconn -D -z all" - - ['P SSC1 C +BLECONN:GapDisconnect,OK', 'P SSC2 C +BLECONN:GapDisconnect,OK'] - - - "SSC SSC2 ble -S -z randAddr -a -r 1" - - ["R SSC2 C +BLECONN:SetRandAddr,OK"] - - - "SSC SSC2 ble -S -z privacy -p 1" - - ["R SSC2 C +BLECONN:SetResAddr,Success"] - - - "SSC SSC2 bleadv -D -z stop" - - ["R SSC2 C +BLEADV:"] - - - "SSC SSC2 bleadv -D -z start -o 3" - - ["R SSC2 C +BLEADV:OK"] - - - "SSC SSC1 blescan -D -z start" - - ["R SSC1 P C Complete"] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ["R SSC1 C +BLECONN:GapConnect,OK", "R SSC2 C +BLECONN:GapConnect,OK"] -- ID: BTSTK_GAP_03012 - <<: *GAP_CASE - test point 2: BLE GAP set advertise param - summary: set ble adv peer_address_type as RPA_PUBLIC and RPA_RANDOM - initial condition: BLE_INIT_SMP - steps: | - 1. DUT1 set peer address and peer address type RPA_PUBLIC - 2. DUT1 set peer address and peer address type RPA_RANDOM - expected result: | - 1. succeed - 2. succeed - cmd set: - - "" - - - "SSC SSC1 bleadv -D -z stop" - - ["R SSC1 C +BLEADV:"] - - - "SSC SSC1 bleadv -D -z start -b -y 2" - - ["R SSC1 C +BLEADV:Start,ERROR"] - - - "SSC SSC1 bleadv -D -z start -b -y 3" - - ["R SSC1 C +BLEADV:Start,ERROR"] -- ID: BTSTK_GAP_04001 - <<: *GAP_CASE - test point 2: BLE GAP set scan param - summary: ble set scan type - steps: | - 1. stop advertise and set short device name - 2. DUT1 set adv data with manufacturer data A - 3. DUT1 set scan response data with manufacturer data B - 4. DUT2 do passive scan - 5. DUT2 do active scan - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. get manufacturer data A - 5. get manufacturer data B - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 bleadv -R -t 1 -r 0x15FF1011121314151617181910111213141516171819" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - - "SSC SSC1 bleadv -R -t 2 -r 0x020AEB" - - ["R SSC1 C +BLEADV:SetScanRes,OK"] - - *dut1_start_adv - - *dut2_stop_adv - - - "SSC SSC2 blescan -D -z start -t 3 -e 2 -c 0 -s 0" - - - 'P SSC2 RE "\+BTSCANEXT:%%s,man,0x1011121314151617181910111213141516171819"%%()' - - 'R SSC2 NRE "\+BTSCANEXT:%%s,txp,0xEB"%%() C Complete' - - - "SSC SSC2 blescan -D -z stop" - - ['R SSC2 C +BLESCAN'] - - - "SSC SSC2 blescan -D -z start -t 3 -e 1 -c 0 -s 1" - - - 'P SSC2 RE "\+BTSCANEXT:%%s,man,0x1011121314151617181910111213141516171819"%%()' - - 'P SSC2 RE "\+BTSCANEXT:%%s,txp,0xEB"%%()' - - 'R SSC2 C Complete' -- ID: BTSTK_GAP_04002 - <<: *GAP_CASE - test point 2: BLE GAP set scan param - summary: ble set scan own address type (not test if own address work as expected) - steps: | - 1. DUT1 start advertising - 2. DUT2 set own addr type (public, random, rpa_public, rpa_random) - 3. DUT2 do active scan - 4. DUT2 set invalid own addr type - expected result: | - 1. succeed - 2. succeed - 3. able to scan DUT1 - 4. error - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -t 3" - - ["R SSC1 C +BLEADV:SetScanRes,OK"] - - *dut1_start_adv - - *dut2_stop_adv - - - "SSC SSC2 blescan -D -z start -t 1 -c 0 -s 1 -o 0" - - ['R SSC2 P C Complete'] - - - "SSC SSC2 ble -S -z privacy -p 1" - - ["R SSC2 C +BLECONN:SetResAddr,Success"] - - - "SSC SSC2 blescan -D -z start -t 1 -c 0 -s 1 -o 2" - - ['R SSC2 P C Complete'] - - - "SSC SSC2 ble -S -z randAddr -a -r 1" - - ["R SSC2 C +BLECONN:SetRandAddr,OK"] - - - "SSC SSC2 blescan -D -z start -t 1 -c 0 -s 1 -o 1" - - ['R SSC2 P C Complete'] - - - "SSC SSC2 ble -S -z privacy -p 1" - - ["R SSC2 C +BLECONN:SetResAddr,Success"] - - - "SSC SSC2 blescan -D -z start -t 1 -c 0 -s 1 -o 3" - - ['R SSC2 P C Complete'] -- ID: BTSTK_GAP_04003 - <<: *GAP_CASE - test point 2: BLE GAP set scan param - summary: ble set scan interval (will not test if scan interval work as expected) - steps: | - 1. DUT2 start advertising - 2. DUT1 set scan interval 0x0004 - 3. DUT1 set scan interval 0x4000 - 4. DUT1 set invalid scan interval - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. error - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 blescan -D -z start -c 0 -s 1 -i 0x0004 -w 0x0004" - - ["R SSC1 C +BLESCAN:Start,OK"] - - - "SSC SSC1 blescan -D -z stop" - - ["R SSC1 C +BLESCAN:Stop,OK"] - - - "SSC SSC1 blescan -D -z start -c 0 -s 1 -i 0x4000 -w 0x4000" - - ["R SSC1 C +BLESCAN:Start,OK"] - - - "SSC SSC1 blescan -D -z stop" - - ["R SSC1 C +BLESCAN:Stop,OK"] - - - "SSC SSC1 blescan -D -z start -c 0 -s 1 -i 0x0003 -w 0x0003" - - ["R SSC1 C +BLESCAN:Start,ERROR"] - - - "SSC SSC1 blescan -D -z start -c 0 -s 1 -i 0x4001 -w 0x4001" - - ["R SSC1 C +BLESCAN:Start,ERROR"] -- ID: BTSTK_GAP_04004 - <<: *GAP_CASE - test point 2: BLE GAP set scan param - summary: ble set scan window (will not test if scan window work as excepted) - steps: | - 1. DUT2 set scan interval 0x0004 - 2. DUT2 set scan interval 0x4000 - 3. DUT2 set scan interval 0x0003 - 4. DUT2 set scan interval 0x4001 - expected result: | - 1. succeed - 2. succeed - 3. fail - 4. fail - initial condition: BLE_INIT1 - test environment: SSC_T1_4 - cmd set: - - "" - - - "SSC SSC1 blescan -D -z start -c 0 -w 0x0004 -i 0x0004" - - ["R SSC1 C +BLESCAN:Start,OK"] - - - "SSC SSC1 blescan -D -z stop" - - ["R SSC1 C +BLESCAN:Stop,OK"] - - - "SSC SSC1 blescan -D -z start -c 0 -w 0x4000 -i 0x4000" - - ["R SSC1 C +BLESCAN:Start,OK"] - - - "SSC SSC1 blescan -D -z stop" - - ["R SSC1 C +BLESCAN:Stop,OK"] - - - "SSC SSC1 blescan -D -z start -c 0 -w 0x0003 -i 0x0003" - - ["R SSC1 C +BLESCAN:Start,ERROR"] - - - "SSC SSC1 blescan -D -z start -c 0 -w 0x4001 - 0x4001" - - ["R SSC1 C +BLESCAN:Start,ERROR"] -- ID: BTSTK_GAP_05001 - <<: *GAP_CASE - test point 2: BLE GAP start stop adv / scan - summary: stop and start adv in wrong state - steps: | - 1. DUT1 stop adv - 2. DUT1 stop adv - 3. DUT2 do passive scan - 4. DUT1 start adv - 5. DUT1 start adv - 6. DUT2 do passive scan - expected result: | - 1. succeed - 2. succeed - 3. DUT1 not in scan result - 4. succeed - 5. succeed - 6. DUT1 in scan result - cmd set: - - "" - - *dut1_stop_adv - - *dut1_stop_adv - - - "SSC SSC2 blescan -D -z start -t 1 -c 0" - - ["R SSC2 NP C Complete"] - - *dut1_start_adv - - - "SSC SSC1 bleadv -D -z start" - - ["R SSC1 C +BLEADV:Start"] - - - "SSC SSC2 blescan -D -z start -t 1 -c 0" - - ["R SSC2 P C Complete"] -- ID: BTSTK_GAP_05002 - <<: *GAP_CASE - test point 2: BLE GAP start stop adv / scan - summary: cancel scan when scanning or not scanning - steps: | - 1. DUT1 start scanning for 3 seconds - 2. DUT1 stop scanning - 3. DUT1 stop scanning - expected result: | - 1. succeed - 2. succeed - 3. failed - initial condition: BLE_INIT1 - test environment: SSC_T1_4 - cmd set: - - "" - - - "SSC SSC1 blescan -D -z start -t 3 -c 0" - - ["R SSC1 C +BLESCAN:OK"] - - - "SSC SSC1 blescan -D -z stop" - - ["R SSC1 C +BLESCAN:Stop,OK"] - - - "SSC SSC1 blescan -D -z stop" - - ["R SSC1 C +BLESCAN:Stop,ERROR"] -- ID: BTSTK_GAP_08001 - <<: *GAP_CASE - test point 2: BLE GAP operation without init/enable BT or register callback - summary: do adv, scan, set name when BT is deinit - steps: | - 1. DUT1 do adv - 2. DUT1 do set name - expected result: | - 1. fail - 2. fail - initial condition: BLE_DEINIT1 - test environment: SSC_T1_4 - cmd set: - - "" - - - "SSC SSC1 bleadv -L -c 0" - - ["R SSC1 C +BLEADV"] - - - "SSC SSC1 bleadv -D -z start" - - ["R SSC1 C +BLEADV"] - - - "SSC SSC1 ble -S -z name -n abcde" - - ["R SSC1 C +BLE"] -- ID: BTSTK_GAP_08002 - <<: *GAP_CASE - test point 2: BLE GAP operation without init/enable BT or register callback - summary: do adv, scan, set name, conn when BT is disable - steps: | - 1. DUT1 do init - 2. DUT1 do adv - 3. DUT2 do set name - expected result: | - 1. succeed - 2. fail - 3. fail - initial condition: BLE_DEINIT1 - test environment: SSC_T1_4 - cmd set: - - "" - - - "SSC SSC1 bt -D -z init" - - ["R SSC1 C +BT:OK"] - - - "SSC SSC1 bleadv -L -c 0" - - ["R SSC1 C +BLEADV"] - - - "SSC SSC1 bleadv -D -z start" - - ["R SSC1 C +BLEADV"] - - - "SSC SSC1 ble -S -z name -n abcde" - - ["R SSC1 C +BLE"] -- ID: BTSTK_GAP_08003 - <<: *GAP_CASE - test point 2: BLE GAP operation without init/enable BT or register callback - summary: do adv, scan, set name, conn when BT is enable but no callback registered - steps: | - 1. DUT1 do init and enable - 2. DUT1 do adv - 3. DUT2 do set name - expected result: | - 1. succeed - 2. fail - 3. fail - initial condition: BLE_DEINIT1 - test environment: SSC_T1_4 - cmd set: - - "" - - - "SSC SSC1 bt -D -z start" - - ["R SSC1 C +BT:OK"] - - - "SSC SSC1 bleadv -L -c 0" - - ["R SSC1 C +BLEADV"] - - - "SSC SSC1 bleadv -D -z start" - - ["R SSC1 C +BLEADV"] - - - "SSC SSC1 ble -S -z name -n abcde" - - ["R SSC1 C +BLE"] -- ID: BTSTK_GAP_09002 - <<: *GAP_CASE - test point 2: BLE GAP processing scan data - summary: process scan data service UUIDs - steps: | - 1. DUT1 set raw adv 16 bit Complete UUID list - 2. DUT1 start adv - 3. DUT2 do active scan with extended scan data - 4. repeat step 1-3 with 16 bit incomplete UUID, 32 bit complete/incomplete UUID, 128 bit complete/incomplete UUID - expected result: | - 1. succeed - 2. succeed - 3. scan with the correct adv data - 4. scan with the correct adv data - cmd set: - - "" - - *dut2_stop_adv - - - LOOP 4 4 "['0302ABCD','0303ABCD','0504ABCDABCD','0505ABCDABCD',]" "['insrv16,0xABCD','srv16,0xABCD','insrv32,0xABCDABCD','srv32,0xABCDABCD']" - - *dut1_stop_adv - - - "SSC SSC1 bleadv -R -t 1 -r 0x{%s}" - - ["R SSC1 C +BLEADV:OK"] - - *dut1_start_adv - - - "SSC SSC2 blescan -D -z start -t 1 -e 1 -c 0 -d 1" - - - 'P SSC2 RE "\+BTSCANEXT:%%s,{%s}"%%()' - - 'R SSC2 C Complete' - - - LOOP 2 4 "['1106ABCDABCDABCDABCDABCDABCDABCDABCD','1107ABCDABCDABCDABCDABCDABCDABCDABCD']" "['insrv128,0xABCDABCDABCDABCDABCDABCDABCDABCD','srv128,0xABCDABCDABCDABCDABCDABCDABCDABCD']" - - *dut1_stop_adv - - - "SSC SSC1 bleadv -R -t 1 -r 0x{%s}" - - ["R SSC1 C +BLEADV:OK"] - - *dut1_start_adv - - - "SSC SSC2 blescan -D -z start -t 1 -e 1" - - - 'P SSC2 RE "\+BTSCANEXT:%%s,{%s}"%%()' - - 'R SSC2 C Complete' -- ID: BTSTK_GAP_09003 - <<: *GAP_CASE - test point 2: BLE GAP processing scan data - summary: process scan data service data - steps: | - 1. DUT1 set raw adv 16 bit service data - 2. DUT1 start adv - 3. DUT2 do active scan with extended scan data - 4. repeat step 1-3 with 32 bit service data, 128 bit service data - expected result: | - 1. succeed - 2. succeed - 3. scan with the correct adv data - 4. scan with the correct adv data - cmd set: - - "" - - *dut2_stop_adv - - - LOOP 3 4 "['0416ABCDEF','0620ABCDABCDEF','1221ABCDABCDABCDABCDABCDABCDABCDABCDEF',]" "['srvdata16,0xABCDEF','srvdata32,0xABCDABCDEF','srvdata128,0xABCDABCDABCDABCDABCDABCDABCDABCDEF']" - - - "SSC SSC1 bleadv -R -t 1 -r 0x{%s}" - - ["R SSC1 C +BLEADV:OK"] - - *dut1_stop_adv - - *dut1_start_adv - - - "SSC SSC2 blescan -D -z start -t 1 -e 1 -c 0 -d 1" - - - 'P SSC2 RE "\+BTSCANEXT:%%s,{%s}"%%()' - - 'R SSC2 C Complete' -- ID: BTSTK_GAP_09005 - <<: *GAP_CASE - test point 2: BLE GAP processing scan data - summary: proccess scan data included device name - steps: | - 1. DUT1 stop advertise and set short device name abcde - 2. DUT1 set include device name for adv data and scan response - 3. DUT1 start advertising - 4. DUT2 start scan and processing scan data - 5. DUT1 stop advertising - 6. DUT1 set not include device name for adv data and scan response - 7. DUT1 start advertising - 8. DUT2 start scan and processing scan data - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. scan with the correct adv data - 5. succeed - 6. succeed - 7. succeed - 8. scan with the correct adv data - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 ble -S -z name -n abcde" - - ["R SSC1 C +BLE"] - - - "SSC SSC1 bleadv -L -c 0 -n 1 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - - "SSC SSC2 blescan -D -z start -t 1 -e 1 -c 0 -d 1" - - - 'P SSC2 RE "\+BTSCAN:INQ,%%s,abcde"%%()' - - 'R SSC2 C Complete' - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -n 0 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - - "SSC SSC2 blescan -D -z start -t 1 -e 1 -c 0 -d 1" - - - 'P SSC2 RE "\+BTSCAN:INQ,%%s,NULL"%%()' - - 'R SSC2 C Complete' -- ID: BTSTK_GAP_09006 - <<: *GAP_CASE - test point 2: BLE GAP processing scan data - summary: proccess scan data included Tx power - steps: | - 1. DUT1 stop advertise and set short device name - 2. DUT1 set include Tx power for adv data and scan response - 3. DUT1 start advertising - 4. DUT2 start scan and processing scan data - 5. DUT1 stop advertising - 6. DUT1 set not include Tx power for adv data and scan response - 7. DUT1 start advertising - 8. DUT2 start scan and processing scan data - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. scan with the correct adv data - 5. succeed - 6. succeed - 7. succeed - 8. scan with the correct adv data - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -x 1 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - - "SSC SSC2 blescan -D -z start -t 1 -e 1 -c 0 -d 1" - - - 'P SSC2 RE "\+BTSCANEXT:%%s,txp,0x03"%%()' - - 'R SSC2 C Complete' - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -x 0 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - - "SSC SSC2 blescan -D -z start -t 1 -e 1 -c 0 -d 1" - - - 'R SSC2 NRE "\+BTSCANEXT:%%s,txp,0x03"%%()' - - 'R SSC2 C Complete' -- ID: BTSTK_GAP_09008 - <<: *GAP_CASE - test point 2: BLE GAP processing scan data - summary: proccess scan data included appearance - steps: | - 1. DUT1 stop advertise and set short device name - 2. DUT1 set appearance to 0 for adv data and scan response - 3. DUT1 start advertising - 4. DUT2 start scan and processing scan data - 5. DUT1 stop advertising - 6. DUT1 set appearance to 1 for adv data and scan response - 7. DUT1 start advertising - 8. DUT2 start scan and processing scan data - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. scan with the correct adv data - 5. succeed - 6. succeed - 7. succeed - 8. scan with the correct adv data - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -a 0 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK C +BLEADV:SetScanRes,OK"] - - *dut1_start_adv - - - "SSC SSC2 blescan -D -z start -t 1 -e 1 -c 0 -d 1" - - - 'P SSC2 NRE "\+BTSCANEXT:%%s,app,0x0100"%%()' - - 'R SSC2 C Complete' - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -a 1 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - - "SSC SSC2 blescan -D -z start -t 1 -e 1 -c 0 -d 1" - - - 'P SSC2 RE "\+BTSCANEXT:%%s,app,0x0100"%%()' - - 'R SSC2 C Complete' -- ID: BTSTK_GAP_09009 - <<: *GAP_CASE - test point 2: BLE GAP processing scan data - summary: proccess scan data included manufacturer data - steps: | - 1. DUT1 stop advertise and set short device name - 2. DUT1 set manufacturer to 0x12345678 for adv data and scan response - 3. DUT1 start advertising - 4. DUT2 start scan and processing scan data - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. scan with the correct adv data - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -m 0x12345678 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - - "SSC SSC2 blescan -D -z start -t 1 -e 1 -c 0 -d 1" - - - 'P SSC2 RE "\+BTSCANEXT:%%s,man,0x12345678"%%()' - - 'R SSC2 C Complete' -- ID: BTSTK_GAP_09010 - <<: *GAP_CASE - test point 2: BLE GAP processing scan data - summary: proccess scan data included service data - steps: | - 1. DUT1 stop advertise - 2. DUT1 set advertising data and scan response service data 0x1234123456 and not include device name - 3. DUT1 start advertising - 4. DUT2 start scan and processing scan data - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. scan with the correct adv data - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -n 0 -d 0x1234123456 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - - "SSC SSC2 blescan -D -z start -t 1 -e 1 -c 0 -d 1" - - - 'P SSC2 RE "\+BTSCANEXT:%%s,srvdata16,0x1234123456"%%()' - - 'R SSC2 C Complete' -- ID: BTSTK_GAP_09011 - <<: *GAP_CASE - test point 2: BLE GAP processing scan data - summary: proccess scan data included service uuid list - steps: | - 1. DUT1 stop advertise - 2. DUT1 set advertising data and scan response not include name, service uuid list 0xABCD,ABCDDCBA,12349B5F8000008000100000ABCD0000 - 3. DUT1 start advertising - 4. DUT2 start scan and processing scan data - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. scan with the correct adv data - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -n 0 -x 0 -i 0x00-0x00 -s ABCD,ABCDDCBA,12349B5F8000008000100000ABCD0000 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - - "SSC SSC2 blescan -D -z start -t 1 -e 1 -c 0 -d 1" - - - 'P SSC2 RE "\+BTSCANEXT:%%s,srv16,0xABCD"%%()' - - 'P SSC2 RE "\+BTSCANEXT:%%s,srv32,0xABCDDCBA"%%()' - - 'P SSC2 RE "\+BTSCANEXT:%%s,srv128,0x12349B5F8000008000100000ABCD0000"%%()' - - 'R SSC2 C Complete' -- ID: BTSTK_GAP_09012 - <<: *GAP_CASE - test point 2: BLE GAP processing scan data - summary: adv include name and not set device name - steps: | - 1. DUT1 stop advertise - 2. DUT1 set advertising data and scan response include name - 3. DUT1 start advertising - 4. DUT2 start scan and processing scan data - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. failed - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -n 1 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - - "SSC SSC1 bleadv -D -z start" - - ["R SSC1 C +BLEADV:Start,OK"] - - - "SSC SSC2 blescan -D -z start -c 0" - - - 'P SSC2 RE "\+BTSCAN:INQ,%%s"%%()' - - 'R SSC2 C Complete' -- ID: BTSTK_GAP_09013 - <<: *GAP_CASE - test point 2: BLE GAP processing scan data - summary: adv manufacturer_len not equal to real len - steps: | - 1. DUT1 stop adv - 2. DUT1 set manufacturer len shorter then real len - 3. DUT1 start adv - 4. DUT2 start scan - 5. DUT1 stop adv - 6. DUT1 set manufacturer len longer then real len - 7. DUT1 start adv - 8. DUT2 start scan - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. succeed - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -m 0x12345678 -t 3 -l 6" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - - "SSC SSC2 blescan -D -z start -e 1" - - - 'P SSC2 RE "\+BTSCANEXT:%%s,man,0x12345678"%%()' - - 'R SSC2 C Complete' - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -m 0x12345678 -t 3 -l 10" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - - "SSC SSC2 blescan -D -z start -e 1" - - - 'P SSC2 RE "\+BTSCANEXT:%%s,man,0x12345678"%%()' - - 'R SSC2 C Complete' -- ID: BTSTK_GAP_09014 - <<: *GAP_CASE - test point 2: BLE GAP processing scan data - summary: set adv service data length not equal to real length - steps: | - 1. DUT1 stop advertise - 2. DUT1 set advertising data and scan response service data 0x1234123456 and set service data length 4 - 3. DUT1 start advertising - 4. DUT2 start scan and processing scan data - 5. DUT1 stop advertise - 6. DUT1 set advertising data and scan response service data 0x1234123456 and set service data length 10 - 7. DUT1 start advertising - 8. DUT2 start scan and processing scan data - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. scan with the correct adv data - 5. succeed - 6. succeed - 7. succeed - 8. scan with the correct adv data - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -n 0 -d 0x1234123456 -t 3 -l 4" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - - "SSC SSC2 blescan -D -z start -t 1 -e 1" - - - 'P SSC2 RE "\+BTSCANEXT:%%s,srvdata16,0x1234123456"%%()' - - 'R SSC2 C Complete' - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -n 0 -d 0x1234123456 -t 3 -l 10" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - - "SSC SSC2 blescan -D -z start -t 1 -e 1" - - - 'P SSC2 RE "\+BTSCANEXT:%%s,srvdata16,0x1234123456"%%()' - - 'R SSC2 C Complete' -- ID: BTSTK_GAP_09015 - <<: *GAP_CASE - test point 2: BLE GAP processing scan data - summary: set service uuid length not equal to real length - steps: | - 1. DUT1 stop advertise - 2. DUT1 set advertising data and scan response not include name, service uuid list 0xABCD,ABCDDCBA,12349B5F8000008000100000ABCD0000 and set service uuid length 32 - 3. DUT1 start advertising - 4. DUT2 start scan and processing scan data - 5. DUT1 stop advertise - 6. DUT1 set advertising data and scan response not include name, service uuid list 0xABCD,ABCDDCBA,12349B5F8000008000100000ABCD0000 and set service uuid length 64 - 7. DUT1 start advertising - 8. DUT2 start scan and processing scan data - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. scan with the correct adv data - 5. succeed - 6. succeed - 7. succeed - 8. scan with the correct adv data - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -n 0 -x 0 -i 0x00-0x00 -s ABCD,ABCDDCBA,12349B5F8000008000100000ABCD0000 -t 3 -l 32" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - - "SSC SSC2 blescan -D -z start -t 1 -e 1" - - - 'P SSC2 RE "\+BTSCANEXT:%%s,srv16,0xABCD"%%()' - - 'P SSC2 RE "\+BTSCANEXT:%%s,srv32,0xABCDDCBA"%%()' - - 'P SSC2 RE "\+BTSCANEXT:%%s,srv128,0x12349B5F8000008000100000ABCD0000"%%()' - - 'R SSC2 C Complete' - - *dut1_stop_adv - - - "SSC SSC1 bleadv -L -c 0 -n 0 -x 0 -i 0x00-0x00 -s ABCD,ABCDDCBA,12349B5F8000008000100000ABCD0000 -t 3 -l 64" - - ["R SSC1 C +BLEADV:SetAdv,OK"] - - *dut1_start_adv - - - "SSC SSC2 blescan -D -z start -t 1 -e 1" - - - 'P SSC2 RE "\+BTSCANEXT:%%s,srv16,0xABCD"%%()' - - 'P SSC2 RE "\+BTSCANEXT:%%s,srv32,0xABCDDCBA"%%()' - - 'P SSC2 RE "\+BTSCANEXT:%%s,srv128,0x12349B5F8000008000100000ABCD0000"%%()' - - 'R SSC2 C Complete' -- ID: BTSTK_GAP_10001 - <<: *GAP_CASE - CI ready: 'No' - test point 2: BLE GAP master multi connection test - summary: master connect to 3 slaves with different app and master do disconnect - steps: | - 1. DUT2-DUT4 starts adv - 2. DUT1 connect to DUT2 - DUT4 - 3. DUT1 disconnect with DUT2 - DUT4 - expected result: | - 1. succeed - 2. succeed - 3. succeed - initial condition: BLE_INIT5 - test environment: SSC_T5_1 - allow fail: 3/5 - cmd set: - - "" - - - "SSC SSC[2-4] bleadv -D -z start" - - ["P SSC[2-4] C +BLEADV:Start,OK"] - - - LOOP 3 1 "[0,1,2]" "[2,3,4]" "[2,3,4]" - - "" - - - "SSC SSC1 bleconn -C -p 0x1{%d} -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC{%d} C +BLECONN:GapConnect,OK'] - - - LOOP 3 1 "[2,1,0]" "[4,3,2]" "[4,3,2]" - - "" - - - "SSC SSC1 bleconn -D -z client -p 0x1{%d} -a " - - ['P SSC1 C +BLECONN:GapDisconnect,OK', 'P SSC{%d} C +BLECONN:GapDisconnect,OK'] -- ID: BTSTK_GAP_10002 - <<: *GAP_CASE - CI ready: 'No' - test point 2: BLE GAP master multi connection test - summary: master connect to 3 slaves with different app and slave do disconnect - steps: | - 1. DUT2-DUT4 starts adv - 2. DUT1 connect to DUT2 - DUT4 - 3. DUT1 disconnect with DUT2 - DUT4 - expected result: | - 1. succeed - 2. succeed - 3. succeed - initial condition: BLE_INIT5 - test environment: SSC_T5_1 - allow fail: 3/5 - cmd set: - - "" - - - "SSC SSC[2-4] bleadv -D -z start" - - ["P SSC[2-4] C +BLEADV:Start,OK"] - - - LOOP 3 1 "[0,1,2]" "[2,3,4]" "[2,3,4]" - - "" - - - "SSC SSC1 bleconn -C -p 0x1{%d} -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC{%d} C +BLECONN:GapConnect,OK'] - - - LOOP 3 1 "[2,3,4]" "[2,3,4]" - - "" - - - "SSC SSC{%d} bleconn -D -z server -p 0xA0 -r " - - ['P SSC1 C +BLECONN:GapDisconnect,OK,001[0-2]', 'P SSC{%d} C +BLECONN:GapDisconnect,OK'] -- ID: BTSTK_GAP_10003 - <<: *GAP_CASE - CI ready: 'No' - test point 2: BLE GAP master multi connection test - summary: master connect to 4 slaves with same app and master do disconnect - steps: | - 1. DUT2-DUT4 starts adv - 2. DUT1 connect to DUT2 - DUT5 - 3. DUT1 disconnect with DUT2 - DUT5 - expected result: | - 1. succeed - 2. succeed - 3. succeed - initial condition: BLE_INIT5 - test environment: SSC_T5_1 - allow fail: 3/5 - cmd set: - - "" - - - "SSC SSC[2-5] bleadv -D -z start" - - ["P SSC[2-5] C +BLEADV:Start,OK"] - - - LOOP 4 1 "[2,3,4,5]" "[2,3,4,5]" - - "" - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['R SSC1 C +BLECONN:GapConnect,OK', 'R SSC{%d} C +BLECONN:GapConnect,OK'] - - - LOOP 4 1 "[2,3,4,5]" "[2,3,4,5]" - - "" - - - "SSC SSC1 bleconn -D -z client -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapDisconnect,OK', 'P SSC{%d} C +BLECONN:GapDisconnect,OK'] -- ID: BTSTK_GAP_10004 - <<: *GAP_CASE - CI ready: 'No' - test point 2: BLE GAP master multi connection test - summary: master connect to 4 slaves with same app and slave do disconnect - steps: | - 1. DUT2-DUT4 starts adv - 2. DUT1 connect to DUT2 - DUT5 - 3. DUT1 disconnect with DUT2 - DUT5 - expected result: | - 1. succeed - 2. succeed - 3. succeed - initial condition: BLE_INIT5 - test environment: SSC_T5_1 - allow fail: 3/5 - cmd set: - - "" - - - "SSC SSC[2-5] bleadv -D -z start" - - ["P SSC[2-5] C +BLEADV:Start,OK"] - - - LOOP 4 1 "[2,3,4,5]" "[2,3,4,5]" - - "" - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['R SSC1 C +BLECONN:GapConnect,OK', 'R SSC{%d} C +BLECONN:GapConnect,OK'] - - - LOOP 4 1 "[2,3,4,5]" "[2,3,4,5]" - - "" - - - "SSC SSC{%d} bleconn -D -z server -p 0xA2 -a " - - ['P SSC1 C +BLECONN:GapDisconnect,OK', 'P SSC{%d} C +BLECONN:GapDisconnect,OK'] -- ID: BTSTK_GAP_11001 - <<: *GAP_CASE - CI ready: 'No' - test point 2: BLE GAP slave multi connection test - summary: slave connected by 4 master and master do disconnect - steps: | - 1. DUT2-DUT5 starts adv - 2. DUT1 connect to DUT2 - DUT5 - 3. DUT1 disconnect with DUT2 - DUT5 - expected result: | - 1. succeed - 2. succeed - 3. succeed - initial condition: BLE_INIT5 - test environment: SSC_T5_1 - allow fail: 3/5 - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 gatts -S -z load -p 0xA2" - - ['R SSC1 C +GATTS:StartService,OK,A002'] - - - LOOP 4 2 "[2,3,4,5]" "[2,3,4,5]" - - "" - - - "SSC SSC1 bleadv -D -z start" - - ["P SSC1 C +BLEADV:Start,OK"] - - - "SSC SSC{%d} bleconn -C -p 0x10 -a " - - ['R SSC{%d} C +BLECONN:GapConnect,OK,0010', 'R SSC1 C +BLECONN:GapConnect,OK'] - - - LOOP 4 1 "[2,3,4,5]" "[2,3,4,5]" - - - "SSC SSC{%d} bleconn -D -z client -p 0x10 -a " - - ['P SSC{%d} C +BLECONN:GapDisconnect,OK', 'P SSC1 C +BLECONN:GapDisconnect,OK'] -- ID: BTSTK_GAP_11002 - <<: *GAP_CASE - CI ready: 'No' - test point 2: BLE GAP slave multi connection test - summary: slave connected by 4 master and slave do disconnect - steps: | - 1. DUT2-DUT5 starts adv - 2. DUT1 connect to DUT2 - DUT5 - 3. DUT1 disconnect with DUT2 - DUT5 - expected result: | - 1. succeed - 2. succeed - 3. succeed - initial condition: BLE_INIT5 - test environment: SSC_T5_1 - allow fail: 3/5 - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 gatts -S -z load -p 0xA2" - - ['R SSC1 C +GATTS:StartService,OK,A002'] - - - LOOP 4 2 "[2,3,4,5]" "[2,3,4,5]" - - "" - - - "SSC SSC1 bleadv -D -z start" - - ["P SSC1 C +BLEADV:Start,OK"] - - - "SSC SSC{%d} bleconn -C -p 0x10 -a " - - ['R SSC{%d} C +BLECONN:GapConnect,OK,0010', 'R SSC1 C +BLECONN:GapConnect,OK'] - - - LOOP 4 1 "[2,3,4,5]" "[2,3,4,5]" - - "" - - - "SSC SSC1 bleconn -D -z server -p 0xA2 -a " - - ['P SSC{%d} C +BLECONN:GapDisconnect,OK', 'P SSC1 C +BLECONN:GapDisconnect,OK'] -- ID: BTSTK_GAP_12001 - <<: *GAP_CASE - CI ready: 'No' - test point 2: BLE GAP multi connection as both master and slave role test - summary: connected by 2 masters and connect to 2 slaves and do disconnect - steps: | - 1. DUT1 starts adv - 2. DUT2 DUT3 connect to DUT1 - 3. DUT1 connect to DUT4 DUT5 - 4. DUT1 do disconnect - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - initial condition: BLE_INIT5 - test environment: SSC_T5_1 - allow fail: 3/5 - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 gatts -S -z load -p 0xA2" - - ['R SSC1 C +GATTS:StartService,OK,A002'] - - - LOOP 2 2 "[2,3]" "[2,3]" - - "" - - - "SSC SSC1 bleadv -D -z start" - - ["P SSC1 C +BLEADV:Start,OK"] - - - "SSC SSC{%d} bleconn -C -p 0x10 -a " - - ['R SSC{%d} C +BLECONN:GapConnect,OK,0010', 'P SSC1 C +BLECONN:GapConnect,OK'] - - - "SSC SSC[4-5] bleadv -D -z start" - - ["P SSC[4-5] C +BLEADV:Start,OK"] - - - LOOP 2 1 "[4,5]" "[4,5]" - - "" - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC{%d} C +BLECONN:GapConnect,OK'] - - - "SSC SSC1 bleconn -D -z all" - - ["P SSC[2-5] C Disconnect"] -- ID: BTSTK_GAP_12002 - <<: *GAP_CASE - CI ready: 'No' - test point 2: BLE GAP multi connection as both master and slave role test - summary: connected by 2 masters and connect to 2 slaves and be disconnected - steps: | - 1. DUT1 starts adv - 2. DUT2 DUT3 connect to DUT1 - 3. DUT1 connect to DUT4 DUT5 - 4. DUT[2-5] do disconnect - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - initial condition: BLE_INIT5 - test environment: SSC_T5_1 - allow fail: 3/5 - cmd set: - - "" - - *dut1_stop_adv - - - "SSC SSC1 gatts -S -z load -p 0xA2" - - ['R SSC1 C +GATTS:StartService,OK,A002'] - - - LOOP 2 2 "[2,3]" "[2,3]" - - "" - - - "SSC SSC1 bleadv -D -z start" - - ["P SSC1 C +BLEADV:Start,OK"] - - - "SSC SSC{%d} bleconn -C -p 0x10 -a " - - ['R SSC{%d} C +BLECONN:GapConnect,OK,0010', 'R SSC1 C +BLECONN:GapConnect,OK'] - - - "SSC SSC[4-5] bleadv -D -z start" - - ["P SSC[4-5] C +BLEADV:Start,OK"] - - - LOOP 2 1 "[4,5]" "[4,5]" - - "" - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['R SSC1 C +BLECONN:GapConnect,OK', 'R SSC{%d} C +BLECONN:GapConnect,OK'] - - - LOOP 4 1 "[2,3,4,5]" - - - "SSC SSC{%d} bleconn -D -z all" - - ["P SSC1 C Disconnect"] -- ID: BTSTK_GAP_50001 - <<: *GAP_CASE - category: Performance - test point 1: performance + stress - test point 2: BLE GAP performance test - summary: BLE Connect and disconnect performance test - steps: | - 1. DUT1 disconnect with DUT2 - 2. DUT2 start advertising - 3. DUT1 connect to DUT2 - 4. do service discovery - 5. loop step 1-4 - 6. check connection fail ratio and average conn time - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - 6. meet pass standard - initial condition: BLE_INIT2 - execution time: 6 - version: v1 (2017-05-19) - CI ready: 'No' - cmd set: - - "BLEStress/BLEConnPerformance" - - - "test_time = 20" - - "" - - - "average_conn_time = 3" - - "" - - - "fail_ratio = 0.01" - - "" - - - "fail_timeout = 10" - - "" -- ID: BTSTK_GAP_50004 - <<: *GAP_CASE - category: Performance - test point 1: performance + stress - test point 2: BLE GAP performance test - summary: BLE Connect and disconnect correct performance test - steps: | - 1. DUT1 disconnect with DUT2 - 2. DUT2 start advertising - 3. DUT1 connect to DUT2 - 4. loop step 1-4 1000 times - 5. reboot - 6. loop step 1-5 - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - 6. meet pass standard - initial condition: BLE_INIT2 - execution time: 6 - version: v1 (2017-05-19) - CI ready: 'No' - cmd set: - - "BLEStress/BLEConnCorPerformance" - - - "test_time = 100" - - "" - - - "reboot_time = 1000" - - "" - - - "average_conn_time = 3" - - "" - - - "fail_ratio = 0.01" - - "" - - - "fail_timeout = 10" - - "" -- ID: BTSTK_GAP_51001 - <<: *GAP_CASE - category: Performance - test point 1: performance + stress - test point 2: BLE GAP performance test - summary: BLE adv and scan forever - steps: | - 1. DUT1 do adv - 2. DUT2 do scan - expected result: | - 1. succeed - 2. succeed - initial condition: BLE_INIT2 - execution time: 10 - cmd set: - - "BLEStress/BLEAdvScanPerformance" - - - "test_time = 600" - - "" -- ID: BTSTK_GAP_14001 - <<: *GAP_CASE - test point 2: BLE GAP set randAddr as random address - summary: adv with static random address and be connected - steps: | - 1. DUT2 do set randaddr - 2. DUT2 start adv and DUT1 start scan - 3. DUT1 connect to DUT2 - expected result: | - 1. succeed - 2. succeed - 3. succeed - cmd set: - - "" - - - "SSC SSC2 bleadv -D -z stop" - - ["R SSC2 C +BLEADV:OK"] - - - "SSC SSC2 ble -S -z randAddr -a -r 1" - - ["R SSC2 C +BLECONN:SetRandAddr,OK"] - - - "SSC SSC2 bleadv -D -z start -o 1" - - ["R SSC2 C +BLEADV:OK"] - - - "SSC SSC1 blescan -D -z start" - - ['R SSC1 P C Complete'] - - - "SSC SSC1 bleconn -C -p 0x10 -a -r 1" - - ["P SSC1 C +BLECONN:GapConnect,OK", "P SSC2 C +BLECONN:GapConnect,OK"] -- ID: BTSTK_GAP_14002 - <<: *GAP_CASE - test point 2: BLE GAP set as pablic address - summary: BLE GAP set invalid randaddr FF:FF:FF:FF:FF:FF - steps: | - 1. DUT1 set invalid randaddr FF:FF:FF:FF:FF:FF - expected result: | - 1. failed - cmd set: - - "" - - - "SSC SSC1 ble -S -z randAddr -a FF:FF:FF:FF:FF:FF -r 1" - - ["R SSC1 C +BLECONN:SetRandAddr,ERROR"] -- ID: BTSTK_GAP_14003 - <<: *GAP_CASE - test point 2: BLE GAP set as pablic address - summary: BLE GAP set invalid randaddr 11:00:00:00:00:00 - steps: | - 1. DUT1 set invalid randaddr 11:00:00:00:00:00 - expected result: | - 1. failed - cmd set: - - "" - - - "SSC SSC1 ble -S -z randAddr -a 11:00:00:00:00:00 -r 1" - - ["R SSC1 C +BLECONN:SetRandAddr,ERROR"] -- ID: BTSTK_GAP_14004 - <<: *GAP_CASE - test point 2: BLE GAP set as pablic address - summary: BLE GAP set invalid randaddr 10:FA:67:25:AB:DA - steps: | - 1. DUT1 set invalid randaddr 10:FA:67:25:AB:DA - expected result: | - 1. failed - cmd set: - - "" - - - "SSC SSC1 ble -S -z randAddr -a 10:FA:67:25:AB:DA -r 1" - - ["R SSC1 C +BLECONN:SetRandAddr,ERROR"] -- ID: BTSTK_GAP_14005 - <<: *GAP_CASE - test point 2: BLE GAP set as pablic address - summary: BLE GAP set invalid randaddr 01:49:F0:AF:CA:DB - steps: | - 1. DUT1 set invalid randaddr 01:49:F0:AF:CA:DB - expected result: | - 1. failed - cmd set: - - "" - - - "SSC SSC1 ble -S -z randAddr -a 01:49:F0:AF:CA:DB -r 1" - - ["R SSC1 C +BLECONN:SetRandAddr,ERROR"] -- ID: BTSTK_GAP_14006 - <<: *GAP_CASE - test point 2: BLE GAP set as pablic address - summary: BLE GAP set invalid randaddr 00:AC:F6:36:A4:6B - steps: | - 1. DUT1 set invalid randaddr 00:AC:F6:36:A4:6B - expected result: | - 1. failed - cmd set: - - "" - - - "SSC SSC1 ble -S -z randAddr -a 00:AC:F6:36:A4:6B -r 1" - - ["R SSC1 C +BLECONN:SetRandAddr,ERROR"] -- ID: BTSTK_GAP_14007 - <<: *GAP_CASE - test point 2: BLE set random address test - summary: BLE set random address as resolvable private address and cannot be scan - initial condition: BLE_INIT_SMP - steps: | - 1. SSC1 set adv params and config local privacy as true - 2. SSC1 bleadv and SSC2 blescan - expected result: | - 1. succeed - 2. succeed - cmd set: - - "" - - - "SSC SSC1 bleadv -L -c 0 -t 3" - - ["R SSC1 C +BLEADV:SetAdv,OK C +BLEADV:SetScanRes,OK"] - - - "SSC SSC1 ble -S -z privacy -p 1" - - ["R SSC1 C +BLECONN:SetResAddr,Success"] - - - "SSC SSC1 bleadv -D -z start -o 2" - - ["R SSC1 C +BLEADV:OK"] - - - "SSC SSC2 blescan -D -z start -t 3 -c 0" - - ["R SSC2 NP C +BLESCAN:InquiryComplete"] -- ID: BTSTK_GAP_14008 - <<: *GAP_CASE - test point 2: BLE set random address test - summary: BLE pairing and set random address as resolvable private address, reconnect after disconnect - steps: | - 1. SSC2 set AuthReqMode and IOCAP,set RspKey as Enc and IRK - 2. pairing - 3. SSC1 disconnect to SSC2 - 4. SSC2 do local privacy - 5. SSC2 bleadv and SSC1 blescan - 6. SSC1 connect to SSC2 - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - 6. succeed - initial condition: BLE_INIT_SMP - cmd set: - - "" - - - "SSC SSC2 blesmp -S -z AuthReqMode -v 0x01" - - ['P SSC2 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x03" - - ['P SSC2 C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z RspKey -v 0x02" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z InitKey -v 0x02" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC[1-2] C +BLESMP:AuthComplete,Success,0'] - - - "SSC SSC1 bleconn -D -z all" - - ['P SSC1 C +BLECONN:GapDisconnect,OK', 'P SSC2 C +BLECONN:GapDisconnect,OK'] - - - "SSC SSC2 ble -S -z privacy -p 1" - - ["R SSC2 C +BLECONN:SetResAddr,Success"] - - - "SSC SSC2 bleadv -D -z start -o 2" - - ["R SSC2 C +BLEADV:OK"] - - - "SSC SSC1 blescan -D -z start -t 3" - - ["R SSC1 P C InquiryComplete"] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ["R SSC1 C +BLECONN:GapConnect,OK", "R SSC2 C +BLECONN:GapConnect,OK"] -- ID: BTSTK_GAP_14009 - <<: *GAP_CASE - test point 2: BLE set random address test - summary: BLE pairing and set random address as resolvable private address, reconnect after reboot - steps: | - 1. SSC2 set AuthReqMode and IOCAP,set RspKey as Enc and IRK - 2. pairing - 3. SSC1 and SSC2 reboot - 4. SSC2 do local privacy - 5. SSC2 bleadv and SSC1 blescan - 6. SSC1 connect to SSC2 - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - 6. succeed - initial condition: BLE_INIT_SMP - allow fail: 2/3 - cmd set: - - "" - - - "SSC SSC2 blesmp -S -z AuthReqMode -v 0x01" - - ['P SSC2 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x03" - - ['P SSC2 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z RspKey -v 0x03" - - ['P SSC2 C +BLESMP:OK'] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC[1-2] C +BLESMP:AuthComplete,Success,0'] - - - "SSC SSC[1-2] reboot" - - ['R SSC[1-2] C !!!ready!!!'] - - - "SSC SSC[1-2] ble -R" - - ["R SSC[1-2] C +BLE:OK"] - - - "SSC SSC2 gatts -S -z load -p 0xA2" - - ['R SSC2 C +GATTS:StartService,OK,A002'] - - - "SSC SSC2 ble -S -z privacy -p 1" - - ["R SSC2 C +BLECONN:SetResAddr,Success"] - - - "SSC SSC2 bleadv -D -z stop" - - ["R SSC2 C +BLEADV:OK"] - - - "SSC SSC2 bleadv -L -c 0 -t 3" - - ["R SSC2 C +BLEADV:SetAdv,OK C +BLEADV:SetScanRes,OK"] - - - "SSC SSC2 bleadv -D -z start -o 2" - - ["R SSC2 C +BLEADV:OK"] - - - "SSC SSC1 blescan -D -z stop" - - ["R SSC1 C +BLESCAN:OK"] - - - "SSC SSC1 blescan -D -z start -t 3 -c 0" - - ["R SSC1 P C InquiryComplete"] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ["R SSC1 C +BLECONN:GapConnect,OK", "R SSC2 C +BLECONN:GapConnect,OK"] -- ID: BTSTK_GAP_15001 - <<: *GAP_CASE - test point 2: BLE GAP white list test - summary: add white list and remove - steps: | - 1. get white list - 2. DUT1 add DUT2 into white list - 3. remove DUT2 from white list - 4. remove DUT2 from white list - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - initial condition: BLE_INIT_REBOOT2 - cmd set: - - "" - - - "SSC SSC1 ble -W -z get" - - ['P SSC1 C +BLE:GetWhiteList,OK,12'] - - - "SSC SSC1 ble -W -a -z add" - - ['P SSC1 C +BLE:AddWhiteList,Success'] - - - "SSC SSC1 ble -W -a -z remove" - - ['P SSC1 C +BLE:RemoveWhiteList,Success'] - - - "SSC SSC1 ble -W -a -z remove" - - ['P SSC1 C +BLE:RemoveWhiteList,Success'] -- ID: BTSTK_GAP_15002 - <<: *GAP_CASE - test point 2: BLE GAP white list test - summary: get white list test - steps: | - 1. DUT1 add white list DUT2 DUT3 DUT4 DUT5 - 2. DUT1 get white list - expected result: | - 1. succeed - 2. succeed - initial condition: BLE_INIT_REBOOT2 - cmd set: - - "" - - - LOOP 4 1 "[0,1,2,4]" - - - "SSC SSC1 ble -W -z add -a c0:3e:72:bd:a8:c{%d}" - - ['P SSC1 C +BLE:AddWhiteList,Success'] - - - "SSC SSC1 ble -W -z get" - - ['P SSC1 C +BLE:GetWhiteList,OK,8'] -- ID: BTSTK_GAP_15003 - <<: *GAP_CASE - test point 2: BLE GAP white list test - summary: add white list twice - steps: | - 1. DUT1 add DUT2 into white list - 2. DUT1 add DUT2 into white list - 3. DUT1 get white list - expected result: | - 1. succeed - 2. succeed - 3. succeed - initial condition: BLE_INIT_REBOOT2 - cmd set: - - "" - - - "SSC SSC1 ble -W -a -z add" - - ['P SSC1 C +BLE:AddWhiteList,Success'] - - - "SSC SSC1 ble -W -a -z add" - - ['P SSC1 C +BLE:AddWhiteList,Success'] - - - "SSC SSC1 ble -W -z get" - - ['P SSC1 C +BLE:GetWhiteList,OK,11'] -- ID: BTSTK_GAP_15004 - <<: *GAP_CASE - test point 2: BLE GAP white list test - summary: add 12 device to white list - steps: | - 1. DUT1 add 12 addresses into white list - 2. DUT1 get white list - 3. DUT1 add 13th address into white list - expected result: | - 1. succeed - 2. succeed - 3. failed - initial condition: BLE_INIT_REBOOT2 - cmd set: - - "" - - - LOOP 12 1 "['0','1','2','3','4','5','6','7','8','9','a','b']" - - '' - - - "SSC SSC1 ble -W -a c0:9b:0e:36:6d:7{%s} -z add" - - ['P SSC1 C +BLE:AddWhiteList,Success'] - - - "SSC SSC1 ble -W -z get" - - ['P SSC1 C +BLE:GetWhiteList,OK,0'] - - - "SSC SSC1 ble -W -a c0:9b:0e:36:6d:7c -z add" - - ['P SSC1 C +BLE:AddWhiteList,Fail'] -- ID: BTSTK_GAP_16001 - <<: *GAP_CASE - test point 2: BLE low power test - summary: test adv current and adv interval 32-32 - category: Performance - auto test: 'No' - steps: | - 1. DUT2 start adv - 2. test DUT2 current - expected result: | - 1. succeed - 2. succeed - cmd set: - - "BLEFunction/BLELowPower" - - - op_test = "start_adv" - - '' -- ID: BTSTK_GAP_16002 - <<: *GAP_CASE - test point 2: BLE low power test - summary: test scan current and scan window/interval 04 - category: Performance - auto test: 'No' - steps: | - 1. DUT2 start scan - 2. test DUT2 current - expected result: | - 1. succeed - 2. succeed - cmd set: - - "BLEFunction/BLELowPower" - - - op_test = "start_scan" - - "" -- ID: BTSTK_GAP_16003 - <<: *GAP_CASE - test point 2: BLE low power test - summary: test connect current and interval 6-6 - category: Performance - auto test: 'No' - steps: | - 1. DUT1 connect to DUT2 - 2. test DUT2 current - expected result: | - 1. succeed - 2. succeed - cmd set: - - "BLEFunction/BLELowPower" - - - op_test = "do_connect" - - "" diff --git a/components/idf_test/integration_test/TC_IT_BTSTK_GATT.yml b/components/idf_test/integration_test/TC_IT_BTSTK_GATT.yml deleted file mode 100644 index 0ec81ae0b1..0000000000 --- a/components/idf_test/integration_test/TC_IT_BTSTK_GATT.yml +++ /dev/null @@ -1,1898 +0,0 @@ -.GATT_CASE: &GATT_CASE - SDK: ESP32_IDF - Test App: SSC_BLE - auto test: 'Yes' - category: Function - test point 1: basic function - initial condition: BLE_CONN3 - test environment: SSC_T2_5 - execution time: 0 - module: BT Stack - sub module: GATT - version: v1 (2016-12-31) - CI ready: 'Yes' - level: Integration - allow fail: '' - -.primary_service_discovery: &primary_service_discovery - LIST_MERGE: - - - "SSC SSC1 gattc -D -z primaryService -p 0x10 -r " - - ["R SSC1 C +GATTC:Discover,OK"] - -.included_service_connection: &included_primary_service_connection - LIST_MERGE: - - - "SSC SSC2 gatts -S -z load -p 0xA1" - - ["R SSC2 C +GATTS:CreateService,OK,A001"] - - - "SSC SSC2 gatts -S -z include -p 0xA1 -i 0xA0" - - ["R SSC2 C +GATTS:AddIncludedService,OK"] - - - "SSC SSC2 gatts -S -z add -p 0xA1" - - ["R SSC2 C +GATTS:StartService,OK,A001"] - - - SSC SSC1 gattc -F -r - - ['R SSC1 C +GATTC:OK'] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ["R SSC1 C +BLECONN:GapConnect,OK,0010", "R SSC2 C +BLECONN:GapConnect"] - -.included_second_service_connection: &included_second_service_connection - LIST_MERGE: - - - "SSC SSC2 gatts -S -z load -p 0xA4" - - ["R SSC2 C +GATTS:StartService,OK,A004"] - - - "SSC SSC2 gatts -S -z load -p 0xA1" - - ["R SSC2 C +GATTS:CreateService,OK,A001"] - - - "SSC SSC1 gatts -S -z add -p 0xA1" - - ["R SSC1 C +GATTS:StartService,OK,A001"] - - - "SSC SSC2 gatts -S -z include -p 0xA1 -i 0xA4" - - ["R SSC2 C +GATTS:AddIncludedService,OK"] - - - SSC SSC1 gattc -F -r - - ['R SSC1 C +GATTC:OK'] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ["R SSC1 C +BLECONN:GapConnect,OK,0010", "R SSC2 C +BLECONN:GapConnect"] - -.table_include_table_service: &table_include_table_service - LIST_MERGE: - - - "SSC SSC2 gatts -S -z load -p 0xA5 -i 0xA2" - - ["R SSC2 C +GATTS:StartService,OK,A005"] - - - SSC SSC1 gattc -F -r - - ['R SSC1 C +GATTC:OK'] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ["R SSC1 C +BLECONN:GapConnect,OK,0010", "R SSC2 C +BLECONN:GapConnect"] - -.table_include_service: &table_include_service - LIST_MERGE: - - - "SSC SSC2 gatts -S -z load -p 0xA5 -i 0xA0" - - ["R SSC2 C +GATTS:StartService,OK,A005"] - - - SSC SSC1 gattc -F -r - - ['R SSC1 C +GATTC:OK'] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ["R SSC1 C +BLECONN:GapConnect,OK,0010", "R SSC2 C +BLECONN:GapConnect"] - -.register_notify_c107: ®ister_notify_c107 - LIST_MERGE: - - - "SSC SSC1 gattc -N -z register -s 0xA000 -c 0xC107 -p 0x10 -r " - - ["R SSC1 C +GATTC:RegNotify,OK,0010,A000,C107"] - -.register_indicate_c108: ®ister_indicate_c108 - LIST_MERGE: - - - "SSC SSC1 gattc -N -z register -s 0xA000 -c 0xC108 -p 0x10 -r " - - ["R SSC1 C +GATTC:RegNotify,OK,0010,A000,C108"] - -.stop_adv: &stop_adv - LIST_MERGE: - - - "SSC SSC2 bleadv -D -z stop" - - ["R SSC2 C +BLEADV:Stop"] - -test cases: -- ID: BTSTK_GATT_60001 - <<: *GATT_CASE - test point 2: BLE GATT server get and set value - summary: GATT server set char value and value length longer than max length - allow fail: 1/2 - steps: | - 1. DUT2 create service - 2. DUT2 set value length - expected result: | - 1. succeed - 2. failed - initial condition: BLE_INIT3 - cmd set: - - "" - - *stop_adv - - - "SSC SSC2 gatts -V -c 0xC300 -p 0xA2 -z set -l 3" - - ["R SSC2 C +GATTS:SetAttrVal,ERROR"] -- ID: BTSTK_GATT_60002 - <<: *GATT_CASE - test point 2: BLE GATT server get and set value - summary: GATT server get short char value and long char value - allow fail: 1/2 - steps: | - 1. DUT2 create service - 2. DUT2 get short char - 3. DUT2 get long char - expected result: | - 1. succeed - 2. succeed - 3. succeed - initial condition: BLE_INIT3 - cmd set: - - "" - - *stop_adv - - - "SSC SSC2 gatts -V -c 0xC300 -p 0xA2 -z get" - - ["R SSC2 C +GATTS:GetAttrValue,1,0x01"] - - - "SSC SSC2 gatts -V -c 0xC301 -p 0xA2 -z get" - - ["R SSC2 C +GATTS:GetAttrValue,256"] -- ID: BTSTK_GATT_60003 - <<: *GATT_CASE - test point 2: BLE GATT server get and set value - summary: GATT server set char value and get value - steps: | - 1. DUT2 create service - 2. DUT2 set short char value - 3. DUT2 get value - 4. DUT2 set long char value - 5. DUT2 get value - 6. DUT2 set long char value - 7. DUT2 get value - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - initial condition: BLE_INIT3 - cmd set: - - "" - - *stop_adv - - - "SSC SSC2 gatts -V -c 0xC300 -p 0xA2 -z set -v 0x02" - - ["R SSC2 C +GATTS:SetAttrVal,OK"] - - - "SSC SSC2 gatts -V -c 0xC300 -p 0xA2 -z get" - - ["R SSC2 C +GATTS:GetAttrValue,1,0x02"] - - - "SSC SSC2 gatts -V -c 0xC301 -p 0xA2 -z set -v 0x010203040506" - - ["R SSC2 C +GATTS:SetAttrVal,OK"] - - - "SSC SSC2 gatts -V -c 0xC301 -p 0xA2 -z get" - - ["R SSC2 C +GATTS:GetAttrValue,6,0x010203040506"] - - - "SSC SSC2 gatts -V -c 0xC301 -p 0xA2 -z set -v 123456" - - ["R SSC2 C +GATTS:SetAttrVal,OK"] - - - "SSC SSC2 gatts -V -c 0xC301 -p 0xA2 -z get" - - ["R SSC2 C +GATTS:GetAttrValue,6,0x313233343536"] -- ID: BTSTK_GATT_60004 - <<: *GATT_CASE - test point 2: BLE GATT server get and set value - summary: GATT server set special char value and get value - steps: | - 1. DUT2 create service - 2. DUT2 set char value - 3. DUT2 get value - expected result: | - 1. succeed - 2. succeed - 3. succeed - initial condition: BLE_INIT3 - cmd set: - - "" - - *stop_adv - - - "SSC SSC2 gatts -V -c 0xC301 -p 0xA2 -z set -v JKLJGFD*^" - - ["R SSC2 C +GATTS:SetAttrVal,OK"] - - - "SSC SSC2 gatts -V -c 0xC301 -p 0xA2 -z get" - - ["R SSC2 C +GATTS:GetAttrValue,9,0x4A4B4C4A4746442A5E"] -- ID: BTSTK_GATT_60005 - <<: *GATT_CASE - test point 2: BLE GATT server get and set value - summary: GATT server set char value length=0 and get value - steps: | - 1. DUT2 create service - 2. DUT2 set char value - 3. DUT2 get value - expected result: | - 1. succeed - 2. succeed - 3. succeed - initial condition: BLE_INIT3 - cmd set: - - "" - - *stop_adv - - - "SSC SSC2 gatts -V -c 0xC300 -p 0xA2 -z set -l 0" - - ["R SSC2 C +GATTS:SetAttrVal,ERROR"] - - - "SSC SSC2 gatts -V -c 0xC300 -p 0xA2 -z get" - - ["R SSC2 C +GATTS:GetAttrValue,1,0x01"] -- ID: BTSTK_GATT_60006 - <<: *GATT_CASE - test point 2: BLE GATT server get and set value - summary: GATT server only set char value length and get value - steps: | - 1. DUT2 create service - 2. DUT2 set char value - 3. DUT2 get value - expected result: | - 1. succeed - 2. succeed - 3. succeed - initial condition: BLE_INIT3 - cmd set: - - "" - - *stop_adv - - - "SSC SSC2 gatts -V -c 0xC301 -p 0xA2 -z set -l 5" - - ["R SSC2 C +GATTS:SetAttrVal,OK"] - - - "SSC SSC2 gatts -V -c 0xC301 -p 0xA2 -z get" - - ["R SSC2 C +GATTS:GetAttrValue,5"] -- ID: BTSTK_GATT_60007 - <<: *GATT_CASE - test point 2: BLE GATT server get and set value - summary: gattc write char value and gatts get - steps: | - 1. DUT1 do service discovery - 2. DUT1 write short char - 3. DUT2 get value - 4. DUT1 write longchar - 5. DUT2 get value - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z char -s 0xA002 -c 0xC302 -p 0x10 -v 0x01 -r " - - ["R SSC1 C +GATTC:WriteOnce,0010,A002,C302", "R SSC1 C +GATTC:Write,OK,0010,A002,C302"] - - - "SSC SSC2 gatts -V -c 0xC302 -p 0xA2 -z get" - - ["R SSC2 C +GATTS:GetAttrValue,1,0x01"] - - - "SSC SSC1 gattc -W -z longChar -s 0xA002 -c 0xC304 -p 0x10 -l 256 -r " - - ["P SSC1 C +GATTC:Write,OK,0010,A002,C304"] - - - "SSC SSC2 gatts -V -c 0xC304 -p 0xA2 -z get" - - ["R SSC2 C +GATTS:GetAttrValue,256"] -- ID: BTSTK_GATT_60008 - <<: *GATT_CASE - test point 2: BLE GATT server get and set value - summary: gatts set char value and gattc read - steps: | - 1. DUT1 do service discovery - 2. DUT2 set short char value - 3. DUT1 read - 4. DUT2 set long char value - 5. DUT1 read - 6. DUT2 set long char length - 7. DU1 read - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC2 gatts -V -c 0xC300 -p 0xA2 -z set -v 0x02" - - ["R SSC2 C +GATTS:SetAttrVal,OK"] - - - "SSC SSC1 gattc -R -z char -s 0xA002 -c 0xC300 -p 0x10 -r " - - ["R SSC1 C +GATTC:ReadOnce,0010,A002,C300,1", "R SSC1 C +GATTC:Read,OK,0010,A002,C300"] - - - "SSC SSC2 gatts -V -c 0xC301 -p 0xA2 -z set -v 0x02" - - ["R SSC2 C +GATTS:SetAttrVal,OK"] - - - "SSC SSC1 gattc -R -z char -s 0xA002 -c 0xC301 -p 0x10 -r " - - ["R SSC1 C +GATTC:ReadOnce,0010,A002,C301,1", "R SSC1 C +GATTC:Read,OK,0010,A002,C301"] - - - "SSC SSC2 gatts -V -c 0xC301 -p 0xA2 -z set -l 5" - - ["R SSC2 C +GATTS:SetAttrVal,OK"] - - - "SSC SSC1 gattc -R -z char -s 0xA002 -c 0xC301 -p 0x10 -r " - - ["R SSC1 C +GATTC:ReadOnce,0010,A002,C301,5", "R SSC1 C +GATTC:Read,OK,0010,A002,C301"] -- ID: BTSTK_GATT_60009 - <<: *GATT_CASE - test point 2: BLE GATT server get and set value - summary: GATT server set descriptor value and value length longer than max length - steps: | - 1. DUT2 create service - 2. DUT2 set descriptor value length - expected result: | - 1. succeed - 2. failed - initial condition: BLE_INIT3 - cmd set: - - "" - - - "SSC SSC2 gatts -V -c 0xC300 -d 0x2901 -p 0xA2 -z set -l 3" - - ["R SSC2 C +GATTS:SetAttrVal,ERROR"] -- ID: BTSTK_GATT_60010 - <<: *GATT_CASE - test point 2: BLE GATT server get and set value - summary: GATT server get short descriptor value - steps: | - 1. DUT2 create service - 2. DUT2 get short char - expected result: | - 1. succeed - 2. succeed - initial condition: BLE_INIT3 - cmd set: - - "" - - - "SSC SSC2 gatts -V -c 0xC300 -d 0x2901 -p 0xA2 -z get" - - ["R SSC2 C +GATTS:GetAttrValue,1,0x00"] -- ID: BTSTK_GATT_60011 - <<: *GATT_CASE - test point 2: BLE GATT server get and set value - summary: GATT server set descriptor value and get value - steps: | - 1. DUT2 create service - 2. DUT2 set descriptor value - 3. DUT2 get value - 4. DUT2 set descriptor value - 5. DUT2 get value - 6. DUT2 set descriptor value - 7. DUT2 get value - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - initial condition: BLE_INIT3 - cmd set: - - "" - - - "SSC SSC2 gatts -V -c 0xC300 -d 0x2901 -p 0xA2 -z set -v 0x02" - - ["R SSC2 C +GATTS:SetAttrVal,OK"] - - - "SSC SSC2 gatts -V -c 0xC300 -d 0x2901 -p 0xA2 -z get" - - ["R SSC2 C +GATTS:GetAttrValue,1,0x02"] - - - "SSC SSC2 gatts -V -c 0xC301 -d 0x2901 -p 0xA2 -z set -v 0x010203040506" - - ["R SSC2 C +GATTS:SetAttrVal,OK"] - - - "SSC SSC2 gatts -V -c 0xC301 -d 0x2901 -p 0xA2 -z get" - - ["R SSC2 C +GATTS:GetAttrValue,6,0x010203040506"] - - - "SSC SSC2 gatts -V -c 0xC301 -d 0x2901 -p 0xA2 -z set -v 123456" - - ["R SSC2 C +GATTS:SetAttrVal,OK"] - - - "SSC SSC2 gatts -V -c 0xC301 -d 0x2901 -p 0xA2 -z get" - - ["R SSC2 C +GATTS:GetAttrValue,6,0x313233343536"] -- ID: BTSTK_GATT_60012 - <<: *GATT_CASE - test point 2: BLE GATT server get and set value - summary: GATT server set special descriptor value and get value - steps: | - 1. DUT2 create service - 2. DUT2 set descriptor value - 3. DUT2 get value - expected result: | - 1. succeed - 2. succeed - 3. succeed - initial condition: BLE_INIT3 - cmd set: - - "" - - - "SSC SSC2 gatts -V -c 0xC301 -d 0x2901 -p 0xA2 -z set -v JKLJGFD*^" - - ["R SSC2 C +GATTS:SetAttrVal,OK"] - - - "SSC SSC2 gatts -V -c 0xC301 -d 0x2901 -p 0xA2 -z get" - - ["R SSC2 C +GATTS:GetAttrValue,9,0x4A4B4C4A4746442A5E"] -- ID: BTSTK_GATT_60013 - <<: *GATT_CASE - test point 2: BLE GATT server get and set value - summary: GATT server set descriptor value length=0 and get value - steps: | - 1. DUT2 create service - 2. DUT2 set descriptor value - 3. DUT2 get value - expected result: | - 1. succeed - 2. succeed - 3. succeed - initial condition: BLE_INIT3 - cmd set: - - "" - - - "SSC SSC2 gatts -V -c 0xC300 -d 0x2901 -p 0xA2 -z set -l 0" - - ["R SSC2 C +GATTS:SetAttrVal,ERROR"] - - - "SSC SSC2 gatts -V -c 0xC300 -d 0x2901 -p 0xA2 -z get" - - ["R SSC2 C +GATTS:GetAttrValue,1,0x00"] -- ID: BTSTK_GATT_60014 - <<: *GATT_CASE - test point 2: BLE GATT server get and set value - summary: GATT server only set descriptor value length and get value - steps: | - 1. DUT2 create service - 2. DUT2 set char value - 3. DUT2 get value - expected result: | - 1. succeed - 2. succeed - 3. succeed - initial condition: BLE_INIT3 - cmd set: - - "" - - - "SSC SSC2 gatts -V -c 0xC301 -d 0x2901 -p 0xA2 -z set -l 5" - - ["R SSC2 C +GATTS:SetAttrVal,OK"] - - - "SSC SSC2 gatts -V -c 0xC301 -d 0x2901 -p 0xA2 -z get" - - ["R SSC2 C +GATTS:GetAttrValue,5"] -- ID: BTSTK_GATT_60015 - <<: *GATT_CASE - test point 2: BLE GATT server get and set value - summary: gattc write descriptor value and gatts get - steps: | - 1. DUT1 do service discovery - 2. DUT1 write short descriptor - 3. DUT2 get value - 4. DUT1 write long descriptor - 5. DUT2 get value - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z descriptor -s 0xA002 -c 0xC300 -d 0x2901 -p 0x10 -v 0x01 -r " - - ["R SSC1 C +GATTC:WriteOnce,0010,A002,C300,2901", "R SSC1 C +GATTC:WriteDescriptor,OK,0010,A002,C300,2901"] - - - "SSC SSC2 gatts -V -c 0xC300 -d 0x2901 -p 0xA2 -z get" - - ["R SSC2 C +GATTS:GetAttrValue,1,0x01"] - - - "SSC SSC1 gattc -W -z longDescriptor -s 0xA002 -c 0xC301 -d 0x2901 -p 0x10 -l 256 -r " - - ["P SSC1 C +GATTC:WriteDescriptor,OK,0010,A002,C301,2901"] - - - "SSC SSC2 gatts -V -c 0xC301 -d 0x2901 -p 0xA2 -z get" - - ["R SSC2 C +GATTS:GetAttrValue,256"] -- ID: BTSTK_GATT_60016 - <<: *GATT_CASE - test point 2: BLE GATT server get and set value - summary: gatts set value and gattc read - steps: | - 1. DUT1 do service discovery - 2. DUT2 set short descriptor value - 3. DUT1 read - 4. DUT2 set long descriptor value - 5. DUT1 read - 6. DUT2 set long descriptor length - 7. DU1 read - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC2 gatts -V -c 0xC300 -d 0x2901 -p 0xA2 -z set -v 0x02" - - ["R SSC2 C +GATTS:SetAttrVal,OK"] - - - "SSC SSC1 gattc -R -z descriptor -s 0xA002 -c 0xC300 -d 0x2901 -p 0x10 -r " - - ["R SSC1 C +GATTC:ReadOnce,0010,A002,C300,2901,1", "R SSC1 C +GATTC:ReadDescriptor,OK,0010,A002,C300,2901"] - - - "SSC SSC2 gatts -V -c 0xC301 -d 0x2901 -p 0xA2 -z set -v 0x02" - - ["R SSC2 C +GATTS:SetAttrVal,OK"] - - - "SSC SSC1 gattc -R -z descriptor -s 0xA002 -c 0xC301 -d 0x2901 -p 0x10 -r " - - ["R SSC1 C +GATTC:ReadOnce,0010,A002,C301,2901,1", "R SSC1 C +GATTC:ReadDescriptor,OK,0010,A002,C301,2901"] - - - "SSC SSC2 gatts -V -c 0xC301 -d 0x2901 -p 0xA2 -z set -l 5" - - ["R SSC2 C +GATTS:SetAttrVal,OK"] - - - "SSC SSC1 gattc -R -z descriptor -s 0xA002 -c 0xC301 -d 0x2901 -p 0x10 -r " - - ["R SSC1 C +GATTC:ReadOnce,0010,A002,C301,2901,5", "R SSC1 C +GATTC:ReadDescriptor,OK,0010,A002,C301,2901"] -- ID: BTSTK_GATT_21007 - <<: *GATT_CASE - test point 2: BLE GATT client read char and descriptor - summary: GATT client read auto reply short char created by table - steps: | - 1. DUT1 do discover - 2. DUT1 read auto reply short char - expected result: | - 1. succeed - 2. succeed - initial condition: BLE_CONN3 - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -R -z char -s 0xA002 -c 0xC300 -p 0x10 -r " - - ["R SSC1 C +GATTC:ReadOnce,0010,A002,C300,1", "R SSC1 C +GATTC:Read,OK,0010,A002,C300"] -- ID: BTSTK_GATT_21008 - <<: *GATT_CASE - test point 2: BLE GATT client read char and descriptor - summary: GATT client read auto reply long char created by table - steps: | - 1. DUT1 do discover - 2. DUT1 read auto reply long char - expected result: | - 1. succeed - 2. succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -R -z char -s 0xA002 -c 0xC301 -p 0x10 -r " - - ["P SSC1 C +GATTC:ReadOnce,0010,A002,C301,256", "P SSC1 C +GATTC:Read,OK,0010,A002,C301"] -- ID: BTSTK_GATT_21009 - <<: *GATT_CASE - test point 2: BLE GATT client read char and descriptor - summary: GATT client read app reply short char created by table - steps: | - 1. DUT1 do discover - 2. DUT1 read app reply short char - expected result: | - 1. succeed - 2. succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -R -z char -s 0xA002 -c 0xC310 -p 0x10 -r " - - ["P SSC1 C +GATTC:ReadOnce,0010,A002,C310,1", "P SSC1 C +GATTC:Read,OK,0010,A002,C310"] -- ID: BTSTK_GATT_21010 - <<: *GATT_CASE - test point 2: BLE GATT client read char and descriptor - summary: GATT client read app reply long char created by table - steps: | - 1. DUT1 do discover - 2. DUT1 read app reply long char - expected result: | - 1. succeed - 2. succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -R -z char -s 0xA002 -c 0xC311 -p 0x10 -r " - - ["P SSC1 C +GATTC:ReadOnce,0010,A002,C311,256", "P SSC1 C +GATTC:Read,OK,0010,A002,C311"] -- ID: BTSTK_GATT_21011 - <<: *GATT_CASE - test point 2: BLE GATT client read char and descriptor - summary: GATT client read auto reply short descriptor created by table - steps: | - 1. DUT1 do discover - 2. DUT1 read auto reply short descriptor - expected result: | - 1. succeed - 2. succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -R -z descriptor -s 0xA002 -c 0xC300 -d 0x2901 -p 0x10 -r " - - ["P SSC1 C +GATTC:ReadOnce,0010,A002,C300,2901,1", "P SSC1 C +GATTC:ReadDescriptor,OK,0010,A002,C300,2901"] -- ID: BTSTK_GATT_21012 - <<: *GATT_CASE - test point 2: BLE GATT client read char and descriptor - summary: GATT client read auto reply long descriptor created by table - steps: | - 1. DUT1 do discover - 2. DUT1 read auto reply long descriptor - expected result: | - 1. succeed - 2. succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -R -z descriptor -s 0xA002 -c 0xC301 -d 0x2901 -p 0x10 -r " - - ["P SSC1 C +GATTC:ReadOnce,0010,A002,C301,2901,256", "P SSC1 C +GATTC:ReadDescriptor,OK,0010,A002,C301,2901"] -- ID: BTSTK_GATT_21013 - <<: *GATT_CASE - test point 2: BLE GATT client read char and descriptor - summary: GATT client read app reply short descriptor created by table - steps: | - 1. DUT1 do discover - 2. DUT1 read app reply short descriptor - expected result: | - 1. succeed - 2. succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -R -z descriptor -s 0xA002 -c 0xC310 -d 0x2901 -p 0x10 -r " - - ["P SSC1 C +GATTC:ReadOnce,0010,A002,C310,2901,1", "P SSC1 C +GATTC:ReadDescriptor,OK,0010,A002,C310,2901"] -- ID: BTSTK_GATT_21014 - <<: *GATT_CASE - test point 2: BLE GATT client read char and descriptor - summary: GATT client read app reply long descriptor created by table - steps: | - 1. DUT1 do discover - 2. DUT1 read app reply long descriptor - expected result: | - 1. succeed - 2. succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -R -z descriptor -s 0xA002 -c 0xC311 -d 0x2901 -p 0x10 -r " - - ["P SSC1 C +GATTC:ReadOnce,0010,A002,C311,2901,256", "P SSC1 C +GATTC:ReadDescriptor,OK,0010,A002,C311,2901"] -- ID: BTSTK_GATT_22010 - <<: *GATT_CASE - test point 2: BLE GATT client write char and descriptor - summary: GATT client write with response to auto reply short char with response created by table - allow fail: 1/2 - steps: | - 1. DUT1 do service discovery - 2. GATT client write with response to auto reply short char with response created by table - expected result: | - 1. succeed - 2. write succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z char -s 0xA002 -c 0xC302 -p 0x10 -r -v 0x01 -w 2" - - ["P SSC1 C +GATTC:WriteOnce,0010,A002,C302", "P SSC1 C +GATTC:Write,OK,0010,A002,C302"] -- ID: BTSTK_GATT_22011 - <<: *GATT_CASE - test point 2: BLE GATT client write char and descriptor - summary: GATT client write without response to auto reply short char without response created by table - steps: | - 1. DUT1 do service discovery - 2. GATT client write without response to auto reply short char without response created by table - expected result: | - 1. succeed - 2. write succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z char -s 0xA002 -c 0xC303 -p 0x10 -v 0x01 -w 1 -r " - - - "P SSC1 C +GATTC:WriteOnce,0010,A002,C303" - - "P SSC2 C +GATTS:Write,OK,A002,C303" - - "P SSC1 C +GATTC:Write,OK,0010,A002,C303" -- ID: BTSTK_GATT_22012 - <<: *GATT_CASE - test point 2: BLE GATT client write char and descriptor - summary: GATT client prepare write and do execute to auto reply char created by table - steps: | - 1. DUT1 do service discovery - 2. GATT client prepare write and do execute to auto reply char created by table - expected result: | - 1. succeed - 2. write succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z longChar -s 0xA002 -c 0xC304 -p 0x10 -l 256 -r " - - ["P SSC1 C +GATTC:Write,OK,0010,A002,C304"] -- ID: BTSTK_GATT_22013 - <<: *GATT_CASE - test point 2: BLE GATT client write char and descriptor - summary: GATT client prepare write and do cancel to auto reply char created by table - steps: | - 1. DUT1 do service discovery - 2. GATT client prepare write and do cancel to auto reply char created by table - expected result: | - 1. succeed - 2. write succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z longChar -s 0xA002 -c 0xC304 -p 0x10 -l 256 -e 0 -r " - - ["P SSC1 C +GATTC:Write,OK,0010,A002,C304"] -- ID: BTSTK_GATT_22014 - <<: *GATT_CASE - test point 2: BLE GATT client write char and descriptor - summary: GATT client write to auto reply short descriptor created by table - steps: | - 1. DUT1 do service discovery - 2. GATT client write to auto reply short descriptor created by table - expected result: | - 1. succeed - 2. write succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z descriptor -s 0xA002 -c 0xC300 -d 0x2901 -p 0x10 -v 0x01 -r " - - ["R SSC1 C +GATTC:WriteOnce,0010,A002,C300,2901", "R SSC1 C +GATTC:WriteDescriptor,OK,0010,A002,C300,2901"] -- ID: BTSTK_GATT_22015 - <<: *GATT_CASE - test point 2: BLE GATT client write char and descriptor - summary: GATT client write to auto reply long descriptor created by table - steps: | - 1. DUT1 do service discovery - 2. GATT client write to auto reply long descriptor created by table - expected result: | - 1. succeed - 2. write succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z longDescriptor -s 0xA002 -c 0xC301 -d 0x2901 -p 0x10 -l 256 -r " - - ["P SSC1 C +GATTC:WriteDescriptor,OK,0010,A002,C301,2901"] -- ID: BTSTK_GATT_22016 - <<: *GATT_CASE - test point 2: BLE GATT client write char and descriptor - summary: GATT client write to auto reply long descriptor created by table and cancel - steps: | - 1. DUT1 do service discovery - 2. GATT client write to auto reply long descriptor created by table and cancel - expected result: | - 1. succeed - 2. write succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z longDescriptor -s 0xA002 -c 0xC301 -d 0x2901 -p 0x10 -l 256 -e 0 -r " - - ["P SSC1 C +GATTC:WriteDescriptor,OK,0010,A002,C301,2901"] -- ID: BTSTK_GATT_22017 - <<: *GATT_CASE - test point 2: BLE GATT client write char and descriptor - summary: GATT client write with response to app reply short char with response created by table - steps: | - 1. DUT1 do service discovery - 2. GATT client write with response to app reply short char with response created by table - expected result: | - 1. succeed - 2. write succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z char -s 0xA002 -c 0xC312 -p 0x10 -v 0x01 -r " - - ["R SSC1 C +GATTC:WriteOnce,0010,A002,C312", "R SSC1 C +GATTC:Write,OK,0010,A002,C312"] -- ID: BTSTK_GATT_22018 - <<: *GATT_CASE - test point 2: BLE GATT client write char and descriptor - summary: GATT client write without response to app reply short char without response created by table - steps: | - 1. DUT1 do service discovery - 2. GATT client write without response to app reply short char without response created by table - expected result: | - 1. succeed - 2. write succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z char -s 0xA002 -c 0xC313 -p 0x10 -v 0x01 -w 1 -r " - - - "P SSC1 C +GATTC:WriteOnce,0010,A002,C313" - - "P SSC2 C +GATTS:Write,OK,A002,C313" - - "P SSC1 C +GATTC:Write,OK,0010,A002,C313" -- ID: BTSTK_GATT_22019 - <<: *GATT_CASE - test point 2: BLE GATT client write char and descriptor - summary: GATT client prepare write and do execute to app reply char created by table - steps: | - 1. DUT1 do service discovery - 2. GATT client prepare write and do execute to app reply char created by table - expected result: | - 1. succeed - 2. write succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z longChar -s 0xA002 -c 0xC314 -p 0x10 -l 256 -r " - - ["P SSC1 C +GATTC:Write,OK,0010,A002,C314"] -- ID: BTSTK_GATT_22020 - <<: *GATT_CASE - test point 2: BLE GATT client write char and descriptor - summary: GATT client prepare write and do cancel to app reply char created by table - steps: | - 1. DUT1 do service discovery - 2. GATT client prepare write and do cancel to app reply char created by table - expected result: | - 1. succeed - 2. write succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z longChar -s 0xA002 -c 0xC314 -p 0x10 -l 256 -e 0 -r " - - ["P SSC1 C +GATTC:Write,OK,0010,A002,C314"] -- ID: BTSTK_GATT_22021 - <<: *GATT_CASE - test point 2: BLE GATT client write char and descriptor - summary: GATT client write to app reply short descriptor created by table - steps: | - 1. DUT1 do service discovery - 2. GATT client write to app reply short descriptor created by table - expected result: | - 1. succeed - 2. write succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z descriptor -s 0xA002 -c 0xC310 -d 0x2901 -p 0x10 -v 0x01 -r " - - ["R SSC1 C +GATTC:WriteOnce,0010,A002,C310,2901", "R SSC1 C +GATTC:WriteDescriptor,OK,0010,A002,C310,2901"] -- ID: BTSTK_GATT_22022 - <<: *GATT_CASE - test point 2: BLE GATT client write char and descriptor - summary: GATT client write to app reply long descriptor created by table - steps: | - 1. DUT1 do service discovery - 2. GATT client write to app reply long descriptor created by table - expected result: | - 1. succeed - 2. write succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z longDescriptor -s 0xA002 -c 0xC311 -d 0x2901 -p 0x10 -l 256 -r " - - ["P SSC1 C +GATTC:WriteDescriptor,OK,0010,A002,C311,2901"] -- ID: BTSTK_GATT_22023 - <<: *GATT_CASE - test point 2: BLE GATT client write char and descriptor - summary: GATT client write to app reply long descriptor created by table and cancel - steps: | - 1. DUT1 do service discovery - 2. GATT client write to app reply long descriptor created by table and cancel - expected result: | - 1. succeed - 2. write succeed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z longDescriptor -s 0xA002 -c 0xC311 -d 0x2901 -p 0x10 -l 256 -e 0 -r " - - ["P SSC1 C +GATTC:WriteDescriptor,OK,0010,A002,C311,2901"] -- ID: BTSTK_GATT_23005 - <<: *GATT_CASE - test point 2: BLE GATT client receive notify and indication - summary: GATT client receive notify on auto reply notify char created by table - steps: | - 1. DUT1 do service discovery - 2. DUT1 register notify on auto reply notification char and write to CCC - 3. DUT2 do notify - expected result: | - 1. succeed - 2. succeed - 3. DUT1 recv notify - initial condition: BLE_CONN3 - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -N -z register -s 0xA002 -c 0xC305 -p 0x10 -r " - - ["R SSC1 C +GATTC:RegNotify,OK,0010,A002,C305"] - - - "SSC SSC1 gattc -W -z descriptor -s 0xA002 -c 0xC305 -d 0x2902 -p 0x10 -v 0x0100 -r " - - ["R SSC1 C +GATTC:WriteOnce,0010,A002,C305,2902", "R SSC1 C +GATTC:WriteDescriptor,OK,0010,A002,C305,2902"] - - - "SSC SSC2 gatts -N -c 0xC305 -p 0xA2 -v 0x01 -r " - - ["R SSC1 C +GATTC:Notification,0010,A002,C305,1"] -- ID: BTSTK_GATT_23006 - <<: *GATT_CASE - test point 2: BLE GATT client receive notify and indication - summary: GATT client receive indication on auto reply indication char created by table - steps: | - 1. DUT1 do service discovery - 2. DUT1 register notify on auto reply inidcation char and write to CCC - 3. DUT2 do indication - expected result: | - 1. succeed - 2. succeed - 3. DUT1 recv indication - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -N -z register -s 0xA002 -c 0xC306 -p 0x10 -r " - - ["R SSC1 C +GATTC:RegNotify,OK,0010,A002,C306"] - - - "SSC SSC1 gattc -W -z descriptor -s 0xA002 -c 0xC306 -d 0x2902 -r -v 0x0002 -p 0x10" - - ["R SSC1 C +GATTC:WriteOnce,0010,A002,C306,2902", "R SSC1 C +GATTC:WriteDescriptor,OK,0010,A002,C306,2902"] - - - "SSC SSC2 gatts -I -c 0xC306 -p 0xA2 -v 0x01 -r " - - ["R SSC1 C +GATTC:Indication,0010,A002,C306,1"] -- ID: BTSTK_GATT_23007 - <<: *GATT_CASE - test point 2: BLE GATT client receive notify and indication - summary: GATT client can't receive notification/indication without write to CCC (auto service auto reply) - steps: | - 1. DUT1 do service discovery - 2. DUT1 register notify on notify and inidcation char - 3. DUT2 do notify and indication - expected result: | - 1. succeed - 2. succeed - 3. DUT1 can recv notify and indication (this is aganist Spec, but a reasonable behavior in bluedroid) - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -N -z register -s 0xA002 -c 0xC305 -p 0x10 -r " - - ["R SSC1 C +GATTC:RegNotify,OK,0010,A002,C305"] - - - "SSC SSC1 gattc -N -z register -s 0xA002 -c 0xC306 -p 0x10 -r " - - ["R SSC1 C +GATTC:RegNotify,OK,0010,A002,C306"] - - - "SSC SSC2 gatts -N -c 0xC305 -p 0xA2 -v 0x01 -r " - - ["P SSC1 C +GATTC:Notification,0010,A002,C305,1"] - - - "SSC SSC2 gatts -I -c 0xC306 -p 0xA2 -v 0x01 -r " - - ["P SSC1 C +GATTC:Indication,0010,A002,C306,1"] -- ID: BTSTK_GATT_23008 - <<: *GATT_CASE - test point 2: BLE GATT client receive notify and indication - summary: GATT client receive notify on app reply notify char created by table - steps: | - 1. DUT1 do service discovery - 2. DUT1 register notify on app reply notification char and write to CCC - 3. DUT2 do notify - expected result: | - 1. succeed - 2. succeed - 3. DUT1 recv notify - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -N -z register -s 0xA002 -c 0xC315 -p 0x10 -r " - - ["R SSC1 C +GATTC:RegNotify,OK,0010,A002,C315"] - - - "SSC SSC1 gattc -W -z descriptor -s 0xA002 -c 0xC315 -d 0x2902 -p 0x10 -r -v 0x0100" - - ["R SSC1 C +GATTC:WriteOnce,0010,A002,C315,2902", "R SSC1 C +GATTC:WriteDescriptor,OK,0010,A002,C315,2902"] - - - "SSC SSC2 gatts -N -c 0xC315 -p 0xA2 -v 0x01 -r " - - ["R SSC1 C +GATTC:Notification,0010,A002,C315,1"] -- ID: BTSTK_GATT_23009 - <<: *GATT_CASE - test point 2: BLE GATT client receive notify and indication - summary: GATT client receive indication on app reply indication char created by table - steps: | - 1. DUT1 do service discovery - 2. DUT1 register notify on app reply inidcation char and write to CCC - 3. DUT2 do indication - expected result: | - 1. succeed - 2. succeed - 3. DUT1 recv indication - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -N -z register -s 0xA002 -c 0xC316 -p 0x10 -r " - - ["R SSC1 C +GATTC:RegNotify,OK,0010,A002,C316"] - - - "SSC SSC1 gattc -W -z descriptor -s 0xA002 -c 0xC316 -d 0x2902 -p 0x10 -r -v 0x0002" - - ["R SSC1 C +GATTC:WriteOnce,0010,A002,C316,2902", "R SSC1 C +GATTC:WriteDescriptor,OK,0010,A002,C316,2902"] - - - "SSC SSC2 gatts -I -c 0xC316 -p 0xA2 -v 0x01 -r " - - ["R SSC1 C +GATTC:Indication,0010,A002,C316,1"] -- ID: BTSTK_GATT_23010 - <<: *GATT_CASE - test point 2: BLE GATT client receive notify and indication - summary: GATT client can't receive notification/indication without write to CCC (auto service manual reply) - steps: | - 1. DUT1 do service discovery - 2. DUT1 register notify on notify and inidcation char - 3. DUT2 do notify and indication - expected result: | - 1. succeed - 2. succeed - 3. DUT1 can recv notify and indication (this is aganist Spec, but a reasonable behavior in bluedroid) - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -N -z register -s 0xA002 -c 0xC315 -p 0x10 -r " - - ["R SSC1 C +GATTC:RegNotify,OK,0010,A002,C315"] - - - "SSC SSC1 gattc -N -z register -s 0xA002 -c 0xC316 -p 0x10 -r " - - ["R SSC1 C +GATTC:RegNotify,OK,0010,A002,C316"] - - - "SSC SSC2 gatts -N -c 0xC315 -p 0xA2 -v 0x01 -r " - - ["P SSC1 C +GATTC:Notification,0010,A002,C315,1"] - - - "SSC SSC2 gatts -I -c 0xC316 -p 0xA2 -v 0x01 -r " - - ["P SSC1 C +GATTC:Indication,0010,A002,C316,1"] -- ID: BTSTK_GATT_24003 - <<: *GATT_CASE - test point 2: BLE GATT client do invalid read - summary: GATT client read to a char without read property created by table - steps: | - 1. DUT1 do service discovery - 2. DUT1 read to auto reply char without read property create by table - 3. DUT1 read to app reply char without read property create by table - expected result: | - 1. succeed - 2. failed - 3. failed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -R -z char -s 0xA002 -c 0xC302 -p 0x10 -r " - - ["P SSC1 C +GATTC:Read,ERROR"] - - - "SSC SSC1 gattc -R -z char -s 0xA002 -c 0xC312 -p 0x10 -r " - - ["P SSC1 C +GATTC:Read,ERROR"] -- ID: BTSTK_GATT_24004 - <<: *GATT_CASE - test point 2: BLE GATT client do invalid read - summary: GATT client read to a descriptor without read property created by table - steps: | - 1. DUT1 do service discovery - 2. DUT1 read to auto reply descriptor without read property created by table - 3. DUT1 read to app reply descriptor without read property created by table - expected result: | - 1. succeed - 2. failed - 3. failed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -R -z descriptor -s 0xA002 -c 0xC303 -d 0x2901 -p 0x10 -r " - - ["P SSC1 C +GATTC:Read,ERROR"] - - - "SSC SSC1 gattc -R -z descriptor -s 0xA002 -c 0xC313 -d 0x2901 -p 0x10 -r " - - ["P SSC1 C +GATTC:Read,ERROR"] -- ID: BTSTK_GATT_25008 - <<: *GATT_CASE - test point 2: BLE GATT client do invalid write - summary: GATT client write with response to a char without write property created by table - steps: | - 1. DUT1 do service discovery - 2. DUT1 write with response to auto reply char without write property - 3. DUT1 write with response to manual reply char without write property - expected result: | - 1. succeed - 2. failed - 3. failed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z char -s 0xA002 -c 0xC300 -p 0x10 -r -l 1" - - ["R SSC1 C +GATTC:Write,ERROR"] - - - "SSC SSC1 gattc -W -z char -s 0xA002 -c 0xC310 -p 0x10 -r -l 1" - - ["R SSC1 C +GATTC:Write,ERROR"] -- ID: BTSTK_GATT_25009 - <<: *GATT_CASE - test point 2: BLE GATT client do invalid write - summary: GATT client write without response to a char created by table without write property - steps: | - 1. DUT1 do service discovery - 2. DUT1 write without response to auto reply char created by table without write property - 3. DUT1 write without response to app reply char created by table without write property - expected result: | - 1. succeed - 2. succeed (write without response always succeed) - 3. succeed (write without response always succeed) - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z char -s 0xA002 -c 0xC300 -p 0x10 -r -l 1 -w 1" - - ["R SSC1 C +GATTC:Write,OK"] - - - "SSC SSC1 gattc -W -z char -s 0xA002 -c 0xC300 -p 0x10 -r -l 1 -w 1" - - ["R SSC1 C +GATTC:Write,OK"] -- ID: BTSTK_GATT_25010 - <<: *GATT_CASE - test point 2: BLE GATT client do invalid write - summary: GATT client write to a descriptor created by table without write property - steps: | - 1. DUT1 do service discovery - 2. DUT1 write to auto reply descriptor create by table without write property - 3. DUT1 write to app reply descriptor create by table without write property - expected result: | - 1. succeed - 2. failed - 3. failed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z descriptor -s 0xA002 -c 0xC302 -d 0x2901 -p 0x10 -r -l 1" - - ["R SSC1 C +GATTC:Write,ERROR"] - - - "SSC SSC1 gattc -W -z descriptor -s 0xA002 -c 0xC312 -d 0x2901 -p 0x10 -r -l 1" - - ["R SSC1 C +GATTC:Write,ERROR"] -- ID: BTSTK_GATT_25011 - <<: *GATT_CASE - test point 2: BLE GATT client do invalid write - summary: GATT client prepare write to a char created by table without write property - steps: | - 1. DUT1 do service discovery - 2. DUT1 prepare write to auto reply char created by table without write property - 3. DUT1 prepare write to app reply char created by table without write property - expected result: | - 1. succeed - 2. failed - 3. failed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z longChar -s 0xA002 -c 0xC300 -p 0x10 -r -l 256" - - ["R SSC1 C +GATTC:Write,ERROR"] - - - "SSC SSC1 gattc -W -z longChar -s 0xA002 -c 0xC310 -p 0x10 -r -l 256" - - ["R SSC1 C +GATTC:Write,ERROR"] -- ID: BTSTK_GATT_25012 - <<: *GATT_CASE - test point 2: BLE GATT client do invalid write - summary: GATT client prepare write to a descriptor created by table without write property - steps: | - 1. DUT1 do service discovery - 2. DUT1 prepare write to auto reply descriptor created by table without write property - 3. DUT1 prepare write to app reply descriptor created by table without write property - expected result: | - 1. succeed - 2. failed - 3. failed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z longDescriptor -s 0xA002 -c 0xC302 -d 0x2901 -p 0x10 -r -l 256" - - ["R SSC1 C +GATTC:Write,ERROR"] - - - "SSC SSC1 gattc -W -z longDescriptor -s 0xA002 -c 0xC312 -d 0x2901 -p 0x10 -r -l 256" - - ["R SSC1 C +GATTC:Write,ERROR"] -- ID: BTSTK_GATT_25014 - <<: *GATT_CASE - test point 2: BLE GATT client do invalid write - summary: GATT client write without response to a char created by table will send response - steps: | - 1. DUT1 do service discovery - 2. DUT1 write without response to auto reply char created by table will send response - 3. DUT1 write without response to app reply char created by table will send response - expected result: | - 1. succeed - 2. succeed (write without response always succeed) - 3. succeed (write without response always succeed) - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z char -s 0xA002 -c 0xC302 -p 0x10 -r -v 0x01 -w 1" - - ["R SSC1 C +GATTC:Write,OK"] - - - "SSC SSC1 gattc -W -z char -s 0xA002 -c 0xC302 -p 0x10 -r -v 0x01 -w 1" - - ["R SSC1 C +GATTC:Write,OK"] -- ID: BTSTK_GATT_25017 - <<: *GATT_CASE - test point 2: BLE GATT client do invalid write - summary: GATT client write short char value length longer than max length - initial condition: BLE_CONN3 - steps: | - 1. DUT1 do service discovery - 2. DUT1 write char value - expected result: | - 1. succeed - 2. failed - cmd set: - - "" - - *primary_service_discovery - - - "SSC SSC1 gattc -W -z char -s 0xA002 -c 0xC302 -l 2 -r " - - ["P SSC1 C +GATTC:Write,ERROR"] -- ID: BTSTK_GATT_26003 - <<: *GATT_CASE - test point 2: BLE GATT config mtu - summary: GATT client and server config different mtu size - steps: | - 1. client set mtu size 365 and server set mtu size 261 - 2. client config mtu - expected result: - 1. succeed - 2. succeed - cmd set: - - "" - - - "SSC SSC1 bleconn -D -z all" - - ["P SSC1 C +BLECONN:GapDisconnect,OK", "P SSC2 C +BLECONN:GapDisconnect,OK"] - - - "SSC SSC1 gattc -S -m 365" - - ["R SSC1 C +GATTC:OK"] - - - "SSC SSC2 gatts -C -m 261" - - ["R SSC2 C +GATTS:OK"] - - - "SSC SSC2 bleadv -D -z start" - - ['R SSC2 C +BLEADV:OK'] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['R SSC1 C +BLECONN:GapConnect,OK', 'R SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC1 gattc -C -r " - - ["R SSC1 C +GATTC:OK","P SSC[1-2] C ConfigMTU,OK,261"] -- ID: BTSTK_GATT_30001 - <<: *GATT_CASE - CI ready: 'No' - test point 2: BLE GATT multi connection service discovery test - summary: do primary service discovery when DUT1 role is master, connected with 4 slaves - steps: | - 1. DUT1 do primary service discovery on DUT[2-5] - expected result: | - 1. succeed - initial condition: BLE_CONN5 - test environment: SSC_T5_1 - allow fail: 3/5 - cmd set: - - "" - - - LOOP 4 1 "[2,3,4,5]" - - "" - - - "SSC SSC1 gattc -D -z primaryService -p 0x10 -r " - - ["R SSC1 C +GATTC:Discover,OK"] -- ID: BTSTK_GATT_30002 - <<: *GATT_CASE - CI ready: 'No' - test point 2: BLE GATT multi connection service discovery test - summary: do primary service discovery when DUT1 is slave, connected by 4 masters - steps: | - 1. DUT[2-5] do primary service discovery - expected result: | - 1. succeed - initial condition: BLE_CONN6 - test environment: SSC_T5_1 - allow fail: 3/5 - cmd set: - - "" - - - "SSC SSC[2-5] gattc -D -z primaryService -p 0x10 -r " - - ["R SSC[2-5] C +GATTC:Discover,OK"] -- ID: BTSTK_GATT_30003 - <<: *GATT_CASE - CI ready: 'No' - test point 2: BLE GATT multi connection service discovery test - summary: do primary service discovery when DUT1 connect to DUT[2-3] and connected by DUT[4-5] - steps: | - 1. DUT1 do primary service discovery for DUT[2-3] - 2. DUT[4-5] do primary service discovery for DUT1 - expected result: | - 1. succeed - 2. succeed - initial condition: BLE_CONN7 - test environment: SSC_T5_1 - allow fail: 3/5 - cmd set: - - "" - - - LOOP 2 1 "[2,3]" - - "" - - - "SSC SSC1 gattc -D -z primaryService -p 0x10 -r " - - ["R SSC1 C +GATTC:Discover,OK"] - - - "SSC SSC[4-5] gattc -D -z primaryService -p 0x10 -r " - - ["R SSC[4-5] C +GATTC:Discover,OK"] -- ID: BTSTK_GATT_31001 - <<: *GATT_CASE - CI ready: 'No' - test point 2: BLE GATT multi connection read test - summary: do read when DUT1 role is master, connected with 4 slaves - steps: | - 1. do primary service discovery - 2. do read long and read short - 3. loop step 1-2 for all DUTs - expected result: | - 1. succeed - 2. succeed - 3. succeed - initial condition: BLE_CONN5 - test environment: SSC_T5_1 - allow fail: 3/5 - cmd set: - - "" - - - LOOP 4 3 "[2,3,4,5]" "[2,3,4,5]" "[2,3,4,5]" - - "" - - - "SSC SSC1 gattc -D -z primaryService -p 0x10 -r " - - ["R SSC1 C +GATTC:Discover,OK"] - - - "SSC SSC1 gattc -R -z char -s 0xA002 -c 0xC300 -p 0x10 -r " - - ["R SSC1 C +GATTC:ReadOnce,0010,A002,C300,1"] - - - "SSC SSC1 gattc -R -z char -s 0xA002 -c 0xC301 -p 0x10 -r " - - ["R SSC1 C +GATTC:ReadOnce,0010,A002,C301,256"] -- ID: BTSTK_GATT_31002 - <<: *GATT_CASE - CI ready: 'No' - test point 2: BLE GATT multi connection read test - summary: do read when DUT1 is slave, connected by 4 masters - steps: | - 1. do primary service discovery on DUT[2-5] - expected result: | - 1. succeed - initial condition: BLE_CONN6 - test environment: SSC_T5_1 - allow fail: 3/5 - cmd set: - - "" - - - "SSC SSC[2-5] gattc -D -z primaryService -p 0x10 -r " - - ["R SSC[2-5] C +GATTC:Discover,OK"] - - - "SSC SSC[2-5] gattc -R -z char -s 0xA002 -c 0xC300 -p 0x10 -r " - - ["R SSC[2-5] C +GATTC:ReadOnce,0010,A002,C300,1"] - - - "SSC SSC[2-5] gattc -R -z char -s 0xA002 -c 0xC301 -p 0x10 -r " - - ["R SSC[2-5] C +GATTC:ReadOnce,0010,A002,C301,256"] -- ID: BTSTK_GATT_31003 - <<: *GATT_CASE - CI ready: 'No' - test point 2: BLE GATT multi connection read test - summary: do read when DUT1 connect to DUT[2-3] and connected by DUT[4-5] - steps: | - 1. DUT1 do primary service discovery for DUT[2-3] - 2. DUT1 do read on DUT[2-3] - 3. DUT[4-5] do primary service discovery for DUT1 - 4. DUT[4-5] do read on DUT1 - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - initial condition: BLE_CONN7 - test environment: SSC_T5_1 - allow fail: 3/5 - cmd set: - - "" - - - LOOP 2 3 "[2,3]" "[2,3]" "[2,3]" - - "" - - - "SSC SSC1 gattc -D -z primaryService -p 0x10 -r " - - ["R SSC1 C +GATTC:Discover,OK"] - - - "SSC SSC1 gattc -R -z char -s 0xA002 -c 0xC300 -p 0x10 -r " - - ["R SSC1 C +GATTC:ReadOnce,0010,A002,C300,1"] - - - "SSC SSC1 gattc -R -z char -s 0xA002 -c 0xC301 -p 0x10 -r " - - ["R SSC1 C +GATTC:ReadOnce,0010,A002,C301,256"] - - - "SSC SSC[4-5] gattc -D -z primaryService -p 0x10 -r " - - ["R SSC[4-5] C +GATTC:Discover,OK"] - - - "SSC SSC[4-5] gattc -R -z char -s 0xA002 -c 0xC300 -p 0x10 -r " - - ["R SSC[4-5] C +GATTC:ReadOnce,0010,A002,C300,1"] - - - "SSC SSC[4-5] gattc -R -z char -s 0xA002 -c 0xC301 -p 0x10 -r " - - ["R SSC[4-5] C +GATTC:ReadOnce,0010,A002,C301,256"] -- ID: BTSTK_GATT_32001 - <<: *GATT_CASE - CI ready: 'No' - test point 2: BLE GATT multi connection write test - summary: do write when DUT1 role is master, connected with 4 slaves - steps: | - 1. do primary service discovery - 2. do write long and write short - 3. loop step 1-2 for all DUTs - expected result: | - 1. succeed - 2. succeed - 3. succeed - initial condition: BLE_CONN5 - test environment: SSC_T5_1 - allow fail: 3/5 - cmd set: - - "" - - - LOOP 4 3 "[2,3,4,5]" "[2,3,4,5]" "[2,3,4,5]" - - "" - - - "SSC SSC1 gattc -D -z primaryService -p 0x10 -r " - - ["R SSC1 C +GATTC:Discover,OK"] - - - "SSC SSC1 gattc -W -z char -s 0xA002 -c 0xC302 -l 1 -p 0x10 -r " - - ["R SSC1 C +GATTC:Write,OK,0010,A002,C302"] - - - "SSC SSC1 gattc -W -z char -s 0xA002 -c 0xC304 -l 256 -p 0x10 -r " - - ["R SSC1 C +GATTC:Write,OK,0010,A002,C304"] -- ID: BTSTK_GATT_32002 - <<: *GATT_CASE - CI ready: 'No' - test point 2: BLE GATT multi connection write test - summary: do write when DUT1 is slave, connected by 4 masters - steps: | - 1. do primary service discovery on DUT[2-5] - expected result: | - 1. succeed - initial condition: BLE_CONN6 - test environment: SSC_T5_1 - allow fail: 3/5 - cmd set: - - "" - - - "SSC SSC[2-5] gattc -D -z primaryService -p 0x10 -r " - - ["R SSC[2-5] C +GATTC:Discover,OK"] - - - "SSC SSC[2-5] gattc -W -z char -s 0xA002 -c 0xC302 -l 1 -p 0x10 -r " - - ["R SSC[2-5] C +GATTC:Write,OK,0010,A002,C302"] - - - "SSC SSC[2-5] gattc -W -z char -s 0xA002 -c 0xC304 -l 256 -p 0x10 -r " - - ["R SSC[2-5] C +GATTC:Write,OK,0010,A002,C304"] -- ID: BTSTK_GATT_32003 - <<: *GATT_CASE - CI ready: 'No' - test point 2: BLE GATT multi connection write test - summary: do write when DUT1 connect to DUT[2-3] and connected by DUT[4-5] - steps: | - 1. DUT1 do primary service discovery for DUT[2-3] - 2. DUT1 do write on DUT[2-3] - 3. DUT[4-5] do primary service discovery for DUT1 - 4. DUT[4-5] do write on DUT1 - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - initial condition: BLE_CONN7 - test environment: SSC_T5_1 - allow fail: 3/5 - cmd set: - - "" - - - LOOP 2 3 "[2,3]" "[2,3]" "[2,3]" - - "" - - - "SSC SSC1 gattc -D -z primaryService -p 0x10 -r " - - ["R SSC1 C +GATTC:Discover,OK"] - - - "SSC SSC1 gattc -W -z char -s 0xA002 -c 0xC302 -l 1 -p 0x10 -r " - - ["R SSC1 C +GATTC:Write,OK,0010,A002,C302"] - - - "SSC SSC1 gattc -W -z char -s 0xA002 -c 0xC304 -l 256 -p 0x10 -r " - - ["R SSC1 C +GATTC:Write,OK,0010,A002,C304"] - - - "SSC SSC[4-5] gattc -D -z primaryService -p 0x10 -r " - - ["R SSC[4-5] C +GATTC:Discover,OK"] - - - "SSC SSC[4-5] gattc -W -z char -s 0xA002 -c 0xC302 -l 1 -p 0x10 -r " - - ["R SSC[4-5] C +GATTC:Write,OK,0010,A002,C302"] - - - "SSC SSC[4-5] gattc -W -z char -s 0xA002 -c 0xC304 -l 256 -p 0x10 -r " - - ["R SSC[4-5] C +GATTC:Write,OK,0010,A002,C304"] -- ID: BTSTK_GATT_33001 - <<: *GATT_CASE - CI ready: 'No' - test point 2: BLE GATT multi connection notify test - summary: do notify when DUT1 role is master, connected with 4 slaves - steps: | - 1. do primary service discovery - 2. do register nofity for char - 3. do notify on DUT[2-5] - expected result: | - 1. succeed - 2. succeed - 3. DUT1 receive notification on DUT[2-5] - initial condition: BLE_CONN5 - test environment: SSC_T5_1 - allow fail: 3/5 - cmd set: - - "" - - - LOOP 4 3 "[2,3,4,5]" "[2,3,4,5]" "[2,3,4,5]" "[2,3,4,5]" - - "" - - - "SSC SSC1 gattc -D -z primaryService -p 0x10 -r " - - ["R SSC1 C +GATTC:Discover,OK"] - - - "SSC SSC1 gattc -N -z register -s 0xA002 -c 0xC305 -p 0x10 -r " - - ["R SSC1 C +GATTC:RegNotify,OK,0010,A002,C305"] - - - "SSC SSC{%d} gatts -N -c 0xC305 -l 1 -p 0xA2 -r " - - ['P SSC1 RE "\+GATTC:Notification,0010,A002,C305,1,%%s"%%()'] -- ID: BTSTK_GATT_33002 - <<: *GATT_CASE - CI ready: 'No' - test point 2: BLE GATT multi connection notify test - summary: do notify when DUT1 is slave, connected by 4 masters - steps: | - 1. do primary service discovery on DUT[2-5] - 2. DUT[2-5] do register notify - 3. DUT1 do notify to DUT[2-5] - expected result: | - 1. succeed - 2. succeed - 3. DUT[2-5] receive notification - initial condition: BLE_CONN6 - test environment: SSC_T5_1 - allow fail: 3/5 - cmd set: - - "" - - - "SSC SSC[2-5] gattc -D -z primaryService -p 0x10 -r " - - ["R SSC[2-5] C +GATTC:Discover,OK"] - - - "SSC SSC[2-5] gattc -N -z register -s 0xA002 -c 0xC305 -p 0x10 -r " - - ["R SSC[2-5] C +GATTC:RegNotify,OK,0010,A002,C305"] - - - LOOP 4 1 "[2,3,4,5]" "[2,3,4,5]" - - [''] - - - "SSC SSC1 gatts -N -c 0xC305 -l 1 -p 0xA2 -r " - - ['P SSC{%d} RE "\+GATTC:Notification,0010,A002,C305,1,%%s"%%()'] -- ID: BTSTK_GATT_33003 - <<: *GATT_CASE - CI ready: 'No' - test point 2: BLE GATT multi connection notify test - summary: do notify when DUT1 connect to DUT[2-3] and connected by DUT[4-5] - steps: | - 1. DUT1 do primary service discovery for DUT[2-3] - 2. DUT1 register notify - 3. DUT[2-3] send notify to DUT1 - 4. DUT[4-5] do primary service discovery for DUT1 - 5. DUT[4-5] register notify - 6. DUT1 send notofy to DUT[4-5] - expected result: | - 1. succeed - 2. succeed - 3. DUT1 receive notify from DUT[2-3] - 4. succeed - 5. succeed - 6. DUT[4-5] receive notify - initial condition: BLE_CONN7 - test environment: SSC_T5_1 - allow fail: 3/5 - cmd set: - - "" - - - LOOP 2 2 "[2,3]" "[2,3]" - - "" - - - "SSC SSC1 gattc -D -z primaryService -p 0x10 -r " - - ["R SSC1 C +GATTC:Discover,OK"] - - - "SSC SSC1 gattc -N -z register -s 0xA002 -c 0xC305 -p 0x10 -r " - - ["R SSC1 C +GATTC:RegNotify,OK,0010,A002,C305"] - - - "SSC SSC[2-3] gatts -N -c 0xC305 -l 1 -p 0xA2 -r " - - ['P SSC1 RE "\+GATTC:Notification,0010,A002,C305,1,%%s"%%()'] - - - "SSC SSC[4-5] gattc -D -z primaryService -p 0x10 -r " - - ["R SSC[4-5] C +GATTC:Discover,OK"] - - - "SSC SSC[4-5] gattc -N -z register -s 0xA002 -c 0xC305 -p 0x10 -r " - - ["R SSC[4-5] C +GATTC:RegNotify,OK,0010,A002,C305"] - - - LOOP 2 1 "[4,5]" "[4,5]" - - [''] - - - "SSC SSC1 gatts -N -c 0xC305 -l 1 -p 0xA2 -r " - - ['P SSC{%d} RE "\+GATTC:Notification,0010,A002,C305,1,%%s"%%()'] -- ID: BTSTK_GATT_34001 - <<: *GATT_CASE - CI ready: 'No' - test point 2: BLE GATT multi connection indicate test - summary: do indicate when DUT1 role is master, connected with 4 slaves - steps: | - 1. do primary service discovery - 2. do register indication for char - 3. do indicate on DUT[2-5] - expected result: | - 1. succeed - 2. succeed - 3. DUT1 receive indication on DUT[2-5] - initial condition: BLE_CONN5 - test environment: SSC_T5_1 - allow fail: 3/5 - cmd set: - - "" - - - LOOP 4 2 "[2,3,4,5]" "[2,3,4,5]" - - "" - - - "SSC SSC1 gattc -D -z primaryService -p 0x10 -r " - - ["R SSC1 C +GATTC:Discover,OK"] - - - "SSC SSC1 gattc -N -z register -s 0xA002 -c 0xC306 -p 0x10 -r " - - ["R SSC1 C +GATTC:RegNotify,OK,0010,A002,C306"] - - - "SSC SSC[2-5] gatts -I -c 0xC306 -l 1 -p 0xA2 -r " - - ['P SSC1 RE "\+GATTC:Indication,0010,A002,C306,1,%%s"%%()'] -- ID: BTSTK_GATT_34002 - <<: *GATT_CASE - CI ready: 'No' - test point 2: BLE GATT multi connection indicate test - summary: do indicate when DUT1 is slave, connected by 4 masters - steps: | - 1. do primary service discovery on DUT[2-5] - 2. DUT[2-5] do register indication - 3. DUT1 do indicate to DUT[2-5] - expected result: | - 1. succeed - 2. succeed - 3. DUT[2-5] receive indication - initial condition: BLE_CONN6 - test environment: SSC_T5_1 - allow fail: 3/5 - cmd set: - - "" - - - "SSC SSC[2-5] gattc -D -z primaryService -p 0x10 -r " - - ["R SSC[2-5] C +GATTC:Discover,OK"] - - - "SSC SSC[2-5] gattc -N -z register -s 0xA002 -c 0xC306 -p 0x10 -r " - - ["R SSC[2-5] C +GATTC:RegNotify,OK,0010,A002,C306"] - - - LOOP 4 1 "[2,3,4,5]" "[2,3,4,5]" - - [''] - - - "SSC SSC1 gatts -I -c 0xC306 -l 1 -p 0xA2 -r " - - ['P SSC{%d} RE "\+GATTC:Indication,0010,A002,C306,1,%%s"%%()'] -- ID: BTSTK_GATT_34003 - <<: *GATT_CASE - CI ready: 'No' - test point 2: BLE GATT multi connection indicate test - summary: do indicate when DUT1 connect to DUT[2-3] and connected by DUT[4-5] - steps: | - 1. DUT1 do primary service discovery for DUT[2-3] - 2. DUT1 register indication - 3. DUT[2-3] send indicate to DUT1 - 4. DUT[4-5] do primary service discovery for DUT1 - 5. DUT[4-5] register indication - 6. DUT1 send indicate to DUT[4-5] - expected result: | - 1. succeed - 2. succeed - 3. DUT1 receive indication from DUT[2-3] - 4. succeed - 5. succeed - 6. DUT[4-5] receive indication - initial condition: BLE_CONN7 - test environment: SSC_T5_1 - allow fail: 3/5 - cmd set: - - "" - - - LOOP 2 2 "[2,3]" "[2,3]" - - "" - - - "SSC SSC1 gattc -D -z primaryService -p 0x10 -r " - - ["R SSC1 C +GATTC:Discover,OK"] - - - "SSC SSC1 gattc -N -z register -s 0xA002 -c 0xC306 -p 0x10 -r " - - ["R SSC1 C +GATTC:RegNotify,OK,0010,A002,C306"] - - - "SSC SSC[2-3] gatts -I -c 0xC306 -l 1 -p 0xA2 -r " - - ['P SSC1 RE "\+GATTC:Indication,0010,A002,C306,1,%%s"%%()'] - - - "SSC SSC[4-5] gattc -D -z primaryService -p 0x10 -r " - - ["R SSC[4-5] C +GATTC:Discover,OK"] - - - "SSC SSC[4-5] gattc -N -z register -s 0xA002 -c 0xC306 -p 0x10 -r " - - ["R SSC[4-5] C +GATTC:RegNotify,OK,0010,A002,C306"] - - - LOOP 2 1 "[4,5]" "[4,5]" - - [''] - - - "SSC SSC1 gatts -I -c 0xC306 -l 1 -p 0xA2 -r " - - ['P SSC{%d} RE "\+GATTC:Indication,0010,A002,C306,1,%%s"%%()'] -- ID: BTSTK_GATT_50001 - <<: *GATT_CASE - category: Performance - test point 1: performance + stress - test point 2: BLE GATT performance test - summary: GATT read char performance test - initial condition: BLE_CONN3 - Test App: SSC_BLE_PERF - steps: | - 1. update connection parameter - 2. do primary service discovery - 3. do read char for some time - expected result: | - 1. succeed - 2. succeed - 3. calculate throughput - execution time: 2 - cmd set: - - "BLEStress/BLEGATTPerformance" - - - test_time = 120 - - "" - - - mtu = 512 - - "" - - - gatt_op = "read" - - "" - - - op_char = "0xC301" - - "" -- ID: BTSTK_GATT_50002 - <<: *GATT_CASE - category: Performance - test point 1: performance + stress - test point 2: BLE GATT performance test - summary: GATT write char performance test - initial condition: BLE_CONN3 - Test App: SSC_BLE_PERF - steps: | - 1. update connection parameter - 2. do primary service discovery - 3. do write char for some time - expected result: | - 1. succeed - 2. succeed - 3. calculate throughput - execution time: 2 - cmd set: - - "BLEStress/BLEGATTPerformance" - - - test_time = 120 - - "" - - - mtu = 512 - - "" - - - gatt_op = "write" - - "" - - - op_char = "0xC317" - - "" - - - op_len = 490 - - "" -- ID: BTSTK_GATT_50003 - <<: *GATT_CASE - category: Performance - test point 1: performance + stress - test point 2: BLE GATT performance test - summary: GATT notify performance test - initial condition: BLE_CONN3 - Test App: SSC_BLE_PERF - steps: | - 1. update connection parameter - 2. do primary service discovery - 3. do notify for some time - expected result: | - 1. succeed - 2. succeed - 3. calculate throughput - execution time: 2 - cmd set: - - "BLEStress/BLEGATTPerformance" - - - test_time = 120 - - "" - - - mtu = 512 - - "" - - - gatt_op = "notify" - - "" - - - op_char = "0xC305" - - "" - - - op_len = 490 - - "" -- ID: BTSTK_GATT_50004 - <<: *GATT_CASE - category: Performance - test point 1: performance + stress - test point 2: BLE GATT performance test - summary: GATT indicate performance test - initial condition: BLE_CONN3 - Test App: SSC_BLE_PERF - steps: | - 1. update connection parameter - 2. do primary service discovery - 3. do notify for some time - expected result: | - 1. succeed - 2. succeed - 3. calculate throughput - execution time: 2 - cmd set: - - "BLEStress/BLEGATTPerformance" - - - test_time = 120 - - "" - - - mtu = 512 - - "" - - - gatt_op = "indicate" - - "" - - - op_char = "0xC306" - - "" - - - op_len = 256 - - "" -- ID: BTSTK_GATT_50005 - <<: *GATT_CASE - category: Performance - test point 1: performance + stress - test point 2: BLE GATT performance test - summary: GATT master connect 4 slave and read char performance test - initial condition: BLE_CONN5 - test environment: SSC_T5_1 - steps: | - 1. update connection parameter - 2. do primary service discovery - 3. do write char for some time - expected result: | - 1. succeed - 2. succeed - 3. calculate throughput - execution time: 2 - cmd set: - - "BLEStress/BLEMultiPerformance" - - - test_time = 120 - - "" - - - mtu = 512 - - "" - - - gatt_op = "read" - - "" - - - op_char = "0xC301" - - "" - - - op_len = 256 - - "" - - - master_duts = ["SSC1"] - - "" - - - slave_duts = ["SSC2", "SSC3", "SSC4", "SSC5"] - - "" -- ID: BTSTK_GATT_50006 - <<: *GATT_CASE - category: Performance - test point 1: performance + stress - test point 2: BLE GATT performance test - summary: GATT 4 master connect 1 slave and read char performance test - initial condition: BLE_CONN6 - test environment: SSC_T5_1 - steps: | - 1. update connection parameter - 2. do primary service discovery - 3. do write char for some time - expected result: | - 1. succeed - 2. succeed - 3. calculate throughput - execution time: 2 - cmd set: - - "BLEStress/BLEMultiPerformance" - - - test_time = 120 - - "" - - - mtu = 512 - - "" - - - gatt_op = "read" - - "" - - - op_char = "0xC301" - - "" - - - op_len = 256 - - "" - - - master_duts = ["SSC2", "SSC3", "SSC4", "SSC5"] - - "" - - - slave_duts = ["SSC1"] - - "" -- ID: BTSTK_GATT_50007 - <<: *GATT_CASE - Test App: SSC_BLE, SSC_PSRAM - category: Performance - test point 1: performance + stress - test point 2: BLE GATT performance test - summary: GATT master connect 4 slave and write char performance test - initial condition: BLE_CONN5 - test environment: SSC_T5_1 - steps: | - 1. update connection parameter - 2. do primary service discovery - 3. do write char for some time - expected result: | - 1. succeed - 2. succeed - 3. calculate throughput - execution time: 2 - cmd set: - - "BLEStress/BLEMultiPerformance" - - - test_time = 120 - - "" - - - mtu = 512 - - "" - - - gatt_op = "write" - - "" - - - op_char = "0xC317" - - "" - - - op_len = 490 - - "" - - - master_duts = ["SSC1"] - - "" - - - slave_duts = ["SSC2", "SSC3", "SSC4", "SSC5"] - - "" -- ID: BTSTK_GATT_50008 - <<: *GATT_CASE - category: Performance - test point 1: performance + stress - test point 2: BLE GATT performance test - summary: GATT 4 master connect 1 slave and write char performance test - initial condition: BLE_CONN6 - test environment: SSC_T5_1 - steps: | - 1. update connection parameter - 2. do primary service discovery - 3. do write char for some time - expected result: | - 1. succeed - 2. succeed - 3. calculate throughput - execution time: 2 - cmd set: - - "BLEStress/BLEMultiPerformance" - - - test_time = 120 - - "" - - - mtu = 512 - - "" - - - gatt_op = "write" - - "" - - - op_char = "0xC317" - - "" - - - op_len = 490 - - "" - - - master_duts = ["SSC2", "SSC3", "SSC4", "SSC5"] - - "" - - - slave_duts = ["SSC1"] - - "" -- ID: BTSTK_GATT_50009 - <<: *GATT_CASE - category: Performance - test point 1: performance + stress - test point 2: BLE GATT performance test - summary: notify performance test when GATT master connects to 4 slaves - initial condition: BLE_CONN5 - test environment: SSC_T5_1 - steps: | - 1. update connection parameter - 2. do primary service discovery - 3. do write char for some time - expected result: | - 1. succeed - 2. succeed - 3. calculate throughput - execution time: 2 - cmd set: - - "BLEStress/BLEMultiPerformance" - - - test_time = 120 - - "" - - - mtu = 512 - - "" - - - gatt_op = "notify" - - "" - - - op_char = "0xC305" - - "" - - - op_len = 490 - - "" - - - master_duts = ["SSC1"] - - "" - - - slave_duts = ["SSC2", "SSC3", "SSC4", "SSC5"] - - "" -- ID: BTSTK_GATT_50010 - <<: *GATT_CASE - category: Performance - test point 1: performance + stress - test point 2: BLE GATT performance test - summary: notify performance test when GATT 4 masters connect to 1 slave - initial condition: BLE_CONN6 - test environment: SSC_T5_1 - steps: | - 1. update connection parameter - 2. do primary service discovery - 3. do write char for some time - expected result: | - 1. succeed - 2. succeed - 3. calculate throughput - execution time: 2 - cmd set: - - "BLEStress/BLEMultiPerformance" - - - test_time = 120 - - "" - - - mtu = 512 - - "" - - - gatt_op = "notify" - - "" - - - op_char = "0xC305" - - "" - - - op_len = 490 - - "" - - - master_duts = ["SSC2", "SSC3", "SSC4", "SSC5"] - - "" - - - slave_duts = ["SSC1"] - - "" -- ID: BTSTK_GATT_50011 - Test App: SSC_BLE, SSC_PSRAM - <<: *GATT_CASE - category: Performance - test point 1: performance + stress - test point 2: BLE GATT performance test - summary: indicate performance test when GATT master connects 4 slaves - initial condition: BLE_CONN5 - test environment: SSC_T5_1 - steps: | - 1. update connection parameter - 2. do primary service discovery - 3. do write char for some time - expected result: | - 1. succeed - 2. succeed - 3. calculate throughput - execution time: 2 - cmd set: - - "BLEStress/BLEMultiPerformance" - - - test_time = 120 - - "" - - - mtu = 512 - - "" - - - gatt_op = "indicate" - - "" - - - op_char = "0xC306" - - "" - - - op_len = 256 - - "" - - - master_duts = ["SSC1"] - - "" - - - slave_duts = ["SSC2", "SSC3", "SSC4", "SSC5"] - - "" -- ID: BTSTK_GATT_50012 - <<: *GATT_CASE - category: Performance - test point 1: performance + stress - test point 2: BLE GATT performance test - summary: indicate performance test when GATT 4 masters connect 1 slave - initial condition: BLE_CONN6 - test environment: SSC_T5_1 - steps: | - 1. update connection parameter - 2. do primary service discovery - 3. do write char for some time - expected result: | - 1. succeed - 2. succeed - 3. calculate throughput - execution time: 2 - cmd set: - - "BLEStress/BLEMultiPerformance" - - - test_time = 120 - - "" - - - mtu = 512 - - "" - - - gatt_op = "indicate" - - "" - - - op_char = "0xC306" - - "" - - - op_len = 256 - - "" - - - master_duts = ["SSC2", "SSC3", "SSC4", "SSC5"] - - "" - - - slave_duts = ["SSC1"] - - "" diff --git a/components/idf_test/integration_test/TC_IT_BTSTK_MISC.yml b/components/idf_test/integration_test/TC_IT_BTSTK_MISC.yml deleted file mode 100644 index 33b4575cee..0000000000 --- a/components/idf_test/integration_test/TC_IT_BTSTK_MISC.yml +++ /dev/null @@ -1,529 +0,0 @@ -.MISC_CASE: &MISC_CASE - SDK: ESP32_IDF - Test App: SSC_BLE_WIFI - auto test: 'Yes' - category: Function - test point 1: basic function - initial condition: BLE_DEINIT1 - test environment: SSC_T1_4 - execution time: 0 - module: BT Stack - sub module: Misc - version: v1 (2016-12-31) - CI ready: 'Yes' - level: Integration - allow fail: '' - -test cases: -- ID: BTSTK_MISC_0101 - <<: *MISC_CASE - test point 2: bt host init and enable - summary: correct host init and deinit flow - steps: | - 1. disable and deinit bt - 2. init bt - 3. deinit bt - 4. init and enable bt - 5. disable and deinit bt - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - cmd set: - - "" - - - "SSC SSC1 bt -D -z stop" - - ["R SSC1 C +BT"] - - - "SSC SSC1 bt -D -z init" - - ["R SSC1 C +BT:OK"] - - - "SSC SSC1 bt -D -z deinit" - - ["R SSC1 C +BT:OK"] - - - "SSC SSC1 bt -D -z start" - - ["R SSC1 C +BT:OK"] - - - "SSC SSC1 bt -D -z stop" - - ["R SSC1 C +BT:OK"] -- ID: BTSTK_MISC_0102 - <<: *MISC_CASE - test point 2: bt host init and enable - summary: incorrect host deinit disable flow - steps: | - 1. disable and deinit bt - 2. init and enable bt - 3. deinit bt - 4. disable bt - 5. disable bt - 6. deinit bt - 7. deinit bt - 8. disable bt - expected result: | - 1. succeed - 2. succeed - 3. fail - 4. succeed - 5. fail - 6. succeed - 7. fail - 8. fail - cmd set: - - "" - - - "SSC SSC1 bt -D -z stop" - - ["R SSC1 C +BT"] - - - "SSC SSC1 bt -D -z start" - - ["R SSC1 C +BT:OK"] - - - "SSC SSC1 bt -D -z deinit" - - ["R SSC1 C +BT:ERROR"] - - - "SSC SSC1 bt -D -z disable" - - ["R SSC1 C +BT:OK"] - - - "SSC SSC1 bt -D -z disable" - - ["R SSC1 C +BT:ERROR"] - - - "SSC SSC1 bt -D -z deinit" - - ["R SSC1 C +BT:OK"] - - - "SSC SSC1 bt -D -z deinit" - - ["R SSC1 C +BT:ERROR"] - - - "SSC SSC1 bt -D -z disable" - - ["R SSC1 C +BT:ERROR"] -- ID: BTSTK_MISC_0103 - <<: *MISC_CASE - test point 2: bt host init and enable - summary: incorrect host init enable flow - steps: | - 1. disable and deinit bt - 2. enable bt - 3. init bt - 4. init bt - 5. enable bt - 6. enable bt - 7. init bt - expected result: | - 1. succeed - 2. fail - 3. succeed - 4. fail - 5. succeed - 6. fail - 7. fail - cmd set: - - "" - - - "SSC SSC1 bt -D -z stop" - - ["R SSC1 C +BT"] - - - "SSC SSC1 bt -D -z enable" - - ["R SSC1 C +BT:ERROR"] - - - "SSC SSC1 bt -D -z init" - - ["R SSC1 C +BT:OK"] - - - "SSC SSC1 bt -D -z init" - - ["R SSC1 C +BT:ERROR"] - - - "SSC SSC1 bt -D -z enable" - - ["R SSC1 C +BT:OK"] - - - "SSC SSC1 bt -D -z enable" - - ["R SSC1 C +BT:ERROR"] - - - "SSC SSC1 bt -D -z init" - - ["R SSC1 C +BT:ERROR"] -- ID: BTSTK_MISC_0201 - <<: *MISC_CASE - test point 2: bt controller init test - summary: bt controller init test - steps: | - 1. bt controller init - expected result: | - 1. OK - initial condition: WIFIBTSTOP - cmd set: - - "" - - - "SSC SSC1 btc -D -z init" - - ["R SSC1 C +BTC:OK"] -- ID: BTSTK_MISC_0202 - <<: *MISC_CASE - test point 2: bt controller deinit test - summary: bt controller deinit test - steps: | - 1. bt controller init - 2. bt controller deinit - expected result: | - 1. OK - 2. OK - initial condition: WIFIBTSTOP - cmd set: - - "" - - - "SSC SSC1 btc -D -z init" - - ["R SSC1 C +BTC:OK"] - - - "SSC SSC1 btc -D -z deinit" - - ["R SSC1 C +BTC:OK"] -- ID: BTSTK_MISC_0203 - <<: *MISC_CASE - test point 2: bt host init test - summary: bt host init test - steps: | - 1. bt controller init - 2. bt controller enable - 3. bt host init - expected result: | - 1. +BTC:OK - 2. +BTC:OK - 3. +BT:OK - initial condition: WIFIBTSTOP - cmd set: - - "" - - - "SSC SSC1 btc -D -z init" - - ["R SSC1 C +BTC:OK"] - - - "SSC SSC1 btc -D -z enable" - - ["R SSC1 C +BTC:OK"] - - - "SSC SSC1 bt -D -z init" - - ["R SSC1 C +BT:OK"] -- ID: BTSTK_MISC_0204 - <<: *MISC_CASE - test point 2: bt host deinit test - summary: bt host deinit test - steps: | - 1. bt controller init - 2. bt controller enable - 3. bt host init - 4. bt host deinit - expected result: | - 1. OK - 2. OK - 3. OK - 4. OK - initial condition: WIFIBTSTOP - cmd set: - - "" - - - "SSC SSC1 btc -D -z init" - - ["R SSC1 C +BTC:OK"] - - - "SSC SSC1 btc -D -z enable" - - ["R SSC1 C +BTC:OK"] - - - "SSC SSC1 bt -D -z init" - - ["R SSC1 C +BT:OK"] - - - "SSC SSC1 bt -D -z deinit" - - ["R SSC1 C +BT:OK"] -- ID: BTSTK_MISC_0301 - <<: *MISC_CASE - test point 2: heap size unchanged after bt controller stop - summary: heap size unchanged after bt controller stop - steps: | - 1.get current heap size - 2.bt controller init - 3.enable bt controller - 4.bt host init - 5.enable bt host - 6.disable bt host - 7.bt host deinit - 8.disable bt controller - 9.bt controller deinit - 10.check current heap size - expected result: | - 1. +FREEHEAP - 2.OK - 3.OK - 4.OK - 5.OK - 6.OK - 7.OK - 8.OK - 9.OK - 10.heap size unchanged - initial condition: WIFIBTSTOP - cmd set: - - "" - - - "SSC SSC1 ram -Q" - - ['R SSC1 A :\+FREEHEAP:(\d+)\r\n'] - - - "SSC SSC1 btc -D -z init" - - ["R SSC1 C +BTC:OK"] - - - "SSC SSC1 btc -D -z enable" - - ["R SSC1 C +BTC:OK"] - - - "SSC SSC1 bt -D -z init" - - ["R SSC1 C +BT:OK"] - - - "SSC SSC1 bt -D -z enable" - - ["R SSC1 C +BT:OK"] - - - "SSC SSC1 bt -D -z disable" - - ["R SSC1 C +BT:OK"] - - - "SSC SSC1 bt -D -z deinit" - - ["R SSC1 C +BT:OK"] - - - "SSC SSC1 btc -D -z disable" - - ["R SSC1 C +BTC:OK"] - - - "SSC SSC1 btc -D -z deinit" - - ["R SSC1 C +BTC:OK"] - - - "SSC SSC1 ram -Q" - - ['R SSC1 P '] -- ID: BTSTK_MISC_0401 - <<: *MISC_CASE - test point 2: bt controller init and enable - summary: incorrect controller init enable flow - steps: | - 1. disable and deinit btc - 2. enable btc - 3. init btc - 4. init btc - 5. enable btc - 6. enable btc - 7. init btc - expected result: | - 1. succeed - 2. fail - 3. succeed - 4. fail - 5. succeed - 6. fail - 7. fail - initial condition: WIFIBTSTOP - cmd set: - - "" - - - "SSC SSC1 btc -D -z stop" - - ["R SSC1 C +BTC"] - - - "SSC SSC1 btc -D -z enable" - - ["R SSC1 C +BTC:ERROR"] - - - "SSC SSC1 btc -D -z init" - - ["R SSC1 C +BTC:OK"] - - - "SSC SSC1 btc -D -z init" - - ["R SSC1 C +BTC:ERROR"] - - - "SSC SSC1 btc -D -z enable" - - ["R SSC1 C +BTC:OK"] - - - "SSC SSC1 btc -D -z enable" - - ["R SSC1 C +BTC:ERROR"] - - - "SSC SSC1 btc -D -z init" - - ["R SSC1 C +BTC:ERROR"] -- ID: BTSTK_MISC_0402 - <<: *MISC_CASE - test point 2: bt controller init and enable - summary: correct controller init and deinit flow - steps: | - 1. disable and deinit btc - 2. init btc - 3. deinit btc - 4. init and enable btc - 5. disable and deinit btc - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - cmd set: - - "" - - - "SSC SSC1 btc -D -z stop" - - ["R SSC1 C +BTC"] - - - "SSC SSC1 btc -D -z init" - - ["R SSC1 C +BTC:OK"] - - - "SSC SSC1 btc -D -z deinit" - - ["R SSC1 C +BTC:OK"] - - - "SSC SSC1 btc -D -z start" - - ["R SSC1 C +BTC:OK"] - - - "SSC SSC1 btc -D -z stop" - - ["R SSC1 C +BTC:OK"] -- ID: BTSTK_MISC_0403 - <<: *MISC_CASE - test point 2: bt controller init and enable - summary: incorrect controller deinit disable flow - steps: | - 1. disable and deinit btc - 2. init and enable btc - 3. deinit btc - 4. disable btc - 5. disable btc - expected result: | - 1. succeed - 2. succeed - 3. fail - 4. succeed - 5. fail - cmd set: - - "" - - - "SSC SSC1 btc -D -z stop" - - ["R SSC1 C +BTC"] - - - "SSC SSC1 btc -D -z start" - - ["R SSC1 C +BTC:OK"] - - - "SSC SSC1 btc -D -z deinit" - - ["R SSC1 C +BTC:ERROR"] - - - "SSC SSC1 btc -D -z disable" - - ["R SSC1 C +BTC:OK"] - - - "SSC SSC1 btc -D -z disable" - - ["R SSC1 C +BTC:ERROR"] -- ID: BTSTK_MISC_0501 - <<: *MISC_CASE - test point 2: bt mem release - summary: release BT memory - steps: | - 1. DUT1 release BT mem - 2. DUT1 init and enable btc - expected result: | - 1. succeed - 2. fail - initial condition: BTC_DEINIT1 - cmd set: - - "" - - - "SSC SSC1 bt -R -m 1" - - ["R SSC1 C +BT:OK"] - - - "SSC SSC1 btc -D -z start -m 2" - - ["R SSC1 C +BTC:OK"] - - - "SSC SSC1 btc -D -z start -m 1" - - ["R SSC1 C +BTC:ERROR"] -- ID: BTSTK_MISC_0502 - <<: *MISC_CASE - test point 2: bt mem release - summary: release BLE memory - steps: | - 1. DUT1 release BT mem - 2. DUT1 init and enable btc - expected result: | - 1. succeed - 2. fail - initial condition: BTC_DEINIT1 - cmd set: - - "" - - - "SSC SSC1 bt -R -m 2" - - ["R SSC1 C +BT:OK"] - - - "SSC SSC1 btc -D -z start -m 1" - - ["R SSC1 C +BTC:OK"] - - - "SSC SSC1 btc -D -z start -m 2" - - ["R SSC1 C +BTC:ERROR"] -- ID: BTSTK_MISC_0503 - <<: *MISC_CASE - test point 2: bt mem release - summary: release BT and BLE memory - steps: | - 1. DUT1 release BT mem - 2. DUT1 init and enable btc - expected result: | - 1. succeed - 2. fail - initial condition: BTC_DEINIT1 - cmd set: - - "" - - - "SSC SSC1 bt -R -m 3" - - ["R SSC1 C +BT:OK"] - - - "SSC SSC1 btc -D -z start -m 3" - - ["R SSC1 C +BTC:ERROR"] -- ID: BTSTK_MISC_0504 - <<: *MISC_CASE - test point 2: bt mem release - summary: release BT memory after bt controller init - initial condition: BTC_DEINIT1 - steps: | - 1. DUT1 init bt controller - 2. DUT1 release BT memory - 3. DUT1 release BLE memory - 4. DUT1 release BT and BLE memory - expected result: | - 1. succeed - 2. fail - 3. fail - 4. fail - cmd set: - - "" - - - "SSC SSC1 btc -D -z init" - - ["R SSC1 C +BTC:OK"] - - - "SSC SSC1 bt -R -m 1" - - ["R SSC1 C +BT:ERROR"] - - - "SSC SSC1 bt -R -m 2" - - ["R SSC1 C +BT:ERROR"] - - - "SSC SSC1 bt -R -m 3" - - ["R SSC1 C +BT:ERROR"] -- ID: BTSTK_MISC_0505 - <<: *MISC_CASE - test point 2: bt mem release - summary: release BT memory after bt controller enable and bluedriod disable - initial condition: BTC_DEINIT1 - steps: | - 1. DUT1 init and enable bt controller - 2. DUT1 release BT memory - 3. DUT1 release BLE memory - 4. DUT1 release BT and BLE memory - expected result: | - 1. succeed - 2. fail - 3. fail - 4. fail - cmd set: - - "" - - - "SSC SSC1 btc -D -z init" - - ["R SSC1 C +BTC:OK"] - - - "SSC SSC1 btc -D -z enable" - - ["R SSC1 C +BTC:OK"] - - - "SSC SSC1 bt -R -m 1" - - ["R SSC1 C +BT:ERROR"] - - - "SSC SSC1 bt -R -m 2" - - ["R SSC1 C +BT:ERROR"] - - - "SSC SSC1 bt -R -m 3" - - ["R SSC1 C +BT:ERROR"] -- ID: BTSTK_MISC_0506 - <<: *MISC_CASE - test point 2: bt mem release - summary: release BT memory after bt controller enable and bluedriod init - steps: | - 1. DUT1 init bluedriod - 2. DUT1 release BT memory - 3. DUT1 release BLE memory - 4. DUT1 release BT and BLE memory - expected result: | - 1. succeed - 2. fail - 3. fail - 4. fail - cmd set: - - "" - - - "SSC SSC1 bt -D -z init" - - ["R SSC1 C +BT:OK"] - - - "SSC SSC1 bt -R -m 1" - - ["R SSC1 C +BT:ERROR"] - - - "SSC SSC1 bt -R -m 2" - - ["R SSC1 C +BT:ERROR"] - - - "SSC SSC1 bt -R -m 3" - - ["R SSC1 C +BT:ERROR"] -- ID: BTSTK_MISC_0507 - <<: *MISC_CASE - test point 2: bt mem release - summary: release BT memory after bt controller enable and bluedriod enable - steps: | - 1. DUT1 init and enable bluedriod - 2. DUT1 release BT memory - 3. DUT1 release BLE memory - 4. DUT1 release BT and BLE memory - expected result: | - 1. succeed - 2. fail - 3. fail - 4. fail - cmd set: - - "" - - - "SSC SSC1 bt -D -z init" - - ["R SSC1 C +BT:OK"] - - - "SSC SSC1 bt -D -z enable" - - ["R SSC1 C +BT:OK"] - - - "SSC SSC1 bt -R -m 1" - - ["R SSC1 C +BT:ERROR"] - - - "SSC SSC1 bt -R -m 2" - - ["R SSC1 C +BT:ERROR"] - - - "SSC SSC1 bt -R -m 3" - - ["R SSC1 C +BT:ERROR"] -- ID: BTSTK_MISC_5001 - <<: *MISC_CASE - category: Performance - test point 1: performance + stress - test point 2: BT Controller Performance test - summary: bt controller init and deinit Performance test - execution time: 6 - steps: | - 1.get current heap size - 2.bt controller init - 3.enable bt controller - 4.bt host init - 5.enable bt host - 6.disable bt host - 7.bt host deinit - 8.disable bt controller - 9.bt controller deinit - 10.loop step1 to step 9 - expected result: | - 1. +FREEHEAP - 2.OK - 3.OK - 4.OK - 5.OK - 6.OK - 7.OK - 8.OK - 9.OK - 10.heap size unchanged - cmd set: - - "BLEStress/BLEInitDeinitPerformance" - - - "test_time = 420" - - "" diff --git a/components/idf_test/integration_test/TC_IT_BTSTK_SMP.yml b/components/idf_test/integration_test/TC_IT_BTSTK_SMP.yml deleted file mode 100644 index 3d102da1ef..0000000000 --- a/components/idf_test/integration_test/TC_IT_BTSTK_SMP.yml +++ /dev/null @@ -1,2190 +0,0 @@ -.SMP_CASE: &SMP_CASE - SDK: ESP32_IDF - Test App: SSC_BLE - auto test: 'Yes' - category: Function - test point 1: basic function - initial condition: BLE_INIT_SMP - test environment: SSC_T2_5 - execution time: 0 - module: BT Stack - sub module: SMP - version: v1 (2017-05-26) - CI ready: 'Yes' - level: Integration - allow fail: '' - -.just_work_pair: &just_work_pair - LIST_MERGE: - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC[1-2] C +BLESMP:AuthComplete,Success,0'] - -.slave_passkey_entry_pair: &slave_passkey_entry_pair - LIST_MERGE: - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC2 C +BLESMP:PassKeyReq', 'P SSC1 A :BLESMP:PassKeyNotify,(\d+)'] - - - "SSC SSC2 blesmp -K -r -a 1 -k " - - ['P SSC[1-2] C +BLESMP:AuthComplete,Success,0'] - -.master_passkey_entry_pair: &master_passkey_entry_pair - LIST_MERGE: - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC1 C +BLESMP:PassKeyReq', 'P SSC2 A :BLESMP:PassKeyNotify,(\d+)'] - - - "SSC SSC1 blesmp -K -r -a 1 -k " - - ['P SSC[1-2] C +BLESMP:AuthComplete,Success,0'] - -.both_side_passkey_entry_pair: &both_side_passkey_entry_pair - LIST_MERGE: - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC[1,2] C +BLESMP:PassKeyReq'] - - - "SSC SSC[1,2] blesmp -K -r -a 1 -k 123456" - - ['P SSC[1-2] C +BLESMP:AuthComplete,Success,0'] - -.numberic_comparision_pair: &numberic_comparision_pair - LIST_MERGE: - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['R SSC2 A :BLESMP:NCReq,(\d+)', 'R SSC1 C NCReq P '] - - - "SSC SSC[1-2] blesmp -C -r -a 1" - - ['P SSC[1-2] C +BLESMP:AuthComplete,Success,0'] - -.check_connection: &check_connection - LIST_MERGE: - - - "SSC SSC1 gattc -D -z primaryService -p 0x10 -r " - - ["R SSC1 C +GATTC:Discover,OK"] - -.disconnect: &disconnect - LIST_MERGE: - - - "SSC SSC1 bleconn -D -z all" - - ['P SSC1 C +BLECONN:GapDisconnect,OK', 'P SSC2 C +BLECONN:GapDisconnect,OK'] - - - "SSC SSC2 bleadv -D -z start" - - ['P SSC2 C +BLEADV:OK'] - -.connect: &connect - LIST_MERGE: - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - -.config_just_work: &config_just_work - LIST_MERGE: - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x00" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z IOCAP -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - -.config_master_passkey_entry: &config_master_passkey_entry - LIST_MERGE: - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x02" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x04" - - ['P SSC2 C +BLESMP:OK'] - -.config_slave_passkey_entry: &config_slave_passkey_entry - LIST_MERGE: - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z IOCAP -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - -.config_both_side_passkey_entry: &config_both_side_passkey_entry - LIST_MERGE: - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z IOCAP -v 0x02" - - ['P SSC[1-2] C +BLESMP:OK'] - -.config_numberic_comparision: &config_numberic_comparision - LIST_MERGE: - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z IOCAP -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - -.config_bond_device: &config_bond_device - LIST_MERGE: - - - "SSC SSC2 blesmp -S -z AuthReqMode -v 0x01" - - ['P SSC2 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x03" - - ['P SSC2 C +BLESMP:OK'] - - -test cases: -- ID: BTSTK_SMP_01001 - <<: *SMP_CASE - test point 2: BLE SMP sec properity test - summary: BLE SMP sec properity None + None test - steps: | - 1. set sec properity None on initiator and responder - 2. set IOCAP to KeyboardDisplay on initiator and responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use just work and pair succeed - 4. succeed - cmd set: - - "" - - - "SSC SSC1 blesmp -S -z AuthReqMode -v 0x00" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z AuthReqMode -v 0x00" - - ['P SSC2 C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z IOCAP -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - *just_work_pair - - *check_connection -- ID: BTSTK_SMP_01002 - <<: *SMP_CASE - test point 2: BLE SMP sec properity test - summary: BLE SMP sec properity None + SC test - steps: | - 1. set sec properity None on initiator and SC on responder - 2. set IOCAP to KeyboardDisplay on initiator and responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use just work and pair succeed - 4. succeed - cmd set: - - "" - - - "SSC SSC1 blesmp -S -z AuthReqMode -v 0x00" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z AuthReqMode -v 0x08" - - ['P SSC2 C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z IOCAP -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - *just_work_pair - - *check_connection -- ID: BTSTK_SMP_01003 - <<: *SMP_CASE - test point 2: BLE SMP sec properity test - summary: BLE SMP sec properity None + MITM test - steps: | - 1. set sec properity None on initiator and MITM on responder - 2. set IOCAP to KeyboardDisplay on initiator and responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use passkey entry (initiator displays, responder inputs) and pair succeed - 4. succeed - cmd set: - - "" - - - "SSC SSC1 blesmp -S -z AuthReqMode -v 0x00" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC2 C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z IOCAP -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - *slave_passkey_entry_pair - - *check_connection -- ID: BTSTK_SMP_01004 - <<: *SMP_CASE - test point 2: BLE SMP sec properity test - summary: BLE SMP sec properity None + SC_MITM test - steps: | - 1. set sec properity None on initiator and SC_MITM on responder - 2. set IOCAP to KeyboardDisplay on initiator and responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use passkey entry (initiator displays, responder inputs) and pair succeed - 4. succeed - cmd set: - - "" - - - "SSC SSC1 blesmp -S -z AuthReqMode -v 0x00" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC2 C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z IOCAP -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - *slave_passkey_entry_pair - - *check_connection -- ID: BTSTK_SMP_01005 - <<: *SMP_CASE - test point 2: BLE SMP sec properity test - summary: BLE SMP sec properity SC + None test - steps: | - 1. set sec properity SC only on initiator and None on responder - 2. set IOCAP to KeyboardDisplay on initiator and responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use just work and pair succeed - 4. succeed - cmd set: - - "" - - - "SSC SSC1 blesmp -S -z AuthReqMode -v 0x08" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z AuthReqMode -v 0x00" - - ['P SSC2 C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z IOCAP -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - *just_work_pair - - *check_connection -- ID: BTSTK_SMP_01006 - <<: *SMP_CASE - test point 2: BLE SMP sec properity test - summary: BLE SMP sec properity SC + SC test - steps: | - 1. set sec properity SC on initiator and SC on responder - 2. set IOCAP to KeyboardDisplay on initiator and responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use just work and pair succeed - 4. succeed - cmd set: - - "" - - - "SSC SSC1 blesmp -S -z AuthReqMode -v 0x08" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z AuthReqMode -v 0x08" - - ['P SSC2 C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z IOCAP -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - *just_work_pair - - *check_connection -- ID: BTSTK_SMP_01007 - <<: *SMP_CASE - test point 2: BLE SMP sec properity test - summary: BLE SMP sec properity SC + MITM test - steps: | - 1. set sec properity SC on initiator and MITM on responder - 2. set IOCAP to KeyboardDisplay on initiator and responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use passkey entry (initiator displays, responder inputs) and pair succeed - 4. succeed - cmd set: - - "" - - - "SSC SSC1 blesmp -S -z AuthReqMode -v 0x08" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC2 C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z IOCAP -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - *slave_passkey_entry_pair - - *check_connection -- ID: BTSTK_SMP_01008 - <<: *SMP_CASE - test point 2: BLE SMP sec properity test - summary: BLE SMP sec properity SC + SC_MITM test - steps: | - 1. set sec properity SC on initiator and SC_MITM on responder - 2. set IOCAP to KeyboardDisplay on initiator and responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use numberic comparision and pair succeed - 4. succeed - cmd set: - - "" - - - "SSC SSC1 blesmp -S -z AuthReqMode -v 0x08" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC2 C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z IOCAP -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - *numberic_comparision_pair - - *check_connection -- ID: BTSTK_SMP_01009 - <<: *SMP_CASE - test point 2: BLE SMP sec properity test - summary: BLE SMP sec properity MITM + None test - steps: | - 1. set sec properity MITM on initiator and None on responder - 2. set IOCAP to KeyboardDisplay on initiator and responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use passkey entry (initiator displays, responder inputs) and pair succeed - 4. succeed - cmd set: - - "" - - - "SSC SSC1 blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z AuthReqMode -v 0x00" - - ['P SSC2 C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z IOCAP -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - *slave_passkey_entry_pair - - *check_connection -- ID: BTSTK_SMP_01010 - <<: *SMP_CASE - test point 2: BLE SMP sec properity test - summary: BLE SMP sec properity MITM + SC test - steps: | - 1. set sec properity MITM on initiator and SC on responder - 2. set IOCAP to KeyboardDisplay on initiator and responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use passkey entry (initiator displays, responder inputs) and pair succeed - 4. succeed - allow fail: '' - cmd set: - - "" - - - "SSC SSC1 blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z AuthReqMode -v 0x08" - - ['P SSC2 C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z IOCAP -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - *slave_passkey_entry_pair - - *check_connection -- ID: BTSTK_SMP_01011 - <<: *SMP_CASE - test point 2: BLE SMP sec properity test - summary: BLE SMP sec properity MITM + MITM test - steps: | - 1. set sec properity MITM on initiator and MITM on responder - 2. set IOCAP to KeyboardDisplay on initiator and responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use passkey entry (initiator displays, responder inputs) and pair succeed - 4. succeed - cmd set: - - "" - - - "SSC SSC1 blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC2 C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z IOCAP -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - *slave_passkey_entry_pair - - *check_connection -- ID: BTSTK_SMP_01012 - <<: *SMP_CASE - test point 2: BLE SMP sec properity test - summary: BLE SMP sec properity MITM + SC_MITM test - steps: | - 1. set sec properity MITM on initiator and SC_MITM on responder - 2. set IOCAP to KeyboardDisplay on initiator and responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use passkey entry (initiator displays, responder inputs) and pair succeed - 4. succeed - cmd set: - - "" - - - "SSC SSC1 blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC2 C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z IOCAP -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - *slave_passkey_entry_pair - - *check_connection -- ID: BTSTK_SMP_01013 - <<: *SMP_CASE - test point 2: BLE SMP sec properity test - summary: BLE SMP sec properity SC_MITM + None test - steps: | - 1. set sec properity SC_MITM on initiator and SC on responder - 2. set IOCAP to KeyboardDisplay on initiator and responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use passkey entry (initiator displays, responder inputs) and pair succeed - 4. succeed - cmd set: - - "" - - - "SSC SSC1 blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z AuthReqMode -v 0x00" - - ['P SSC2 C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z IOCAP -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - *slave_passkey_entry_pair - - *check_connection -- ID: BTSTK_SMP_01014 - <<: *SMP_CASE - test point 2: BLE SMP sec properity test - summary: BLE SMP sec properity SC_MITM + SC test - steps: | - 1. set sec properity SC_MITM on initiator and SC on responder - 2. set IOCAP to KeyboardDisplay on initiator and responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use numberic comparision and pair succeed - 4. succeed - cmd set: - - "" - - - "SSC SSC1 blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z AuthReqMode -v 0x08" - - ['P SSC2 C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z IOCAP -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - *numberic_comparision_pair - - *check_connection -- ID: BTSTK_SMP_01015 - <<: *SMP_CASE - test point 2: BLE SMP sec properity test - summary: BLE SMP sec properity SC_MITM + MITM test - steps: | - 1. set sec properity SC_MITM on initiator and MITM on responder - 2. set IOCAP to KeyboardDisplay on initiator and responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use passkey entry (initiator displays, responder inputs) and pair succeed - 4. succeed - cmd set: - - "" - - - "SSC SSC1 blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC2 C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z IOCAP -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - *slave_passkey_entry_pair - - *check_connection -- ID: BTSTK_SMP_01016 - <<: *SMP_CASE - test point 2: BLE SMP sec properity test - summary: BLE SMP sec properity SC_MITM + SC_MITM test - steps: | - 1. set sec properity SC_MITM on initiator and SC_MITM on responder - 2. set IOCAP to KeyboardDisplay on initiator and responder - 3. DUT1 connect to DUT2, do pair procedure - 4. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use numberic comparision and pair succeed - 4. succeed - cmd set: - - "" - - - "SSC SSC1 blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC2 C +BLESMP:OK'] - - - "SSC SSC[1-2] blesmp -S -z IOCAP -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - *numberic_comparision_pair - - *check_connection -- ID: BTSTK_SMP_02001 - <<: *SMP_CASE - test point 2: BLE SMP IO Capabilities test - summary: BLE SMP IO Capabilities DisplayOnly + DisplayOnly test - allow fail: 2/3 - steps: | - 1. set sec properity MITM on both initiator and responder - 2. set IOCAP to DisplayOnly on initiator and DisplayOnly on responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - 5. disconnect - 6. set sec properity SC_MITM on both initiator and responder - 7. set IOCAP to DisplayOnly on initiator and DisplayOnly on responder - 8. DUT1 connect to DUT2, do pair (if required) - 9. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use just work and pair succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. use just work and pair succeed - 9. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x00" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x00" - - ['P SSC2 C +BLESMP:OK'] - - *just_work_pair - - *check_connection - - *disconnect - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x00" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x00" - - ['P SSC2 C +BLESMP:OK'] - - *just_work_pair - - *check_connection -- ID: BTSTK_SMP_02002 - <<: *SMP_CASE - test point 2: BLE SMP IO Capabilities test - summary: BLE SMP IO Capabilities DisplayOnly + DisplayYesNo test - allow fail: 2/3 - steps: | - 1. set sec properity MITM on both initiator and responder - 2. set IOCAP to DisplayOnly on initiator and DisplayYesNo on responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - 5. disconnect - 6. set sec properity SC_MITM on both initiator and responder - 7. set IOCAP to DisplayOnly on initiator and DisplayYesNo on responder - 8. DUT1 connect to DUT2, do pair (if required) - 9. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use just work and pair succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. use just work and pair succeed - 9. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x00" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x01" - - ['P SSC2 C +BLESMP:OK'] - - *just_work_pair - - *check_connection - - *disconnect - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x00" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x01" - - ['P SSC2 C +BLESMP:OK'] - - *just_work_pair - - *check_connection -- ID: BTSTK_SMP_02003 - <<: *SMP_CASE - test point 2: BLE SMP IO Capabilities test - summary: BLE SMP IO Capabilities DisplayOnly + KeyboardOnly test - allow fail: 2/3 - steps: | - 1. set sec properity MITM on both initiator and responder - 2. set IOCAP to DisplayOnly on initiator and KeyboardOnly on responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - 5. disconnect - 6. set sec properity SC_MITM on both initiator and responder - 7. set IOCAP to DisplayOnly on initiator and KeyboardOnly on responder - 8. DUT1 connect to DUT2, do pair (if required) - 9. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use passkey entry (initiator displays, responder inputs) and pair succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. use passkey entry (initiator displays, responder inputs) and pair succeed - 9. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x00" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x02" - - ['P SSC2 C +BLESMP:OK'] - - *slave_passkey_entry_pair - - *check_connection - - *disconnect - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x00" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x02" - - ['P SSC2 C +BLESMP:OK'] - - *slave_passkey_entry_pair - - *check_connection -- ID: BTSTK_SMP_02004 - <<: *SMP_CASE - test point 2: BLE SMP IO Capabilities test - summary: BLE SMP IO Capabilities DisplayOnly + NoInputNoOutput test - allow fail: 2/3 - steps: | - 1. set sec properity MITM on both initiator and responder - 2. set IOCAP to DisplayOnly on initiator and NoInputNoOutput on responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - 5. disconnect - 6. set sec properity SC_MITM on both initiator and responder - 7. set IOCAP to DisplayOnly on initiator and NoInputNoOutput on responder - 8. DUT1 connect to DUT2, do pair (if required) - 9. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use just works and pair succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. use just works and pair succeed - 9. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x00" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x03" - - ['P SSC2 C +BLESMP:OK'] - - *just_work_pair - - *check_connection - - *disconnect - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x00" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x03" - - ['P SSC2 C +BLESMP:OK'] - - *just_work_pair - - *check_connection -- ID: BTSTK_SMP_02005 - <<: *SMP_CASE - test point 2: BLE SMP IO Capabilities test - summary: BLE SMP IO Capabilities DisplayOnly + KeyboardDisplay test - allow fail: 2/3 - steps: | - 1. set sec properity MITM on both initiator and responder - 2. set IOCAP to DisplayOnly on initiator and KeyboardDisplay on responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - 5. disconnect - 6. set sec properity SC_MITM on both initiator and responder - 7. set IOCAP to DisplayOnly on initiator and KeyboardDisplay on responder - 8. DUT1 connect to DUT2, do pair (if required) - 9. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use passkey entry (initiator displays, responder inputs) and pair succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. use passkey entry (initiator displays, responder inputs) and pair succeed - 9. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x00" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x04" - - ['P SSC2 C +BLESMP:OK'] - - *slave_passkey_entry_pair - - *disconnect - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x00" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x04" - - ['P SSC2 C +BLESMP:OK'] - - *slave_passkey_entry_pair - - *check_connection -- ID: BTSTK_SMP_02006 - <<: *SMP_CASE - test point 2: BLE SMP IO Capabilities test - summary: BLE SMP IO Capabilities DisplayYesNo + DisplayOnly test - allow fail: 2/3 - steps: | - 1. set sec properity MITM on both initiator and responder - 2. set IOCAP to DisplayYesNo on initiator and DisplayOnly on responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - 5. disconnect - 6. set sec properity SC_MITM on both initiator and responder - 7. set IOCAP to DisplayYesNo on initiator and DisplayOnly on responder - 8. DUT1 connect to DUT2, do pair (if required) - 9. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use just work and pair succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. use just work and pair succeed - 9. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x01" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x00" - - ['P SSC2 C +BLESMP:OK'] - - *just_work_pair - - *check_connection - - *disconnect - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x01" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x00" - - ['P SSC2 C +BLESMP:OK'] - - *just_work_pair - - *check_connection -- ID: BTSTK_SMP_02007 - <<: *SMP_CASE - test point 2: BLE SMP IO Capabilities test - summary: BLE SMP IO Capabilities DisplayYesNo + DisplayYesNo test - allow fail: 2/3 - steps: | - 1. set sec properity MITM on both initiator and responder - 2. set IOCAP to DisplayYesNo on initiator and DisplayYesNo on responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - 5. disconnect - 6. set sec properity SC_MITM on both initiator and responder - 7. set IOCAP to DisplayYesNo on initiator and DisplayYesNo on responder - 8. DUT1 connect to DUT2, do pair (if required) - 9. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use just work and pair succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. use numberic comparision and pair succeed - 9. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x01" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x01" - - ['P SSC2 C +BLESMP:OK'] - - *just_work_pair - - *check_connection - - *disconnect - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x01" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x01" - - ['P SSC2 C +BLESMP:OK'] - - *numberic_comparision_pair - - *check_connection -- ID: BTSTK_SMP_02008 - <<: *SMP_CASE - test point 2: BLE SMP IO Capabilities test - summary: BLE SMP IO Capabilities DisplayYesNo + KeyboardOnly test - allow fail: 2/3 - steps: | - 1. set sec properity MITM on both initiator and responder - 2. set IOCAP to DisplayYesNo on initiator and KeyboardOnly on responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - 5. disconnect - 6. set sec properity SC_MITM on both initiator and responder - 7. set IOCAP to DisplayYesNo on initiator and KeyboardOnly on responder - 8. DUT1 connect to DUT2, do pair (if required) - 9. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use passkey entry (initiator displays, responder inputs) and pair succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. use passkey entry (initiator displays, responder inputs) and pair succeed - 9. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x01" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x02" - - ['P SSC2 C +BLESMP:OK'] - - *slave_passkey_entry_pair - - *check_connection - - *disconnect - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x01" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x02" - - ['P SSC2 C +BLESMP:OK'] - - *slave_passkey_entry_pair - - *check_connection -- ID: BTSTK_SMP_02009 - <<: *SMP_CASE - test point 2: BLE SMP IO Capabilities test - summary: BLE SMP IO Capabilities DisplayYesNo + NoInputNoOutput test - allow fail: 2/3 - steps: | - 1. set sec properity MITM on both initiator and responder - 2. set IOCAP to DisplayYesNo on initiator and NoInputNoOutput on responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - 5. disconnect - 6. set sec properity SC_MITM on both initiator and responder - 7. set IOCAP to DisplayYesNo on initiator and NoInputNoOutput on responder - 8. DUT1 connect to DUT2, do pair (if required) - 9. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use just works and pair succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. use just works and pair succeed - 9. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x01" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x03" - - ['P SSC2 C +BLESMP:OK'] - - *just_work_pair - - *check_connection - - *disconnect - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x01" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x03" - - ['P SSC2 C +BLESMP:OK'] - - *just_work_pair - - *check_connection -- ID: BTSTK_SMP_02010 - <<: *SMP_CASE - test point 2: BLE SMP IO Capabilities test - summary: BLE SMP IO Capabilities DisplayYesNo + KeyboardDisplay test - allow fail: 2/3 - steps: | - 1. set sec properity MITM on both initiator and responder - 2. set IOCAP to DisplayYesNo on initiator and KeyboardDisplay on responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - 5. disconnect - 6. set sec properity SC_MITM on both initiator and responder - 7. set IOCAP to DisplayYesNo on initiator and KeyboardDisplay on responder - 8. DUT1 connect to DUT2, do pair (if required) - 9. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use passkey entry (initiator displays, responder inputs) and pair succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. use numberic comparision and pair succeed - 9. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x01" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x04" - - ['P SSC2 C +BLESMP:OK'] - - *slave_passkey_entry_pair - - *check_connection - - *disconnect - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x01" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x04" - - ['P SSC2 C +BLESMP:OK'] - - *numberic_comparision_pair - - *check_connection -- ID: BTSTK_SMP_02011 - <<: *SMP_CASE - test point 2: BLE SMP IO Capabilities test - summary: BLE SMP IO Capabilities KeyboardOnly + DisplayOnly test - allow fail: 2/3 - steps: | - 1. set sec properity MITM on both initiator and responder - 2. set IOCAP to KeyboardOnly on initiator and DisplayOnly on responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - 5. disconnect - 6. set sec properity SC_MITM on both initiator and responder - 7. set IOCAP to KeyboardOnly on initiator and DisplayOnly on responder - 8. DUT1 connect to DUT2, do pair (if required) - 9. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use passkey entry (responder displays, initiator inputs) and pair succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. use passkey entry (responder displays, initiator inputs) and pair succeed - 9. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x02" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x00" - - ['P SSC2 C +BLESMP:OK'] - - *master_passkey_entry_pair - - *check_connection - - *disconnect - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x02" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x00" - - ['P SSC2 C +BLESMP:OK'] - - *master_passkey_entry_pair - - *check_connection -- ID: BTSTK_SMP_02012 - <<: *SMP_CASE - test point 2: BLE SMP IO Capabilities test - summary: BLE SMP IO Capabilities KeyboardOnly + DisplayYesNo test - allow fail: 2/3 - steps: | - 1. set sec properity MITM on both initiator and responder - 2. set IOCAP to KeyboardOnly on initiator and DisplayYesNo on responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - 5. disconnect - 6. set sec properity SC_MITM on both initiator and responder - 7. set IOCAP to KeyboardOnly on initiator and DisplayYesNo on responder - 8. DUT1 connect to DUT2, do pair (if required) - 9. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use passkey entry (responder displays, initiator inputs) and pair succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. use passkey entry (responder displays, initiator inputs) and pair succeed - 9. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x02" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x01" - - ['P SSC2 C +BLESMP:OK'] - - *master_passkey_entry_pair - - *check_connection - - *disconnect - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x02" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x01" - - ['P SSC2 C +BLESMP:OK'] - - *master_passkey_entry_pair - - *check_connection -- ID: BTSTK_SMP_02013 - <<: *SMP_CASE - test point 2: BLE SMP IO Capabilities test - summary: BLE SMP IO Capabilities KeyboardOnly + KeyboardOnly test - allow fail: 2/3 - steps: | - 1. set sec properity MITM on both initiator and responder - 2. set IOCAP to KeyboardOnly on initiator and KeyboardOnly on responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - 5. disconnect - 6. set sec properity SC_MITM on both initiator and responder - 7. set IOCAP to KeyboardOnly on initiator and KeyboardOnly on responder - 8. DUT1 connect to DUT2, do pair (if required) - 9. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use passkey entry (initiator and responder inputs) and pair succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. use passkey entry (initiator and responder inputs) and pair succeed - 9. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x02" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x02" - - ['P SSC2 C +BLESMP:OK'] - - *both_side_passkey_entry_pair - - *check_connection - - *disconnect - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x02" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x02" - - ['P SSC2 C +BLESMP:OK'] - - *both_side_passkey_entry_pair - - *check_connection -- ID: BTSTK_SMP_02014 - <<: *SMP_CASE - test point 2: BLE SMP IO Capabilities test - summary: BLE SMP IO Capabilities KeyboardOnly + NoInputNoOutput test - allow fail: 2/3 - steps: | - 1. set sec properity MITM on both initiator and responder - 2. set IOCAP to KeyboardOnly on initiator and NoInputNoOutput on responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - 5. disconnect - 6. set sec properity SC_MITM on both initiator and responder - 7. set IOCAP to KeyboardOnly on initiator and NoInputNoOutput on responder - 8. DUT1 connect to DUT2, do pair (if required) - 9. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use just works and pair succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. use just works and pair succeed - 9. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x02" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x03" - - ['P SSC2 C +BLESMP:OK'] - - *just_work_pair - - *check_connection - - *disconnect - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x02" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x03" - - ['P SSC2 C +BLESMP:OK'] - - *just_work_pair - - *check_connection -- ID: BTSTK_SMP_02015 - <<: *SMP_CASE - test point 2: BLE SMP IO Capabilities test - summary: BLE SMP IO Capabilities KeyboardOnly + KeyboardDisplay test - allow fail: 2/3 - steps: | - 1. set sec properity MITM on both initiator and responder - 2. set IOCAP to KeyboardOnly on initiator and KeyboardDisplay on responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - 5. disconnect - 6. set sec properity SC_MITM on both initiator and responder - 7. set IOCAP to KeyboardOnly on initiator and KeyboardDisplay on responder - 8. DUT1 connect to DUT2, do pair (if required) - 9. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use passkey entry (responder displays, initiator inputs) and pair succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. use passkey entry (responder displays, initiator inputs) and pair succeed - 9. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x02" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x04" - - ['P SSC2 C +BLESMP:OK'] - - *master_passkey_entry_pair - - *check_connection - - *disconnect - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x02" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x04" - - ['P SSC2 C +BLESMP:OK'] - - *master_passkey_entry_pair - - *check_connection -- ID: BTSTK_SMP_02016 - <<: *SMP_CASE - test point 2: BLE SMP IO Capabilities test - summary: BLE SMP IO Capabilities NoInputNoOutput + DisplayOnly test - allow fail: 2/3 - steps: | - 1. set sec properity MITM on both initiator and responder - 2. set IOCAP to NoInputNoOutput on initiator and DisplayOnly on responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - 5. disconnect - 6. set sec properity SC_MITM on both initiator and responder - 7. set IOCAP to NoInputNoOutput on initiator and DisplayOnly on responder - 8. DUT1 connect to DUT2, do pair (if required) - 9. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use just works and pair succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. use just works and pair succeed - 9. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x03" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x00" - - ['P SSC2 C +BLESMP:OK'] - - *just_work_pair - - *check_connection - - *disconnect - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x03" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x00" - - ['P SSC2 C +BLESMP:OK'] - - *just_work_pair - - *check_connection -- ID: BTSTK_SMP_02017 - <<: *SMP_CASE - test point 2: BLE SMP IO Capabilities test - summary: BLE SMP IO Capabilities NoInputNoOutput + DisplayYesNo test - allow fail: 2/3 - steps: | - 1. set sec properity MITM on both initiator and responder - 2. set IOCAP to NoInputNoOutput on initiator and DisplayYesNo on responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - 5. disconnect - 6. set sec properity SC_MITM on both initiator and responder - 7. set IOCAP to NoInputNoOutput on initiator and DisplayYesNo on responder - 8. DUT1 connect to DUT2, do pair (if required) - 9. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use just works and pair succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. use just works and pair succeed - 9. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x03" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x01" - - ['P SSC2 C +BLESMP:OK'] - - *just_work_pair - - *check_connection - - *disconnect - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x03" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x01" - - ['P SSC2 C +BLESMP:OK'] - - *just_work_pair - - *check_connection -- ID: BTSTK_SMP_02018 - <<: *SMP_CASE - test point 2: BLE SMP IO Capabilities test - summary: BLE SMP IO Capabilities NoInputNoOutput + KeyboardOnly test - allow fail: 2/3 - steps: | - 1. set sec properity MITM on both initiator and responder - 2. set IOCAP to NoInputNoOutput on initiator and KeyboardOnly on responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - 5. disconnect - 6. set sec properity SC_MITM on both initiator and responder - 7. set IOCAP to NoInputNoOutput on initiator and KeyboardOnly on responder - 8. DUT1 connect to DUT2, do pair (if required) - 9. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use just works and pair succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. use just works and pair succeed - 9. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x03" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x02" - - ['P SSC2 C +BLESMP:OK'] - - *just_work_pair - - *check_connection - - *disconnect - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x03" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x02" - - ['P SSC2 C +BLESMP:OK'] - - *just_work_pair - - *check_connection -- ID: BTSTK_SMP_02019 - <<: *SMP_CASE - test point 2: BLE SMP IO Capabilities test - summary: BLE SMP IO Capabilities NoInputNoOutput + NoInputNoOutput test - allow fail: 2/3 - steps: | - 1. set sec properity MITM on both initiator and responder - 2. set IOCAP to NoInputNoOutput on initiator and NoInputNoOutput on responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - 5. disconnect - 6. set sec properity SC_MITM on both initiator and responder - 7. set IOCAP to NoInputNoOutput on initiator and NoInputNoOutput on responder - 8. DUT1 connect to DUT2, do pair (if required) - 9. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use just works and pair succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. use just works and pair succeed - 9. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x03" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x03" - - ['P SSC2 C +BLESMP:OK'] - - *just_work_pair - - *check_connection - - *disconnect - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x03" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x03" - - ['P SSC2 C +BLESMP:OK'] - - *just_work_pair - - *check_connection -- ID: BTSTK_SMP_02020 - <<: *SMP_CASE - test point 2: BLE SMP IO Capabilities test - summary: BLE SMP IO Capabilities NoInputNoOutput + KeyboardDisplay test - allow fail: 2/3 - steps: | - 1. set sec properity MITM on both initiator and responder - 2. set IOCAP to NoInputNoOutput on initiator and KeyboardDisplay on responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - 5. disconnect - 6. set sec properity SC_MITM on both initiator and responder - 7. set IOCAP to NoInputNoOutput on initiator and KeyboardDisplay on responder - 8. DUT1 connect to DUT2, do pair (if required) - 9. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use just works and pair succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. use just works and pair succeed - 9. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x03" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x04" - - ['P SSC2 C +BLESMP:OK'] - - *just_work_pair - - *check_connection - - *disconnect - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x03" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x04" - - ['P SSC2 C +BLESMP:OK'] - - *just_work_pair - - *check_connection -- ID: BTSTK_SMP_02021 - <<: *SMP_CASE - test point 2: BLE SMP IO Capabilities test - summary: BLE SMP IO Capabilities KeyboardDisplay + DisplayOnly test - allow fail: 2/3 - steps: | - 1. set sec properity MITM on both initiator and responder - 2. set IOCAP to KeyboardDisplay on initiator and DisplayOnly on responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - 5. disconnect - 6. set sec properity SC_MITM on both initiator and responder - 7. set IOCAP to KeyboardDisplay on initiator and DisplayOnly on responder - 8. DUT1 connect to DUT2, do pair (if required) - 9. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use passkey entry (responder displays, initiator inputs) and pair succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. use passkey entry (responder displays, initiator inputs) and pair succeed - 9. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x04" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x00" - - ['P SSC2 C +BLESMP:OK'] - - *master_passkey_entry_pair - - *check_connection - - *disconnect - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x04" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x00" - - ['P SSC2 C +BLESMP:OK'] - - *master_passkey_entry_pair - - *check_connection -- ID: BTSTK_SMP_02022 - <<: *SMP_CASE - test point 2: BLE SMP IO Capabilities test - summary: BLE SMP IO Capabilities KeyboardDisplay + DisplayYesNo test - allow fail: 2/3 - steps: | - 1. set sec properity MITM on both initiator and responder - 2. set IOCAP to KeyboardDisplay on initiator and DisplayYesNo on responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - 5. disconnect - 6. set sec properity SC_MITM on both initiator and responder - 7. set IOCAP to KeyboardDisplay on initiator and DisplayYesNo on responder - 8. DUT1 connect to DUT2, do pair (if required) - 9. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use passkey entry (responder displays, initiator inputs) and pair succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. use numberic comparision and pair succeed - 9. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x04" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x01" - - ['P SSC2 C +BLESMP:OK'] - - *master_passkey_entry_pair - - *check_connection - - *disconnect - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x04" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x01" - - ['P SSC2 C +BLESMP:OK'] - - *numberic_comparision_pair - - *check_connection -- ID: BTSTK_SMP_02023 - <<: *SMP_CASE - test point 2: BLE SMP IO Capabilities test - summary: BLE SMP IO Capabilities KeyboardDisplay + KeyboardOnly test - allow fail: 2/3 - steps: | - 1. set sec properity MITM on both initiator and responder - 2. set IOCAP to KeyboardDisplay on initiator and KeyboardOnly on responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - 5. disconnect - 6. set sec properity SC_MITM on both initiator and responder - 7. set IOCAP to KeyboardDisplay on initiator and KeyboardOnly on responder - 8. DUT1 connect to DUT2, do pair (if required) - 9. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use passkey entry (initiator displays, responder inputs) and pair succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. use passkey entry (initiator displays, responder inputs) and pair succeed - 9. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x04" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x02" - - ['P SSC2 C +BLESMP:OK'] - - *slave_passkey_entry_pair - - *check_connection - - *disconnect - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x04" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x02" - - ['P SSC2 C +BLESMP:OK'] - - *slave_passkey_entry_pair - - *check_connection -- ID: BTSTK_SMP_02024 - <<: *SMP_CASE - test point 2: BLE SMP IO Capabilities test - summary: BLE SMP IO Capabilities KeyboardDisplay + NoInputNoOutput test - allow fail: 2/3 - steps: | - 1. set sec properity MITM on both initiator and responder - 2. set IOCAP to KeyboardDisplay on initiator and NoInputNoOutput on responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - 5. disconnect - 6. set sec properity SC_MITM on both initiator and responder - 7. set IOCAP to KeyboardDisplay on initiator and NoInputNoOutput on responder - 8. DUT1 connect to DUT2, do pair (if required) - 9. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use just works and pair succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. use just works and pair succeed - 9. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x04" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x03" - - ['P SSC2 C +BLESMP:OK'] - - *just_work_pair - - *check_connection - - *disconnect - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x04" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x03" - - ['P SSC2 C +BLESMP:OK'] - - *just_work_pair - - *check_connection -- ID: BTSTK_SMP_02025 - <<: *SMP_CASE - test point 2: BLE SMP IO Capabilities test - summary: BLE SMP IO Capabilities KeyboardDisplay + KeyboardDisplay test - allow fail: 2/3 - steps: | - 1. set sec properity MITM on both initiator and responder - 2. set IOCAP to KeyboardDisplay on initiator and KeyboardDisplay on responder - 3. DUT1 connect to DUT2, do pair (if required) - 4. do service discovery - 5. disconnect - 6. set sec properity SC_MITM on both initiator and responder - 7. set IOCAP to KeyboardDisplay on initiator and KeyboardDisplay on responder - 8. DUT1 connect to DUT2, do pair (if required) - 9. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. use passkey entry (initiator displays, responder inputs) and pair succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. use numberic comparision and pair succeed - 9. succeed - cmd set: - - "" - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x04" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x04" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x04" - - ['P SSC2 C +BLESMP:OK'] - - *slave_passkey_entry_pair - - *check_connection - - *disconnect - - - "SSC SSC[1-2] blesmp -S -z AuthReqMode -v 0x0C" - - ['P SSC[1-2] C +BLESMP:OK'] - - - "SSC SSC1 blesmp -S -z IOCAP -v 0x04" - - ['P SSC1 C +BLESMP:OK'] - - - "SSC SSC2 blesmp -S -z IOCAP -v 0x04" - - ['P SSC2 C +BLESMP:OK'] - - *numberic_comparision_pair - - *check_connection -- ID: BTSTK_SMP_03001 - <<: *SMP_CASE - test point 2: BLE SMP pair with pairing request test - summary: BLE SMP start pair with secruity request - steps: | - 1. set sec properity None on initiator and responder - 2. set IOCAP to KeyboardDisplay on initiator and responder - 3. DUT1 connect to DUT2 - 4. DUT2 send secruity request, do pair (if required) - 5. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. connected - 4. use just work and pair succeed - 5. succeed - cmd set: - - "" - - *config_just_work - - *just_work_pair - - *check_connection -- ID: BTSTK_SMP_03002 - <<: *SMP_CASE - test point 2: BLE SMP initiate pair test - summary: BLE SMP start pair with pairing request - steps: | - 1. set sec properity None on initiator and responder - 2. set IOCAP to KeyboardDisplay on initiator and responder - 3. DUT1 connect to DUT2 - 4. DUT1 send pair req, do pair (if required) - 5. do service discovery - expected result: | - 1. succeed - 2. succeed - 3. connected - 4. use just work and pair succeed - 5. succeed - cmd set: - - "" - - *config_just_work - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC1 blesmp -E -r -z Enc" - - ['P SSC[1-2] C +BLESMP:AuthComplete,Success,0'] - - *check_connection -- ID: BTSTK_SMP_05003 - <<: *SMP_CASE - CI ready: 'No' - test point 2: BLE SMP unsuccessful pair reply test - summary: BLE SMP unsuccessful passkey entry on both side test - steps: | - 1. enter both side passkey entry phase - 2. entry different passkey and accept - 3. enter both side passkey entry phase - 4. entry same passkey and reject - 5. enter both side passkey entry phase - 6. send numberic comparision accept - 7. enter both side passkey entry phase - 8. send numberic comparision reject - expected result: | - 1. succeed - 2. pair failed - 3. succeed - 4. pair failed - 5. succeed - 6. pair failed - 7. succeed - 8. pair failed - cmd set: - - "" - - *config_both_side_passkey_entry - - - LOOP 2 5 "[1,0]" "['000002','000001']" - - "" - - *connect - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['R SSC[1,2] C +BLESMP:PassKeyReq'] - - - "SSC SSC2 blesmp -K -r -a [1,{%d}] -k [000001,{%s}]" - - ['P SSC[1-2] C +BLESMP:AuthComplete,Fail'] - - *disconnect - - - LOOP 2 5 "[1,0]" "[0,1]" - - "" - - *connect - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC[1,2] C +BLESMP:PassKeyReq'] - - - "SSC SSC[1,2] blesmp -C -r -a [{%d},{%d}]" - - ['P SSC[1-2] C +BLESMP:AuthComplete,Fail'] - - *disconnect -- ID: BTSTK_SMP_05004 - <<: *SMP_CASE - test point 2: BLE SMP unsuccessful pair reply test - summary: BLE SMP reject pair - steps: | - 1. DUT1 connect to DUT2 - 2. DUT2 send security req - 3. DUT1 reject pairing - 4. disconnect - 5. DUT1 connect to DUT2 - 6. DUT1 send pairing req - 7. DUT2 reject pairing - 4. disconnect - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - 8. succeed - cmd set: - - "" - - *connect - - - "SSC SSC2 blesmp -E -r -z Enc" - - [""] - - *disconnect - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC1 blesmp -E -r -z Enc" - - [""] -- ID: BTSTK_SMP_06002 - <<: *SMP_CASE - test point 2: BLE SMP use API in abnormal state - summary: BLE SMP use phase 2 API in phase 1 - steps: | - 1. enter entry passkey phase - 2. send ble security response - 3. continue pairing - expected result: | - 1. succeed - 2. failed - 3. pair succeed - cmd set: - - "" - - *config_slave_passkey_entry - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC2 C +BLESMP:PassKeyReq', 'P SSC1 A :BLESMP:PassKeyNotify,(\d+)'] - - - "SSC SSC2 blesmp -K -r -a 1 -k " - - ['P SSC[1-2] C +BLESMP:AuthComplete,Success,0'] -- ID: BTSTK_SMP_06003 - <<: *SMP_CASE - test point 2: BLE SMP use API in abnormal state - summary: BLE SMP use phase 1 API in phase 2 - steps: | - 1. enter phase 1 (don't send security response) - 2. do passkey entry - 3. do number comparision - expected result: | - 1. succeed - 2. failed - 3. failed - cmd set: - - "" - - *config_slave_passkey_entry - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC2 C +BLESMP:PassKeyReq', 'P SSC1 A :BLESMP:PassKeyNotify,(\d+)'] - - - "SSC SSC2 blesmp -K -r -a 1 -k " - - ['P SSC[1-2] C +BLESMP:AuthComplete,Success,0'] -- ID: BTSTK_SMP_06004 - <<: *SMP_CASE - CI ready: 'No' - test point 2: BLE SMP use API in abnormal state - summary: BLE SMP master disconnect during pairing and repairing - steps: | - 1. enter phase 1 (don't send security response) - 2. disconnect - 3. enter phase 1, send response but do not do pair - 4. disconnect - expected result: | - 1. succeed - 2. disconnected - 3. succeed - 4. disconnected - cmd set: - - "" - - *config_slave_passkey_entry - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC1 C +BLESMP:SecReq'] - - *disconnect - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC2 C +BLESMP:PassKeyReq', 'P SSC1 A :BLESMP:PassKeyNotify,(\d+)'] - - *disconnect -- ID: BTSTK_SMP_06005 - <<: *SMP_CASE - test point 2: BLE SMP use API in abnormal state - summary: BLE SMP slave disconnect during pairing and repairing - steps: | - 1. enter phase 1 (don't send security response) - 2. disconnect - 3. enter phase 1, send response but do not do pair - 4. disconnect - expected result: | - 1. succeed - 2. disconnected - 3. succeed - 4. disconnected - cmd set: - - "" - - *config_slave_passkey_entry - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC1 C +BLESMP:SecReq'] - - - "SSC SSC2 bleconn -D -z all" - - ['P SSC2 C +BLECONN:GapDisconnect,OK', 'P SSC1 C +BLECONN:GapDisconnect,OK'] - - - "SSC SSC2 bleadv -D -z start" - - ['P SSC2 C +BLEADV:Start,OK'] - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC2 C +BLESMP:PassKeyReq', 'P SSC1 A :BLESMP:PassKeyNotify,(\d+)'] - - - "SSC SSC2 bleconn -D -z all" - - ['P SSC2 C +BLECONN:GapDisconnect,OK', 'P SSC1 C +BLECONN:GapDisconnect,OK'] -- ID: BTSTK_SMP_07001 - <<: *SMP_CASE - test point 2: BLE SMP no bond test and repairing - summary: BLE SMP just work pairing and reconnect - steps: | - 1. DUT1 and DUT2 SMP with just work pair - 2. DUT1 disconnect - 3. DUT1 connect to DUT2 - 4. DUT2 send auth request - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - cmd set: - - "" - - *config_just_work - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC1 blesmp -E -r -z Enc" - - ['P SSC[1-2] C +BLESMP:AuthComplete,Success,0'] - - *disconnect - - - "SSC SSC1 bleconn -C -p 0x10 -a " - - ['P SSC1 C +BLECONN:GapConnect,OK', 'P SSC2 C +BLECONN:GapConnect,OK'] - - - "SSC SSC2 blesmp -E -r -z Enc" - - ['P SSC[1-2] C +BLESMP:AuthComplete,Success'] -- ID: BTSTK_SMP_07003 - <<: *SMP_CASE - test point 2: BLE SMP no bond test and repairing - summary: BLE SMP slave passkey enter and reconnect - steps: | - 1. DUT1 and DUT2 SMP with slave passkey enter - 2. DUT1 reconnect - 3. DUT1 connect to DUT2 - 4. DUT2 send auth request - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - cmd set: - - "" - - *config_slave_passkey_entry - - *slave_passkey_entry_pair - - *disconnect - - *slave_passkey_entry_pair -- ID: BTSTK_SMP_07004 - <<: *SMP_CASE - test point 2: BLE SMP no bond test and repairing - summary: BLE SMP slave passkey enter and reboot - steps: | - 1. DUT1 and DUT2 SMP with slave passkey enter - 2. DUT1 reboot - 3. DUT1 connect to DUT2 - 4. DUT2 send auth request - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. failed - cmd set: - - "" - - *config_slave_passkey_entry - - *slave_passkey_entry_pair - - - "SSC SSC1 reboot" - - ['P SSC2 C +BLECONN:GapDisconnect,OK'] - - - "SSC SSC1 ble -R" - - ['R SSC1 C +BLE:'] - - - "SSC SSC2 bleadv -D -z start" - - ['R SSC2 C +BLEADV:OK'] - - *slave_passkey_entry_pair -- ID: BTSTK_SMP_50001 - <<: *SMP_CASE - category: Performance - test point 1: performance + stress - test point 2: BLE SMP GATT performance test - summary: GATT read char performance test after just work pair - Test App: SSC_BLE_PERF - steps: | - 1. update connection parameter - 2. do primary service discovery - 3. do read char for some time - expected result: | - 1. succeed - 2. succeed - 3. calculate throughput - execution time: 2 - cmd set: - - "BLEStress/BLESMPGATTPerformance" - - - test_time = 420 - - "" - - - mtu = 512 - - "" - - - gatt_op = "read" - - "" - - - pair_op = "just_work_pair" - - "" - - - op_char = "0xC301" - - "" -- ID: BTSTK_SMP_50002 - <<: *SMP_CASE - category: Performance - test point 1: performance + stress - test point 2: BLE SMP GATT performance test - summary: GATT read char performance test after numberic comparision pair - Test App: SSC_BLE_PERF - steps: | - 1. update connection parameter - 2. do primary service discovery - 3. do read char for some time - expected result: | - 1. succeed - 2. succeed - 3. calculate throughput - execution time: 2 - cmd set: - - "BLEStress/BLESMPGATTPerformance" - - - test_time = 420 - - "" - - - mtu = 512 - - "" - - - gatt_op = "read" - - "" - - - pair_op = "numberic_comparision_pair" - - "" - - - op_char = "0xC301" - - "" -- ID: BTSTK_SMP_50003 - <<: *SMP_CASE - category: Performance - test point 1: performance + stress - test point 2: BLE SMP GATT performance test - summary: GATT write char performance test after just work pair - Test App: SSC_BLE_PERF - steps: | - 1. update connection parameter - 2. do primary service discovery - 3. do write char for some time - expected result: | - 1. succeed - 2. succeed - 3. calculate throughput - execution time: 2 - cmd set: - - "BLEStress/BLESMPGATTPerformance" - - - test_time = 420 - - "" - - - mtu = 512 - - "" - - - gatt_op = "write" - - "" - - - op_char = "0xC304" - - "" - - - pair_op = "just_work_pair" - - "" - - - op_len = 490 - - "" -- ID: BTSTK_SMP_50004 - <<: *SMP_CASE - category: Performance - test point 1: performance + stress - test point 2: BLE SMP GATT performance test - summary: GATT write char performance test after numberic comparision pair - Test App: SSC_BLE_PERF - steps: | - 1. update connection parameter - 2. do primary service discovery - 3. do write char for some time - expected result: | - 1. succeed - 2. succeed - 3. calculate throughput - execution time: 2 - cmd set: - - "BLEStress/BLESMPGATTPerformance" - - - test_time = 420 - - "" - - - mtu = 512 - - "" - - - gatt_op = "write" - - "" - - - op_char = "0xC304" - - "" - - - pair_op = "numberic_comparision_pair" - - "" - - - op_len = 490 - - "" -- ID: BTSTK_SMP_50005 - <<: *SMP_CASE - category: Performance - test point 1: performance + stress - test point 2: BLE SMP GATT performance test - summary: GATT notify performance test after just work pair - Test App: SSC_BLE_PERF - steps: | - 1. update connection parameter - 2. do primary service discovery - 3. do notify for some time - expected result: | - 1. succeed - 2. succeed - 3. calculate throughput - execution time: 2 - cmd set: - - "BLEStress/BLESMPGATTPerformance" - - - test_time = 420 - - "" - - - mtu = 512 - - "" - - - gatt_op = "notify" - - "" - - - op_char = "0xC305" - - "" - - - pair_op = "just_work_pair" - - "" - - - op_len = 490 - - "" -- ID: BTSTK_SMP_50006 - <<: *SMP_CASE - category: Performance - test point 1: performance + stress - test point 2: BLE SMP GATT performance test - summary: GATT notify performance test after numberic comparision pair - Test App: SSC_BLE_PERF - steps: | - 1. update connection parameter - 2. do primary service discovery - 3. do notify for some time - expected result: | - 1. succeed - 2. succeed - 3. calculate throughput - execution time: 2 - cmd set: - - "BLEStress/BLESMPGATTPerformance" - - - test_time = 420 - - "" - - - mtu = 512 - - "" - - - gatt_op = "notify" - - "" - - - op_char = "0xC305" - - "" - - - pair_op = "numberic_comparision_pair" - - "" - - - op_len = 490 - - "" -- ID: BTSTK_SMP_50007 - <<: *SMP_CASE - category: Performance - test point 1: performance + stress - test point 2: BLE SMP GATT performance test - summary: GATT indicate performance test after just work pair - Test App: SSC_BLE_PERF - steps: | - 1. update connection parameter - 2. do primary service discovery - 3. do notify for some time - expected result: | - 1. succeed - 2. succeed - 3. calculate throughput - execution time: 2 - cmd set: - - "BLEStress/BLESMPGATTPerformance" - - - test_time = 420 - - "" - - - mtu = 512 - - "" - - - gatt_op = "indicate" - - "" - - - pair_op = "just_work_pair" - - "" - - - op_char = "0xC306" - - "" - - - op_len = 490 - - "" -- ID: BTSTK_SMP_50008 - <<: *SMP_CASE - category: Performance - test point 1: performance + stress - test point 2: BLE SMP GATT performance test - summary: GATT indicate performance test after numberic comparision pair - Test App: SSC_BLE_PERF - steps: | - 1. update connection parameter - 2. do primary service discovery - 3. do notify for some time - expected result: | - 1. succeed - 2. succeed - 3. calculate throughput - execution time: 2 - cmd set: - - "BLEStress/BLESMPGATTPerformance" - - - test_time = 420 - - "" - - - mtu = 512 - - "" - - - gatt_op = "indicate" - - "" - - - pair_op = "numberic_comparision_pair" - - "" - - - op_char = "0xC306" - - "" - - - op_len = 490 - - "" -- ID: BTSTK_SMP_51001 - <<: *SMP_CASE - category: Performance - test point 1: performance + stress - test point 2: BLE SMP performance test - summary: BLE SMP Connect and disconnect performance test - steps: | - 1. DUT2 set AuthReqMode and RspKey - 2. DUT1 disconnect with DUT2 - 3. DUT2 start advertising - 4. DUT1 connect to DUT2 - 5. do service discovery - 6. loop step 1-4 - 7. check connection fail ratio and average conn time - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - 6. succeed - 7. meet pass standard - execution time: 6 - version: v1 (2017-05-19) - CI ready: 'No' - cmd set: - - "BLEStress/BLESMPConnPerformance" - - - "test_time = 420" - - "" - - - "average_conn_time = 3" - - "" - - - "fail_ratio = 0.01" - - "" - - - "fail_timeout = 10" - - "" -- ID: BTSTK_SMP_52001 - <<: *SMP_CASE - category: Performance - test point 1: performance + stress - test point 2: BLE SMP performance test for bond - summary: BLE SMP bond, remove, get bondlist, rebond - steps: | - 1. DUT1 bond 15 devices and get bond list - 2. DUT1 bond 16th device and get bond list - 3. rebond removed bond device and get bond list - 4. remove all bond and get bond list - 5. loop step 1 to step 4 - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - execution time: 2 - cmd set: - - "BLEStress/BLESMPBondPerformance" - - - test_time = 120 - - "" diff --git a/components/idf_test/integration_test/TC_IT_MESH_COMM.yml b/components/idf_test/integration_test/TC_IT_MESH_COMM.yml deleted file mode 100644 index a08de2d93c..0000000000 --- a/components/idf_test/integration_test/TC_IT_MESH_COMM.yml +++ /dev/null @@ -1,2876 +0,0 @@ -.MESH_COMM_CASE: &MESH_COMM_CASE - SDK: ESP32_IDF - Test App: SSC_MESH - auto test: 'Yes' - category: Function - execution time: 0.0 - module: Mesh - sub module: Communication - version: v1 (2018-08-15) - level: Integration - allow fail: '' - initial condition: MESH_INIT1 - CI ready: 'NO' - -.throughput_cmd_set: &throughput_cmd_set - LIST_MERGE: - - - 'bcn_interval = [None]' - - [''] - - - 'test_cycles = 2' - - [''] - - - 'send_len = [1460, 1024, 512, 256]' - - [''] - - - 'measure_time_sec = 30' - - [''] - - - 'send_interval = [0, 100]' - - - 'send_interval = [0, 100]' - - [''] - - - 'send_type = "ucast"' - - [''] - - - 'send_flag = 2' - - [''] - - -.mesh_config_all_duts_no_router: &mesh_config_all_duts_no_router - LIST_MERGE: - - - 'SSC SSC1 meshset -T -o 0 -t 1' - - ['P SSC1 C +MESHSET:TYPE,OK'] - - - 'MSSC SSC[2-] meshset -X -o 0 -i 1' - - ['P SSC[2-] C +MESHSET:FIX_ROOT,OK'] - - - 'MSSC SSC[1-] meshset -M -o 0 -t -e -l 10' - - ['P SSC[1-] C +MESHSET:MAP_AUTH,OK'] - - - 'SSC SSC[1-] meshset -G -o 0 -m -n -t -e - -i ' - - ['P SSC[1-] C +MESHSET:CFG,OK'] - - -.root_do_connect: &root_do_connect - LIST_MERGE: - - - 'SOC SOC1 LISTEN ' - - ['R SOC_COM L OK'] - - - 'SSC MNODE(0) mesh -S -o 0 -i -t ' - - ['P MNODE(0) C +CONNECT,OK', 'P SOC1 C ACCEPT'] - - - 'SOC SOC1 MACCEPT GSOC1' - - ['R SOC_COM L OK'] - -test cases: -- ID: MESH_COMM_0101 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -S -d -l 1000 -c 20 -b 20 -f 2 - - - P MNODE(0) C +MESHTXPKT,OK C +MESHSEND,OK C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. root send ucast to self - summary: no-child root send ucast to self with default parameters - CI ready: 'Yes' - test environment: SSC_T1_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0102 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -S -d -l 1000 -c 20 -b 20 -f 2 - - - P MNODE(0) C +MESHTXPKT,OK C +MESHSEND,OK C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. root send ucast to self - summary: root send ucast to self with default parameters - CI ready: 'Yes' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0103 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -S -d -l 1000 -c 20 -b 20 -f 2 - - - P MNODE(0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0,0) C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. root send ucast to L2 - summary: root send ucast to L2 with default parameters - CI ready: 'Yes' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0104 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -S -d -l 1000 -c 20 -b 20 -f 2 - - - P MNODE(0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0,0,0) C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. root send ucast to L3 - summary: root send ucast to L3 with default parameters - CI ready: 'Yes' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0105 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -S -d -l 1000 -c 20 -b 20 -f 2 - - - P MNODE(0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0,-1) C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. root send ucast to leaf - summary: root send ucast to leaf with default parameters - CI ready: 'NO' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0106 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0) meshsend -S -d -l 1000 -c 20 -b 20 -f 2 - - - P MNODE(0,0) C +MESHSEND,OK C +MESHTXPKT,OK - - P MNODE(0) C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. L2 send unicast to root - summary: L2 send unicast to root with default parameters - CI ready: 'Yes' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0107 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0) meshsend -S -d -l 1000 -c 20 -b 20 -f 2 - - - P MNODE(0,0) C +MESHSEND,OK C +MESHTXPKT,OK - - P MNODE(0,1) C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. L2 send unicast to brother - summary: L2 send unicast to brother with default parameters - CI ready: 'Yes' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0108 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0) meshsend -S -d -l 1000 -c 20 -b 20 -f 2 - - - P MNODE(0,0) C +MESHSEND,OK C +MESHTXPKT,OK - - P MNODE(0,0,0) C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. L2 send unicast to L3 - summary: L2 send unicast to L3 with default parameters - CI ready: 'NO' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0109 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0) meshsend -S -d -l 1000 -c 20 -b 20 -f 2 - - - P MNODE(0,0) C +MESHSEND,OK C +MESHTXPKT,OK - - P MNODE(0,1) C +MESHRXPKT,OK - - - DELAY 3 - - - '' - - - SSC MNODE(0,0) meshsend -S -d -l 1000 -c 20 -b 20 -f 2 - - - P MNODE(0,0) C +MESHSEND,OK C +MESHTXPKT,OK - - P MNODE(0,1) C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. L2 send unicast to brother - summary: L2 send unicast to brother, delay 3s, send again - CI ready: 'Yes' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0110 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0,0) meshsend -S -d -l 1000 -c 100 -b 20 -f 2 - - - P MNODE(0,0,0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0) C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. L3 send unicast to root - summary: L3 send unicast to root with default parameters - CI ready: 'Yes' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0111 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0,0) meshsend -S -d -l 1000 -c 100 -b 20 -f 2 - - - P MNODE(0,0,0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0,0) C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. L3 send unicast to L2 - summary: L3 send unicast to L2 with default parameters - CI ready: 'Yes' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0112 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0,0) meshsend -S -d -l 1000 -c 100 -b 20 -f 2 - - - P MNODE(0,0,0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0,0,0) C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. L3 send unicast to self - summary: L3 send unicast to self with default parameters - CI ready: 'NO' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0113 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,-1) meshsend -S -d -l 1000 -c 20 -b 20 -f 2 - - - P MNODE(0,-1) C +MESHSEND,OK C +MESHTXPKT,OK - - P MNODE(0) C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. leaf send unicast to root - summary: leaf send unicast to root with default parameters - CI ready: 'NO' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0114 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,-1) meshsend -S -d -l 1000 -c 20 -b 20 -f 2 - - - P MNODE(0,-1) C +MESHSEND,OK C +MESHRXPKT,OK C +MESHTXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. leaf send unicast to itself - summary: leaf send unicast to itself with default parameters - CI ready: 'NO' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0115 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,-1) meshsend -S -d -l 1000 -c 20 -b 20 -f 2 - - - P MNODE(0,-1) C +MESHSEND,OK C +MESHTXPKT,OK - - P MNODE(0,1) C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. leaf send unicast to another L2 node - summary: leaf send unicast to another l2 node with default parameters - CI ready: 'Yes' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0116 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,-1) meshsend -S -d -l 1000 -c 20 -b 20 -f 2 - - - P MNODE(0,-1) C +MESHSEND,OK C +MESHTXPKT,OK - - P MNODE(0,0,0) C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. leaf send unicast to another L3 node - summary: leaf send unicast to another L3 node with default parameters - CI ready: 'NO' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0117 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -S -d -l 1460 -c 20 -b 20 -f 8 - - - P MNODE(0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0) C TODS_PKT,OK - - - SSC MNODE(0) meshsend -S -d -l 1460 -c 20 -b 20 -f 4 - - - P MNODE(0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0,0) C +MESHRXPKT,OK - - - SSC MNODE(0) meshsend -S -d -l 1460 -c 20 -b 20 -f 0 - - - P MNODE(0) C +MESHTXPKT,FAIL C +MESHSEND,OK - expected result: |- - 1. fail - 2. succeed - 3. fail - steps: |- - 1. root send unicast to L2 with flag TODS - 2. root send unicast to L2 with flag FROMDS - 3. root send unicast to L2 without flag set - summary: root send unicast to L2 with different flag - CI ready: 'Yes' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0118 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0) meshsend -S -d -l 1460 -c 20 -b 20 -f 8 - - - P MNODE(0,0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0) C +MESHRXPKT,OK - - - SSC MNODE(0,0) meshsend -S -d -l 1460 -c 20 -b 20 -f 4 - - - P MNODE(0,0) C +MESHTXPKT,FAIL C +MESHSEND,OK - - - SSC MNODE(0,0) meshsend -S -d -l 1460 -c 20 -b 20 -f 0 - - - P MNODE(0,0) C +MESHTXPKT,FAIL C +MESHSEND,OK - expected result: |- - 1. succeed - 2. fail - 3. fail - steps: |- - 1. L2 send unicast to root with flag TODS - 1. L2 send unicast to root with flag FROMDS - 1. L2 send unicast to root without flag set - summary: node send unicast upward to root with different flag - CI ready: 'Yes' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0119 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - LOOP 4 1 "[0,1,2,3]" - - - '' - - - SSC MNODE(0,0) meshsend -S -d -l 1460 -c 20 -b 20 -f 2 -p {%d} - - - P MNODE(0,0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0) C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. L2 send unicast to root with differet protocal - summary: node send unicast with differet protocal - CI ready: 'NO' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0120 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - LOOP 4 1 "[0,1,2,3]" - - - '' - - - SSC MNODE(0) meshsend -S -d -l 1460 -c 20 -b 20 -f 2 -p {%d} - - - P MNODE(0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0,0) C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. root send unicast to L2 with differet protocal - summary: root send unicast with differet protocal - CI ready: 'NO' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0121 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -S -d -l 1460 -c 20 -b 20 -f 2 -t 0 - - - P MNODE(0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0,0) C +MESHRXPKT,OK - - - SSC MNODE(0) meshsend -S -d -l 1460 -c 20 -b 20 -f 2 -t 1 - - - P MNODE(0) C +MESHTXPKT,FAIL C +MESHSEND,OK - - - SSC MNODE(0) meshsend -S -d -l 1460 -c 20 -b 20 -f 2 -t 2 - - - P MNODE(0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0,0) C +MESHRXPKT,OK - - - SSC MNODE(0,0) meshsend -S -d -l 1460 -c 20 -b 20 -f 2 -t 2 - - - P MNODE(0,0) C +MESHTXPKT,FAIL C +MESHSEND,OK - - - SSC MNODE(0,0) meshsend -S -d -l 1460 -c 20 -b 20 -f 2 -t 0 - - - P MNODE(0,0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0) C +MESHRXPKT,OK - expected result: |- - 1. succeed - 2. failed - 3. succeed - 4. failed - 5. succeed - steps: |- - 1. root send unicast to L2 with tos = P2P - 2. root send unicast to L2 with tos = E2E - 3. root send unicast to L2 with tos = DEF - 4. L2 send unicast to root with tos = DEF - 5. L2 send unicast to root with tos = P2P - summary: node send unicast with different tos - CI ready: 'Yes' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0122 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -S -d -l 1460 -c 20 -b 20 -t 0 -p 1 -f 4 - - - P MNODE(0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0,0) C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. root send unicast to L2 with flag=FROMDS, protocal=HTTP, tos=P2P - summary: root send unicast with flag=FROMDS, protocal=HTTP, tos=P2P - CI ready: 'Yes' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0123 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -S -d -l 1460 -c 20 -b 20 -f 4 -p 1 - -t 1 - - - P MNODE(0) C +MESHTXPKT,FAIL - expected result: |- - 1. succeed - steps: |- - 1. root send unicast to L2 with flag=FROMDS, protocal=HTTP, tos=E2E - summary: root send unicast with flag=FROMDS, protocal=HTTP and tos=E2E - CI ready: 'Yes' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0124 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0) meshsend -S -d -l 1460 -c 20 -b 20 -f 8 -p 1 -t 0 - - - P MNODE(0) C +MESHRXPKT,OK - - P MNODE(0,0) C +MESHTXPKT,OK C +MESHSEND,OK - expected result: |- - 1. succeed - steps: |- - 1. L2 send unicast to root with flag=TODS, protocal=HTTP, tos=P2P - summary: node send unicast to root with flag=TODS, protocal=HTTP and tos=P2P - CI ready: 'NO' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0125 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0) meshsend -S -d -l 1460 -c 20 -b 20 -f 8 -p 1 -t 1 - - - P MNODE(0,0) C +MESHTXPKT,FAIL - expected result: |- - 1. succeed - steps: |- - 1. L2 send unicast to root with flag=TODS, protocal=HTTP, tos=E2E - summary: node send unicast to root with flag=TODS, protocal=HTTP and tos=E2E - CI ready: 'NO' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0126 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -S -d 01:00:5E:00:00:00 -l 1460 -c 20 -b 20 -f 8 - - - P MNODE(0) C TODS_PKT,OK C +MESHTXPKT,OK C +MESHSEND,OK - expected result: |- - 1. succeed - steps: |- - 1. root send unicast with multicast address - summary: root send unicast with multicast address wtth flag TODS - CI ready: 'Yes' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0127 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -S -d -l 1000 -c 20 -b 20 -f 2 - - - P MNODE(0) C +MESHSEND,OK - - P MNODE(0,0) C +MESHRXPKT,OK - - - SSC MNODE(0,0) meshsend -S -d -l 1000 -c 20 -b 20 -f 2 - - - P MNODE(0,0) C +MESHSEND,OK - - P MNODE(0) C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. meshsend unicast between two nodes - summary: meshsend unicast test between diffent nodes - CI ready: 'NO' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0128 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC SSC[1-] mesh -I - - - P SSC[1-] C +MESH:INIT,OK - - *mesh_config_all_duts_no_router - - - SSC SSC[1-] mesh -T - - - P SSC[1-] C +MESH:START,OK - - - DELAY - - - '' - - - SSC SSC[1-] mesh -Q -o 2 - - - P SSC[1-] T topo - - - MESHTREE - - - R PC_COM RE "MESHTREE:%%s"%%() - - - SSC MNODE(0) meshsend -S -d -l 1000 -c 20 -b 20 -f 2 - - - P MNODE(0) C +MESHSEND,OK - - P MNODE(0,0) C +MESHRXPKT,OK - - - SSC MNODE(0) meshsend -S -d -l 1000 -c 20 -b 20 -f 8 - - - P MNODE(0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0) C TODS_PKT,OK - - - SSC MNODE(0,0) meshsend -S -d -l 1000 -c 20 -b 20 -f 2 - - - P MNODE(0,0) C +MESHSEND,OK - - P MNODE(0) C +MESHRXPKT,OK - - - SSC MNODE(0,0) meshsend -S -d -l 1000 -c 20 -b 20 -f 8 - - - P MNODE(0,0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0) C TODS_PKT,OK - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - steps: |- - 1. set all duts to establish no router network - 2. layer1 send package to layer2 - 3. layer1 send package to DS - 4. layer2 send package to layer1 - 5. layer2 send package to DS - summary: no router network, meshsend unicast test - initial condition: MESH_DEINIT_STA - CI ready: 'Yes' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0129 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -S -d -l 1000 -c 20 -b 20 -f 2 - - - P MNODE(0) C +MESHSEND,OK C +MESHTXPKT,FAIL - expected result: |- - 1. succeed - steps: |- - 1. root send unicast with inexistent dst_addr - summary: root send unicast with inexistent dst_addr - CI ready: 'Yes' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0130 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -S -d -l 0 -c 20 -b 20 -f 2 - - - P MNODE(0) C +MESHTXPKT,FAIL C +MESHSEND,OK - - P MNODE(0,0) NC +MESHRXPKT,OK - - - SSC MNODE(0) meshsend -S -d -l 64 -c 20 -b 20 -f 2 - - - P MNODE(0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0,0) C +MESHRXPKT,OK - - - SSC MNODE(0) meshsend -S -d -l 1460 -c 20 -b 20 -f 2 - - - P MNODE(0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0,0) C +MESHRXPKT,OK - - - SSC MNODE(0) meshsend -S -d -l 1600 -c 20 -b 20 -f 2 - - - P MNODE(0) C +MESHTXPKT,FAIL C +MESHSEND,OK - - P MNODE(0,0) NC +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. root send unicast to another node with different length - summary: node send unicast to another node with different length - CI ready: 'Yes' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0131 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -S -d -l 1460 -c 20 -b 20 -f - - - P MNODE(0) C +MESHTXPKT,FAIL - - - ASSERT - - - '' - expected result: |- - 1. fail - steps: |- - 1. root send unicast to leaf with invalid flag value - summary: (ASSERT) root send unicast with invalid flag value - CI ready: 'NO' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: ucast meshsend test - active: "No" -- ID: MESH_COMM_0132 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -S -d -l 1460 -c 20 -b 20 -p - - - P MNODE(0) C +MESHTXPKT,FAIL - - - ASSERT - - - '' - expected result: |- - 1. fail - steps: |- - 1. root send unicast to leaf with invalid proto value - summary: (ASSERT) root send unicast with invalid proto value - CI ready: 'NO' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: ucast meshsend test - active: "No" -- ID: MESH_COMM_0133 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -S -d -l 1460 -c 20 -b 20 -t - - - P MNODE(0) C +MESHTXPKT,FAIL - - - ASSERT - - - '' - expected result: |- - 1. fail - steps: |- - 1. root send unicast to leaf with invalid tos value - summary: (ASSERT) root send unicast with invalid tos value - CI ready: 'NO' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: ucast meshsend test - active: "No" -- ID: MESH_COMM_0134 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,-1) meshsend -S -l 1460 -c 10 -b 100 -f 10 - - - P MNODE(0) C +MESHRXPKT,OK - - P MNODE(0,-1) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0,0) NC +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. leaf send unicast without dst_addr - summary: leaf send unicast without dst_addr but with flag=P2P|TODS (to root) - CI ready: 'Yes' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0135 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0) meshsend -S -d -l 1460 -c 200 -b 20 -f 2 - - - P MNODE(0) C +MESHRXPKT,OK - - - DELAY 2 - - - '' - - - SSC MNODE(0,0) meshsend -D - - - P MNODE(0,0) C +MESHSEND:STOP,OK - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. L2 send packets to root - 2. stop L2 send task - summary: stop send task when node send packets to root - CI ready: 'Yes' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0136 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -S -d -l 1460 -c 200 -b 20 -f 2 - - - '' - - - DELAY 2 - - - '' - - - SSC MNODE(0) meshsend -D - - - P MNODE(0) C +MESHSEND:STOP,OK - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. root send packets to L2 - 2. stop root send task - summary: stop send task when root send packets to L2 - CI ready: 'NO' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0137 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,-1) reboot - - - P MNODE(0,-1) C !!!ready!!! - - - DELAY 15 - - - '' - - - SSC MNODE(0) meshsend -S -d -l 1000 -c 20 -b 20 -f 2 - - - P MNODE(0) C +MESHTXPKT,FAIL C +MESHSEND,OK - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. disable a node - 2. root send unicast to this node - summary: root send unicast to disabled node - CI ready: 'Yes' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0138 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -S -d -l 1000 -c 20 -b 20 -f 2 - - - '' - - - SSC MNODE(0,-1) mesh -I -o 1 - - - P MNODE(0,-1) C +MESH:DEINIT,OK - - P MNODE(0) C +MESHTXPKT,FAIL C +MESHSEND,OK - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. root send unicast to leaf - 2. leaf deinit - summary: root send unicast to deinited node - CI ready: 'NO' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0139 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -P -p 1 - - - P MNODE(0) C +DELETE_MESHOPT - - - SSC MNODE(0) mesh -D -o 0 -g - - - P MNODE(0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0) mesh -D -o 0 -g - - - P MNODE(0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0) meshsend -P -p 0 -t 7 -l 12 - - - P MNODE(0) C +MESHSEND:OPTION,1 - - - SSC MNODE(0) meshsend -S -w 1 -d ff:ff:ff:ff:ff:ff -l 1000 -c 20 -b 20 -f 2 - - - P MNODE(0) C +MESHSEND,OK C +MESHTXPKT,OK - - P SSC[1-] C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. root send broadcast packet with multicast option - 2. todo - summary: root send broadcast packet with multicast option - CI ready: 'NO' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0140 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -P -p 1 - - - P MNODE(0) C +DELETE_MESHOPT - - - SSC MNODE(0) mesh -D -o 0 -g - - - P MNODE(0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0) mesh -D -o 0 -g - - - P MNODE(0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0) meshsend -P -p 0 -t 7 -l 12 - - - P MNODE(0) C +MESHSEND:OPTION,1 - - - SSC MNODE(0) meshsend -S -w 1 -d -l 1000 -c 20 -b 20 -f 2 - - - P MNODE(0) C +MESHSEND,OK C +MESHTXPKT,FAIL - expected result: |- - 1. succeed - steps: |- - 1. root send multicast to L2/L3 with unicast addr - summary: root send packet with unicast addr and multicast option - CI ready: 'Yes' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0141 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - MSSC SSC[1-] meshsend -S -d -l 1460 -c 50 -b 200 -f 2 - - - '' - - - DELAY 50 - - - P SSC[1-] C +MESHTXPKT,OK +MESHSEND,OK - - - SSC SSC[1-] mesh -Q -o 2 - - - R SSC[1-] T topo - - - MESHTREE - - - R PC_COM RE "MESHTREE:%%s%20nodes"%%() - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. all nodes send unicast to root - 1. check mesh network - summary: all nodes send unicast to root,check mesh network - CI ready: 'Yes' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0142 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0) meshsend -S -d -l 1460 -c 200 -b 50 -f 8 - - - '' - - - DELAY 2 - - - '' - - - SSC MNODE(0,0) meshsend -D - - - P MNODE(0,0) C +MESHSEND:STOP,OK - - - DELAY 10 - - - '' - - - SSC MNODE(0,0) meshsend -S -d -l 1460 -c 100 -b 100 -f 8 - - - P MNODE(0,0) C +MESHSEND,OK - expected result: |- - 1. succeed - steps: |- - 1. L2 send unicast to server - 2. L2 meshsend stop - 3. delay 10s,L2 send unicast to server again - summary: node send unicast to server with stop - CI ready: 'No' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: ucast meshsend test -- ID: MESH_COMM_0201 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -P -p 1 - - - P MNODE(0) C +DELETE_MESHOPT - - - SSC MNODE(0) mesh -D -o 0 -g - - - P MNODE(0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0) meshsend -P -p 0 -t 7 -l 6 - - - P MNODE(0) C +MESHSEND:OPTION,1 - - - SSC MNODE(0) meshsend -S -w 1 -d 01:00:5E:00:00:00 -l 1200 -c 20 -b 20 -f 2 - - - P MNODE(0) C +MESHSEND,OK C +MESHTXPKT,OK C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. root send multicast to root - summary: no-child root send multicast to root with default parameters - CI ready: 'Yes' - test environment: SSC_T1_MESH1 - test point 1: basic function - test point 2: multicast test -- ID: MESH_COMM_0202 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -P -p 1 - - - P MNODE(0) C +DELETE_MESHOPT - - - SSC MNODE(0) mesh -D -o 0 -g - - - P MNODE(0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0) meshsend -P -p 0 -t 7 -l 6 - - - P MNODE(0) C +MESHSEND:OPTION,1 - - - SSC MNODE(0) meshsend -S -w 1 -d 01:00:5E:00:00:00 -l 1200 -c 20 -b 20 -f 2 - - - P MNODE(0) C +MESHSEND,OK C +MESHTXPKT,OK C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. root send multicast to root - summary: root send multicast to root with default parameters - CI ready: 'NO' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: multicast test -- ID: MESH_COMM_0203 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -P -p 1 - - - P MNODE(0) C +DELETE_MESHOPT - - - SSC MNODE(0) mesh -D -o 0 -g - - - P MNODE(0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0) mesh -D -o 0 -g - - - P MNODE(0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0) meshsend -P -p 0 -t 7 -l 12 - - - P MNODE(0) C +MESHSEND:OPTION,1 - - - SSC MNODE(0) meshsend -S -w 1 -d 01:00:5E:00:00:00 -l 1000 -c 20 -b 20 -f 2 - - - P MNODE(0) C +MESHSEND,OK C +MESHTXPKT,OK - - P MNODE(0,0) C +MESHRXPKT,OK - - P MNODE(0,0,0) C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. root send multicast to L2/L3 - summary: root send multicast to L2/L3 with default parameters - CI ready: 'Yes' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: multicast test -- ID: MESH_COMM_0204 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0) meshsend -P -p 1 - - - P MNODE(0,0) C +DELETE_MESHOPT - - - SSC MNODE(0,0) mesh -D -o 0 -g - - - P MNODE(0,0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0,0) meshsend -P -p 0 -t 7 -l 12 - - - P MNODE(0,0) C +MESHSEND:OPTION,1 - - - SSC MNODE(0,0) meshsend -S -w 1 -d 01:00:5E:00:00:00 -l 1000 -c 20 -b 20 -f - 2 - - - P MNODE(0,0) C +MESHSEND,OK C +MESHTXPKT,OK C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. L2 send multicast to itself - summary: L2 send multicast to itself with default parameters - CI ready: 'NO' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: multicast test -- ID: MESH_COMM_0205 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0) meshsend -P -p 1 - - - P MNODE(0,0) C +DELETE_MESHOPT - - - SSC MNODE(0,0) mesh -D -o 0 -g - - - P MNODE(0,0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0,0) mesh -D -o 0 -g - - - P MNODE(0,0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0,0) meshsend -P -p 0 -t 7 -l 12 - - - P MNODE(0,0) C +MESHSEND:OPTION,1 - - - SSC MNODE(0,0) meshsend -S -w 1 -d 01:00:5E:00:00:00 -l 1000 -c 20 -b 20 -f - 2 - - - P MNODE(0,0) C +MESHSEND,OK C +MESHTXPKT,OK - - P MNODE(0) C +MESHRXPKT,OK - - P MNODE(0,0,0) C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. L2 send multicast to L1/L3 - summary: L2 send multicast to L1/L3 with default parameters - CI ready: 'Yes' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: multicast test -- ID: MESH_COMM_0206 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0,0) meshsend -P -p 1 - - - P MNODE(0,0,0) C +DELETE_MESHOPT - - - SSC MNODE(0,0,0) mesh -D -o 0 -g - - - P MNODE(0,0,0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0,0,0) mesh -D -o 0 -g - - - P MNODE(0,0,0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0,0,0) meshsend -P -p 0 -t 7 -l 12 - - - P MNODE(0,0,0) C +MESHSEND:OPTION,1 - - - SSC MNODE(0,0,0) meshsend -S -w 1 -d 01:00:5E:00:00:00 -l 1000 -c 20 -b 20 -f - 2 - - - P MNODE(0,0,0) C +MESHSEND,OK C +MESHTXPKT,OK - - P MNODE(0,0) C +MESHRXPKT,OK - - P MNODE(0) C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. L3 send multicast to L1/L2 - summary: L3 send multicast to L1/L2 with default parameters - CI ready: 'NO' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: multicast test -- ID: MESH_COMM_0207 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0,0) meshsend -P -p 1 - - - P MNODE(0,0,0) C +DELETE_MESHOPT - - - SSC MNODE(0,0,0) mesh -D -o 0 -g - - - P MNODE(0,0,0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0,0,0) meshsend -P -p 0 -t 7 -l 6 - - - P MNODE(0,0,0) C +MESHSEND:OPTION,1 - - - SSC MNODE(0,0,0) meshsend -S -w 1 -d 01:00:5E:00:00:00 -l 1000 -c 20 -b 20 -f - 2 - - - P MNODE(0,0,0) C +MESHSEND,OK C +MESHTXPKT,OK C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. L3 send multicast to itself - summary: L3 send multicast to itself with default parameters - CI ready: 'NO' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: multicast test -- ID: MESH_COMM_0208 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0) meshsend -P -p 1 - - - P MNODE(0,0) C +DELETE_MESHOPT - - - SSC MNODE(0,0) mesh -D -o 0 -g - - - P MNODE(0,0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0,0) mesh -D -o 0 -g - - - P MNODE(0,0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0,0) meshsend -P -p 0 -t 7 -l 12 - - - P MNODE(0,0) C +MESHSEND:OPTION,1 - - - SSC MNODE(0,0) meshsend -S -w 1 -d 01:00:5E:00:00:00 -l 1000 -c 20 -b 20 -f - 2 - - - P MNODE(0,0) C +MESHSEND,OK C +MESHTXPKT,OK C +MESHRXPKT,OK - - P MNODE(0) C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. L2 send multicast to itself/root - summary: L2 send multicast to root/itself with default parameters - CI ready: 'Yes' - test environment: SSC_T6_MESH1 - test point 1: basic function - test point 2: multicast test -- ID: MESH_COMM_0209 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0,0) meshsend -P -p 1 - - - P MNODE(0,0,0) C +DELETE_MESHOPT - - - SSC MNODE(0,0,0) mesh -D -o 0 -g - - - P MNODE(0,0,0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0,0,0) mesh -D -o 0 -g - - - P MNODE(0,0,0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0,0,0) mesh -D -o 0 -g - - - P MNODE(0,0,0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0,0,0) meshsend -P -p 0 -t 7 -l 18 - - - P MNODE(0,0,0) C +MESHSEND:OPTION,1 - - - SSC MNODE(0,0,0) meshsend -S -w 1 -d 01:00:5E:00:00:00 -l 1000 -c 20 -b 20 -f - 2 - - - P MNODE(0,0,0) C +MESHSEND,OK C +MESHTXPKT,OK C +MESHRXPKT,OK - - P MNODE(0) C +MESHRXPKT,OK - - P MNODE(0,0) C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. L3 send multicast to itself/L1/L2 - summary: L3 send multicast to itself/L1/L2 with default parameters - CI ready: 'Yes' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: multicast test -- ID: MESH_COMM_0210 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -P -p 1 - - - P MNODE(0) C +DELETE_MESHOPT - - - SSC MNODE(0) mesh -D -o 0 -g - - - P MNODE(0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0) mesh -D -o 0 -g - - - P MNODE(0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0) meshsend -P -p 0 -t 7 -l 12 - - - P MNODE(0) C +MESHSEND:OPTION,1 - - - SSC MNODE(0) meshsend -S -w 1 -d 01:00:5E:00:00:00 -l 1000 -c 10 -b 20 -f 2 - - - P MNODE(0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0,0) C +MESHRXPKT,OK - - - DELAY 5 - - '' - - - SSC MNODE(0,0) mesh -Q -o 6 - - - P MNODE(0,0) RE \+MESH_RECV_CNT:\d+, - expected result: |- - 1. succeed - steps: |- - 1. root send multicast with duplicate mac list in option list - summary: root send multicast with duplicate mac list in option list - CI ready: 'Yes' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: multicast test -- ID: MESH_COMM_0211 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0,0) meshsend -P -p 1 - - - P MNODE(0,0,0) C +DELETE_MESHOPT - - - SSC MNODE(0,0,0) mesh -D -o 0 -g - - - P MNODE(0,0,0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0,0,0) mesh -D -o 0 -g - - - P MNODE(0,0,0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0,0,0) meshsend -P -p 0 -t 7 -l 12 - - - P MNODE(0,0,0) C +MESHSEND:OPTION,1 - - - SSC MNODE(0,0,0) meshsend -S -w 1 -d 01:00:5E:00:00:00 -l 1000 -c 10 -b 20 -f - 2 - - - P MNODE(0,0,0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0) C +MESHRXPKT,OK - - - DELAY 5 - - '' - - - SSC MNODE(0) mesh -Q -o 6 - - - P MNODE(0) RE \+MESH_RECV_CNT:\d+, - expected result: |- - 1. succeed - steps: |- - 1. L3 send multicast with duplicate mac list in option list - summary: L3 send multicast with duplicate mac list in option list - CI ready: 'NO' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: multicast test -- ID: MESH_COMM_0212 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0,0) meshsend -P -p 1 - - - P MNODE(0,0,0) C +DELETE_MESHOPT - - - SSC MNODE(0,0,0) mesh -D -o 0 -g - - - P MNODE(0,0,0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0,0,0) mesh -D -o 0 -g - - - P MNODE(0,0,0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0,0,0) meshsend -P -p 0 -t 7 -l 12 - - - P MNODE(0,0,0) C +MESHSEND:OPTION,1 - - - SSC MNODE(0,0,0) meshsend -S -w 1 -d 01:00:5E:00:00:00 -l 0 -c 10 -b 20 -f 2 - - - P MNODE(0,0,0) C +MESHTXPKT,FAIL C +MESHSEND,OK - - P MNODE(0,0) NC +MESHRXPKT,OK - - - SSC MNODE(0,0,0) meshsend -S -w 1 -d 01:00:5E:00:00:00 -l 1000 -c 10 -b 20 -f 2 - - - P MNODE(0,0,0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0) C +MESHRXPKT,OK - - - SSC MNODE(0,0,0) meshsend -S -w 1 -d 01:00:5E:00:00:00 -l 1460 -c 10 -b 20 -f 2 - - - P MNODE(0,0,0) C +MESHTXPKT,FAIL C +MESHSEND,OK - expected result: |- - 1. succeed - steps: |- - 1. L3 send multicast with different length - summary: node send multicast with different length - CI ready: 'NO' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: multicast test -- ID: MESH_COMM_0301 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -S -d ff:ff:ff:ff:ff:ff -l 1460 -c 10 -b 20 -f 2 - - - P MNODE(0) C +MESHSEND,OK - expected result: |- - 1. succeed - steps: |- - 2. root send broadcast - summary: no-child root send broadcast with default parameters - CI ready: 'NO' - test environment: SSC_T1_MESH1 - test point 1: basic function - test point 2: broadcast test -- ID: MESH_COMM_0302 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -S -d ff:ff:ff:ff:ff:ff -l 1460 -c 10 -b 20 -f 2 - - - P MNODE(0) C +MESHSEND,OK C +MESHTXPKT,OK - - P SSC[1-] C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 2. root send broadcast - summary: root send broadcast with default parameters - CI ready: 'Yes' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: broadcast test -- ID: MESH_COMM_0303 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0) meshsend -S -d ff:ff:ff:ff:ff:ff -l 1460 -c 10 -b 20 -f 2 - - - P MNODE(0,0) C +MESHSEND,OK C +MESHTXPKT,OK - - P SSC[1-] C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. L2 send broadcast - summary: L2 send broadcast with default parameters - CI ready: 'Yes' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: broadcast test -- ID: MESH_COMM_0304 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0,0) meshsend -S -d ff:ff:ff:ff:ff:ff -l 1460 -c 10 -b 20 -f 2 - - - P MNODE(0,0,0) C +MESHSEND,OK C +MESHTXPKT,OK - - P SSC[1-] C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. L3 send broadcast - summary: L3 send broadcast with default parameters - CI ready: 'NO' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: broadcast test -- ID: MESH_COMM_0305 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,-1) meshsend -S -d ff:ff:ff:ff:ff:ff -l 1460 -c 10 -b 20 -f 2 - - - P MNODE(0,-1) C +MESHSEND,OK C +MESHTXPKT,OK - - P SSC[1-] C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. leaf send broadcast - summary: leaf send broadcast with default parameters - CI ready: 'Yes' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: broadcast test -- ID: MESH_COMM_0401 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -S -d -l 1000 -c 20 -b 20 -f 8 - - - P MNODE(0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0) C TODS_PKT,OK - expected result: |- - 1. succeed - steps: |- - 1. root send ucast to server - summary: root send ucast tods server with default parameters - CI ready: 'Yes' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: meshsend tods and fromds test -- ID: MESH_COMM_0402 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,-1) meshsend -S -d -l 1000 -c 20 -b 20 -f 8 - - - P MNODE(0,-1) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0) C TODS_PKT,OK - expected result: |- - 1. succeed - steps: |- - 1. leaf send unicast to server - summary: leaf send unicast tods server with default parameters - CI ready: 'Yes' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: meshsend tods and fromds test -- ID: MESH_COMM_0403 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0) meshsend -S -d -l 1000 -c 20 -b 20 -f 8 - - - P MNODE(0,0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0) C TODS_PKT,OK - expected result: |- - 1. succeed - steps: |- - 1. L2 send multicast to server - summary: L2 send unicast tods server with default parameters - CI ready: 'Yes' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: meshsend tods and fromds test -- ID: MESH_COMM_0404 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -P -p 1 - - - P MNODE(0) C +DELETE_MESHOPT - - - SSC MNODE(0) mesh -D -o 0 -g - - - P MNODE(0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0) meshsend -P -p 0 -t 7 -l 6 - - - P MNODE(0) C +MESHSEND:OPTION,1 - - - SSC MNODE(0) meshsend -S -w 1 -d 01:00:5E:00:00:00 -l 1200 -c 20 -b 20 -f 2 - - - P MNODE(0) C +MESHSEND,OK C +MESHTXPKT,FAIL - expected result: |- - 1. succeed - steps: |- - 1. root send multicast to server - summary: root send multicast to server with default parameters - CI ready: 'NO' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: meshsend tods and fromds test -- ID: MESH_COMM_0405 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0) meshsend -P -p 1 - - - P MNODE(0,0) C +DELETE_MESHOPT - - - SSC MNODE(0,0) mesh -D -o 0 -g - - - P MNODE(0,0) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0,0) meshsend -P -p 0 -t 7 -l 6 - - - P MNODE(0,0) C +MESHSEND:OPTION,1 - - - SSC MNODE(0,0) meshsend -S -w 1 -d 01:00:5E:00:00:00 -l 1200 -c 20 -b 20 -f 2 - - - P MNODE(0,0) C +MESHSEND,OK C +MESHTXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. L2 send multicast to server - summary: L2 send multicast to server with default parameters - CI ready: 'NO' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: meshsend tods and fromds test -- ID: MESH_COMM_0406 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,-1) meshsend -P -p 1 - - - P MNODE(0,-1) C +DELETE_MESHOPT - - - SSC MNODE(0,-1) mesh -D -o 0 -g - - - P MNODE(0,-1) C +MESH_ADDR_LIST_ADD - - - SSC MNODE(0,-1) meshsend -P -p 0 -t 7 -l 6 - - - P MNODE(0,-1) C +MESHSEND:OPTION,1 - - - SSC MNODE(0,-1) meshsend -S -w 1 -d 01:00:5E:00:00:00 -l 1200 -c 20 -b 20 -f 2 - - - P MNODE(0,-1) C +MESHSEND,OK C +MESHTXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. leaf send multicast to server - summary: leaf send multicast to server with default parameters - CI ready: 'NO' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: meshsend tods and fromds test -- ID: MESH_COMM_0407 - <<: *MESH_COMM_CASE - cmd set: - - '' - - *root_do_connect - - - SSC MNODE(0) mesh -Q -o 9 - - - P MNODE(0) C +CLEAR_COUNT - - - SOC GSOC1 MSEND 1460 10 200 - - - P SOC_COM C MESHSEND:OK - - P MNODE(0) C +MESHRXPKT,OK - - - DELAY 5 - - '' - - - SSC MNODE(0) mesh -Q -o 6 - - - P MNODE(0) RE \+MESH_RECV_CNT:\d+, - expected result: |- - 1. succeed - steps: |- - 1. server send unicast to root - summary: server send unicast to root with common package - test environment: SSC_T3_MESH2 - test point 1: basic function - test point 2: meshsend tods and fromds test -- ID: MESH_COMM_0408 - <<: *MESH_COMM_CASE - cmd set: - - '' - - *root_do_connect - - - MESHOPT string "070c00" - - - R PC_COM C +MESHOPT:OK - - - SOC GSOC1 MSEND 01:00:5E:00:00:00 1000 10 200 - - - P SOC_COM C MESHSEND:OK - - P MNODE(0,0) C +MESHRXPKT,OK - - P MNODE(0) C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. server send multicast to node - summary: server send multicast to node - test environment: SSC_T12_MESH2 - test point 1: basic function - test point 2: meshsend tods and fromds test -- ID: MESH_COMM_0409 - <<: *MESH_COMM_CASE - cmd set: - - '' - - *root_do_connect - - - SOC GSOC1 MSEND ff:ff:ff:ff:ff:ff 100 10 200 - - - P SOC_COM C MESHSEND:OK - - P MNODE(0) C +MESHRXPKT,OK - - P MNODE(0,0) C +MESHRXPKT,OK - - P MNODE(0,0,0) C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. server send broadcast - summary: server send broadcast - test environment: SSC_T12_MESH2 - test point 1: basic function - test point 2: meshsend tods and fromds test -- ID: MESH_COMM_0410 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC1 meshset -T -o 0 -t 3 - - - P SSC1 C +MESHSET:TYPE,OK - - - SSC SSC[1-2] meshset -G -o 0 -m -s -p -n -t - -e -i - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC[1-2] mesh -T - - - P SSC[1-2] C +MESH:START,OK - - - DELAY 10 - - - '' - - - SSC SSC[1-2] mesh -Q -o 2 - - - P SSC[1-2] T topo - - - MESHTREE - - - R PC_COM C MESHTREE:2%20nodes - - - SSC SSC2 meshsend -S -d -l 1000 -c 20 -b 20 -f 2 - - - P SSC2 C +MESHSEND,OK - - P SSC1 C +MESHRXPKT,OK - - - SSC SSC1 meshsend -S -d -l 1000 -c 20 -b 20 -f 2 - - - P SSC1 C +MESHSEND,OK - - P SSC2 C +MESHRXPKT,OK - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. set one leaf node ssc1 and a normal node ssc2 - 2. ssc2 send package to ssc1 - 3. ssc1 send package to ssc2 - summary: normal node send unicast to leaf type node, leaf type node send unicast to normal root - initial condition: MESH_DEINIT_STA - CI ready: 'Yes' - test environment: SSC_T3_MESH1 - test point 1: basic function - test point 2: meshsend tods and fromds test -- ID: MESH_COMM_0501 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) mesh -Q -o 10 - - - P MNODE(0) C +ROUTETABLE,OK - - - SSC MNODE(0) meshsend -S -w 2 -l 1000 -c 20 -b 20 -f 2 - - - P MNODE(0) C +MESHTXPKT,OK C +MESHSEND,OK - - P SSC[1-] C +MESHRXPKT,OK - expected result: |- - 1. succeed - steps: |- - 1. root table send test - summary: root table send test with default parameters - CI ready: 'Yes' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: table send test -- ID: MESH_COMM_0502 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0) mesh -Q -o 10 - - - P MNODE(0,0) C +ROUTETABLE,OK - - - SSC MNODE(0,0) meshsend -S -w 2 -l 1000 -c 20 -b 20 -f 2 - - - P MNODE(0,0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0,0) C +MESHRXPKT,OK - - P MNODE(0,0,0) C +MESHRXPKT,OK - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. mesh init - 2. mesh config - 3. mesh start - 4. L2 table send test - summary: L2 table send test with default parameters - CI ready: 'Yes' - test environment: SSC_T12_MESH1 - test point 1: basic function - test point 2: table send test -- ID: MESH_COMM_0601 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC SSC[1-] mesh -I - - - P SSC[1-] C +MESH:INIT,OK - - - SSC SSC[1-] meshset -G -o 0 -m -s -p -n - -b -t -e -i 0 - - - P SSC[1-] C +MESHSET:CFG,OK - - - SSC SSC[1-] mesh -T - - - P SSC[1-] C +MESH:START,OK - - - DELAY - - - '' - - - SSC SSC[1-] mesh -Q -o 2 - - - R SSC[1-] T topo - - - MESHTREE - - - R PC_COM RE "MESHTREE:%%s%20nodes"%%() - - - SSC MNODE(0) meshsend -S -d -l 1460 -c 20 -b 20 -f 2 - - - P MNODE(0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0,-1) C +MESHRXPKT,OK - - - SSC MNODE(0,-1) meshsend -S -d -l 1460 -c 20 -b 20 -f 2 - - - P MNODE(0,-1) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0) C +MESHRXPKT,OK - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. mesh init - 2. mesh config: beacon_encrypt=True - 3. mesh start - 4. root send unicast to L2 and leaf with beacon_encrypt=0 - summary: unicast send test after network established with beacon_encrypt=0 - initial condition: MESH_DEINIT_STA - CI ready: 'NO' - test environment: SSC_T6_MESH1 - test point 1: basic function - test point 2: mixed meshsend test -- ID: MESH_COMM_0602 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC SSC[1-] mesh -I - - - P SSC[1-] C +MESH:INIT,OK - - - SSC SSC[1-] meshset -G -o 0 -m -s -p -n - -b -t -e -i 1 - - - P SSC[1-] C +MESHSET:CFG,OK - - - SSC SSC[1-] mesh -T - - - P SSC[1-] C +MESH:START,OK - - - DELAY - - - '' - - - VALUE - - - R PC_COM L OK - - - SSC SSC[1-] mesh -Q -o 2 - - - R SSC[1-] T topo - - - MESHTREE - - - R PC_COM RE "MESHTREE:%%s"%%() - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC MNODE(0) mesh -S -o 0 -i -t - - - P MNODE(0) C +CONNECT,OK, P SOC1 C ACCEPT - - - SOC SOC1 MACCEPT GSOC1 - - - R SOC_COM L OK - - - SOC GSOC1 MSEND 1460 10 200 - - - P SOC_COM C MESHSEND,OK - - P MNODE(0) C +MESHRXPKT,OK - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. mesh init - 2. mesh config: set assoc_encrypt=True - 3. mesh start - 4. server send unicast to root with assoc_encrypt=True - summary: server send unicast to root after network established with beacon_encrypt=1 - initial condition: MESH_DEINIT_STA - CI ready: 'NO' - test environment: SSC_T12_MESH2 - test point 1: basic function - test point 2: mixed meshsend test -- ID: MESH_COMM_0701 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0,0) meshsend -S -d -l 1000 -c 100 -b 20 -f 2 - - - P MNODE(0,0,0) C +MESHTXPKT,OK - - P MNODE(0) C +MESHRXPKT,OK - - - SSC MNODE(0,0) reboot - - - P MNODE(0,0) C !!!ready!!! - - P MNODE(0,0,0) C +MESHTXPKT,FAIL C +MESHSEND,OK - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. L3 node send unicast to root - 2. disable the parent node - summary: disable parent node when node send unicast to root - CI ready: 'Yes' - test environment: SSC_T12_MESH1 - test point 1: abnormal user - test point 2: destory network -- ID: MESH_COMM_0702 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0) meshsend -S -d -l 1000 -c 100 -b 50 -f 2 - - - P MNODE(0,0) C +MESHTXPKT,OK - - - DELAY 1 - - - '' - - - SSC MNODE(0) reboot - - - P MNODE(0) C !!!ready!!! - - - DELAY 5 - - P MNODE(0,0) C MESHTXPKT,FAIL C +MESHSEND,OK - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. L2 node send unicast to its' brother node - 2. disable its' parent node - summary: disable parent node when L2 node send unicast to its' brother node - CI ready: 'Yes' - test environment: SSC_T3_MESH1 - test point 1: abnormal user - test point 2: destory network -- ID: MESH_COMM_0703 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0,0) meshsend -S -d -l 1000 -c 100 -b 20 -f 2 - - - P MNODE(0,0,0) C +MESHTXPKT,OK - - - SSC MNODE(0,0) reboot - - - P MNODE(0,0) C !!!ready!!! - - - DELAY 5 - - - P MNODE(0,0,0) C +MESHTXPKT,FAIL C +MESHSEND,OK - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. L3 node send unicast to its' brother node - 2. disable its' parent node - summary: disable parent node when L3 node send unicast to its' brother node - CI ready: 'Yes' - test environment: SSC_T12_MESH1 - test point 1: abnormal user - test point 2: destory network -- ID: MESH_COMM_0704 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) mesh -R -o 1 - - - P MNODE(0) C +MESHRX:STOP,OK - - - SSC MNODE(0,0) meshsend -S -d -l 1460 -c 20 -b 20 -f 2 - - - '' - - - DELAY 3 - - - P PC_COM C DELAYDONE - - P MNODE(0,0) C +MESHTXPKT,OK NC +MESHSEND,OK - - P MNODE(0) NC +MESHRXPKT,OK - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. disable recv task on root - 2. L2 node send unicast to root - summary: disable a node recv task, another node send unicast to the node - CI ready: 'Yes' - test environment: SSC_T3_MESH1 - test point 1: abnormal user - test point 2: destory network -- ID: MESH_COMM_0705 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -S -d -l 1460 -c 100 -b 20 -f 2 - - - P MNODE(0) C +MESHTXPKT,OK - - P MNODE(0,0) C +MESHRXPKT,OK - - - SSC MNODE(0,0) mesh -R -o 1 - - - P MNODE(0,0) C +MESHRX:STOP,OK - - P MNODE(0) C +MESHTXPKT,OK C +MESHSEND,OK - - - SSC MNODE(0,0) mesh -R - - - P MNODE(0,0) C +MESHRXPKT,OK - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. root node send unicast to L2 - 2. disable L2 recv task - summary: disable recv task while another node send unicast to the node - CI ready: 'NO' - test environment: SSC_T3_MESH1 - test point 1: abnormal user - test point 2: destory network -- ID: MESH_COMM_0706 - <<: *MESH_COMM_CASE - cmd set: - - '' - - *root_do_connect - - - SOC GSOC1 MSEND 1000 50 200 - - - '' - - - SSC MNODE(0) mesh -R -o 1 - - - P MNODE(0) C +MESHRX:STOP,OK - - - DELAY 30 - - - '' - expected result: |- - 1. succeed - steps: |- - 1. disable the recv task while server sending unicast to the node - summary: disable recv task while server sending unicast to the node - CI ready: 'NO' - test environment: SSC_T3_MESH2 - test point 1: abnormal user - test point 2: destory network -- ID: MESH_COMM_0707 - <<: *MESH_COMM_CASE - cmd set: - - '' - - *root_do_connect - - - SSC SSC[1-] meshsend -S -d -l 1460 -c 100 -b 20 -f 8 - - - P SSC[1-] C +MESHTXPKT,OK - - P MNODE(0) C TODS_PKT,OK - - - SSC MNODE(0) reboot - - - P MNODE(0) C !!!ready!!! - - - DELAY - - - '' - - - MSSC SSC[1-] mesh -Q -o 2 - - - P SSC[1-] T topo - - - MESHTREE - - - R PC_COM RE "MESHTREE:%%s%20nodes"%%() - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. all nodes send unicast to server - 2. disable root - summary: disable root when all nodes send unicast to server - CI ready: 'NO' - test environment: SSC_T12_MESH2 - test point 1: abnormal user - test point 2: destory network -- ID: MESH_COMM_0708 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC SSC[1-] meshsend -S -d -l 1460 -c 100 -b 20 -f 2 - - - '' - - - SSC MNODE(0) reboot - - - P MNODE(0) C !!!ready!!! - - - DELAY - - - '' - - - MSSC SSC[1-] mesh -Q -o 2 - - - P SSC[1-] T topo - - - MESHTREE - - - R PC_COM RE "MESHTREE:%%s%20nodes"%%() - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. all nodes send unicast to root - 2. disable root - summary: disable root when all nodes send unicast to root - CI ready: 'NO' - test environment: SSC_T12_MESH1 - test point 1: abnormal user - test point 2: destory network -- ID: MESH_COMM_0709 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0) meshsend -S -d -l 1460 -c 2000 -b 20 -f 2 - - - P MNODE(0) C +MESHTXPKT,OK - - - DELAY 2 - - - '' - - - SSC MNODE(0,0) mesh -T -o 1 - - - P MNODE(0,0) C +MESH:STOP,OK - - P MNODE(0) C +MESHTXPKT,OK - - - SSC MNODE(0) meshsend -D - - - P MNODE(0) C +MESHSEND:STOP,OK - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. root send packets to L2 - 2. disable the recv node when root send packets - summary: recv node disable when root send packets to node - CI ready: 'NO' - test environment: SSC_T3_MESH1 - test point 1: abnormal user - test point 2: destory network -- ID: MESH_COMM_0710 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0) meshsend -S -d -l 1460 -c 2000 -b 20 -f 2 - - - "" - - - DELAY 2 - - - '' - - - SSC MNODE(0) reboot - - - P MNODE(0) C !!!ready!!! - - P MNODE(0,0) C +MESHTXPKT,FAIL - - - SSC MNODE(0,0) meshsend -D - - - P MNODE(0,0) C +MESHSEND:STOP,OK - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. L2 send packets to root - 2. disable the recv node when root send packets - summary: recv node disable when L2 send packets to the node - CI ready: 'NO' - test environment: SSC_T3_MESH1 - test point 1: abnormal user - test point 2: destory network -- ID: MESH_COMM_0711 - <<: *MESH_COMM_CASE - cmd set: - - '' - - - SSC MNODE(0,0) meshsend -S -d -l 1460 -c 2000 -b 20 -f 8 - - - P MNODE(0,0) C +MESHTXPKT,OK - - - DELAY 2 - - - '' - - - SSC MNODE(0) mesh -R -o 1 - - - P MNODE(0) C +MESHRX:STOP,OK - - - DELAY 5 - - - P PC_COM C DELAYDONE - - P MNODE(0,0) NC +MESHTXPKT,FAIL - - - SSC MNODE(0) mesh -R - - - P MNODE(0) C +MESHRX:START,OK - - - SSC MNODE(0,0) meshsend -D - - - P MNODE(0,0) C +MESHSEND:STOP,OK - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. L2 send packets to server - 2. server close when L2 send packets to server - summary: server close when node send packets to server - CI ready: 'NO' - test environment: SSC_T3_MESH1 - test point 1: abnormal user - test point 2: destory network -- ID: MESH_COMM_0712 - <<: *MESH_COMM_CASE - cmd set: - - '' - - *root_do_connect - - - SSC MNODE(0) meshsend -S -d -l 1460 -c 2000 -b 20 -f 8 - - - '' - - - DELAY 2 - - - '' - - - SOC GSOC1 CLOSE - - - P MNODE(0) C +TCPSOC:CLOSED - - - DELAY 5 - - - P PC_COM C DELAYDONE - - P MNODE(0) C +MESHTXPKT,OK NC +MESHTXPKT,FAIL - - - SSC MNODE(0) meshsend -D - - - P MNODE(0) C +MESHSEND:STOP,OK - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. root send packets to server - 2. server close when root send packets to server - summary: server close when root send packets to server - CI ready: 'NO' - test environment: SSC_T3_MESH2 - test point 1: abnormal user - test point 2: destory network -- ID: MESH_COMM_0713 - <<: *MESH_COMM_CASE - cmd set: - - '' - - *root_do_connect - - - SSC MNODE(0,0,0) meshsend -S -d -l 1460 -c 2000 -b 20 -f 8 - - - "" - - - DELAY 2 - - - '' - - - SOC GSOC1 CLOSE - - - P MNODE(0) C +TCPSOC:CLOSED - - - DELAY 5 - - - P PC_COM C DELAYDONE - - P MNODE(0,0,0) C +MESHTXPKT,OK NC +MESHTXPKT,FAIL - - - SSC MNODE(0,0,0) meshsend -D - - - P MNODE(0,0,0) C +MESHSEND:STOP,OK - expected result: |- - 1. succeed - steps: |- - 1. root disconnect with server when L3 send packets to server - summary: root disconnect with server when L3 send packets to server - CI ready: 'NO' - test environment: SSC_T12_MESH2 - test point 1: abnormal user - test point 2: destory network -- ID: MESH_COMM_0714 - <<: *MESH_COMM_CASE - cmd set: - - '' - - *root_do_connect - - - SSC MNODE(0) meshsend -S -d -l 1460 -c 2000 -b 100 -f 8 - - - '' - - - DELAY 2 - - - '' - - - SSC MNODE(0) mesh -S -o 1 - - - '' - - - DELAY 5 - - - P PC_COM C DELAYDONE - - P MNODE(0) C +TCPSOC:CLOSED C +CONNECTSTOP,OK C +MESHTXPKT,OK NC +MESHTXPKT,FAIL - - - SSC MNODE(0) meshsend -D - - - P MNODE(0) C +MESHSEND:STOP,OK - expected result: |- - 1. succeed - steps: |- - 1. root disconnect with server when root send packets to server - summary: root disconnect with server when root send packets to server - CI ready: 'NO' - test environment: SSC_T3_MESH2 - test point 1: abnormal user - test point 2: destory network -- ID: MESH_COMM_0715 - <<: *MESH_COMM_CASE - cmd set: - - '' -# - *root_do_connect - - - SSC MNODE(0,0) meshsend -S -d -l 1460 -c 100 -b 50 -f 8 - - - P MNODE(0,0) C +MESHTXPKT,OK - - P MNODE(0) C TODS_PKT,OK - - - SSC MNODE(0) mesh -R -o 1 - - - P MNODE(0) C +MESHRX:STOP,OK - - - DELAY 10 - - - P PC_COM C DELAYDONE - - P MNODE(0,0) NC +MESHSEND,OK - - - SSC MNODE(0) mesh -R - - - P MNODE(0) C +MESHRX:START,OK C TODS_PKT,OK - - P MNODE(0,0) C +MESHSEND,OK - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. L2 send packets to server - 2. server stop recv when node send packets to server - summary: root stop recv when node send packets to server - CI ready: 'NO' - test environment: SSC_T3_MESH1 - test point 1: abnormal user - test point 2: destory network -- ID: MESH_COMM_5001 - <<: *MESH_COMM_CASE - category: Stress - cmd set: - - '' - - - MSSC SSC[1-] meshsend -S -d -l 1460 -c 50 -b 200 -f 2 - - - '' - - - DELAY 50 - - - P SSC[1-] C +MESHTXPKT,OK +MESHSEND,OK - - - SSC SSC[1-] mesh -Q -o 2 - - - R SSC[1-] T topo - - - MESHTREE - - - R PC_COM RE "MESHTREE:%%s%20nodes"%%() - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. all nodes send unicast to root - 1. check mesh network - summary: all nodes(T50) send unicast to root,check mesh network - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend stress - test point 2: meshsend ucast/mcast/bcast stress test -- ID: MESH_COMM_5002 - <<: *MESH_COMM_CASE - category: Stress - cmd set: - - '' - - - MSSC SSC[1-] meshsend -S -d -l 1460 -c 30 -b 200 -f 8 - - - '' - - - DELAY 50 - - - P SSC[1-] C +MESHTXPKT,OK C +MESHSEND,OK - - - SSC SSC[1-] mesh -Q -o 2 - - - R SSC[1-] T topo - - - MESHTREE - - - R PC_COM RE "MESHTREE:%%s%20nodes"%%() - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. all nodes send unicast to server - 2. check mesh network - summary: all nodes send unicast to server,check mesh network - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend stress - test point 2: meshsend ucast/mcast/bcast stress test -- ID: MESH_COMM_5003 - <<: *MESH_COMM_CASE - category: Stress - cmd set: - - MeshStress/MeshStressSend - - - test_time = 60 - - - '' - - - node_send_type = "unicast" - - - '' - - - node_send_delay = 500 - - - '' - - - server_send_flag = True - - - '' - - - server_send_type = "broadcast" - - - '' - - - server_send_delay = 500 - - - '' - execution time: 1.0 - expected result: |- - 1. succeed - steps: |- - 1. all nodes send unicast to random target, server sending broadcast - summary: All node send unicast to random nodes, server sending broadcast - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend stress - test point 2: meshsend ucast/mcast/bcast stress test -- ID: MESH_COMM_5004 - <<: *MESH_COMM_CASE - category: Stress - cmd set: - - MeshStress/MeshStressSend - - - test_time = 60 - - - '' - - - node_send_type = "unicast" - - - '' - - - node_send_delay = 500 - - - '' - - - server_send_flag = False - - - '' - execution time: 1.0 - expected result: |- - 1. succeed - steps: |- - 1. all nodes send unicast to random target - summary: All node send unicast to random nodes - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend stress - test point 2: meshsend ucast/mcast/bcast stress test -- ID: MESH_COMM_5005 - <<: *MESH_COMM_CASE - category: Stress - cmd set: - - MeshStress/MeshTableSend - - - source_addr = "MNODE(0)" - - - '' - - - send_counts = 1000 - - - '' - - - check_timeout = 60 - - - '' - - - send_delay = 0 - - - '' - - - send_flag = 18 - - - '' - - - packet_type = 1 - - - '' - comment: Mesh Stress - execution time: 1.0 - expected result: - 1. succeed - 2. succeed - 3. succeed - steps: - 1. established mesh network - 2. node send packets to its mesh table - 3. check send/recv time and lose rate - summary: root send unicast to its' mesh table, calculate the send/recv time and lose rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend stress - test point 2: meshsend ucast/mcast/bcast stress test -- ID: MESH_COMM_5006 - <<: *MESH_COMM_CASE - category: Stress - cmd set: - - MeshStress/MeshTableSend - - - source_addr = "MNODE(0,0)" - - - '' - - - send_counts = 1000 - - - '' - - - check_timeout = 60 - - - '' - - - send_delay = 0 - - - '' - - - send_flag = 18 - - - '' - - - packet_type = 1 - - - '' - comment: Mesh Stress - execution time: 1.0 - expected result: - 1. succeed - 2. succeed - 3. succeed - steps: - 1. established mesh network - 2. L2 send packets to its mesh table - 3. check send/recv time and lose rate - summary: L2 send unicast to its' mesh table, calculate the send/recv time and lose rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend stress - test point 2: meshsend ucast/mcast/bcast stress test -- ID: MESH_COMM_5007 - <<: *MESH_COMM_CASE - category: Stress - cmd set: - - MeshStress/MeshTableSend - - - source_addr = "MNODE(0,0,0)" - - - '' - - - send_counts = 1000 - - - '' - - - check_timeout = 60 - - - '' - - - send_delay = 0 - - - '' - - - send_flag = 18 - - - '' - - - packet_type = 1 - - - '' - comment: Mesh Stress - execution time: 1.0 - expected result: - 1. succeed - 2. succeed - 3. succeed - steps: - 1. established mesh network - 2. L3 send packets to its mesh table - 3. check send/recv time and lose rate - summary: L3 send unicast to its' mesh table, calculate the send/recv time and lose rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend stress - test point 2: meshsend ucast/mcast/bcast stress test -- ID: MESH_COMM_5008 - <<: *MESH_COMM_CASE - category: Stress - cmd set: - - MeshStress/MeshMixture - - - test_time = 720 - - - '' - - - send_delay = 100 - - - '' - - - unicast_addr = "random" - - - '' - comment: Mesh Stress - execution time: 1.0 - expected result: - 1. succeed - 2. succeed - 3. succeed - steps: - 1. established mesh network - 2. delay some time,send unicast with random address - 3. check mesh network - summary: mesh mixture stress test - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend stress - test point 2: meshsend ucast/mcast/bcast stress test -- ID: MESH_COMM_6001 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0)'] - - - '' - - - receiver = ['MNODE(0)'] - - - '' - comment: L1 send packet to L1 - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L1 send packet to L1(T3), calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T3_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6002 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0)'] - - - '' - - - receiver = ['MNODE(0)'] - - - '' - comment: L1 send packet to L1 - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L1 send packet to L1(T50), calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6003 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0)'] - - - '' - - - receiver = ['MNODE(0,0)'] - - - '' - comment: L1 send packet to L2 - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L1 send packet to L2(T3), calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T3_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6004 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0)'] - - - '' - - - receiver = ['MNODE(0,0)'] - - - '' - comment: L1 send packet to L2 - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L1 send packet to L2(T50), calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6005 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0)'] - - - '' - - - receiver = ['MNODE(0,0,0)'] - - - '' - comment: L1 send packet to L3 - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L1 send packet to L3, calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6006 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0)'] - - - '' - - - receiver = ['MNODE(0,0,0,0)'] - - - '' - comment: L1 send packet to L4 - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L1 send packet to L4, calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6007 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0,0)'] - - - '' - - - receiver = ['MNODE(0)'] - - - '' - comment: L2 send packet to L1 - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L2 send packet to L1, calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6008 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0,0)'] - - - '' - - - receiver = ['MNODE(0,0,0)'] - - - '' - comment: L2 send packet to L3 - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L2 send packet to L3, calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6009 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0,0)'] - - - '' - - - receiver = ['MNODE(0,0,0,0)'] - - - '' - comment: L2 send packet to L4 - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L2 send packet to L4, calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6010 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0,0,0)'] - - - '' - - - receiver = ['MNODE(0)'] - - - '' - comment: L3 send packet to L1 - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L3 send packet to L1, calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6012 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0,0,0)'] - - - '' - - - receiver = ['MNODE(0,0)'] - - - '' - comment: L3 send packet to L2 - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L3 send packet to L2, calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6013 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0,0,0)'] - - - '' - - - receiver = ['MNODE(0,0,0,0)'] - - - '' - comment: L3 send packet to L4 - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L3 send packet to L4, calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6014 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0,0,0,0)'] - - - '' - - - receiver = ['MNODE(0)'] - - - '' - comment: L4 send packet to L1 - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L4 send packet to L1, calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6015 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0,0,0,0)'] - - - '' - - - receiver = ['MNODE(0,0)'] - - - '' - comment: L4 send packet to L2 - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L4 send packet to L2, calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6016 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0,0,0,0)'] - - - '' - - - receiver = ['MNODE(0,0,0)'] - - - '' - comment: L4 send packet to L3 - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L4 send packet to L3, calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6017 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0,0)'] - - - '' - - - receiver = ['MNODE(0,1)'] - - - '' - comment: L2 send packet to its brother - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L2 send packet to its brother, calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6018 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0,0,0)'] - - - '' - - - receiver = ['MNODE(0,0,1)'] - - - '' - comment: L3 send packet to its brother - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L3 send packet to its brother, calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6019 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0,0,0)'] - - - '' - - - receiver = ['MNODE(0,1)'] - - - '' - comment: L3 send packet to its uncle - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L3 send packet to its uncle, calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6020 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0)'] - - - '' - - - receiver = ['MNODE(0,0)', 'MNODE(0,1)'] - - - '' - comment: L1 send packet to two L2 - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L1 send packet to two L2 node, calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6021 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0)'] - - - '' - - - receiver = ['MNODE(l2)'] - - - '' - comment: L1 send packet to all L2 - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L1 send packet to all L2, calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6022 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0)'] - - - '' - - - receiver = ['MNODE(l3)'] - - - '' - comment: L1 send packet to all L3 - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L1 send packet to all L3, calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6023 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(l2)'] - - - '' - - - receiver = ['MNODE(0)'] - - - '' - comment: all L2 send packet to L1 - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: all L2 send packet to L1, calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6024 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0)'] - - - '' - - - receiver = [] - - - '' - comment: L1 send packet to table - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L1 send packet to table, calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6025 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0,0)'] - - - '' - - - receiver = [] - - - '' - comment: L2 send packet to table - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L2 send packet to table, calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6026 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0)'] - - - '' - - - receiver = ['MNODE(0,0,*)'] - - - '' - comment: L2 send packet to L2's table - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L2 send packet to L2's table, calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6027 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['!MNODE(0)'] - - - '' - - - receiver = ['MNODE(0)'] - - - '' - comment: non-L1 send packet to L1 - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: all nodes except root send packet to L1, calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6028 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0)'] - - - '' - - - send_type = 'bcast' - - - '' - comment: L1 send broadcast - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L1 send broadcast, calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6029 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0,0)'] - - - '' - - - send_type = 'bcast' - - - '' - comment: L2 send broadcast - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L2 send broadcast, calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6030 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendReceive - - *throughput_cmd_set - - - sender = ['MNODE(0,0,0)'] - - - '' - - - send_type = 'bcast' - - - '' - comment: L3 send broadcast - execution time: 0.5 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: L3 send broadcast, calculate throughput and packet loss rate - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast throughput and packetloss -- ID: MESH_COMM_6101 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendRecv - - - test_time = 1 - - - '' - - - source_adde_list = ["MNODE(0)", "MNODE(0,0)", "MNODE(0,0,0)", "MNODE(0,0,0,0)", "MNODE(0,0,0,0,0)", "MNODE(0,-1)"] - - - '' - - - dst_addr_list = ["MNODE(0)", "MNODE(0,0)", "MNODE(0,0,0)", "MNODE(0,0,0,0)", "MNODE(0,0,0,0,0)", "MNODE(0,-1)"] - - - '' - - - send_delay = 500 - - - '' - - - send_counts = 10 # reduce counts to 10 - - - '' - - - loss_rate_standard = 0.5 - - - '' - execution time: 1.0 - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. node send unicast to another node - 2. calculate send/recv time and loss rate - summary: calculate send/recv time and loss rate between different nodes - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast delaytime and packetloss -- ID: MESH_COMM_6102 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendRecv - - - test_time = 1 - - - '' - - - source_adde_list = ["GSOC1"] - - - '' - - - dst_addr_list = ["MNODE(0)", "MNODE(0,0)", "MNODE(0,0,0)", "MNODE(0,0,0,0)", "MNODE(0,0,0,0,0)", "MNODE(0,-1)"] - - - '' - - - send_delay = 500 - - - '' - - - send_counts = 10 # reduce counts to 10 - - - '' - - - loss_rate_standard = 0.5 - - - '' - execution time: 1.0 - expected result: |- - 1. succeed - 2. calculate packet send/recv time - steps: |- - 1. server send unicast to differet nodes - 2. calculate send/recv time and loss rate - summary: calculate send/recv time and loss rate between server send unicast to different nodes - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast delaytime and packetloss -- ID: MESH_COMM_6103 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshSendRecv - - - test_time = 1 - - - '' - - - source_adde_list = ["MNODE(0)", "MNODE(0,0)", "MNODE(0,0,0)", "MNODE(0,0,0,0)", "MNODE(0,0,0,0,0)", "MNODE(0,-1)"] - - - '' - - - dst_addr_list = ["GSOC1"] - - - '' - - - send_delay = 500 - - - '' - - - send_counts = 10 # reduce counts to 10 - - - '' - - - loss_rate_standard = 0.5 - - - '' - execution time: 1.0 - expected result: |- - 1. succeed - 2. calculate packet send/recv time - steps: |- - 1. differet nodes send unicast to server - 2. calculate send/recv time and loss rate - summary: calculate send/recv time and loss rate between different node and server - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast/mcast/bcast delaytime and packetloss -- ID: MESH_COMM_6201 - <<: *MESH_COMM_CASE - category: Performance - cmd set: - - MeshStress/MeshPing - execution time: 1 - expected result: - 1. succeed - steps: - 1. calculate throughput and packet loss rate - summary: ping test, calculate round trip time on different leavels - CI ready: 'NO' - test environment: SSC_T50_MESH1 - test point 1: meshsend performance - test point 2: ucast ping time diff --git a/components/idf_test/integration_test/TC_IT_MESH_EST.yml b/components/idf_test/integration_test/TC_IT_MESH_EST.yml deleted file mode 100644 index e18deca4a4..0000000000 --- a/components/idf_test/integration_test/TC_IT_MESH_EST.yml +++ /dev/null @@ -1,4730 +0,0 @@ -.MESH_CASE: &MESH_CASE - SDK: ESP32_IDF - Test App: SSC_MESH - auto test: 'Yes' - category: Function - test point 1: self organized function - initial condition: MESH_DEINIT_STA - test environment: SSC_T50_MESH1 - execution time: 0.0 - module: Mesh - sub module: Establish - version: v1 (2018-08-15) - CI ready: 'No' - level: Integration - allow fail: '' - -.mesh_init_all_duts: &mesh_init_all_duts - LIST_MERGE: - - - 'MSSC SSC[1-] mesh -I' - - ['P SSC[1-] C +MESH:INIT,OK'] - -.mesh_start_all_duts: &mesh_start_all_duts - LIST_MERGE: - - - 'MSSC SSC[1-] mesh -T' - - ['P SSC[1-] C +MESH:START,OK'] - -.mesh_config_all_duts: &mesh_config_all_duts - LIST_MERGE: - - - 'MSSC SSC[1-] meshset -M -o 0 -t -e -l 10' - - ['P SSC[1-] C +MESHSET:MAP_AUTH,OK'] - - - 'MSSC SSC[1-] meshset -G -o 0 -m -s -p -n - -b -t -e -i ' - - ['P SSC[1-] C +MESHSET:CFG,OK'] - - - 'MSSC SSC[1-] meshset -L -o 0 -l ' - - ['P SSC[1-] C +MESHSET:MLAYER,OK'] - - - 'MSSC SSC[1-] meshset -W -o 0 -t -n -l -i -k ' - - ['P SSC[1-] C +MESHSET:SWITCH,OK'] - - - 'MSSC SSC[1-] meshset -K -o 0 -i ' - - ['P SSC[1-] C +MESHSET:ALLOW_ROOTS,OK'] - - - 'MSSC SSC[1-] meshset -J -o 0 -t ' - - ['P SSC[1-] C +MESHSET:ASSOC,OK'] - -.mesh_config_all_duts_no_router: &mesh_config_all_duts_no_router - LIST_MERGE: - - - 'SSC SSC1 meshset -T -o 0 -t 1' - - ['P SSC1 C +MESHSET:TYPE,OK'] - - - 'MSSC SSC[2-] meshset -X -o 0 -i 1' - - ['P SSC[2-] C +MESHSET:FIX_ROOT,OK'] - - - 'MSSC SSC[1-] meshset -M -o 0 -t -e -l 10' - - ['P SSC[1-] C +MESHSET:MAP_AUTH,OK'] - - - 'SSC SSC[1-] meshset -G -o 0 -m -n -t -e - -i ' - - ['P SSC[1-] C +MESHSET:CFG,OK'] - - - 'MSSC SSC[1-] meshset -L -o 0 -l ' - - ['P SSC[1-] C +MESHSET:MLAYER,OK'] - - - 'MSSC SSC[1-] meshset -W -o 0 -t -n -l -i -k ' - - ['P SSC[1-] C +MESHSET:SWITCH,OK'] - - - 'MSSC SSC[1-] meshset -K -o 0 -i ' - - ['P SSC[1-] C +MESHSET:ALLOW_ROOTS,OK'] - - - 'MSSC SSC[1-] meshset -J -o 0 -t ' - - ['P SSC[1-] C +MESHSET:ASSOC,OK'] - -.mesh_config_dut1: &mesh_config_dut1 - LIST_MERGE: - - - 'SSC SSC1 meshset -M -o 0 -t -e -l 10' - - ['P SSC1 C +MESHSET:MAP_AUTH,OK'] - - - 'SSC SSC1 meshset -G -o 0 -m -s -p -n - -b -t -e -i ' - - ['P SSC1 C +MESHSET:CFG,OK'] - - - 'SSC SSC meshset -L -o 0 -l ' - - ['P SSC1 C +MESHSET:MLAYER,OK'] - - - 'SSC SSC1 meshset -W -o 0 -t -n -l -i -k ' - - ['P SSC1 C +MESHSET:SWITCH,OK'] - - - 'SSC SSC1 meshset -K -o 0 -i ' - - - 'SSC SSC1 meshset -K -o 0 -i ' - - ['P SSC1 C +MESHSET:ALLOW_ROOTS,OK'] - - - 'SSC SSC1 meshset -J -o 0 -t ' - - ['P SSC1 C +MESHSET:ASSOC,OK'] - -.mesh_config_dut1_no_router: &mesh_config_dut1_no_router - LIST_MERGE: - - - 'SSC SSC1 meshset -T -o 0 -t 1' - - ['P SSC1 C +MESHSET:TYPE,OK'] - - - 'SSC SSC1 meshset -M -o 0 -t -e -l 10' - - ['P SSC1 C +MESHSET:MAP_AUTH,OK'] - - - 'SSC SSC1 meshset -G -o 0 -m -n -t -e - -i ' - - ['P SSC1 C +MESHSET:CFG,OK'] - - - 'SSC SSC1 meshset -L -o 0 -l ' - - ['P SSC1 C +MESHSET:MLAYER,OK'] - - - 'SSC SSC1 meshset -W -o 0 -t -n -l -i -k ' - - ['P SSC1 C +MESHSET:SWITCH,OK'] - - - 'SSC SSC1 meshset -K -o 0 -i ' - - - 'SSC SSC1 meshset -K -o 0 -i ' - - ['P SSC1 C +MESHSET:ALLOW_ROOTS,OK'] - - - 'SSC SSC1 meshset -J -o 0 -t ' - - ['P SSC1 C +MESHSET:ASSOC,OK'] - -.mesh_config_cs_duts: &mesh_config_cs_duts - LIST_MERGE: - - - 'MSSC SSC[4-] meshset -M -o 0 -t -e -l 10' - - ['P SSC[4-] C +MESHSET:MAP_AUTH,OK'] - - - 'MSSC SSC[4-] meshset -G -o 0 -m -s -p -n -h 1 -t - -e -i ' - - ['P SSC[4-] C +MESHSET:CFG,OK'] - - - 'MSSC SSC[4-] meshset -L -o 0 -l ' - - ['P SSC[4-] C +MESHSET:MLAYER,OK'] - - - 'MSSC SSC[4-] meshset -W -o 0 -t -n -l -i -k ' - - ['P SSC[4-] C +MESHSET:SWITCH,OK'] - - - 'MSSC SSC[4-] meshset -K -o 0 -i ' - - ['P SSC[4-] C +MESHSET:ALLOW_ROOTS,OK'] - - - 'MSSC SSC[4-] meshset -J -o 0 -t 15' - - ['P SSC[4-] C +MESHSET:ASSOC,OK'] - -.mesh_check_tree_num: &mesh_check_tree_num - LIST_MERGE: - - - 'MSSC SSC[1-] mesh -Q -o 2' - - ['P SSC[1-] T topo'] - - - 'MESHTREE' - - ['R PC_COM RE "MESHTREE:%%s"%%()'] - -.mesh_tree_stably: &mesh_tree_stably - LIST_MERGE: - - - 'SSC MNODE(0) mesh -Q -o 1 -t ' - - ['R MNODE(0) C MESH_STABLE_CHECK:PASS'] - -.est_performance_cmd_set: &est_performance_cmd_set - LIST_MERGE: - - - 'test_counts = 15' - - [''] - - - 'start_number_list = [0]' - - [''] - - - 'ie_encrypt = True' - - [''] - - - 'establish_fail_time = 1200' - - [''] - - - 'assoc_time = 20' - - [''] - - - 'stable_time = 120' - - [''] - - - 'map_encrypt = True' - - [''] - - - 'destroy_mode = "deinit"' - - [''] - -test cases: -- ID: MESH_EST_0101 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -G -o 0 -m -s -p -n 15 -t - - - R SSC1 C +MESHSET:CFG,FAIL - - - SSC SSC1 meshset -G -o 0 -m -s -p -n -t 11 - - - R SSC1 C +MESHSET:CFG,FAIL - - - SSC SSC1 meshset -G -o 0 -m -s -p -n -t 0 - - - R SSC1 C +MESHSET:CFG,FAIL - - - SSC SSC1 meshset -G -o 0 -m -n -t - - - R SSC1 C +MESHSET:CFG,FAIL - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 meshset -G -o 1 - - - P SSC1 RE "MESH_ID,%%s"%%() - - P SSC1 C +MESHGET:CFG,OK - expected result: |- - 1. fail - 2. fail - 3. fail - 4. fail - 5. succeed - steps: |- - 1. mesh init - 2. set config with channel 15 - 3. set config with max_connection 0 / 11 - 4. set config without router ssid - 5. set/get valid config - test environment: SSC_T1_MESH1 - summary: mesh set/get config before mesh start - test point 2: mesh configuration test - CI ready: 'Yes' -- ID: MESH_EST_0102 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -S -o 0 -t 0 - - - P SSC1 C +MESHSET:SCAN_TIME,FAIL - - - SSC SSC1 meshset -S -o 0 -t 2000 - - - P SSC1 C +MESHSET:SCAN_TIME,FAIL - - - SSC SSC1 meshset -S -o 0 -t 500 - - - P SSC1 C +MESHSET:SCAN_TIME,OK - - - SSC SSC1 meshset -S -o 1 - - - P SSC1 C +MESHGET:SCAN_TIME,OK,500 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. mesh init - 2. set invalid scan time - 3. set/get valid scan time - test environment: SSC_T1_MESH1 - summary: mesh set/get passive scan time before mesh start - test point 2: mesh configuration test - CI ready: 'Yes' -- ID: MESH_EST_0103 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -Q -o 0 -i 15 - - - P SSC1 C +MESHSET:QSIZE,FAIL - - - SSC SSC1 meshset -Q -o 0 -i 40 - - - P SSC1 C +MESHSET:QSIZE,OK - - - SSC SSC1 meshset -Q -o 1 - - - P SSC1 C +MESHGET:QSIZE,OK,40 - expected result: |- - 1. succeed - 2. fail - 3. succeed - steps: |- - 1. mesh init - 2. set invalid qsize - 3. set/get valid qsize - test environment: SSC_T1_MESH1 - summary: mesh set/get qsize before mesh start - test point 2: mesh configuration test - CI ready: 'Yes' -- ID: MESH_EST_0104 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -P -o 0 -n 0 - - - P SSC1 C +MESHSET:PERCENT,FAIL - - - SSC SSC1 meshset -P -o 0 -n 110 - - - P SSC1 C +MESHSET:PERCENT,FAIL - - - SSC SSC1 meshset -P -o 0 -n 100 - - - P SSC1 C +MESHSET:PERCENT,OK - - - SSC SSC1 meshset -P -o 1 - - - P SSC1 C +MESHGET:PERCENT,OK,1 - expected result: |- - 1. succeed - 2. fail - 3. succeed - steps: |- - 1. mesh init - 2. set invalid vote percentage - 3. set/get valid vote percentage - test environment: SSC_T1_MESH1 - summary: mesh set/get vote percentage before mesh start - test point 2: mesh configuration test - CI ready: 'Yes' -- ID: MESH_EST_0105 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK -# - - SSC SSC1 meshset -Z -x 1 -o 0 -t 300 -l 3000 -# - - P SSC1 C +MESHSET:ANNOUNCE,FAIL -# - - SSC SSC1 meshset -Z -x 1 -o 0 -t 500 -l 1000 -# - - P SSC1 C +MESHSET:ANNOUNCE,FAIL - - - SSC SSC1 meshset -Z -x 1 -o 0 -t 500 -l 3000 - - - P SSC1 C +MESHSET:ANNOUNCE,OK - - - SSC SSC1 meshset -Z -x 1 -o 1 - - - P SSC1 C +MESHGET:ANNOUNCE,OK,500,3000 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. mesh init - 2. set invalid announce interval - 3. set/get valid announce interval - test environment: SSC_T1_MESH1 - summary: mesh set/get announce interval before mesh start - test point 2: mesh configuration test - CI ready: 'Yes' -- ID: MESH_EST_0106 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -J -o 0 -t 9 - - - P SSC1 C +MESHSET:ASSOC,FAIL - - - SSC SSC1 meshset -J -o 0 -t 10 - - - P SSC1 C +MESHSET:ASSOC,OK - - - SSC SSC1 meshset -J -o 1 - - - P SSC1 C +MESHGET:ASSOC,OK,10 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. mesh init - 2. set invalid assoc expire - 3. set/get valid assoc expire - test environment: SSC_T1_MESH1 - summary: mesh set/get assoc expire before mesh start - test point 2: mesh configuration test - CI ready: 'Yes' -- ID: MESH_EST_0107 #TODO: support max_layer>127 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -L -o 0 -l 0 - - - P SSC1 C +MESHSET:MLAYER,FAIL - - - SSC SSC1 meshset -L -o 0 -l -1 - - - P SSC1 C +MESHSET:MLAYER,FAIL - - - SSC SSC1 meshset -L -o 0 -l 65537 - - - P SSC1 C +MESHSET:MLAYER,FAIL -# - - SSC SSC1 meshset -L -o 0 -l 26 -# - - P SSC1 C +MESHSET:MLAYER,FAIL - - - SSC SSC1 meshset -L -o 0 -l 1 - - - P SSC1 C +MESHSET:MLAYER,OK - - - SSC SSC1 meshset -L -o 1 - - - P SSC1 C +MESHGET:MLAYER,OK,1 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. mesh init - 2. set invalid max_layer - 3. set/get valid max_layer - test environment: SSC_T1_MESH1 - summary: mesh set/get max_lay test - test point 2: mesh configuration test - CI ready: 'Yes' -- ID: MESH_EST_0108 #TODO: map_password can only be set in esp_mesh_set_config - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -M -o 0 -t -e -l 10 - - - P SSC1 C +MESHSET:MAP_AUTH,OK - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 meshset -o 0 -L -l 2 - - - P SSC1 C +MESHSET:MLAYER,OK - - - SSC SSC1 meshset -P -o 0 -n 60 - - - P SSC1 C +MESHSET:PERCENT,OK - - - SSC SSC1 meshset -o 0 -J -t 20 - - - P SSC1 C +MESHSET:ASSOC,OK - - - SSC SSC1 meshset -o 0 -K -i 1 - - - P SSC1 C +MESHSET:ALLOW_ROOTS,OK - - - SSC SSC1 meshset -S -o 0 -t 500 - - - P SSC1 C +MESHSET:SCAN_TIME,OK - - - SSC SSC1 meshset -W -o 0 -t -n -l -i -k - - - P SSC1 C +MESHSET:SWITCH,OK - - - SSC SSC1 meshset -H -o 0 -t -i -l - - - P SSC1 C +MESHSET:THRESHOLD,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 10 - - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. mesh init - 2. set invalid max_layer - 3. set/get valid max_layer - test environment: SSC_T1_MESH1 - summary: mesh set all configurations in order - test point 2: mesh configuration test - CI ready: 'Yes' -- ID: MESH_EST_0110 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC[1-2] meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC[1-2] meshset -o 0 -L -l 1 - - - P SSC[1-2] C +MESHSET:MLAYER,OK - - - SSC SSC[1-2] mesh -T - - - P SSC[1-2] C +MESH:START,OK - - - DELAY 10 - - - P SSC[1-2] C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. config two duts with max_lay = 0 - 2. start mesh - 3. check ..... - test environment: SSC_T2_MESH1 - summary: two duts establish mesh network with max layer = 1 - test point 2: mesh configuration test - CI ready: 'Yes' -- ID: MESH_EST_0111 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC[1-2] meshset -G -o 0 -m -s -p -n - -b -t -e [,] -i 0 - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 10 - - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK - - - DELAY 20 - - - P PC_COM C DELAYDONE - - P SSC2 NC MESH_EVENT_CONNECTED - - P SSC1 NC MESH_EVENT_CHILD_CONNECTED - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. config two duts with different map_password and ie not encrypted - 2. start mesh - 3. check not connected - test environment: SSC_T2_MESH1 - summary: two duts establish mesh network with different map_password - test point 2: mesh configuration test - CI ready: 'Yes' -- ID: MESH_EST_0112 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC[1-2] meshset -G -o 0 -m -s -p -n - -b -t -e -i [0,1] - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC[1-2] mesh -T - - - P SSC[1-2] C +MESH:START,OK - - - DELAY 10 - - - P SSC[1-2] C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. config two duts with different ie_encrypt - 2. start mesh - 3. check both connected with router - test environment: SSC_T2_MESH1 - summary: two duts establish mesh network with different ie_encrypt - test point 2: mesh configuration test - CI ready: 'Yes' -- ID: MESH_EST_0113 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC[1-2] meshset -G -o 0 -m -s -p -n - [,] -b -t -e -i - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC[1-2] mesh -T - - - P SSC[1-2] C +MESH:START,OK - - - DELAY 10 - - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - P SSC2 C MESH_EVENT_NO_PARENT_FOUND - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. config two duts with different channel - 2. start mesh - 3. check dut1 connected and dut2 disconnected - test environment: SSC_T2_MESH1 - summary: two duts establish mesh network with different channel - test point 2: mesh configuration test - CI ready: 'No' - #TODO: not work after v3.3 -- ID: MESH_EST_0114 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC[1-2] meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC[1-2] meshset -o 0 -L -l [2,1] - - - P SSC[1-2] C +MESHSET:MLAYER,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 10 - - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK - - - DELAY 60 - - - '' - - - SSC SSC[1-2] mesh -Q -o 2 - - - P SSC[1-2] T topo - - - ASSERT - - - '' - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. config two duts with different max_layer [2,1] - 2. start dut1(max_layer=2) first - 3. dut1 connected with router then start dut2(max_layer=1) - 4. check ..... - test environment: SSC_T2_MESH1 - summary: (ASSERT) two duts establish mesh network with different max_layer[2,1] - test point 2: mesh configuration test - CI ready: 'No' - auto test: 'No' - active: "No" -- ID: MESH_EST_0115 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-3] mesh -I - - - P SSC[1-3] C +MESH:INIT,OK - - - SSC SSC[1-3] meshset -G -o 0 -m -s -p -n - -b -t 1 -e -i - - - P SSC[1-3] C +MESHSET:CFG,OK - - - SSC SSC[1-3] meshset -o 0 -L -l 2 - - - P SSC[1-3] C +MESHSET:MLAYER,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - SSC SSC1 mesh -Q -o 3 - - - '' - - - DELAY 5 - - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK - - P SSC2 C MESH_EVENT_CONNECTED,2 - - - SSC SSC3 mesh -T - - - P SSC3 C +MESH:START,OK - - - SSC SSC[1-3] mesh -Q -o 3 - - - '' - - - DELAY 10 - - - P SSC3 C MESH_EVENT_NO_PARENT_FOUND - - - DELAY 60 - - - '' - - - SSC SSC[1-3] mesh -Q -o 2 - - - P SSC[1-3] T topo -# TODO: check more? - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. config 3 duts with different max_layer=2 and max_connect=1 - 2. start dut1(max_layer=2) first - 3. dut1 connected with router then start dut2(max_layer=1) - 3. dut1 connected with router then start dut2(max_layer=1) - 4. check ..... - test environment: SSC_T3_MESH1 - summary: 3 duts establish mesh network with max_connection 1 and max_layer 2 - test point 2: mesh configuration test - CI ready: 'No' -- ID: MESH_EST_0201 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 10 - - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. mesh init - 2. mesh config - 3. mesh start - 4. check mesh connected and layer is 1 - test environment: SSC_T1_MESH1 - summary: dut1 establish mesh network with simple configuration - test point 2: network establish test - CI ready: 'Yes' -- ID: MESH_EST_0202 - <<: *MESH_CASE - cmd set: - - '' - - - LOOP 2 6 "[2,3]" - - - '' - - - SSC SSC1 reboot - - - P SSC1 C !!!ready!!! - - - SSC SSC1 op -S -o {%d} - - - P SSC1 C +MODE:OK - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 10 - - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - steps: |- - 1. set wifi op_mode (AP/APSTA) - 2. mesh init - 3. mesh config - 4. mesh start - 5. check mesh connected and layer is 1 - test environment: SSC_T1_MESH1 - summary: dut1 start mesh in different wifi mode (AP/APSTA) - test point 2: network establish test - CI ready: 'No' -#TODO: add case: start mesh with station connected -- ID: MESH_EST_0203 #TODO: which step call wifi scan - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 sta -S - - - P SSC1 C +SCAN_DONE:OK - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 10 - - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - steps: |- - 1. wifi scan - 2. mesh init - 3. mesh config - 4. mesh start - 5. check mesh connected and layer is 1 - test environment: SSC_T1_MESH1 - summary: dut1 start mesh during wifi scan - test point 2: network establish test - CI ready: 'No' -- ID: MESH_EST_0204 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 sta -C -s -p - - - P SSC1 C +JAP:CONNECTED - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 10 - - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - steps: |- - 1. connect to router - 2. mesh init - 3. mesh config - 4. mesh start - 5. check mesh connected and layer is 1 - test environment: SSC_T1_MESH1 - summary: dut1 start mesh after wifi connected with router - test point 2: network establish test - CI ready: 'Yes' -#TODO: start during connecting to router -- ID: MESH_EST_0205 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 10 - - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. mesh init - 2. mesh config with max_layer 1 - 3. mesh start - 4. check mesh connected and layer is 1 - test environment: SSC_T1_MESH1 - summary: dut1 start mesh with max layer 1, establish mesh network - test point 2: network establish test - CI ready: 'No' -- ID: MESH_EST_0206 - <<: *MESH_CASE - cmd set: - - '' - - - SOC SOC1 LISTEN ' - - - P SOC_COM L OK - - - SSC MNODE(0) mesh -S -o 0 -i -t - - - P MNODE(0) C +CONNECT,OK - - P SOC1 C ACCEPT - - - SOC SOC1 MACCEPT GSOC1 - - - P SOC_COM L OK - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. mesh network already established - 2. root connect to TCP server - initial condition: MESH_INIT1 - test environment: SSC_T1_MESH2 - summary: dut1 establish mesh network, then root connect to TCP server - test point 2: network establish test - CI ready: 'Yes' -- ID: MESH_EST_0207 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC[1-2] meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC[1-2] mesh -T - - - P SSC[1-2] C +MESH:START,OK - - - DELAY 60 - - - '' - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. mesh init - 2. mesh config - 3. mesh start - 4. check mesh tree established and stable - test environment: SSC_T2_MESH1 - summary: two duts start mesh together to establish mesh network - test point 2: network establish test - CI ready: 'Yes' -- ID: MESH_EST_0208 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC[1-2] meshset -G -o 0 -m -s -p -n - -b -t -e -i 0 - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC[1-2] mesh -T - - - P SSC[1-2] C +MESH:START,OK - - - DELAY 60 - - - '' - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. mesh init - 2. mesh config without ie_encrypt - 3. mesh start - 4. check mesh tree established and stable - test environment: SSC_T2_MESH1 - summary: two duts start mesh without ie_encrypt, establish mesh network - test point 2: network establish test - CI ready: 'Yes' -- ID: MESH_EST_0209 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC[1-2] meshset -G -o 0 -m -s -p -n - -b -t -i - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC[1-2] mesh -T - - - P SSC[1-2] C +MESH:START,OK - - - DELAY 60 - - - '' - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. mesh init - 2. mesh config without map_password - 3. mesh start - 4. check mesh tree established and stable - test environment: SSC_T2_MESH1 - summary: two duts start mesh without map_password, establish mesh network - test point 2: network establish test - CI ready: 'Yes' -- ID: MESH_EST_0210 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC[1-2] meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 10 - - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK C MESH_EVENT_CONNECTED,2 - - P SSC1 C MESH_EVENT_CHILD_CONNECTED - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. start mesh on dut1 - 2. dut1 connected with router - 3. start mesh on dut2 - 4. dut2 connected with dut1 - test environment: SSC_T2_MESH1 - summary: dut2 start mesh after dut1 connected, establish mesh network - test point 2: network establish test - CI ready: 'Yes' -- ID: MESH_EST_0211 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC[1-2] meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 10 - - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - DELAY 10 30 - - - '' - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK C MESH_EVENT_CONNECTED,2 - - P SSC1 C MESH_EVENT_CHILD_CONNECTED - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. start mesh on dut1 - 2. dut1 connected with router - 3. delay some time then start mesh on dut2 - 4. dut2 connected with dut1 - test environment: SSC_T2_MESH1 - summary: dut2 start mesh after dut1 connected more than 10s, establish mesh network - test point 2: network establish test - CI ready: 'Yes' -- ID: MESH_EST_0212 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC[1-2] meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC[1-2] meshset -o 0 -L -l 1 - - - P SSC[1-2] C +MESHSET:MLAYER,OK - - - SSC SSC[1-2] mesh -T - - - P SSC[1-2] C +MESH:START,OK - - - DELAY 60 - - - '' - - - ASSERT - - - '' - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. config two duts with max_lay = 1 - 2. start mesh - 3. check ..... - sub module: Establish - test environment: SSC_T2_MESH1 - summary: (ASSERT) 2 duts start mesh with max_layer=1, establish mesh network - test point 2: network establish test - CI ready: 'No' - auto test: 'No' - active: "No" -- ID: MESH_EST_0213 - <<: *MESH_CASE - cmd set: - - '' - - - MSSC SSC[1-12] mesh -I - - - P SSC[1-12] C +MESH:INIT,OK - - - MSSC SSC[1-12] meshset -G -o 0 -m -s -p -n - -b -t 10 -e -i - - - P SSC[1-12] C +MESHSET:CFG,OK - - - MSSC SSC[1-12] meshset -o 0 -L -l 2 - - - P SSC[1-12] C +MESHSET:MLAYER,OK - - - MSSC SSC[1-11] mesh -T - - - P SSC[1-11] C +MESH:START,OK - - - DELAY 60 - - - '' - - - VALUE -1 - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. config 11 duts with max_layer=2 and mac_connection=10 - 2. 11 duts start mesh - 3. check mesh network establish - sub module: Establish - test environment: SSC_T12_MESH1 - summary: establish special mesh_network with max_lay=2 and max_connection=10 - test point 2: network establish test - CI ready: 'No' -- ID: MESH_EST_0214 - <<: *MESH_CASE - cmd set: - - '' - - - MSSC SSC[1-7] mesh -I - - - P SSC[1-7] C +MESH:INIT,OK - - - MSSC SSC[1-7] meshset -G -o 0 -m -s -p -n - -b -t 2 -e -i - - - P SSC[1-7] C +MESHSET:CFG,OK - - - MSSC SSC[1-7] meshset -o 0 -L -l 3 - - - P SSC[1-7] C +MESHSET:MLAYER,OK - - - MSSC SSC[1-7] mesh -T - - - P SSC[1-7] C +MESH:START,OK - - - DELAY 60 - - - '' - - - VALUE 7 - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. config 7 duts with max_lay=3 and max_connection=2 - 2. 7 duts start mesh - 3. check mesh network establish - sub module: Establish - test environment: SSC_T12_MESH1 - summary: set max_conn=2 and max_layer=3, establish full mesh tree - test point 2: network establish test - CI ready: 'No' -# TODO: full tree, destroy and re-establish -- ID: MESH_EST_0215 - <<: *MESH_CASE - cmd set: - - '' - - - MSSC SSC[1-25] mesh -I - - - P SSC[1-25] C +MESH:INIT,OK - - - MSSC SSC[1-25] meshset -G -o 0 -m -s -p -n - -b -t 1 -e -i - - - P SSC[1-25] C +MESHSET:CFG,OK - - - MSSC SSC[1-25] meshset -o 0 -L -l 25 - - - P SSC[1-25] C +MESHSET:MLAYER,OK - - - MSSC SSC[1-25] mesh -T - - - P SSC[1-25] C +MESH:START,OK - - - DELAY 120 - - - '' - - - VALUE 25 - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. config 25 duts with max_connection=1 - 2. 25 duts start mesh - 3. check mesh network establish - test environment: SSC_T50_MESH1 - summary: establish special mesh_network with max_connection=1 and max_layer=25 - test point 2: network establish test - CI ready: 'Yes' -- ID: MESH_EST_0216 - <<: *MESH_CASE - cmd set: - - '' - - - MSSC SSC[1-] mesh -I - - - P SSC[1-] C +MESH:INIT,OK - - - MSSC SSC[1-] meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC[1-] C +MESHSET:CFG,OK - - - MSSC SSC[1-] meshset -o 0 -L -l - - - P SSC[1-] C +MESHSET:MLAYER,OK - - - MSSC SSC[1-] mesh -T - - - P SSC[1-] C +MESH:START,OK - - - DELAY - - - '' - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. config all duts with simple configuration - 2. all duts start mesh - 3. check mesh network establish - test environment: SSC_T50_MESH1 - summary: multiple nodes establish mesh_network simple configuration - test point 2: network establish test - CI ready: 'Yes' - -- ID: MESH_EST_0301 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0) reboot - - - P MNODE(0) C !!!ready!!! - - P MNODE(0,0) C MESH_EVENT_DISCONNECTED - - - DELAY 5 - - - P MNODE(0,0) C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. reboot root - 2. layer2 disconnected and then become new root - initial condition: MESH_INIT1 - test environment: SSC_T2_MESH1 - summary: 2 duts establish mesh network, then reboot root - test point 2: network destroy test - CI ready: 'Yes' -- ID: MESH_EST_0302 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0,0) mesh -I -o 1 - - - P MNODE(0,0) C MESH:DEINIT,OK - - P MNODE(0) C MESH_EVENT_CHILD_DISCONNECTED - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. layer2 stop mesh - 2. root find child leave - initial condition: MESH_INIT1 - test environment: SSC_T2_MESH1 - summary: 2 duts establish mesh network, then layer2 stop mesh - test point 2: network destroy test - CI ready: 'Yes' -- ID: MESH_EST_0303 - <<: *MESH_CASE - cmd set: - - '' - - - FREBOOT MNODE(0) - - - P MNODE(0) C !!!ready!!! - - - DELAY 5 - - - P MNODE(0,0) C MESH_EVENT_DISCONNECTED - - - DELAY 15 - - - P MNODE(0,0) C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. power reset root - 2. layer2 disconnected and then become new root - initial condition: MESH_INIT1 - test environment: SSC_T2_MESH1 - summary: 2 duts establish mesh network, then power reset root - test point 2: network destroy test - CI ready: 'Yes' -- ID: MESH_EST_0304 - <<: *MESH_CASE - cmd set: - - '' - - - FREBOOT MNODE(0) - - - P MNODE(0) C !!!ready!!! - - - SSC MNODE(0) op -S -o 2 - - - P MNODE(0) C +MODE:OK - - P MNODE(0,0) C MESH_EVENT_DISCONNECTED - - - DELAY 15 - - - P MNODE(0,0) C MESH_EVENT_CONNECTED,1 - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. power reset root and - 2. layer2 disconnected and then become new root - initial condition: MESH_INIT1 - test environment: SSC_T2_MESH1 - summary: 2 duts establish mesh network, power reset root and switch to softAP mode - test point 2: network destroy test - CI ready: 'Yes' -- ID: MESH_EST_0305 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0) mesh -V -o 2 - - - P MNODE(0) C MESH:SAVE,OK - - - FREBOOT MNODE(0) - - - P MNODE(0) C !!!ready!!! - - - SSC MNODE(0) mesh -T -o 2 - - - P MNODE(0) C MESH:START,OK - - - DELAY 10 - - - P MNODE(0) C MESH_EVENT_CONNECTED,1 - - P MNODE(0,0) C MESH_EVENT_CONNECTED,2 - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. root set auto start mesh and power reboot - 2. it become root again and the other node join - initial condition: MESH_INIT1 - test environment: SSC_T2_MESH1 - summary: 2 duts establish mesh network, root restart mesh, it still root - test point 2: network destroy test - CI ready: 'No' - #TODO: root still root after restart will not run on CI -- ID: MESH_EST_0306 - <<: *MESH_CASE - cmd set: - - '' - - - FREBOOT MNODE(0,0) - - - P MNODE(0,0) C !!!ready!!! - - P MNODE(0) C MESH_EVENT_CHILD_DISCONNECTED - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. power reset layer2 - 2. root find child leave - initial condition: MESH_INIT1 - test environment: SSC_T2_MESH1 - summary: 2 duts establish mesh network, then power reset layer2 - test point 2: network destroy test - CI ready: 'Yes' -- ID: MESH_EST_0307 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0) mesh -I -o 1 - - - P MNODE(0) C MESH:DEINIT,OK - - - DELAY - - - '' - - - VALUE -1 - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. root mesh stop - 2. others re-establish network - initial condition: MESH_INIT1 - test environment: SSC_T50_MESH1 - summary: multiple nodes, root mesh stop - test point 2: network destroy test - CI ready: 'Yes' -- ID: MESH_EST_0308 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0) reboot - - - P MNODE(0) C !!!ready!!! - - - DELAY - - - '' - - - VALUE -1 - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. reboot root - 2. others re-establish network - initial condition: MESH_INIT1 - test environment: SSC_T50_MESH1 - summary: multiple nodes, reboot root - test point 2: network destroy test - CI ready: 'No' -- ID: MESH_EST_0309 - <<: *MESH_CASE - cmd set: - - '' - - - FREBOOT MNODE(0) - - - P MNODE(0) C !!!ready!!! - - - DELAY - - - '' - - - VALUE -1 - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. power reboot root - 2. others re-establish network - initial condition: MESH_INIT1 - test environment: SSC_T50_MESH1 - summary: multiple nodes, power reboot root - test point 2: network destroy test - CI ready: 'Yes' -- ID: MESH_EST_0310 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0) mesh -V -o 2 - - - P MNODE(0) C MESH:SAVE,OK - - - FREBOOT MNODE(0) - - - P MNODE(0) C !!!ready!!! - - - SSC MNODE(0) mesh -T -o 2 - - - P MNODE(0) C MESH:START,OK - - - DELAY 10 - - - P MNODE(0) C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - DELAY - - - '' - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. root set auto start mesh and power reboot - 2. it become root again and the other node join - initial condition: MESH_INIT1 - test environment: SSC_T50_MESH1 - summary: multiple nodes establish mesh network, root restart mesh, it still root - test point 2: network destroy test - CI ready: 'No' -- ID: MESH_EST_0311 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0,0) mesh -I -o 1 - - - P MNODE(0,0) C MESH:DEINIT,OK - - - DELAY - - - '' - - - VALUE -1 - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. one of layer2 nodes mesh deinit - 2. others re-establish network - initial condition: MESH_INIT1 - test environment: SSC_T50_MESH1 - summary: multiple nodes, one of layer2 nodes mesh deinit - test point 2: network destroy test - CI ready: 'No' -- ID: MESH_EST_0313 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0,0) reboot - - - P MNODE(0,0) C !!!ready!!! - - - DELAY - - - '' - - - VALUE -1 - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. reboot one of layer2 nodes - 2. others re-establish network - initial condition: MESH_INIT1 - test environment: SSC_T50_MESH1 - summary: multiple nodes, reboot one of layer2 nodes - test point 2: network destroy test - CI ready: 'No' -- ID: MESH_EST_0314 - <<: *MESH_CASE - cmd set: - - '' - - - FREBOOT MNODE(0,0) - - - P MNODE(0,0) C !!!ready!!! - - - DELAY - - - '' - - - VALUE -1 - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. reboot one of layer2 nodes - 2. others re-establish network - initial condition: MESH_INIT1 - test environment: SSC_T50_MESH1 - summary: multiple nodes, power reset one of layer2 nodes - test point 2: network destroy test - CI ready: 'No' -- ID: MESH_EST_0315 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0,-1) mesh -I -o 1 - - - P MNODE(0,-1) C MESH:DEINIT,OK - - - DELAY - - - '' - - - VALUE -1 - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. one of leaf nodes mesh stop - 2. others re-establish network - initial condition: MESH_INIT1 - test environment: SSC_T50_MESH1 - summary: multiple nodes, one of leaf nodes mesh stop - test point 2: network destroy test - CI ready: 'No' -- ID: MESH_EST_0316 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0,-1) reboot - - - P MNODE(0,-1) C !!!ready!!! - - - DELAY - - - '' - - - VALUE -1 - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. reboot one of leaf nodes - 2. others re-establish network - initial condition: MESH_INIT1 - test environment: SSC_T50_MESH1 - summary: multiple nodes, reboot one of leaf nodes - test point 2: network destroy test - CI ready: 'No' -- ID: MESH_EST_0317 - <<: *MESH_CASE - cmd set: - - '' - - - FREBOOT MNODE(0,-1) - - - P MNODE(0,-1) C !!!ready!!! - - - DELAY - - - '' - - - VALUE -1 - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. reboot one of leaf nodes - 2. others re-establish network - initial condition: MESH_INIT1 - test environment: SSC_T50_MESH1 - summary: multiple nodes, power reset one of leaf nodes - test point 2: network destroy test - CI ready: 'No' -- ID: MESH_EST_0318 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0) mesh -V -o 2 - - - P MNODE(0) C MESH:SAVE,OK - - - SSC MNODE(0) reboot - - - P MNODE(0) C !!!ready!!! - - - SSC MNODE(0) mesh -T -o 2 - - - P MNODE(0) C MESH:START,OK - - - DELAY 10 - - - P MNODE(0) C MESH_EVENT_CONNECTED,1 - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. root restart mesh with same configuration - 2. re-establish network - initial condition: MESH_INIT1 - test environment: SSC_T50_MESH1 - summary: multiple nodes, root reboot and start mesh, it still root - test point 2: network destroy test - CI ready: 'No' -- ID: MESH_EST_0319 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0) mesh -V -o 2 - - - P MNODE(0) C MESH:SAVE,OK - - - FREBOOT MNODE(0) - - - P MNODE(0) C !!!ready!!! - - - SSC MNODE(0) mesh -T -o 2 - - - P MNODE(0) C MESH:START,OK - - - DELAY 10 - - - P MNODE(0) C MESH_EVENT_CONNECTED,1 - - - DELAY - - - '' - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. root restart mesh with same configuration - 2. re-establish network - initial condition: MESH_INIT1 - test environment: SSC_T50_MESH1 - summary: multiple nodes, root power reset and start mesh, it still root - test point 2: network destroy test - CI ready: 'No' -- ID: MESH_EST_0320 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0) mesh -V -o 2 - - - P MNODE(0) C MESH:SAVE,OK - - - SSC MNODE(0) reboot - - - P MNODE(0) C !!!ready!!! - - - DELAY 1 5 - - - '' - - - SSC MNODE(0) mesh -T -o 2 - - - P MNODE(0) C MESH:START,OK - - - DELAY - - - '' - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. root restart mesh with same configuration - 2. re-establish network - initial condition: MESH_INIT1 - test environment: SSC_T50_MESH1 - summary: multiple nodes, root reboot and wait some time, then start mesh - test point 2: network destroy test - CI ready: 'No' -- ID: MESH_EST_0321 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 op -S -o 2 - - - P SSC1 C +MODE:OK - - - SSC SSC1 ap -S -s -p -n -t - - - R SSC1 C +SAP:OK - - - SSC SSC2 mesh -I - - - P SSC2 C +MESH:INIT,OK - - - SSC SSC2 meshset -G -o 0 -m -s -p -n - -t -e -i - - - P SSC2 C +MESHSET:CFG,OK - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK - - P SSC2 C MESH_EVENT_CONNECTED,1 - - - FREBOOT SSC1 - - - P SSC1 C !!!ready!!! - - - DELAY 10 - - - P SSC2 C MESH_EVENT_DISCONNECTED - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. set dut2 ap mode, dut1 start mesh and connect to dut2 - 2. power reset dut2 (station mode), check dut1 disconnected - initial condition: MESH_DEINIT_STA - test environment: SSC_T2_MESH1 - summary: power off router, check root disconnected - test point 2: network destroy test - CI ready: 'Yes' -- ID: MESH_EST_0322 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 op -S -o 2 - - - P SSC1 C +MODE:OK - - - SSC SSC1 ap -S -s -p -n -t - - - R SSC1 C +SAP:OK - - - SSC SSC2 mesh -I - - - P SSC2 C +MESH:INIT,OK - - - SSC SSC2 meshset -G -o 0 -m -s -p -n - -t -e -i - - - P SSC2 C +MESHSET:CFG,OK - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK - - P SSC2 C MESH_EVENT_CONNECTED,1 - - - FREBOOT SSC1 - - - P SSC1 C !!!ready!!! - - - DELAY 10 - - - P SSC2 C MESH_EVENT_DISCONNECTED - - - DELAY 30 - - - '' - - - SSC SSC1 op -S -o 2 - - - P SSC1 C +MODE:OK - - P SSC2 C MESH_EVENT_CONNECTED,1 - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. set dut2 ap mode, dut1 start mesh and connect to dut2 - 2. power reset dut2 (station mode), check dut1 disconnected - initial condition: MESH_DEINIT_STA - test environment: SSC_T2_MESH1 - summary: power off router for a while, check root connected - test point 2: network destroy test - CI ready: 'No' -- ID: MESH_EST_0323 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 op -S -o 2 - - - P SSC1 C +MODE:OK - - - SSC SSC1 ap -S -s -p -n -t - - - R SSC1 C +SAP:OK - - - SSC SSC2 mesh -I - - - P SSC2 C +MESH:INIT,OK - - - SSC SSC2 meshset -G -o 0 -m -s -p -n - -t -e -i - - - P SSC2 C +MESHSET:CFG,OK - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK - - P SSC2 C MESH_EVENT_CONNECTED,1 - - - SSC SSC1 ap -K -a 1 - - - P SSC1 C +AP:KICK - - P SSC2 C MESH_EVENT_DISCONNECTED C MESH_EVENT_CONNECTED - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. set dut2 ap mode, dut1 start mesh and connect to dut2 - 2. router deauth root, check dut1 disconnected then connected - initial condition: MESH_DEINIT_STA - test environment: SSC_T2_MESH1 - summary: router deauth root, check root disconnected then connected - test point 2: network destroy test - CI ready: 'Yes' -#TODO: waive root -- ID: MESH_EST_0324 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0) mesh -W -o 0 -t 100 - - - P MNODE(0) C +MESH:VOTE,OK - - - DELAY 1 3 - - - '' - - - FREBOOT MNODE(0) - - - P MNODE(0) C !!!ready!!! - - - DELAY - - - '' - - - VALUE -1 - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. waive_root and power reset root - 2. re-establish network - initial condition: MESH_INIT1 - test environment: SSC_T50_MESH1 - summary: multiple nodes, root waive vote after network established, then power reboot root - test point 2: network destroy test - CI ready: 'No' -- ID: MESH_EST_0501 #TODO: support layer>127 - <<: *MESH_CASE - cmd set: - - '' - - - MSSC SSC[1-] mesh -I - - - P SSC[1-] C +MESH:INIT,OK - - - MSSC SSC[1-] meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC[1-] C +MESHSET:CFG,OK - - - MSSC SSC[1-] meshset -o 0 -L -l 1000 - - - P SSC[1-] C +MESHSET:MLAYER,OK - - - MSSC SSC[1-] mesh -T - - - P SSC[1-] C +MESH:START,OK - - - DELAY - - - '' - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. config all duts with max_connection=1 and max_layer>127 - 2. all duts start mesh - 3. check mesh network establish - sub module: Establish - test environment: SSC_T50_MESH1 - summary: (chain) establish mesh_network with max_connection=1 and max_layer>127 - test point 2: chain topology test - CI ready: 'No' - auto test: 'No' -- ID: MESH_EST_0502 #TODO: support layer>127 - <<: *MESH_CASE - cmd set: - - '' - - - MSSC SSC[1-] mesh -I - - - P SSC[1-] C +MESH:INIT,OK - - - MSSC SSC[1-] meshset -G -o 0 -m -s -p -n - -b -t 1 -e -i - - - P SSC[1-] C +MESHSET:CFG,OK - - - MSSC SSC[1-] meshset -o 0 -L -l 1000 - - - P SSC[1-] C +MESHSET:MLAYER,OK - - - MSSC SSC[1-] mesh -T - - - P SSC[1-] C +MESH:START,OK - - - DELAY - - - '' - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. config all duts with max_layer>127 - 2. all duts start mesh - 3. check mesh network establish - sub module: Establish - test environment: SSC_T50_MESH1 - summary: (chain) establish mesh_network with max_layer>127 - test point 2: chain topology test - CI ready: 'No' - auto test: 'No' -- ID: MESH_EST_0503 #TODO: support layer>127 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC[1-2] meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC[1-2] meshset -o 0 -L -l [127,128] - - - P SSC[1-2] C +MESHSET:MLAYER,OK - - - SSC SSC[1-2] mesh -T - - - P SSC[1-2] C +MESH:START,OK - - - DELAY 60 - - - '' - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. set a node with max_layer 127 and another 128 - 2. 2 duts start mesh - 3. check mesh network establish - sub module: Establish - test environment: SSC_T2_MESH1 - summary: (chain) set a node with max_layer 126 and another 127, establish mesh_network - test point 2: chain topology test - CI ready: 'No' - auto test: 'No' -- ID: MESH_EST_0504 #TODO: support layer>127 - <<: *MESH_CASE - cmd set: - - '' - - - MSSC SSC[1-] mesh -I - - - P SSC[1-] C +MESH:INIT,OK - - - MSSC SSC[1-] meshset -G -o 0 -m -s -p -n - -b -t 1 -e -i - - - P SSC[1-] C +MESHSET:CFG,OK - - - MSSC SSC[1-] meshset -o 0 -L -l 1000 - - - P SSC[1-] C +MESHSET:MLAYER,OK - - - MSSC SSC[1-] mesh -T - - - P SSC[1-] C +MESH:START,OK - - - DELAY - - - '' - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - - - ASSERT - - - '' - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. config all duts with max_layer>127 - 2. all duts start mesh - 3. check mesh network establish - 4. reboot root, others re-establish mesh network - sub module: Establish - test environment: SSC_T50_MESH1 - summary: (chain) (ASSERT) establis mesh_network first, then reboot root - test point 2: chain topology test - CI ready: 'No' - auto test: 'No' - active: "No" -- ID: MESH_EST_0505 #TODO: support layer>127 - <<: *MESH_CASE - cmd set: - - '' - - - MSSC SSC[1-] mesh -I - - - P SSC[1-] C +MESH:INIT,OK - - - MSSC SSC[1-] meshset -G -o 0 -m -s -p -n - -b -t 1 -e -i - - - P SSC[1-] C +MESHSET:CFG,OK - - - MSSC SSC[1-] meshset -o 0 -L -l 1000 - - - P SSC[1-] C +MESHSET:MLAYER,OK - - - MSSC SSC[1-] mesh -T - - - P SSC[1-] C +MESH:START,OK - - - DELAY - - - '' - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - - - ASSERT - - - '' - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. config all duts with max_layer>127 - 2. all duts start mesh - 3. check mesh network establish - 4. reboot leaf, others re-establish mesh network - sub module: Establish - test environment: SSC_T50_MESH1 - summary: (chain) (ASSERT) establis mesh_network first, then reboot leaf - test point 2: chain topology test - CI ready: 'No' - auto test: 'No' -- ID: MESH_EST_0601 - <<: *MESH_CASE - cmd set: - - MeshStress/MeshChannelSwitch - - - 'simple_test = True' - - [''] - expected result: |- - 1. succeed - steps: |- - 1. channel switch function test - sub module: Establish - test environment: SSC_T6_MESH1 - summary: (channel switch) channel switch function test - test point 2: channel switch test - CI ready: 'No' - auto test: 'Yes' -- ID: MESH_EST_0602 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] op -S -o 2 - - - P SSC[1-2] C +MODE:OK - - - SSC SSC[1-2] ap -S -s -p -n [6,7] -t - - - P SSC[1-2] C +SAP:OK - - - SSC SSC2 op -S -o 1 - - - P SSC2 C +MODE:OK - - - MSSC SSC[4-] mesh -I - - - P SSC[4-] C +MESH:INIT,OK - - *mesh_config_cs_duts - - - MSSC SSC[4-] mesh -T - - - P SSC[4-] C +MESH:START,OK - - - DELAY - - - '' - - - VALUE -3 - - - R PC_COM L OK - - *mesh_check_tree_num - - - SSC SSC2 op -S -o 2 - - - P SSC2 C +MODE:OK - - - SSC SSC1 op -S -o 1 - - - P SSC1 C +MODE:OK - - - DELAY 30 - - - P SSC2 C +SOFTAP:STACONNECTED - - - DELAY 20 - - - '' - - *mesh_check_tree_num - - - MSSC SSC[4-] channel -G - - - P SSC[4-] C +CHANNEL:7 - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. dut1,dut2 set esp32 softAP in different channel - 2. dut[3-] start mesh and connected with dut1 - 3. reboot dut1's softAP, check dut[3-] connected with dut2 - sub module: Establish - test environment: SSC_T50_MESH1 - summary: stop router1,mesh network switch to another channel router network - test point 2: channel switch test - CI ready: 'No' - auto test: 'Yes' -- ID: MESH_EST_0603 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] op -S -o 2 - - - P SSC[1-2] C +MODE:OK - - - SSC SSC[1-2] ap -S -s -p -n [6,7] -t - - - P SSC[1-2] C +SAP:OK - - - SSC SSC2 op -S -o 1 - - - P SSC2 C +MODE:OK - - - MSSC SSC[4-] mesh -I - - - P SSC[4-] C +MESH:INIT,OK - - *mesh_config_cs_duts - - - MSSC SSC[4-] mesh -T - - - P SSC[4-] C +MESH:START,OK - - - DELAY - - - '' - - - VALUE -3 - - - R PC_COM L OK - - *mesh_check_tree_num - - - MSSC SSC2 op -S -o 2 - - - P SSC2 C +MODE:OK - - - FREBOOT SSC1 - - - P SSC1 C !!!ready!!! - - - DELAY 30 - - - P SSC2 C +SOFTAP:STACONNECTED - - - DELAY 20 - - - '' - - - MSSC SSC[4-] channel -G - - - P SSC[4-] C +CHANNEL:7 - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. dut1,dut2 set esp32 softAP in different channel - 2. dut[3-] start mesh and connected with dut1 - 3. stop dut1's softAP, check dut[3-] connected with dut2 - sub module: Establish - test environment: SSC_T50_MESH1 - summary: power reset router1,mesh network switch to another channel router network - test point 2: channel switch test -- ID: MESH_EST_0604 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] op -S -o 2 - - - P SSC[1-2] C +MODE:OK - - - SSC SSC[1-2] ap -S -s -p -n [6,7] -t - - - P SSC[1-2] C +SAP:OK - - - SSC SSC2 op -S -o 1 - - - P SSC2 C +MODE:OK - - - MSSC SSC[4-] mesh -I - - - P SSC[4-] C +MESH:INIT,OK - - *mesh_config_cs_duts - - - MSSC SSC[4-] mesh -T - - - P SSC[4-] C +MESH:START,OK - - - DELAY - - - '' - - - VALUE -3 - - - R PC_COM L OK - - *mesh_check_tree_num - - - SSC SSC2 op -S -o 2 - - - P SSC2 C +MODE:OK - - - MSSC SSC[4-] channel -G - - - P SSC[4-] C +CHANNEL:6 - - - SSC SSC2 mac - - - P SSC2 A :\+APMAC:(.+)\r\n - - - SSC MNODE(0) mesh -H -m -n 7 -t 10 - - - P MNODE(0) C MESH:SWITCH_CHANNEL,OK - - - DELAY - - - P SSC2 C +SOFTAP:STACONNECTED - - - MSSC SSC[4-] channel -G - - - P SSC[4-] C +CHANNEL:7 - - *mesh_check_tree_num - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. dut[1-2]set esp32 softAP in channel [6,7] - 2. dut[3-] start mesh and connected with dut1 - 3. root switch channel to new channel 7 - 4. check dut[3-] disconnected with dut1,connected to dut2,and switch to new channel - sub module: Establish - test environment: SSC_T50_MESH1 - summary: root switch channel,mesh form old network switch to another channel router network - test point 2: channel switch test -- ID: MESH_EST_0605 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-3] op -S -o 2 - - - P SSC[1-3] C +MODE:OK - - - SSC SSC[1-3] ap -S -s -p -n [1,6,11] -t - - - P SSC[1-3] C +SAP:OK - - - MSSC SSC[4-] mesh -I - - - P SSC[4-] C +MESH:INIT,OK - - - MSSC SSC[4-] meshset -M -o 0 -t -e -l 10 - - - P SSC[4-] C +MESHSET:MAP_AUTH,OK - - - MSSC SSC[4-] meshset -G -o 0 -m -s -p -n 1 -h 1 -t - -e -i - - - P SSC[4-] C +MESHSET:CFG,OK - - - MSSC SSC[4-] meshset -L -o 0 -l - - - P SSC[4-] C +MESHSET:MLAYER,OK - - - MSSC SSC[4-] meshset -W -o 0 -t -n -l -i -k - - - P SSC[4-] C +MESHSET:SWITCH,OK - - - MSSC SSC[4-] meshset -K -o 0 -i - - - P SSC[4-] C +MESHSET:ALLOW_ROOTS,OK - - - MSSC SSC[4-] meshset -J -o 0 -t - - - P SSC[4-] C +MESHSET:ASSOC,OK - - - MSSC SSC[4-] mesh -T - - - P SSC[4-] C +MESH:START,OK - - - VALUE -3 - - - R PC_COM L OK - - - DELAY - - - '' - - *mesh_check_tree_num - - - MSSC SSC[4-] channel -G - - - P SSC[4-] C +CHANNEL:1 - - - SSC SSC1 op -S -o 1 - - - P SSC1 C +MODE:OK - - - DELAY 60 - - - '' - - - MSSC SSC[4-] mesh -Q -o 2 - - - P SSC[4-] T topo - - - MESHTREE - - - R PC_COM RE "TREE_TOTAL_NODES:%%s"%%() NC ROOT_CONFLICT - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. dut[1-3]set esp32 softAP in channel [1,6,11] - 2. dut[4-] start mesh and connected with dut1 - 3. dut1 set sta mode - 4. check dut[4-] connected with router,and switch to new channel establish mesh network - sub module: Establish - test environment: SSC_T50_MESH1 - summary: stop router1,mesh choice switch to another channel router establish network - test point 2: channel switch test -- ID: MESH_EST_0606 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] op -S -o 2 - - - P SSC[1-2] C +MODE:OK - - - SSC SSC[1-2] ap -S -s -p -n [6,7] -t - - - P SSC[1-2] C +SAP:OK - - - SSC SSC2 op -S -o 1 - - - P SSC2 C +MODE:OK - - - MSSC SSC[4-] mesh -I - - - P SSC[4-] C +MESH:INIT,OK - - *mesh_config_cs_duts - - - MSSC SSC[4-] mesh -T - - - P SSC[4-] C +MESH:START,OK - - - DELAY - - - '' - - - VALUE -3 - - - R PC_COM L OK - - *mesh_check_tree_num - - - SSC SSC2 op -S -o 2 - - - P SSC2 C +MODE:OK - - - SSC SSC1 op -S -o 1 - - - P SSC1 C +MODE:OK - - - SSC MNODE(0) reboot - - - P MNODE(0) C !!!ready!!! - - - DELAY - - - P SSC2 C +SOFTAP:STACONNECTED - - - VALUE -1 - - - R PC_COM L OK - - *mesh_check_tree_num - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. dut1,dut2 set esp32 softAP in different channel - 2. dut[3-] start mesh and connected with dut1 - 3. stop dut1's softAP and reboot root, check mesh switch channel and establish mesh network - sub module: Establish - test environment: SSC_T50_MESH1 - summary: stop dut1's softAP and reboot root, mesh choice switch to another channel router establish network - test point 2: channel switch test -- ID: MESH_EST_0607 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1] op -S -o 2 - - - P SSC[1] C +MODE:OK - - - SSC SSC[1] ap -S -s -p -n 6 -t - - - P SSC[1] C +SAP:OK - - - MSSC SSC[4-] mesh -I - - - P SSC[4-] C +MESH:INIT,OK - - *mesh_config_cs_duts - - - MSSC SSC[4-] mesh -T - - - P SSC[4-] C +MESH:START,OK - - - DELAY - - - '' - - - VALUE -3 - - - R PC_COM L OK - - *mesh_check_tree_num - - - SSC SSC[1] ap -S -s -p -n 7 -t - - - P SSC[1] C +SAP:OK - - - DELAY 30 - - - P SSC1 C +SOFTAP:STACONNECTED - - - DELAY 20 - - - '' - - - MSSC SSC[4-] channel -G - - - P SSC[4-] C +CHANNEL:7 - - *mesh_check_tree_num - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. dut1,dut2 set esp32 softAP in different channel - 2. dut[2-] start mesh and connected with dut1 - 3. stop dut1's softAP and reboot root, check mesh switch channel and establish mesh network - sub module: Establish - test environment: SSC_T50_MESH1 - summary: router switch another channel, mesh choice switch to another channel establish network - test point 2: channel switch test -- ID: MESH_EST_0608 - <<: *MESH_CASE - cmd set: - - '' - - - MSSC SSC[4-] mesh -I - - - P SSC[4-] C +MESH:INIT,OK - - - SSC SSC[4] meshset -T -o 0 -t 1 - - - P SSC[4] C +MESHSET:TYPE,OK - - - MSSC SSC[5-] meshset -X -o 0 -i 1 - - - P SSC[5-] C +MESHSET:FIX_ROOT,OK - - *mesh_config_cs_duts - - - MSSC SSC[4-] mesh -T - - - P SSC[5-] C +MESH:START,OK - - - DELAY - - - P SSC[5-] C MESH_EVENT_CONNECTED - - - SSC SSC[1] op -S -o 2 - - - P SSC[1] C +MODE:OK - - - SSC SSC[1] ap -S -s -p -n 7 -t - - - P SSC[1] C +SAP:OK - - - DELAY - - - '' - - - MSSC SSC[4-] channel -G - - - P SSC[4-] C +CHANNEL:7 - - - VALUE -3 - - - R PC_COM L OK - - *mesh_check_tree_num - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. no-router mesh network fix root - 2. dut[4-] start mesh and establish mesh network - 3. dut1 set ap mode in diffent channel,check mesh switch channel and establish mesh network - sub module: Establish - test environment: SSC_T50_MESH1 - summary: mesh set fix root, choice switch to another channel link new router - test point 2: channel switch test -- ID: MESH_EST_0609 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] op -S -o 2 - - - P SSC[1-2] C +MODE:OK - - - SSC SSC[1-2] ap -S -s -p -n [6,7] -t - - - P SSC[1-2] C +SAP:OK - - - MSSC SSC[4-] mesh -I - - - P SSC[4-] C +MESH:INIT,OK - - - MSSC SSC[4-] meshset -M -o 0 -t -e -l 10 - - - P SSC[4-] C +MESHSET:MAP_AUTH,OK - - - MSSC SSC[4-] meshset -G -o 0 -m -s -p -n 6 -h 1 -t - -e -i - - - P SSC[4-] C +MESHSET:CFG,OK - - - MSSC SSC[4-] meshset -L -o 0 -l - - - P SSC[4-] C +MESHSET:MLAYER,OK - - - MSSC SSC[4-] meshset -W -o 0 -t -n -l -i -k - - - P SSC[4-] C +MESHSET:SWITCH,OK - - - MSSC SSC[4-] meshset -K -o 0 -i - - - P SSC[4-] C +MESHSET:ALLOW_ROOTS,OK - - - MSSC SSC[4-] meshset -J -o 0 -t - - - P SSC[4-] C +MESHSET:ASSOC,OK - - - MSSC SSC[4-] mesh -T - - - P SSC[4-] C +MESH:START,OK - - - VALUE -3 - - - R PC_COM L OK - - - DELAY - - - '' - - *mesh_check_tree_num - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. set two router in different channel - 2. all duts set channel to the first router - 3. check mesh network connected with the first router - sub module: Establish - test environment: SSC_T50_MESH1 - summary: two routers, set channel, establish network - test point 2: channel switch test -- ID: MESH_EST_0610 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-3] op -S -o 2 - - - P SSC[1-3] C +MODE:OK - - - SSC SSC[1-3] ap -S -s -p -t -n - [,,] - - - P SSC[1-3] C +SAP:OK - - - MSSC SSC[4-] mesh -I - - - P SSC[4-] C +MESH:INIT,OK - - *mesh_config_cs_duts - - - MSSC SSC[4-] mesh -T - - - P SSC[4-] C +MESH:START,OK - - - DELAY - - - '' - - - VALUE -3 - - - R PC_COM L OK - - - MSSC SSC[4-] mesh -Q -o 2 - - - P SSC[4-] T topo - - - MESHTREE - - - R PC_COM RE "TREE_TOTAL_NODES:%%s"%%() NC ROOT_CONFLICT - - - DELAY 10 - - - P PC_COM C +DELAYDONE - - P SSC[4-] NC MESH_EVENT_DISCONNECTED - execution time: 2.0 - expected result: |- - 1. set router - 2. check network establish - initial condition: MESH_DEINIT_STA - steps: |- - 1. set three router with different channel - 2. start all nodes to establish mesh network - summary: multiple router, establish mesh network - test point 2: channel switch test - test environment: SSC_T50_MESH1 - CI ready: 'Yes' - auto test: 'Yes' -- ID: MESH_EST_0611 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-3] op -S -o 2 - - - P SSC[1-3] C +MODE:OK - - - SSC SSC[1-3] ap -S -s -p -t -n - [,,] - - - P SSC[1-3] C +SAP:OK - - - SSC SSC[2-3] op -S -o 1 - - - P SSC[2-3] C +MODE:OK - - - MSSC SSC[4-] mesh -I - - - P SSC[4-] C +MESH:INIT,OK - - *mesh_config_cs_duts - - - MSSC SSC[4-] mesh -T - - - P SSC[4-] C +MESH:START,OK - - - DELAY - - - '' - - - VALUE -3 - - - R PC_COM L OK - - - MSSC SSC[4-] mesh -Q -o 2 - - - P SSC[4-] T topo - - - MESHTREE - - - R PC_COM RE "TREE_TOTAL_NODES:%%s"%%() NC ROOT_CONFLICT - - - DELAY 10 - - - P PC_COM C +DELAYDONE - - P SSC[4-] NC MESH_EVENT_DISCONNECTED - - - SSC SSC[2-3] op -S -o 2 - - - P SSC[2-3] C +MODE:OK - - - FREBOOT SSC1 - - - P SSC1 C !!!ready!!! - - - DELAY - - - '' - - - SSC SSC[2-3] op -S -o 2 - - - P SSC[2-3] C +MODE:OK - - - MSSC SSC[4-] mesh -Q -o 2 - - - P SSC[4-] T topo - - - MESHTREE - - - R PC_COM RE "TREE_TOTAL_NODES:%%s"%%() NC ROOT_CONFLICT - execution time: 2.0 - expected result: |- - 1. establish mesh network - 2. power reset router and check restablish mesh network - initial condition: MESH_DEINIT_STA - steps: |- - 1. establish mesh network with channel and bssid allow switch - 2. power reset the the router, check the network connected with other router - summary: multiple router, network switch router - test point 2: channel switch test - test environment: SSC_T50_MESH1 -- ID: MESH_EST_0612 - <<: *MESH_CASE - cmd set: - - MeshStress/MeshNetworkDestroy - - - 'destroy_nodes = "MNODE(*,)"' - - [''] - execution time: 2.0 - expected result: |- - 1. check the time spent - 1. check the time spent - initial condition: MESH_INIT_SWITCH - steps: |- - 1. enable all nodes establish network - 2. reboot all roots after network established - summary: multiple router, reboot all roots after network established - test point 2: channel switch test - test environment: SSC_T50_MESH1 -- ID: MESH_EST_0613 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 op -S -o 2 - - - P SSC1 C +MODE:OK - - - SSC SSC1 ap -S -s -p -n 6 -t - - - P SSC1 C +SAP:OK - - - MSSC SSC[2-] mesh -I - - - P SSC[2-] C +MESH:INIT,OK - - - MSSC SSC[2-] meshset -M -o 0 -t -e -l 10 - - - P SSC[2-] C +MESHSET:MAP_AUTH,OK - - - MSSC SSC[2-] meshset -G -o 0 -m -s -p -n 6 -h 0 -t - -e -i - - - P SSC[2-] C +MESHSET:CFG,OK - - - MSSC SSC[2-] meshset -L -o 0 -l - - - P SSC[2-] C +MESHSET:MLAYER,OK - - - MSSC SSC[2-] meshset -W -o 0 -t -n -l -i -k - - - P SSC[2-] C +MESHSET:SWITCH,OK - - - MSSC SSC[2-] meshset -K -o 0 -i - - - P SSC[2-] C +MESHSET:ALLOW_ROOTS,OK - - - MSSC SSC[2-] meshset -J -o 0 -t - - - P SSC[2-] C +MESHSET:ASSOC,OK - - - MSSC SSC[2-] mesh -T - - - P SSC[2-] C +MESH:START,OK - - - DELAY 60 - - - P SSC[2-] C MESH_EVENT_CONNECTED - - - SSC SSC1 ap -S -s -p -n 7 -t - - - P SSC1 C +SAP:OK - - - DELAY 30 - - - '' - - - MSSC SSC[2-] channel -G - - - P SSC[2-] C +CHANNEL:7 - - - VALUE -1 - - - R PC_COM L OK - - *mesh_check_tree_num - - - SSC MNODE(0,0) reboot - - - P MNODE(0,0) C !!!ready!!! - - - DELAY 60 - - - P MNODE(0,0,0) C MESH_EVENT_CONNECTED - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. dut1 set esp32 softAP in channel 6 - 2. dut[2-] start mesh and connected with dut1 - 3. set dut1's softAP dfferent channel and reboot dut MNODE(0,0), check MNODE(0,0,0) CONNECTED - sub module: Establish - test environment: SSC_T50_MESH1 - summary: mesh tree channel switch follow router,reboot layer2 check layer3 - test point 2: channel switch test -- ID: MESH_EST_0614 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] op -S -o 2 - - - P SSC[1-2] C +MODE:OK - - - SSC SSC[1-2] ap -S -s -p -n [6,7] -t -h 1 - - - P SSC[1-2] C +SAP:OK - - - SSC SSC2 op -S -o 1 - - - P SSC2 C +MODE:OK - - - MSSC SSC[4-] mesh -I - - - P SSC[4-] C +MESH:INIT,OK - - *mesh_config_cs_duts - - - MSSC SSC[4-] mesh -T - - - P SSC[4-] C +MESH:START,OK - - - DELAY - - - '' - - - VALUE -3 - - - R PC_COM L OK - - *mesh_check_tree_num - - - MSSC SSC2 op -S -o 2 - - - P SSC2 C +MODE:OK - - - SSC SSC1 op -S -o 1 - - - P SSC1 C +MODE:OK - - - DELAY - - - P SSC2 C +SOFTAP:STACONNECTED - - - DELAY 20 - - - '' - - - MSSC SSC[4-] channel -G - - - P SSC[4-] C +CHANNEL:7 - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. dut1,dut2 set esp32 softAP in different channel - 2. dut[3-] start mesh and connected with dut1 - 3. stop dut1's softAP, check dut[3-] connected with hide dut2 - sub module: Establish - test environment: SSC_T50_MESH1 - summary: stop router1,mesh network switch to another channel hide router network - test point 2: channel switch test -- ID: MESH_EST_0615 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-3] op -S -o 2 - - - P SSC[1-3] C +MODE:OK - - - SSC SSC[1-3] ap -S -s -p -n [1,6,11] -t -h 1 - - - P SSC[1-3] C +SAP:OK - - - SSC SSC[2-3] op -S -o 1 - - - P SSC[2-3] C +MODE:OK - - - MSSC SSC[4-] mesh -I - - - P SSC[4-] C +MESH:INIT,OK - - - MSSC SSC[4-] meshset -M -o 0 -t -e -l 10 - - - P SSC[4-] C +MESHSET:MAP_AUTH,OK - - - MSSC SSC[4-] meshset -G -o 0 -m -s -p -n 1 -h 1 -t - -e -i - - - P SSC[4-] C +MESHSET:CFG,OK - - - MSSC SSC[4-] meshset -L -o 0 -l - - - P SSC[4-] C +MESHSET:MLAYER,OK - - - MSSC SSC[4-] meshset -W -o 0 -t -n -l -i -k - - - P SSC[4-] C +MESHSET:SWITCH,OK - - - MSSC SSC[4-] meshset -K -o 0 -i - - - P SSC[4-] C +MESHSET:ALLOW_ROOTS,OK - - - MSSC SSC[4-] meshset -J -o 0 -t - - - P SSC[4-] C +MESHSET:ASSOC,OK - - - MSSC SSC[4-] mesh -T - - - P SSC[4-] C +MESH:START,OK - - - VALUE -3 - - - R PC_COM L OK - - - DELAY - - - '' - - *mesh_check_tree_num - - - MSSC SSC[4-] channel -G - - - P SSC[4-] C +CHANNEL:1 - - - SSC SSC1 op -S -o 1 - - - P SSC1 C +MODE:OK - - - SSC SSC[2-3] op -S -o 2 - - - P SSC[2-3] C +MODE:OK - - - DELAY 60 - - - '' - - - MSSC SSC[4-] mesh -Q -o 2 - - - P SSC[4-] T topo - - - MESHTREE - - - R PC_COM RE "TREE_TOTAL_NODES:%%s"%%() NC ROOT_CONFLICT - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. dut[1-3]set esp32 softAP in channel [1,6,11] - 2. dut[4-] start mesh and connected with dut1 - 3. dut1 set sta mode - 4. check dut[4-] connected with router,and switch to new channel establish mesh network - sub module: Establish - test environment: SSC_T50_MESH1 - summary: stop router1,mesh choice switch to another hide channel router establish network - test point 2: channel switch test -- ID: MESH_EST_0616 - <<: *MESH_CASE - cmd set: - - '' - - - MSSC SSC[1-] mesh -I - - - P SSC[1-] C +MESH:INIT,OK - - - SSC SSC[1-3] meshset -T -o 0 -t 1 - - - P SSC[1-3] C +MESHSET:TYPE,OK - - - MSSC SSC[4-] meshset -X -o 0 -i 1 - - - P SSC[4-] C +MESHSET:FIX_ROOT,OK - - - MSSC SSC[1-] meshset -M -o 0 -t -e -l 10 - - - P SSC[1-] C +MESHSET:MAP_AUTH,OK - - - MSSC SSC[1-] meshset -G -o 0 -m -n 0 -h 1 -t - -e -i - - - P SSC[1-] C +MESHSET:CFG,OK - - - MSSC SSC[1-] meshset -L -o 0 -l - - - P SSC[1-] C +MESHSET:MLAYER,OK - - - MSSC SSC[1-] meshset -W -o 0 -t -n -l -i -k - - - P SSC[1-] C +MESHSET:SWITCH,OK - - - MSSC SSC[1-] meshset -K -o 0 -i - - - P SSC[1-] C +MESHSET:ALLOW_ROOTS,OK - - - MSSC SSC[1-] meshset -J -o 0 -t - - - P SSC[1-] C +MESHSET:ASSOC,OK - - - MSSC SSC[1-] mesh -T - - - P SSC[1-] C +MESH:START,OK - - - VALUE - - - R PC_COM L OK - - - DELAY - - - '' - - - MSSC SSC[1-] mesh -Q -o 2 - - - P SSC[1-] T topo - - - MESHTREE - - - R PC_COM RE "TREE_TOTAL_NODES:%%s"%%() - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. no-router mesh set three roots - 2. dut[1-] start mesh and establish mesh trees - 3. check mesh trees - sub module: Establish - test environment: SSC_T50_MESH1 - summary: mesh no router and set three roots, establish trees and check - test point 2: channel switch test -- ID: MESH_EST_0617 - <<: *MESH_CASE - cmd set: - - '' - - - MSSC SSC[1-] mesh -I - - - P SSC[1-] C +MESH:INIT,OK - - - SSC SSC[1-2] meshset -T -o 0 -t 1 - - - P SSC[1-2] C +MESHSET:TYPE,OK - - - MSSC SSC[3-] meshset -X -o 0 -i 1 - - - P SSC[3-] C +MESHSET:FIX_ROOT,OK - - - MSSC SSC[1-] meshset -M -o 0 -t -e -l 10 - - - P SSC[1-] C +MESHSET:MAP_AUTH,OK - - - MSSC SSC[1-] meshset -G -o 0 -m -n 0 -h 1 -t - -e -i - - - P SSC[1-] C +MESHSET:CFG,OK - - - MSSC SSC[1-] meshset -L -o 0 -l - - - P SSC[1-] C +MESHSET:MLAYER,OK - - - MSSC SSC[1-] meshset -W -o 0 -t -n -l -i -k - - - P SSC[1-] C +MESHSET:SWITCH,OK - - - MSSC SSC[1-] meshset -K -o 0 -i - - - P SSC[1-] C +MESHSET:ALLOW_ROOTS,OK - - - MSSC SSC[1-] meshset -J -o 0 -t - - - P SSC[1-] C +MESHSET:ASSOC,OK - - - MSSC SSC[1-] mesh -T - - - P SSC[1-] C +MESH:START,OK - - - VALUE - - - R PC_COM L OK - - - DELAY - - - '' - - - MSSC SSC[1-] mesh -Q -o 2 - - - P SSC[1-] T topo - - - MESHTREE - - - R PC_COM RE "TREE_TOTAL_NODES:%%s"%%() - - - SSC SSC1 reboot - - - P SSC1 C !!!ready!!! - - - DELAY - - - '' - - - VALUE -1 - - - R PC_COM L OK - - *mesh_check_tree_num - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. no-router mesh set two roots - 2. dut[1-] start mesh and establish mesh trees - 3. reboot dut1,check establish mesh trees - sub module: Establish - test environment: SSC_T50_MESH1 - summary: mesh no router and set two roots, reboot one root establish tree and check mesh tree - test point 2: channel switch test -- ID: MESH_EST_0618 - <<: *MESH_CASE - cmd set: - - '' - - - MSSC SSC[1-] mesh -I - - - P SSC[1-] C +MESH:INIT,OK - - - SSC SSC[1] meshset -T -o 0 -t 1 - - - P SSC[1] C +MESHSET:TYPE,OK - - - MSSC SSC[2-] meshset -X -o 0 -i 1 - - - P SSC[2-] C +MESHSET:FIX_ROOT,OK - - - MSSC SSC[1-] meshset -M -o 0 -t -e -l 10 - - - P SSC[1-] C +MESHSET:MAP_AUTH,OK - - - MSSC SSC[1-] meshset -G -o 0 -m -n 6 -h 1 -t - -e -i - - - P SSC[1-] C +MESHSET:CFG,OK - - - MSSC SSC[1-] meshset -L -o 0 -l - - - P SSC[1-] C +MESHSET:MLAYER,OK - - - MSSC SSC[1-] meshset -W -o 0 -t -n -l -i -k - - - P SSC[1-] C +MESHSET:SWITCH,OK - - - MSSC SSC[1-] meshset -K -o 0 -i - - - P SSC[1-] C +MESHSET:ALLOW_ROOTS,OK - - - MSSC SSC[1-] meshset -J -o 0 -t - - - P SSC[1-] C +MESHSET:ASSOC,OK - - - MSSC SSC[1-] mesh -T - - - P SSC[1-] C +MESH:START,OK - - - VALUE - - - R PC_COM L OK - - - DELAY - - - '' - - *mesh_check_tree_num - - - SSC SSC1 mesh -T -o 1 - - - P SSC1 C +MESH:STOP,OK - - - SSC SSC1 meshset -G -o 0 -m -s -p -n 7 -h 1 -t - -e -i - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY - - - '' - - - MSSC SSC[1-] channel -G - - - P SSC[1-] C +CHANNEL:7 - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. no-router mesh set fix root - 2. dut[1-] start mesh and establish mesh trees - 3. stop dut1 set another channel then start,check establish mesh trees - sub module: Establish - test environment: SSC_T50_MESH1 - summary: no router change root to another channel, establish tree and check mesh tree - test point 2: channel switch test -- ID: MESH_EST_0619 - <<: *MESH_CASE - cmd set: - - '' - - - MSSC SSC[1-] mesh -I - - - P SSC[1-] C +MESH:INIT,OK - - - SSC SSC[1] meshset -T -o 0 -t 1 - - - P SSC[1] C +MESHSET:TYPE,OK - - - MSSC SSC[2-] meshset -X -o 0 -i 1 - - - P SSC[2-] C +MESHSET:FIX_ROOT,OK - - - MSSC SSC[1-] meshset -M -o 0 -t -e -l 10 - - - P SSC[1-] C +MESHSET:MAP_AUTH,OK - - - MSSC SSC[1-] meshset -G -o 0 -m -n 6 -h 1 -t - -e -i - - - P SSC[1-] C +MESHSET:CFG,OK - - - MSSC SSC[1-] meshset -L -o 0 -l - - - P SSC[1-] C +MESHSET:MLAYER,OK - - - MSSC SSC[1-] meshset -W -o 0 -t -n -l -i -k - - - P SSC[1-] C +MESHSET:SWITCH,OK - - - MSSC SSC[1-] meshset -K -o 0 -i - - - P SSC[1-] C +MESHSET:ALLOW_ROOTS,OK - - - MSSC SSC[1-] meshset -J -o 0 -t - - - P SSC[1-] C +MESHSET:ASSOC,OK - - - MSSC SSC[1-] mesh -T - - - P SSC[1-] C +MESH:START,OK - - - VALUE - - - R PC_COM L OK - - - DELAY - - - '' - - *mesh_check_tree_num - - - SSC SSC1 mesh -H -n 7 -t 10 - - - P SSC1 C MESH:SWITCH_CHANNEL,OK - - - DELAY - - - '' - - - MSSC SSC[1-] channel -G - - - P SSC[1-] C +CHANNEL:7 - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. no-router mesh set fix root - 2. dut[1-] start mesh and establish mesh trees - 3. dut1 call channel switch API to another channel,check establish mesh trees - sub module: Establish - test environment: SSC_T50_MESH1 - summary: no router root call channel switch API, establish tree and check mesh tree - test point 2: channel switch test -- ID: MESH_EST_3001 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -t - - - P SSC1 C +MESHSET:CFG,FAIL - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -t - - - P SSC1 C +MESHSET:CFG,OK - expected result: |- - 1. fail - 2. succeed - steps: |- - 1. set config without init - 2. init and set config - initial condition: MESH_DEINIT_STA - test environment: SSC_T1_MESH1 - summary: mesh config without mesh init - test point 1: abnormal/special use - test point 2: mesh init/config/start test - CI ready: 'Yes' -- ID: MESH_EST_3002 - <<: *MESH_CASE - initial condition: MESH_DEINIT_STA - test environment: SSC_T1_MESH1 - cmd set: - - '' - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,FAIL - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,FAIL - expected result: |- - 1. fail - 2. fail - steps: |- - 1. mesh start without init - 2. mesh start without set config - summary: mesh start without init or config - test point 1: abnormal/special use - test point 2: mesh init/config/start test - CI ready: 'Yes' -- ID: MESH_EST_3003 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 1 10 - - - '' - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. mesh init/config - 2. mesh start twice - test environment: SSC_T1_MESH1 - summary: mesh start again after mesh start - test point 1: abnormal/special use - test point 2: mesh init/config/start test - CI ready: 'Yes' - #TODO: if start twice will connected successfully -- ID: MESH_EST_3004 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - R SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -t - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 meshset -M -o 0 -t 8 -s -l 10 - - - P SSC1 C +MESHSET:MAP_AUTH,FAIL - - - SSC SSC1 meshset -M -o 0 -t 3 -s -l 100 - - - P SSC1 C +MESHSET:MAP_PWD,FAIL - - - SSC SSC1 meshset -E -o 0 -i 1 -s -l 100 - - - P SSC1 C +MESHSET:MIE_KEY,FAIL - expected result: |- - 1. succeed - 2. fail - 3. fail - 3. fail - steps: |- - 1. mesh init/config - 2. set map_password with auth=8 - 3. set map_password with len>64 - 4. set ie_key with len>64 - initial condition: MESH_DEINIT_STA - test environment: SSC_T1_MESH1 - summary: mesh config with parameter value overflow - test point 1: abnormal/special use - test point 2: mesh init/config/start test - CI ready: 'Yes' -- ID: MESH_EST_3005 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 op -S -o 1 - - - R SSC1 C +MODE:OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 10 - - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - ASSERT - - - '' - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. mesh init - 2. mesh config and switch wifi op_mode to station - 3. mesh start - 4. check mesh connected and layer is 1 - test environment: SSC_T1_MESH1 - summary: (ASSERT) switch to station mode after mesh config - test point 1: abnormal/special use - test point 2: mesh init/config/start test - CI ready: 'No' - auto test: 'No' - active: "No" -- ID: MESH_EST_3006 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 op -S -o 2 - - - R SSC1 C +MODE:OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 10 - - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - ASSERT - - - '' - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. mesh init - 2. mesh config and switch wifi op_mode to station - 3. mesh start - 4. check mesh connected and layer is 1 - test environment: SSC_T1_MESH1 - summary: (ASSERT) switch to soft_ap mode after mesh config - test point 1: abnormal/special use - test point 2: mesh init/config/start test - CI ready: 'No' - auto test: 'No' - active: "No" -- ID: MESH_EST_3007 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -G -o 0 -m -s -n -t - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 10 - - - P SSC1 C MESH_EVENT_NO_PARENT_FOUND - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. mesh init - 2. mesh config with inexistent router - 3. mesh start - 4. check mesh no parent found - test environment: SSC_T1_MESH1 - summary: start mesh with inexistent router - test point 1: abnormal/special use - test point 2: mesh init/config/start test - CI ready: 'Yes' -- ID: MESH_EST_3008 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 10 - - - P SSC1 C MESH_EVENT_NO_PARENT_FOUND - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. mesh init - 2. mesh config with wrong channel - 3. mesh start - 4. check parent not found - test environment: SSC_T1_MESH1 - summary: mesh start with wrong router channel - test point 1: abnormal/special use - test point 2: mesh init/config/start test - CI ready: 'No' - #TODO: not work after v3.3 -- ID: MESH_EST_3101 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0) sta -S - - - P MNODE(0) C +SCANDONE - - - DELAY 5 - - - P PC_COM C DELAYDONE - - P MNODE(0) NC MESH_EVENT_SCAN_DONE - - - ASSERT - - - '' - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. establish mesh network - 2. wifi scan and check no MESH_EVENT_SCAN_DONE - initial condition: MESH_INIT1 - test environment: SSC_T2_MESH1 - summary: (ASSERT) wifi scan on root without set self organized - test point 1: abnormal/special use - test point 2: use wifi api after mesh start - CI ready: 'No' - auto test: 'No' - active: "No" -- ID: MESH_EST_3102 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0,0) sta -S - - - P MNODE(0,0) C +SCANDONE - - P MNODE(0,0) NC MESH_EVENT_SCAN_DONE - - - ASSERT - - - '' - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. establish mesh network - 2. wifi scan and check no MESH_EVENT_SCAN_DONE - initial condition: MESH_INIT1 - test environment: SSC_T2_MESH1 - summary: (ASSERT) wifi scan on layer2 without set self organized - test point 1: abnormal/special use - test point 2: use wifi api after mesh start - CI ready: 'No' - auto test: 'No' - active: "No" -- ID: MESH_EST_3103 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 1 - - - '' - - - SSC SSC1 sta -S - - - P SSC1 C +SCANDONE - - P SSC1 NC MESH_EVENT_SCAN_DONE - - - ASSERT - - - '' - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. establish mesh network - 2. wifi scan and check no MESH_EVENT_SCAN_DONE - initial condition: MESH_DEINIT_STA - test environment: SSC_T1_MESH1 - summary: (ASSERT) wifi scan during mesh scan without set self organized - test point 1: abnormal/special use - test point 2: use wifi api after mesh start - CI ready: 'No' - auto test: 'No' - active: "No" -- ID: MESH_EST_3104 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC2 mesh -I - - - P SSC2 C +MESH:INIT,OK - - - SSC SSC2 meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC2 C +MESHSET:CFG,OK - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK - - - DELAY 5 - - - P SSC2 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - SSC SSC2 ap -Q - - - R SSC2 A :\+APCONFIG:(\w+) - - - SSC SSC1 sta -C -s -p - - - P SSC1 C +JAP:DISCONNECTED - - - DELAY 10 - - - P PC_COM C DELAYDONE - - P SSC1 NC +JAP:CONNECTED - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. dut2 start mesh - 2. dut1 connect to dut2, check disconnected - initial condition: MESH_DEINIT_STA - test environment: SSC_T2_MESH1 - summary: normal station can't connected with mesh root - test point 1: abnormal/special use - test point 2: use wifi api after mesh start - CI ready: 'Yes' -#TODO: one(some) of the nodes set wrong password, establish---- -- ID: MESH_EST_2001 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC[1-2] meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC1 meshset -U -o 0 -m -s -p -b -n - -t 1 -l 1 - - - P SSC1 C +MESHSET:PARENT,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 10 - - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK C MESH_EVENT_CONNECTED,2 - - P SSC1 C MESH_EVENT_CHILD_CONNECTED - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. mesh init/config - 2. dut1 set parent be router - 3. start dut1 and check it connected with router - 4. start dut2 and check it connected with dut1 - test environment: SSC_T2_MESH1 - summary: set dut1 parent as router with mesh_id, dut2 without set_parent, check dut2 connected with dut1 - test point 1: manual network function - test point 2: set parent test - CI ready: 'Yes' -- ID: MESH_EST_2002 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC[1-2] meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC1 meshset -U -o 0 -s -p -b -n - -t 1 -l 1 - - - P SSC1 C +MESHSET:PARENT,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK C MESH_EVENT_CONNECTED,2 - - P SSC1 C MESH_EVENT_CHILD_CONNECTED - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. mesh init/config - 2. set dut1 parent to router without mesh_id - 3. start dut1 and check it connected with router - 4. start dut2 and check it connected with dut1 - test environment: SSC_T2_MESH1 - summary: set dut1 parent to router without mesh_id, dut2 without set_parent, check dut2 connected with dut1 - test point 1: manual network function - test point 2: set parent test - CI ready: 'Yes' -- ID: MESH_EST_2003 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC[1-2] meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC1 meshset -U -o 0 -m -s -p -b -n - -t 1 -l 1 - - - P SSC1 C +MESHSET:PARENT,OK - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK - - - DELAY 10 - - - P SSC2 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. mesh init/config - 2. set dut1 parent to router - 3. start dut2 and check it connected with router - 4. start dut1 and check it connected with router - test environment: SSC_T2_MESH1 - summary: set dut1 parent to router, start dut1 with amother root already exists - test point 1: manual network function - test point 2: set parent test - CI ready: 'Yes' -- ID: MESH_EST_2004 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC[1-2] meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - SSC SSC1 ap -Q - - - R SSC1 A :\+APCONFIG:(\w+), - - - SSC SSC2 meshset -U -o 0 -m -s -p -n -t 2 -l 2 - - - P SSC2 C +MESHSET:PARENT,OK - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK C MESH_EVENT_CONNECTED,2 - - P SSC1 C MESH_EVENT_CHILD_CONNECTED - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. mesh init/config - 2. set dut2 parent to dut1 - 3. start dut1 and check it connected with router - 4. start dut2 and check it connected with dut1 - test environment: SSC_T2_MESH1 - summary: set dut2 parent to dut1(root), start dut2 after dut1 connected - test point 1: manual network function - test point 2: set parent test - CI ready: 'Yes' -- ID: MESH_EST_2005 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC[1-2] meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - SSC SSC1 ap -Q - - - R SSC1 A :\+APCONFIG:(\w+), - - - SSC SSC2 meshset -U -o 0 -s -p -n -t 2 -l 2 - - - P SSC2 C +MESHSET:PARENT,OK - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK C MESH_EVENT_CONNECTED,2 - - P SSC1 C MESH_EVENT_CHILD_CONNECTED - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. mesh init/config - 2. set dut2 parent to dut1 without mesh_id - 3. start dut1 and check it connected with router - 4. start dut2 and check it connected with dut1 - test environment: SSC_T2_MESH1 - summary: set dut2 parent to dut1(root) without mesh_id, start dut2 after dut1 connected - test point 1: manual network function - test point 2: set parent test - CI ready: 'Yes' -- ID: MESH_EST_2006 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-3] mesh -I - - - P SSC[1-3] C +MESH:INIT,OK - - - SSC SSC[1-3] meshset -G -o 0 -m [,,] -s -p -n - -b -t -e -i - - - P SSC[1-3] C +MESHSET:CFG,OK - - - SSC SSC[1,3] mesh -T - - - P SSC[1,3] C +MESH:START,OK - - P SSC[1,3] C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK C MESH_EVENT_CONNECTED,2 - - P SSC1 C MESH_EVENT_CHILD_CONNECTED - - - SSC SSC3 ap -Q - - - R SSC3 A :\+APCONFIG:(\w+), - - - SSC SSC2 meshset -U -o 0 -m -s -p -n -t 2 -l 2 - - - P SSC2 C +MESHSET:PARENT,OK C MESH_EVENT_CONNECTED,2 - - P SSC1 C MESH_EVENT_CHILD_DISCONNECTED - - P SSC3 C MESH_EVENT_CHILD_CONNECTED - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - steps: |- - 1. mesh init/config - 2. dut1,dut3 start mesh with different mesh id - 3. dut2 connect to dut1 first - 4. set dut2's parent to dut3 - 5. check dut2 leave dut1 and join dut3 - test environment: SSC_T3_MESH1 - summary: set one node's parent to another mesh network - test point 1: manual network function - test point 2: set parent test - CI ready: 'No' -- ID: MESH_EST_2007 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - SSC SSC2 op -S -o 2 - - - P SSC2 C +MODE:OK - - - SSC SSC2 ap -S -s -n - - - P SSC2 C +SAP:OK - - - SSC SSC1 meshset -U -o 0 -s -n -t 1 -l 1 - - - P SSC1 C +MESHSET:PARENT,OK - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - P SSC2 C +SOFTAP:STACONNECTED - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. mesh init/config - 2. dut1 start mesh and establish network - 3. set dut2 softAP mode - 4. set dut1's parent to dut2 - test environment: SSC_T2_MESH1 - summary: set ont node's parent to another Router after connected - test point 1: manual network function - test point 2: set parent test - CI ready: 'No' -#- ID: MESH_EST_2008 -# <<: *MESH_CASE -# cmd set: -# - '' -# - - SSC SSC[1-2] mesh -I -# - - P SSC[1-2] C +MESH:INIT,OK -# - - SSC SSC[1-2] meshset -G -o 0 -m -s -n -t -i -# - - P SSC[1-2] C +MESHSET:CFG,OK -# - - SSC SSC1 meshset -U -o 0 -s -n -t 1 -l 1 -# - - P SSC1 C +MESHSET:PARENT,OK -# - - SSC SSC[1-2] mesh -T -# - - P SSC[1-2] C +MESH:START,OK -# - P SSC2 C MESH_EVENT_CONNECTED,2 -# - P SSC1 C MESH_EVENT_CHILD_CONNECTED -# expected result: |- -# 1. succeed -# 2. succeed -# 3. succeed -# 4. succeed -# steps: |- -# 1. mesh init/config -# 2. dut1 set parent to inexist router -# 3. start mesh -# 4. check dut2 connected with dut1 -# test environment: SSC_T2_MESH1 -# summary: set one node's parent to inexist router and establish network -# test point 1: manual network function -# test point 2: set parent test -# CI ready: 'Yes' -- ID: MESH_EST_2101 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -T -o 0 -t 1 - - - P SSC1 C +MESHSET:TYPE,OK - - - SSC SSC1 meshset -G -o 0 -m -n -t -e - -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - SSC SSC1 mesh -Q -o 2 - - - P SSC1 C IS_ROOT - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. mesh init/config dut1 no-router and set type root - 2. mesh start - 3. check dut1 is root - test environment: SSC_T1_MESH1 - summary: dut1 set type root, start mesh without router - test point 1: manual network function - test point 2: no-router function test - CI ready: 'Yes' -- ID: MESH_EST_2102 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -T -o 0 -t 1 - - - P SSC1 C +MESHSET:TYPE,OK - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - SSC SSC1 mesh -Q -o 2 - - - P SSC1 C IS_ROOT - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. mesh init/config dut1 set type root - 2. mesh start - 3. check dut1 connected with router and type root - test environment: SSC_T1_MESH1 - summary: dut1 set type root, set router and start mesh - test point 1: manual network function - test point 2: no-router function test - CI ready: 'Yes' -- ID: MESH_EST_2103 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC1 meshset -T -o 0 -t 1 - - - P SSC1 C +MESHSET:TYPE,OK - - - SSC SSC2 meshset -X -o 0 -i 1 - - - P SSC2 C +MESHSET:FIX_ROOT,OK - - - SSC SSC[1-2] meshset -G -o 0 -m -n -t -e - -i - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC[1-2] mesh -T - - - P SSC[1-2] C +MESH:START,OK - - P SSC2 C MESH_EVENT_CONNECTED,2 - - P SSC1 C MESH_EVENT_CHILD_CONNECTED - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. mesh init/config all duts no-router, set dut1 root - 2. mesh start all duts - 3. check mesh tree established and stably - test environment: SSC_T2_MESH1 - summary: dut1 set type root, dut2 fix root, establish mesh network without router - test point 1: manual network function - test point 2: no-router function test - CI ready: 'Yes' -- ID: MESH_EST_2104 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC1 meshset -T -o 0 -t 1 - - - P SSC1 C +MESHSET:TYPE,OK - - - SSC SSC1 meshset -G -o 0 -m -n -t -e - -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC2 meshset -G -o 0 -m -s -p -n - -t -e -i - - - P SSC2 C +MESHSET:CFG,OK - - - SSC SSC[1-2] mesh -T - - - P SSC[1-2] C +MESH:START,OK - - P SSC2 C MESH_EVENT_CONNECTED,2 - - P SSC1 C MESH_EVENT_CHILD_CONNECTED - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. mesh init/config all duts no-router, set dut1 root - 2. mesh start all duts - 3. check mesh tree established and stably - test environment: SSC_T2_MESH1 - summary: dut1 set type root without router, dut2 set router without set type, establish mesh network - test point 1: manual network function - test point 2: no-router function test - CI ready: 'No' -- ID: MESH_EST_2105 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -T -t 1 - - - P SSC1 C +MESHSET:TYPE,OK - - - SSC SSC1 meshset -G -o 0 -m -n -t -e - -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 2 5 - - - '' - - - SSC SSC1 mesh -I -o 1 - - - P SSC1 C +MESH:DEINIT,OK - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC1 meshset -T -o 1 - - - P SSC1 C +MESHGET:TYPE,OK,0 - - - SSC SSC[1-2] meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK - - - DELAY 5 - - - P SSC2 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK C MESH_EVENT_CONNECTED,2 - - P SSC2 C MESH_EVENT_CHILD_CONNECTED - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. start one dut with root leaf - 2. check mesh type cleared after re-init mesh - 3. start mesh and let this dut be layer2 - test environment: SSC_T2_MESH1 - summary: check mesh root type info cleared after mesh re-init - test point 1: manual network function - test point 2: no-router function test - CI ready: 'Yes' -- ID: MESH_EST_2106 - <<: *MESH_CASE - cmd set: - - '' - - *mesh_init_all_duts - - *mesh_config_all_duts_no_router - - *mesh_start_all_duts - - - DELAY - - - '' - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. mesh init/config all duts no-router, set dut1 root - 2. mesh start all duts - 3. check mesh tree established and stably - test environment: SSC_T50_MESH1 - summary: multiple nodes, establish mesh network without router - test point 1: manual network function - test point 2: no-router function test - CI ready: 'Yes' -- ID: MESH_EST_2107 - <<: *MESH_CASE - cmd set: - - '' - - *mesh_init_all_duts - - *mesh_config_all_duts_no_router - - *mesh_start_all_duts - - - DELAY - - - '' - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - - - SSC SSC1 reboot - - - P SSC1 C !!!ready!!! - - P MNODE(0,0) C MESH_EVENT_DISCONNECTED - - - DELAY 50 - - - P SSC[2-] C MESH_EVENT_NO_PARENT_FOUND - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. establish mesh no-router network - 2. root reboot - 3. check others can't connected - test environment: SSC_T50_MESH1 - summary: multiple nodes, establish mesh network without router, then root reboot - test point 1: manual network function - test point 2: no-router function test - CI ready: 'No' -- ID: MESH_EST_2108 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC1 meshset -T -o 0 -t 1 - - - P SSC1 C +MESHSET:TYPE,OK - - - SSC SSC2 meshset -X -o 0 -i 1 - - - P SSC2 C +MESHSET:FIX_ROOT,OK - - - SSC SSC[1-2] meshset -G -o 0 -m -n -t -e - -i - - - P SSC[1-2] C +MESHSET:CFG,OK - - - MSSC SSC[1-2] meshset -A -n -t -l 15 -i - - - P SSC[1-2] C +MESHSET:ATTEMPTS,OK - - - SSC SSC[1-2] mesh -T - - - P SSC[1-2] C +MESH:START,OK - - P SSC2 C MESH_EVENT_CONNECTED,2 - - - SSC SSC1 mesh -I -o 1 - - - P SSC1 C +MESH:DEINIT,OK - - P SSC2 C MESH_EVENT_DISCONNECTED - - - DELAY 40 - - - P SSC2 C MESH_EVENT_NO_PARENT_FOUND - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. establish mesh no-router network - 2. root deinit - 3. check layer2 no parent found - test environment: SSC_T2_MESH1 - summary: no-router, root deinit and check layer2 no parent found - test point 1: manual network function - test point 2: no-router function test - CI ready: 'No' -- ID: MESH_EST_2109 - <<: *MESH_CASE - cmd set: - - '' - - *mesh_init_all_duts - - *mesh_config_all_duts_no_router - - - MSSC SSC[1-] meshset -A -n -t -l 15 -i - - - P SSC[1-] C +MESHSET:ATTEMPTS,OK - - *mesh_start_all_duts - - - DELAY - - - '' - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - - - SSC SSC1 mesh -I -o 1 - - - P SSC1 C +MESH:DEINIT,OK - - P MNODE(0,0) C MESH_EVENT_DISCONNECTED - - - DELAY 60 - - - P MNODE(0,0) C MESH_EVENT_NO_PARENT_FOUND - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. establish mesh no-router network - 2. root deinit - 3. check others can't connected - test environment: SSC_T6_MESH1 - summary: multiple nodes, establish mesh network without router, then root deinit - test point 1: manual network function - test point 2: no-router function test - CI ready: 'No' -- ID: MESH_EST_2110 - <<: *MESH_CASE - cmd set: - - '' - - *mesh_init_all_duts - - *mesh_config_all_duts_no_router - - *mesh_start_all_duts - - - DELAY - - - '' - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - - - FREBOOT SSC1 - - - P SSC1 C !!!ready!!! - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - *mesh_config_dut1_no_router - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY - - - '' - - *mesh_check_tree_num - - *mesh_tree_stably - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. establish mesh no-router network - 2. root restart mesh - 3. check mesh tree re-establish - test environment: SSC_T50_MESH1 - summary: multiple nodes, establish mesh network without router, then root restart root and check mesh network re-establish - test point 1: manual network function - test point 2: no-router function test - CI ready: 'Yes' -- ID: MESH_EST_2111 - <<: *MESH_CASE - cmd set: - - '' - - *mesh_init_all_duts - - *mesh_config_all_duts_no_router - - *mesh_start_all_duts - - - DELAY - - - '' - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - - - SSC MNODE(0,0) reboot - - - P MNODE(0,0) C !!!ready!!! - - - DELAY - - - '' - - - VALUE -1 - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. establish mesh no-router network - 2. one of the l2 nodes reboot - 3. check mesh tree re-establish - test environment: SSC_T50_MESH1 - summary: multiple nodes, establish mesh network without router, then reboot one of the l2 nodes - test point 1: manual network function - test point 2: no-router function test - CI ready: 'No' -- ID: MESH_EST_2112 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-3] mesh -I - - - P SSC[1-3] C +MESH:INIT,OK - - - SSC SSC[1-2] meshset -T -o 0 -t 1 - - - P SSC[1-2] C +MESHSET:TYPE,OK - - - SSC SSC3 meshset -X -o 0 -i 1 - - - P SSC3 C +MESHSET:FIX_ROOT,OK - - - SSC SSC[1-3] meshset -G -o 0 -m -n -t -e - -i - - - P SSC[1-3] C +MESHSET:CFG,OK - - - SSC SSC[2-3] mesh -T - - - P SSC[2-3] C +MESH:START,OK - - P SSC3 C MESH_EVENT_CONNECTED,2 - - - SSC SSC2 mesh -I -o 1 - - - P SSC2 C +MESH:DEINIT,OK - - P SSC3 C MESH_EVENT_DISCONNECTED - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - P SSC3 C MESH_EVENT_CONNECTED,2 - - P SSC1 C MESH_EVENT_CHILD_CONNECTED - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. all duts set no-router, dut1 and dut2 is root, dut3 fix root - 2. start dut2 and dut3 establish network - 3. deinit dut2 and start dut1, dut3 disconencted with dut2 then connect to dut1 - test environment: SSC_T3_MESH1 - summary: set two no-router root, check node switch between two root - test point 1: manual network function - test point 2: no-router function test - CI ready: 'Yes' -- ID: MESH_EST_2201 - <<: *MESH_CASE - cmd set: - - '' - - - MSSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -T -t 3 - - - P SSC1 C +MESHSET:TYPE,OK - - - MSSC SSC1 meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC1 C +MESHSET:CFG,OK - - - MSSC SSC1 meshset -o 0 -L -l - - - P SSC1 C +MESHSET:MLAYER,OK - - - MSSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 10 - - - P SSC1 C MESH_EVENT_NO_PARENT_FOUND - - - SSC SSC1 op -Q - - - P SSC1 C +CURMODE:1 - - - LOOP 3 2 "[0,1,2]" "[0,1,2]" - - '' - - - SSC SSC1 sleep -S -t {%d} - - - P SSC1 C +SLEEP_MODE:OK - - - SSC SSC1 sleep -Q - - - P SSC1 C +CURMODE:{%d} - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. start one dut with mesh type leaf - 2. check not connect to Router - 3. check station mode - 4. check nonsleep/light/modem sleep mode setable - test environment: SSC_T1_MESH1 - summary: start dut1 as leaf, check disconnected, station mode, and sleep mode setable - test point 1: manual network function - test point 2: standalone station test - CI ready: 'Yes' -- ID: MESH_EST_2202 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC1 meshset -T -t 3 - - - P SSC1 C +MESHSET:TYPE,OK - - - SSC SSC[1-2] meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC[1-2] meshset -o 0 -L -l - - - P SSC[1-2] C +MESHSET:MLAYER,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 15 - - - '' - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK - - - DELAY 5 - - - P SSC2 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - P SSC1 C MESH_EVENT_CONNECTED,2 - - - SSC SSC1 op -Q - - - P SSC1 C +CURMODE:1 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. first start one dut with mesh type leaf - 2. then start the normal node - 3. check if networking established - 4. check wifo op mode station - test environment: SSC_T2_MESH1 - summary: dut1 start mesh with type leaf, dut2 normal node, establish network - test point 1: manual network function - test point 2: standalone station test - CI ready: 'Yes' -- ID: MESH_EST_2203 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -T -t 3 - - - P SSC1 C +MESHSET:TYPE,OK - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 3 10 - - - '' - - - SSC SSC1 mesh -I -o 1 - - - P SSC1 C +MESH:DEINIT,OK - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -T -o 1 - - - P SSC1 C +MESHGET:TYPE,OK,0 - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 5 - - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. start one dut with type leaf - 2. check mesh type cleared after re-init mesh - 3. start mesh and connected with Router - test environment: SSC_T1_MESH1 - summary: check mesh leaf type info cleared after mesh re-init - test point 1: manual network function - test point 2: standalone station test - CI ready: 'Yes' -- ID: MESH_EST_2204 - <<: *MESH_CASE - cmd set: - - '' - - - MSSC SSC[1-] mesh -I - - - P SSC[1-] C +MESH:INIT,OK - - - MSSC SSC[1-5] meshset -T -t 3 - - - P SSC[1-5] C +MESHSET:TYPE,OK - - - MSSC SSC[1-] meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC[1-] C +MESHSET:CFG,OK - - - MSSC SSC[1-] meshset -o 0 -L -l - - - P SSC[1-] C +MESHSET:MLAYER,OK - - - MSSC SSC[1-] mesh -T - - - P SSC[1-] C +MESH:START,OK - - - DELAY - - - '' - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - - - MSSC SSC[1-5] meshset -T -o 1 - - - P SSC[1-5] C +MESHGET:TYPE,OK,3 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. several duts set type leaf - 2. all duts start mesh together - 3. check if networking established - 4. check leaf type nodes - test environment: SSC_T50_MESH1 - summary: several duts set type leaf, all duts start mesh together - test point 1: manual network function - test point 2: standalone station test - CI ready: 'No' -- ID: MESH_EST_2301 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0,0) meshset -D -m - - - P MNODE(0,0) C MESHSET:MESH_ID,OK - - P MNODE(0,0) C MESH_EVENT_DISCONNECTED - - - DELAY 10 - - - P MNODE(0,0) C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - expected result: |- - 1. succeed - steps: |- - 1. dynamic set mesh id - initial condition: MESH_INIT1 - test environment: SSC_T2_MESH1 - summary: dynamic set mesh id, check disconnected with parent - test point 1: manual network function - test point 2: dynamic set configuration - CI ready: 'Yes' - #TODO: v3.1 will not run dynamic cases on CI -- ID: MESH_EST_2302 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0) meshset -D -m - - - P MNODE(0) C MESHSET:MESH_ID,OK - - P MNODE(0) C MESH_EVENT_CHILD_DISCONNECTED - expected result: |- - 1. succeed - steps: |- - 1. root dynamic set mesh id - initial condition: MESH_INIT1 - test environment: SSC_T2_MESH1 - summary: root dynamic set mesh id, check child leave - test point 1: manual network function - test point 2: dynamic set configuration - CI ready: 'Yes' -- ID: MESH_EST_2303 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0,0) meshset -D -m - - - P MNODE(0,0) C MESHSET:MESH_ID,OK - - P MNODE(0,0) C MESH_EVENT_CHILD_DISCONNECTED C MESH_EVENT_DISCONNECTED - - - DELAY 15 - - - '' - - - SSC MNODE(0,0) mesh -Q -o 2 - - - P MNODE(0,0) C IS_ROOT - expected result: |- - 1. succeed - steps: |- - 1. layer2 dynamic set mesh id - initial condition: MESH_INIT1 - test environment: SSC_T6_MESH1 - summary: layer2 dynamic set mesh id, check disconnected and child leave - test point 1: manual network function - test point 2: dynamic set configuration - CI ready: 'Yes' -- ID: MESH_EST_2304 - <<: *MESH_CASE - cmd set: - - '' - - - MSSC SSC[1-] mesh -I - - - P SSC[1-] C +MESH:INIT,OK - - - MSSC SSC[1-] meshset -G -o 0 -m -s -p -n - -b -t -i 0 - - - P SSC[1-] C +MESHSET:CFG,OK - - - MSSC SSC[1-] mesh -T - - - P SSC[1-] C +MESH:START,OK - - - DELAY - - - '' - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - - - SSC MNODE(0,0) meshset -D -m - - - P MNODE(0,0) C MESHSET:MESH_ID,OK - - P MNODE(0,0) C MESH_EVENT_CHILD_DISCONNECTED C MESH_EVENT_DISCONNECTED - - - DELAY 10 - - - P MNODE(0,0) C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - expected result: |- - 1. succeed - steps: |- - 1. root dynamic set mesh id - initial condition: MESH_DEINIT_STA - test environment: SSC_T6_MESH1 - summary: layer2 dynamic set mesh id without ie_encrypt, check disconnected and child leave - test point 1: manual network function - test point 2: dynamic set configuration - CI ready: 'Yes' -- ID: MESH_EST_2305 - <<: *MESH_CASE - cmd set: - - '' - - - MSSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - MSSC SSC[1-2] meshset -G -o 0 -m [,] -s -p -n - -b -t -e -i - - - P SSC[1-2] C +MESHSET:CFG,OK - - - MSSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK - - P SSC2 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - MSSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - SSC SSC1 meshset -D -m - - - P SSC1 C MESHSET:MESH_ID,OK - - P SSC1 C MESH_EVENT_CONNECTED,2 - expected result: |- - 1. succeed - steps: |- - 1. layer2 dynamic set mesh id - initial condition: MESH_DEINIT_STA - test environment: SSC_T2_MESH1 - summary: dynamic set mesh id on disconnected node, check connected - test point 1: manual network function - test point 2: dynamic set configuration - CI ready: 'Yes' -- ID: MESH_EST_2306 - <<: *MESH_CASE - cmd set: - - '' - - - MSSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - MSSC SSC[1-2] meshset -G -o 0 -m [,] -s -p -n - -b -t -e -i - - - P SSC[1-2] C +MESHSET:CFG,OK - - - MSSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 10 - - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - SSC SSC1 meshset -D -m - - - P SSC1 C MESHSET:MESH_ID,OK - - - MSSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK - - P SSC2 C MESH_EVENT_CONNECTED,2 - expected result: |- - 1. succeed - steps: |- - 1. layer2 dynamic set mesh id - initial condition: MESH_DEINIT_STA - test environment: SSC_T2_MESH1 - summary: dynamic set mesh id on root, check new node join - test point 1: manual network function - test point 2: dynamic set configuration - CI ready: 'Yes' -- ID: MESH_EST_2307 - <<: *MESH_CASE - cmd set: - - '' - - - MSSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - MSSC SSC[1-2] meshset -G -o 0 -m [,] -s -p -n - -b -t -e -i - - - P SSC[1-2] C +MESHSET:CFG,OK - - - MSSC SSC[1-2] mesh -T - - - P SSC[1-2] C +MESH:START,OK - - - DELAY 10 - - - P SSC[1-2] C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - SSC SSC1 meshset -D -m - - - P SSC1 C MESHSET:MESH_ID,OK - - - P SSC1 C MESH_EVENT_DISCONNECTED - - - DELAY 5 - - P SSC1 C MESH_EVENT_CONNECTED,2 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. set 2 duts with different mesh_id, both root - 2. dynamic set mesh id on dut1 - 3. dut1 disconnected with router and join the other network - initial condition: MESH_DEINIT_STA - test environment: SSC_T2_MESH1 - summary: dynamic set mesh id on root, check disconnected and join new network - test point 1: manual network function - test point 2: dynamic set configuration - CI ready: 'Yes' -- ID: MESH_EST_2308 - <<: *MESH_CASE - cmd set: - - '' - - - MSSC SSC[1-] mesh -I - - - P SSC[1-] C +MESH:INIT,OK - - - MSSC SSC[1-] meshset -G -o 0 -m -s -p -n - -b -t -e -i 0 - - - P SSC[1-] C +MESHSET:CFG,OK - - - MSSC SSC[1-] mesh -T - - - P SSC[1-] C +MESH:START,OK - - - DELAY - - - '' - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - - - SSC MNODE(0,0) meshset -E -i 1 -e -l 10 - - - P MNODE(0,0) C MESHSET:MIE_FUNC,OK C MESHSET:MIE_KEY,OK - - P MNODE(0,0) C MESH_EVENT_CHILD_DISCONNECTED C MESH_EVENT_DISCONNECTED - - - DELAY 15 - - - '' - - - SSC MNODE(0,0) mesh -Q -o 2 - - - P MNODE(0,0) C IS_ROOT - expected result: |- - 1. succeed - steps: |- - 1. all duts establish mesh neetwork with ie_encrypt = 0 - 2. layer 2 dynamic set mesh ie encrypt - 3. check layer2 disconnected with parent and then become root - initial condition: MESH_DEINIT_STA - test environment: SSC_T6_MESH1 - summary: dynamic set mesh ie encrypt, check disconnected and child leave - test point 1: manual network function - test point 2: dynamic set configuration - CI ready: 'No' -- ID: MESH_EST_2309 - <<: *MESH_CASE - cmd set: - - '' - - - MSSC SSC[1-] mesh -I - - - P SSC[1-] C +MESH:INIT,OK - - - MSSC SSC[1-] meshset -G -o 0 -m -s -p -n - -b -t -e -i 1 - - - P SSC[1-] C +MESHSET:CFG,OK - - - MSSC SSC[1-] mesh -T - - - P SSC[1-] C +MESH:START,OK - - - DELAY - - - '' - - - VALUE - - - R PC_COM L OK - - *mesh_check_tree_num - - *mesh_tree_stably - - - SSC MNODE(0,0) meshset -E -i 1 -e -l 10 - - - P MNODE(0,0) C MESHSET:MIE_FUNC,OK C MESHSET:MIE_KEY,OK - - P MNODE(0,0) C MESH_EVENT_CHILD_DISCONNECTED C MESH_EVENT_DISCONNECTED - - - DELAY 15 - - - '' - - - SSC MNODE(0,0) mesh -Q -o 2 - - - P MNODE(0,0) C IS_ROOT - expected result: |- - 1. succeed - steps: |- - 1. all duts establish mesh neetwork with ie_encrypt = 1 - 2. layer 2 dynamic set mesh ie encrypt key - 3. check layer2 disconnected with parent and then become root - initial condition: MESH_DEINIT_STA - test environment: SSC_T6_MESH1 - summary: dynamic set mesh ie key, check disconnected and child leave - test point 1: manual network function - test point 2: dynamic set configuration - CI ready: 'Yes' -- ID: MESH_EST_2310 - <<: *MESH_CASE - cmd set: - - '' - - - MSSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - MSSC SSC[1-2] meshset -G -o 0 -m -s -p -n - -b -t -e -i [0,1] - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 10 - - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK - - - SSC SSC2 meshset -E -i 0 -e -l 10 - - - P SSC2 C MESHSET:MIE_FUNC,OK C MESHSET:MIE_KEY,OK - - P SSC2 C MESH_EVENT_CONNECTED,2 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. dut1 set ie_encrypt=0 and dut2 set ie encrypt=1 - 2. start dut1 to be root first - 3. start dut2 and dynamic set mesh ie encrypt=0 - 4. check dut2 connected with dut1 - initial condition: MESH_DEINIT_STA - test environment: SSC_T2_MESH1 - summary: dynamic set mesh ie encrypt to 0, check connected - test point 1: manual network function - test point 2: dynamic set configuration - CI ready: 'Yes' -- ID: MESH_EST_2311 - <<: *MESH_CASE - cmd set: - - '' - - - MSSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - MSSC SSC[1-2] meshset -G -o 0 -m -s -p -n - -b -t -e -i [1,0] - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 10 - - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK - - - SSC SSC2 meshset -E -i 1 -e -l 10 - - - P SSC2 C MESHSET:MIE_FUNC,OK C MESHSET:MIE_KEY,OK - - P SSC2 C MESH_EVENT_CONNECTED,2 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. dut1 set ie_encrypt=1 and dut2 set ie encrypt=0 - 2. start dut1 to be root first - 3. start dut2 and dynamic set mesh ie encrypt=1 - 4. check dut2 connected with dut1 - initial condition: MESH_DEINIT_STA - test environment: SSC_T2_MESH1 - summary: dynamic set mesh ie encrypt to 1, check connected - test point 1: manual network function - test point 2: dynamic set configuration - CI ready: 'Yes' -- ID: MESH_EST_2312 - <<: *MESH_CASE - cmd set: - - '' - - - MSSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - MSSC SSC[1-2] meshset -G -o 0 -m -s -p -n - -b -t -e -i 0 - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC[1-2] meshset -E -i 1 -e [,] -l 10 - - - P SSC[1-2] C MESHSET:MIE_FUNC,OK C MESHSET:MIE_KEY,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 10 - - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK - - - SSC SSC2 meshset -E -i 1 -e -l 10 - - - P SSC2 C MESHSET:MIE_FUNC,OK C MESHSET:MIE_KEY,OK - - P SSC2 C MESH_EVENT_CONNECTED,2 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. 2 duts config mesh with different ie_encrypt key - 2. dut2 dynamic set mesh ie encrypt key after start - 3. check dut2 connected with dut1 - initial condition: MESH_DEINIT_STA - test environment: SSC_T2_MESH1 - summary: dynamic set mesh ie key, check connected - test point 1: manual network function - test point 2: dynamic set configuration - CI ready: 'Yes' -- ID: MESH_EST_2401 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 1 2 - - - '' - - - SSC SSC1 meshset -O -o 0 -n 0 -t 0 - - - P SSC1 C +MESHSET:SELF_ORG,OK - - - SSC SSC1 sta -S -T - - - P SSC1 C MESH_EVENT_SCAN_DONE - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. dut1 start mesh then set self_organized(0,0) - 2. wifi scan - 2. check MESH_EVENT_SCAN_DONE on dut1 - initial condition: MESH_DEINIT_STA - test environment: SSC_T1_MESH1 - summary: set self_organized (0,0) and user scan after mesh start - test point 1: manual network function - test point 2: self_organized - CI ready: 'Yes' -- ID: MESH_EST_2402 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 op -S -o 2 - - - P SSC1 C +MODE:OK - - - SSC SSC1 ap -S -s -p -n -t - - - R SSC1 C +SAP:OK - - - SSC SSC2 mesh -I - - - P SSC2 C +MESH:INIT,OK - - - SSC SSC2 meshset -G -o 0 -m -s -p -n - -t -e -i - - - P SSC2 C +MESHSET:CFG,OK - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK - - P SSC2 C MESH_EVENT_CONNECTED,1 - - - SSC SSC1 reboot - - - P SSC1 C !!!ready!!! - - P SSC2 C MESH_EVENT_DISCONNECTE - - - SSC SSC2 meshset -O -o 0 -n 0 -t 0 - - - P SSC2 C +MESHSET:SELF_ORG,OK - - - DELAY 1 - - - P SSC2 C MESH_EVENT_STOP_RECONNECTION - - - SSC SSC2 sta -S -T - - - P SSC2 C MESH_EVENT_SCAN_DONE - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. dut1 set AP, dut2 start mesh and connected with dut1 - 2. reboot dut1, dut2 disconnected with dut1 - 3. set self_organized(0,0) and then use scan (stop scan first) - initial condition: MESH_DEINIT_STA - test environment: SSC_T2_MESH1 - summary: set self_organized (0,0) when root connecting to router - test point 1: manual network function - test point 2: self_organized - CI ready: 'Yes' - # TODO: discussion -- ID: MESH_EST_2403 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 op -S -o 2 - - - P SSC1 C +MODE:OK - - - SSC SSC1 ap -S -s -p -n -t - - - R SSC1 C +SAP:OK - - - SSC SSC2 mesh -I - - - P SSC2 C +MESH:INIT,OK - - - SSC SSC2 meshset -G -o 0 -m -s -p -n - -t -e -i - - - P SSC2 C +MESHSET:CFG,OK - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK - - P SSC2 C MESH_EVENT_CONNECTED,1 - - - SSC SSC1 reboot - - - P SSC1 C !!!ready!!! - - P SSC2 C MESH_EVENT_DISCONNECTE - - - SSC SSC2 meshset -O -o 0 -n 1 -t 1 - - - P SSC2 C +MESHSET:SELF_ORG,OK - - - SSC SSC2 meshset -T -o 1 - - - P SSC2 C MESHGET:TYPE,OK,0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. dut1 set AP, dut2 start mesh and connected with dut1 - 2. reboot dut1, dut2 disconnected with dut1 - 3. set dut2 self_organized(1,1) and check it IDLE - initial condition: MESH_DEINIT_STA - test environment: SSC_T2_MESH1 - summary: set self_organized (1,1) to give up root state - test point 1: manual network function - test point 2: self_organized - CI ready: 'Yes' -- ID: MESH_EST_6001 - <<: *MESH_CASE - category: Performance - cmd set: - - MeshStress/MeshEstablishTime - - *est_performance_cmd_set - execution time: 2.0 - expected result: |- - 1. check the time spent on mesh network establish - steps: |- - 1. enable all nodes establish network - summary: performance test, start all nodes to establish network - test point 1: performance - test point 2: mesh network establish - test environment: SSC_T50_MESH1 -- ID: MESH_EST_6002 - <<: *MESH_CASE - category: Performance - cmd set: - - MeshStress/MeshEstablishTime - - *est_performance_cmd_set - - - 'ie_encrypt = False' - - [''] - execution time: 2.0 - expected result: |- - 1. check the time spent on mesh network establish - steps: |- - 1. enable all nodes establish network without mesh ie encrypted - summary: performance test, start all nodes to establish network without mesh ie encrypted - test point 1: performance - test point 2: mesh network establish - test environment: SSC_T50_MESH1 -- ID: MESH_EST_6003 - <<: *MESH_CASE - category: Performance - cmd set: - - MeshStress/MeshEstablishTime - - *est_performance_cmd_set - - - 'map_encrypt = False' - - [''] - execution time: 2.0 - expected result: |- - 1. check the time spent on mesh network establish - steps: |- - 1. enable all nodes establish network without mesh ap encrypted - summary: performance test, start all nodes to establish network without mesh ap encrypted - test point 1: performance - test point 2: mesh network establish - test environment: SSC_T50_MESH1 -- ID: MESH_EST_6004 - <<: *MESH_CASE - category: Performance - cmd set: - - MeshStress/MeshEstablishTime - - *est_performance_cmd_set - - - 'map_encrypt = False' - - [''] - - - 'ie_encrypt = False' - - [''] - execution time: 2.0 - expected result: |- - 1. check the time spent on mesh network establish - steps: |- - 1. enable all nodes establish network without map/mie encrypted - summary: performance test, start all nodes to establish network without map/mie encrypted - test point 1: performance - test point 2: mesh network establish - test environment: SSC_T50_MESH1 -- ID: MESH_EST_6005 - <<: *MESH_CASE - category: Performance - cmd set: - - MeshStress/MeshEstablishTime - - *est_performance_cmd_set - - - 'default_switch_rssi = True' - - [''] - execution time: 2.0 - expected result: |- - 1. check the time spent on mesh network establish - steps: |- - 1. enable all nodes establish network without default switch rssi - summary: performance test, start all nodes to establish network with default switch rssi - test point 1: performance - test point 2: mesh network establish - test environment: SSC_T50_MESH1 -- ID: MESH_EST_6101 - <<: *MESH_CASE - category: Performance - cmd set: - - MeshStress/MeshEstablishTime - - *est_performance_cmd_set - - - 'destroy_nodes = ["MNODE(0)"]' - - [''] - execution time: 2.0 - expected result: |- - 1. check the time spent - 1. check the time spent - initial condition: MESH_DEINIT_STA - steps: |- - 1. enable all nodes establish network - 2. destroy root after network established - summary: performance test, destroy root after network established - test point 1: performance - test point 2: mesh network re-establish - test environment: SSC_T50_MESH1 -- ID: MESH_EST_6102 - <<: *MESH_CASE - category: Performance - cmd set: - - MeshStress/MeshEstablishTime - - *est_performance_cmd_set - - - 'destroy_nodes = ["MNODE(l2)"]' - - [''] - execution time: 2.0 - expected result: |- - 1. check the time spent - 1. check the time spent - initial condition: MESH_DEINIT_STA - steps: |- - 1. enable all nodes establish network - 2. destroy root after network established - summary: performance test, destroy L2 nodes after network established - test point 1: performance - test point 2: mesh network re-establish - test environment: SSC_T50_MESH1 -- ID: MESH_EST_6103 - <<: *MESH_CASE - category: Performance - cmd set: - - MeshStress/MeshEstablishTime - - *est_performance_cmd_set - - - 'destroy_nodes = ["MNODE(l1-l2)"]' - - [''] - execution time: 2.0 - expected result: |- - 1. check the time spent - 1. check the time spent - initial condition: MESH_DEINIT_STA - steps: |- - 1. enable all nodes establish network - 2. destroy root after network established - summary: performance test, destroy root and L2 nodes after network established - test point 1: performance - test point 2: mesh network re-establish - test environment: SSC_T50_MESH1 -- ID: MESH_EST_6104 - <<: *MESH_CASE - category: Performance - cmd set: - - MeshStress/MeshEstablishTime - - *est_performance_cmd_set - - - 'destroy_nodes = "RANDOM(10)"' - - [''] - execution time: 2.0 - expected result: |- - 1. check the time spent - 1. check the time spent - initial condition: MESH_DEINIT_STA - steps: |- - 1. enable all nodes establish network - 2. destroy root after network established - summary: performance test, destroy random 10 nodes after network established - test point 1: performance - test point 2: mesh network re-establish - test environment: SSC_T50_MESH1 -- ID: MESH_EST_6105 - <<: *MESH_CASE - category: Performance - cmd set: - - MeshStress/MeshEstablishTime - - *est_performance_cmd_set - - - 'destroy_nodes = "MNODE(0)"' - - [''] - - - 'restart_mesh = True' - - [''] - execution time: 2.0 - expected result: |- - 1. check the time spent - 1. check the time spent - initial condition: MESH_DEINIT_STA - steps: |- - 1. enable all nodes establish network - 2. destroy root after network established - summary: performance test, root restart mesh after network established - test point 1: performance - test point 2: mesh network re-establish - test environment: SSC_T50_MESH1 -- ID: MESH_EST_6106 - <<: *MESH_CASE - category: Performance - cmd set: - - MeshStress/MeshEstablishTime - - *est_performance_cmd_set - - - 'destroy_nodes = "MNODE(0)"' - - [''] - - - 'destroy_mode = "power"' - - [''] - - - 'restart_mesh = True' - - [''] - execution time: 2.0 - expected result: |- - 1. check the time spent - 1. check the time spent - initial condition: MESH_DEINIT_STA - steps: |- - 1. enable all nodes establish network - 2. destroy root after network established - summary: performance test, power reset root and restart mesh after network established - test point 1: performance - test point 2: mesh network re-establish - test environment: SSC_T50_MESH1 -- ID: MESH_EST_6107 - <<: *MESH_CASE - category: Performance - cmd set: - - MeshStress/MeshEstablishTime - - *est_performance_cmd_set - - - 'destroy_nodes = "RANDOM(10)"' - - [''] - - - 'destroy_mode = "power"' - - [''] - - - 'restart_mesh = True' - - [''] - execution time: 2.0 - expected result: |- - 1. check the time spent - 1. check the time spent - initial condition: MESH_DEINIT_STA - steps: |- - 1. enable all nodes establish network - 2. destroy root after network established - summary: performance test, power reset random nodes and restart mesh after network established - test point 1: performance - test point 2: mesh network re-establish - test environment: SSC_T50_MESH1 - -- ID: MESH_EST_5001 - <<: *MESH_CASE - category: Stress - cmd set: - - MeshStress/MeshEstablishTime - - *est_performance_cmd_set - - - 'start_number_list = [1,0]' - - [''] - - - 'start_interval_sec = 15' - - [''] - execution time: 2.0 - expected result: |- - 1. check the time spent on mesh network establish - steps: |- - 1. enable all nodes establish network without map/mie encrypted - summary: stress test, start one nodes to be root first, then start all others - test point 1: stress - test point 2: mesh network establish - test environment: SSC_T50_MESH1 -- ID: MESH_EST_5002 - <<: *MESH_CASE - category: Stress - cmd set: - - MeshStress/MeshEstablishTime - - *est_performance_cmd_set - - - 'start_number_list = [1,0]' - - [''] - - - 'start_interval_sec = random.uniform(1,10)' - - [''] - execution time: 2.0 - expected result: |- - 1. check the time spent - steps: |- - 1. enable all nodes establish - summary: stress test, start one nodes first, then start others - test point 1: stress - test point 2: mesh network establish - test environment: SSC_T50_MESH1 -- ID: MESH_EST_5003 - <<: *MESH_CASE - category: Stress - cmd set: - - MeshStress/MeshEstablishTime - - *est_performance_cmd_set - - - 'start_number_list = [1,1,1,1,1,1,1,1,1,1,0]' - - [''] - - - 'start_interval_sec = random.uniform(1,5)' - - [''] - execution time: 2.0 - expected result: |- - 1. check the time spent - steps: |- - 1. enable all nodes establish network - summary: stress test, start 10 nodes one by one, then start others - test point 1: stress - test point 2: mesh network establish - test environment: SSC_T50_MESH1 -- ID: MESH_EST_5004 - <<: *MESH_CASE - category: Stress - cmd set: - - MeshStress/MeshEstablishTime - - *est_performance_cmd_set - - - 'start_number_list = [1,2,3,4,8,0]' - - [''] - - - 'start_interval_sec = random.uniform(1,5)' - - [''] - execution time: 2.0 - expected result: |- - 1. check the time spent on mesh network establish - steps: |- - 1. enable all nodes establish network - summary: stress test, start [1,2,3,4,8] nodes with interval , then start others - test point 1: stress - test point 2: mesh network establish - test environment: SSC_T50_MESH1 -- ID: MESH_EST_5005 - <<: *MESH_CASE - category: Stress - cmd set: - - MeshStress/MeshEstablishTime - - *est_performance_cmd_set - - - 'allow_roots = False' - - [''] - execution time: 2.0 - expected result: |- - 1. check the time spent - steps: |- - 1. enable all nodes establish - summary: stress test, start all nodes with allow_roots false - test point 1: stress - test point 2: mesh network establish - test environment: SSC_T50_MESH1 -- ID: MESH_EST_5101 - <<: *MESH_CASE - category: Stress - cmd set: - - MeshStress/MeshEstablishTime - - *est_performance_cmd_set - - - 'destroy_nodes = "MNODE(0)"' - - [''] - - - 'establish_fail_time = 1200' - - [''] - execution time: 2.0 - expected result: |- - 1. check the time spent - 1. check the time spent - initial condition: MESH_DEINIT_STA - steps: |- - 1. enable all nodes establish network - 2. destroy root after network established - summary: stress test, destroy root after network established - test point 1: stress - test point 2: mesh network re-establish - test environment: SSC_T50_MESH1 -- ID: MESH_EST_5102 - <<: *MESH_CASE - category: Stress - cmd set: - - MeshStress/MeshEstablishTime - - *est_performance_cmd_set - - - 'destroy_nodes = "MNODE(0)"' - - [''] - - - 'establish_fail_time = 1200' - - [''] - - - 'destroy_mode = "power"' - - [''] - execution time: 2.0 - expected result: |- - 1. check the time spent - 1. check the time spent - initial condition: MESH_DEINIT_STA - steps: |- - 1. enable all nodes establish network - 2. destroy root after network established - summary: stress test, power reset root after network established - test point 1: stress - test point 2: mesh network re-establish - test environment: SSC_T50_MESH1 -- ID: MESH_EST_5103 - <<: *MESH_CASE - category: Stress - cmd set: - - MeshStress/MeshEstablishTime - - *est_performance_cmd_set - - - 'destroy_nodes = "MNODE(0)"' - - [''] - - - 'establish_fail_time = 1200' - - [''] - - - 'destroy_mode = "power"' - - [''] - - - 'restart_mesh = True' - - [''] - execution time: 2.0 - expected result: |- - 1. check the time spent - 1. check the time spent - initial condition: MESH_DEINIT_STA - steps: |- - 1. enable all nodes establish network - 2. destroy root after network established - summary: stress test, power reset root and restart mesh after network established - test point 1: stress - test point 2: mesh network re-establish - test environment: SSC_T50_MESH1 -- ID: MESH_EST_5104 - <<: *MESH_CASE - category: Stress - cmd set: - - MeshStress/MeshEstablishTime - - *est_performance_cmd_set - - - 'destroy_nodes = "RANDOM(10)"' - - [''] - - - 'destroy_mode = "power"' - - [''] - execution time: 2.0 - expected result: |- - 1. check the time spent - 1. check the time spent - initial condition: MESH_DEINIT_STA - steps: |- - 1. enable all nodes establish network - 2. power reset 10 nodes after network established - summary: stress test, power reset 10 nodes after network established - test point 1: stress - test point 2: mesh network re-establish - test environment: SSC_T50_MESH1 -- ID: MESH_EST_5105 - <<: *MESH_CASE - category: Stress - cmd set: - - MeshStress/MeshEstablishTime - - *est_performance_cmd_set - - - 'destroy_nodes = "RANDOM(10)"' - - [''] - - - 'destroy_mode = "power"' - - [''] - - - 'restart_mesh = True' - - [''] - execution time: 2.0 - expected result: |- - 1. check the time spent - 1. check the time spent - initial condition: MESH_DEINIT_STA - steps: |- - 1. enable all nodes establish network - 2. power reset random 10 nodes and restart after network established - summary: stress test, power reset random 10 nodes and restart after network established - test point 1: stress - test point 2: mesh network re-establish - test environment: SSC_T50_MESH1 -- ID: MESH_EST_5106 - <<: *MESH_CASE - category: Stress - cmd set: - - MeshStress/MeshNetworkDestroy - - - 'destroy_nodes = "RANDOM(10)"' - - [''] - execution time: 2.0 - expected result: |- - 1. check the time spent - 1. check the time spent - initial condition: MESH_INIT_SWITCH - steps: |- - 1. enable all nodes establish network - 2. reboot random 10 nodes after network established - summary: multiple router, reboot random 10 nodes after network established - test point 1: stress - test point 2: channel switch test - test environment: SSC_T50_MESH1 -- ID: MESH_EST_5107 - <<: *MESH_CASE - category: Stress - cmd set: - - MeshStress/MeshEstablishTime - - *est_performance_cmd_set - - - 'destroy_nodes = "RANDOM(10)"' - - [''] - execution time: 2.0 - expected result: |- - 1. check the time spent - 1. check the time spent - initial condition: MESH_DEINIT_STA - steps: |- - 1. enable all nodes establish network - 2. destroy random 10 nodes after network established - summary: stress test, destroy random 10 nodes after network established - test point 1: stress - test point 2: mesh network re-establish - test environment: SSC_T50_MESH1 diff --git a/components/idf_test/integration_test/TC_IT_MESH_MISC.yml b/components/idf_test/integration_test/TC_IT_MESH_MISC.yml deleted file mode 100644 index eabc765943..0000000000 --- a/components/idf_test/integration_test/TC_IT_MESH_MISC.yml +++ /dev/null @@ -1,867 +0,0 @@ -.MESH_CASE: &MESH_CASE - SDK: ESP32_IDF - Test App: SSC_MESH - auto test: 'Yes' - category: Function - test point 1: basic function - initial condition: MESH_DEINIT_STA - test environment: SSC_T50_MESH1 - execution time: 0.0 - module: Mesh - sub module: Misc - version: v1 (2018-08-15) - CI ready: 'No' - level: Integration - allow fail: '' - -.set_softap_dut1: &set_softap_dut1 - LIST_MERGE: - - - 'SSC SSC1 op -S -o 2' - - ['P SSC1 C +MODE:OK'] - - - 'SSC SSC1 ap -S -s -p -n -t ' - - ['P SSC1 C +SAP:OK'] - - - 'SSC SSC1 dhcp -E -o 2' - - ['R SSC1 C +DHCP:AP,OK'] - - - 'SSC SSC1 ip -S -o 2 -i 192.168.123.1' - - ['R SSC1 C +IP:OK'] - - - 'SSC SSC1 dhcp -S -o 2' - - ['R SSC1 C +DHCP:AP,OK'] - -test cases: -- ID: MESH_MISC_0101 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 mesh -I -o 1 - - - P SSC1 C +MESH:DEINIT,OK - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. dut1 init/config mesh - 2. dut1 deinit mesh - initial condition: MESH_DEINIT_STA - test environment: SSC_T1_MESH1 - summary: 1 dut mesh deinit after mesh configured - test point 2: mesh deinit/stop test - CI ready: 'Yes' -- ID: MESH_MISC_0102 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 1 5 - - - '' - - - SSC SSC1 mesh -I -o 1 - - - P SSC1 C +MESH:DEINIT,OK - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. dut1 start mesh - 2. dut1 deinit mesh - initial condition: MESH_DEINIT_STA - test environment: SSC_T1_MESH1 - summary: 1 dut mesh deinit after mesh started - test point 2: mesh deinit/stop test - CI ready: 'Yes' -- ID: MESH_MISC_0103 - <<: *MESH_CASE - cmd set: - - '' - - - MSSC SSC[1-] mesh -I - - - P SSC[1-] C +MESH:INIT,OK - - - MSSC SSC[1-] meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC[1-] C +MESHSET:CFG,OK - - - MSSC SSC[1-] mesh -T - - - P SSC[1-] C +MESH:START,OK - - - DELAY 1 5 - - - '' - - - MSSC SSC[1-] mesh -T -o 1 - - - P SSC[1-] C +MESH:STOP,OK - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. dut1 start mesh - 2. dut1 stop mesh - initial condition: MESH_DEINIT_STA - test environment: SSC_T6_MESH1 - summary: 6 duts mesh stop after mesh started - test point 2: mesh deinit/stop test - CI ready: 'Yes' -- ID: MESH_MISC_0104 - <<: *MESH_CASE - cmd set: - - '' - - - MSSC SSC[1-] mesh -T -o 2 - - - P SSC[1-] C +MESH:START,OK - - - DELAY - - - '' - - - MSSC SSC[1-] mesh -Q -o 2 - - - P SSC[1-] T topo - - - MESHTREE - - - R PC_COM RE "MESHTREE:%%s"%%() - - - SSC MNODE(0) meshsend -S -d -l 1000 -c 20 -b 20 -f 2 - - - P MNODE(0) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0,-1) C +MESHRXPKT,OK - - - SSC MNODE(0,-1) meshsend -S -d -l 1000 -c 20 -b 20 -f 8 - - - P MNODE(0,-1) C +MESHTXPKT,OK C +MESHSEND,OK - - P MNODE(0) C TODS_PKT,OK - - - SSC MNODE(0) mesh -R -o 1 - - - P MNODE(0) C +MESHRX:STOP,OK - - - SSC MNODE(0,-1) meshsend -S -d -l 1000 -c 100 -b 20 -f 8 - - - '' - - - DELAY 10 - - - P PC_COM C DELAYDONE - - P MNODE(0,-1) C +MESHTXPKT,OK NC +MESHTXPKT,FAIL NC +MESHSEND,OK - - - SSC MNODE(0) mesh -R -o 0 - - - P MNODE(0) C +MESHRX:START,OK C TODS_PKT,OK - - P MNODE(0,-1) C +MESHSEND,OK - expected result: |- - 1. restart mesh and establish network - 2. root send packet to leaf - 3. leaf send packet tods - 4. stop recv task on root - 5. leaf send packet tods, blocked - 5. start recv task on root, leaf send out all packet - steps: |- - 1. dut1 start mesh - 2. dut1 stop mesh - initial condition: MESH_INIT1 - test environment: SSC_T6_MESH1 - summary: mesh restart and send packet test - test point 2: mesh deinit/stop test - CI ready: 'No' - - - -- ID: MESH_MISC_0201 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 10 - - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. start dut1 and connect to router - 2. check MESH_EVENT_ROOT_GOT_IP - initial condition: MESH_DEINIT_STA - test environment: SSC_T1_MESH1 - summary: MESH_EVENT_CHILD_CONNECTED and MESH_EVENT_ROOT_GOT_IP test - test point 2: mesh event test - CI ready: 'Yes' -- ID: MESH_MISC_0202 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC[1-2] meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 10 - - - P SSC1 C MESH_EVENT_CONNECTED,1 - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK C MESH_EVENT_CONNECTED,2 - - P SSC1 C MESH_EVENT_CHILD_CONNECTED C MESH_EVENT_ROUTING_TABLE_ADD - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. start dut1 to be root first - 2. start another and check event on dut1 - initial condition: MESH_DEINIT_STA - test environment: SSC_T2_MESH1 - summary: MESH_EVENT_CHILD_CONNECTED and MESH_EVENT_ROUTING_TABLE_ADD test - test point 2: mesh event test - CI ready: 'Yes' -- ID: MESH_MISC_0203 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-3] mesh -I - - - P SSC[1-3] C +MESH:INIT,OK - - - SSC SSC[1-3] meshset -G -o 0 -m -s -p -n - -b -t 1 -e -i - - - P SSC[1-3] C +MESHSET:CFG,OK - - - SSC SSC[1-2] mesh -T - - - P SSC[1-2] C +MESH:START,OK - - - DELAY 10 - - - P SSC[1-2] C MESH_EVENT_CONNECTED - - - SSC SSC3 mesh -T - - - P SSC3 C +MESH:START,OK C MESH_EVENT_CONNECTED,3 - - P SSC[1-2] C MESH_EVENT_ROUTING_TABLE_ADD - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. set max_connect=1 and two duts start mesh and establish network - 2. start another and check event on dut1 - initial condition: MESH_DEINIT_STA - test environment: SSC_T3_MESH1 - summary: MESH_EVENT_ROUTING_TABLE_ADD test (layer3 join) - test point 2: mesh event test - CI ready: 'Yes' -#TODO: wrong password should not find MESH_EVENT_ROUTING_TABLE_ADD -- ID: MESH_MISC_0205 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0,0) reboot - - - P MNODE(0,0) C !!!ready!!! - - P MNODE(0) C MESH_EVENT_CHILD_DISCONNECTED - - P MNODE(0) C MESH_EVENT_ROUTING_TABLE_REMOVE - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. reboot root - 2. layer2 disconnected and then become new root - initial condition: MESH_INIT1 - test environment: SSC_T2_MESH1 - summary: MESH_EVENT_CHILD_DISCONNECTED and MESH_EVENT_ROUTING_TABLE_REMOVE test - test point 2: mesh event test - CI ready: 'Yes' -- ID: MESH_MISC_0206 - <<: *MESH_CASE - cmd set: - - '' - - - FREBOOT MNODE(0,0) - - - P MNODE(0,0) C !!!ready!!! - - - DELAY 10 - - - P MNODE(0) C MESH_EVENT_CHILD_DISCONNECTED - - P MNODE(0) C MESH_EVENT_ROUTING_TABLE_REMOVE - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. reboot root - 2. layer2 disconnected and then become new root - initial condition: MESH_INIT1 - test environment: SSC_T2_MESH1 - summary: MESH_EVENT_CHILD_DISCONNECTED and MESH_EVENT_ROUTING_TABLE_REMOVE test (power reset) - test point 2: mesh event test - CI ready: 'Yes' -- ID: MESH_MISC_0207 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0,0) mesh -I -o 1 - - - P MNODE(0,0) C MESH:DEINIT,OK - - P MNODE(0) C MESH_EVENT_CHILD_DISCONNECTED - - P MNODE(0) C MESH_EVENT_ROUTING_TABLE_REMOVE - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. reboot root - 2. layer2 disconnected and then become new root - initial condition: MESH_INIT1 - test environment: SSC_T2_MESH1 - summary: MESH_EVENT_CHILD_DISCONNECTED and MESH_EVENT_ROUTING_TABLE_REMOVE test (mesh deinit) - test point 2: mesh event test - CI ready: 'Yes' -- ID: MESH_MISC_0208 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0,0,0) reboot - - - P MNODE(0,0,0) C !!!ready!!! - - P MNODE(0,0) C MESH_EVENT_ROUTING_TABLE_REMOVE - - P MNODE(0) C MESH_EVENT_ROUTING_TABLE_REMOVE - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. reboot root - 2. layer2 disconnected and then become new root - initial condition: MESH_INIT1 - test environment: SSC_T12_MESH1 - summary: MESH_EVENT_ROUTING_TABLE_REMOVE test (layer3 leave) - test point 2: mesh event test - CI ready: 'Yes' -- ID: MESH_MISC_0209 - <<: *MESH_CASE - cmd set: - - '' - - - LOOP 2 1 "[1,0]" "[1,0]" - - - '' - - - SSC MNODE(0) mesh -O -t {%d} - - - P MNODE(0) C +MESH_POST_STATE,OK - - P SSC[1-] C MESH_EVENT_TODS_STATE,{%d} - - - SSC MNODE(0) mesh -O -t 0 - - - P MNODE(0) C +MESH_POST_STATE,OK - - - DELAY 5 - - - P PC_COM C DELAYDONE - - P SSC[1-] NC MESH_EVENT_TODS_STATE - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. establish mesh network - 2. root post toDS state - 3. check MESH_EVENT_TODS_STATE on all dut - initial condition: MESH_INIT1 - test environment: SSC_T2_MESH1 - summary: MESH_EVENT_TODS_STATE test when root post state - test point 2: mesh event test - CI ready: 'Yes' -- ID: MESH_MISC_0210 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC[1-2] meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 10 - - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - SSC SSC1 mesh -O -t 1 - - - P SSC1 C +MESH_POST_STATE,OK - - P SSC1 C MESH_EVENT_TODS_STATE,1 - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK MESH_EVENT_CONNECTED,2 - - P SSC2 C MESH_EVENT_TODS_STATE,1 - - - SSC SSC1 reboot - - - P SSC2 C MESH_EVENT_DISCONNECTED - - P SSC2 C MESH_EVENT_NETWORK_STATE,1 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. establish mesh network - 2. root post toDS state - 3. check MESH_EVENT_TODS_STATE on all dut - initial condition: MESH_DEINIT_STA - test environment: SSC_T2_MESH1 - summary: MESH_EVENT_TODS_STATE test when layer2 connected and root disappear - test point 2: mesh event test - CI ready: 'Yes' - # TODO: not work on v3.1 -- ID: MESH_MISC_0211 - <<: *MESH_CASE - cmd set: - - '' - - - LOOP 2 1 "[1,0]" "[1,0]" - - - '' - - - SSC MNODE(0) mesh -O -t {%d} - - - P MNODE(0) C +MESH_POST_STATE,OK - - P SSC[1-] C MESH_EVENT_TODS_STATE,{%d} - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. establish mesh network - 2. root post toDS state - 3. check MESH_EVENT_TODS_STATE on all duts - initial condition: MESH_INIT1 - test environment: SSC_T50_MESH1 - summary: multiple nodes, MESH_EVENT_TODS_STATE test - test point 2: mesh event test - CI ready: 'No' -- ID: MESH_MISC_0212 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C MESH_EVENT_STARTED - - - DELAY 5 - - - '' - - - SSC SSC1 mesh -T -o 1 - - - P SSC1 C MESH_EVENT_STOPPED - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. dut1 start mesh - 2. check MESH_EVENT_STARTED on dut1 - 2. dut1 stop mesh - 2. check MESH_EVENT_STOPPED on dut1 - initial condition: MESH_DEINIT_STA - test environment: SSC_T1_MESH1 - summary: MESH_EVENT_STARTED and MESH_EVENT_STOPPED test - test point 2: mesh event test - CI ready: 'Yes' -- ID: MESH_MISC_0213 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - DELAY 10 - - - P SSC1 C MESH_EVENT_NO_PARENT_FOUND - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. dut1 start mesh - 2. check MESH_EVENT_STARTED on dut1 - 2. dut1 stop mesh - 2. check MESH_EVENT_STOPPED on dut1 - initial condition: MESH_DEINIT_STA - test environment: SSC_T1_MESH1 - summary: MESH_EVENT_NO_PARENT_FOUND test - test point 2: mesh event test - CI ready: 'Yes' -- ID: MESH_MISC_0214 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 meshset -O -o 0 -n 0 -t 0 - - - P SSC1 C +MESHSET:SELF_ORG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - SSC SSC1 sta -S -n - - - P SSC1 C MESH_EVENT_SCAN_DONE - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. dut1 start mesh self_organized=false - 2. wifi scan - 2. check MESH_EVENT_SCAN_DONE on dut1 - initial condition: MESH_DEINIT_STA - test environment: SSC_T1_MESH1 - summary: MESH_EVENT_SCAN_DONE test - test point 2: mesh event test - CI ready: 'No' - #TODO: need discussion -- ID: MESH_MISC_0215 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0) mesh -W -o 1 - - - P MNODE(0) C +MESH:VOTE,OK - - P SSC[1-] C MESH_EVENT_VOTE_STARTED - - - DELAY 10 - - - P SSC[1-] C MESH_EVENT_VOTE_STOPPED - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. root vote - 2. check all duts start vote - initial condition: MESH_INIT1 - test environment: SSC_T6_MESH1 - summary: MESH_EVENT_VOTE_STARTED and MESH_EVENT_VOTE_STOPPED test - test point 2: mesh event test - CI ready: 'No' -- ID: MESH_MISC_0216 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0) mesh -W -o 1 - - - P MNODE(0) C +MESH:VOTE,OK - - P SSC[1-] C MESH_EVENT_VOTE_STARTED - - - SSC MNODE(0) reboot - - - P MNODE(0) !!!ready!!! - - - DELAY 30 - - - '' - - - SSC SSC[1-] mesh -W -o 2 - - - P SSC[1-] C VOTE_START_STOP_EQUAL - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. dut1 start mesh self_organized=false - 2. wifi scan - 2. check MESH_EVENT_SCAN_DONE on dut1 - initial condition: MESH_INIT1 - test environment: SSC_T50_MESH1 - summary: multiple nodes, MESH_EVENT VOTE_STARTED and VOTE_STOPPED equal test - test point 2: mesh event test - CI ready: 'No' - #TODO: need discussion -- ID: MESH_MISC_0217 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0) mesh -W -o 1 - - - P MNODE(0) C +MESH:VOTE,OK - - P SSC[1-] C MESH_EVENT_VOTE_STARTED - - - DELAY 10 - - - P SSC[1-] C MESH_EVENT_VOTE_STOPPED - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. root vote - 2. check all duts start vote - initial condition: MESH_INIT1 - test environment: SSC_T50_MESH1 - summary: multiple nodes, MESH_EVENT_VOTE_STARTED and MESH_EVENT_VOTE_STOPPED test - test point 2: mesh event test -- ID: MESH_MISC_0218 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0) meshset -X -o 0 -i 1 - - - P MNODE(0) C +MESHSET:FIX_ROOT,OK - - P SSC[1-] C MESH_EVENT_ROOT_FIXED,1 - - - SSC MNODE(0) meshset -X -o 0 -i 0 - - - P MNODE(0) C +MESHSET:FIX_ROOT,OK - - P SSC[1-] C MESH_EVENT_ROOT_FIXED,0 - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. set root fix on root - 2. check all duts MESH_EVENT_ROOT_FIXED - initial condition: MESH_INIT1 - test environment: SSC_T6_MESH1 - summary: stable network, MESH_EVENT_ROOT_FIXED test - test point 2: mesh event test - CI ready: 'Yes' -- ID: MESH_MISC_0219 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC[1-2] meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - SSC SSC1 meshset -X -o 0 -i 1 - - - P SSC1 C +MESHSET:FIX_ROOT,OK C MESH_EVENT_ROOT_FIXED,1 - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK - - P SSC2 C MESH_EVENT_CONNECTED,2 C MESH_EVENT_ROOT_FIXED,1 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. set dut1 fix root first - 2. dut2 connected with dut1 - 3. check MESH_EVENT_ROOT_FIXED on dut2 - initial condition: MESH_DEINIT_STA - test environment: SSC_T2_MESH1 - summary: MESH_EVENT_ROOT_FIXED when connected with parent - test point 2: mesh event test - CI ready: 'Yes' -- ID: MESH_MISC_0220 - <<: *MESH_CASE - cmd set: - - '' - - - SSC MNODE(0) meshset -X -o 0 -i 1 - - - P MNODE(0) C +MESHSET:FIX_ROOT,OK - - P SSC[1-] C MESH_EVENT_ROOT_FIXED,1 - - - SSC MNODE(0) meshset -X -o 0 -i 0 - - - P MNODE(0) C +MESHSET:FIX_ROOT,OK - - P SSC[1-] C MESH_EVENT_ROOT_FIXED,0 - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. set root fix on root - 2. check all duts MESH_EVENT_ROOT_FIXED - initial condition: MESH_INIT1 - test environment: SSC_T50_MESH1 - summary: multiple nodes, MESH_EVENT_ROOT_FIXED test - test point 2: mesh event test - CI ready: 'No' -- ID: MESH_MISC_0221 - <<: *MESH_CASE - cmd set: - - '' - - - SSC SSC[1-2] mesh -I - - - P SSC[1-2] C +MESH:INIT,OK - - - SSC SSC[1-2] meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC[1-2] C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - P SSC1 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - SSC SSC1 ap -Q - - - R SSC1 A :\+APCONFIG:(\w+), - - - SSC SSC2 meshset -U -o 0 -m -s -p -n -t 2 -l 2 - - - P SSC2 C +MESHSET:PARENT,OK - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK - - P SSC2 C MESH_EVENT_DISCONNECTED,103 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. mesh init/config - 2. start dut1 and check it connected with router - 3. dut2 parent set to dut1 with wrong mesh_id - 4. start dut2 and check disconnected rason DIFF_ID - test environment: SSC_T2_MESH1 - summary: test MESH_EVENT_DISCONNECTED, reason DIFF_ID(103) - test point 2: mesh event test - CI ready: 'Yes' -- ID: MESH_MISC_0301 - <<: *MESH_CASE - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC MNODE(0) soc -B -t TCP -p - - - P MNODE(0) A :\+BIND:(\d+),OK - - - SSC MNODE(0) soc -C -s -i -p - - - P MNODE(0) RE \+CONNECT:\d+,OK - - - SOC SOC1 ACCEPT SOC2 - - - R SOC_COM L OK - - - SSC MNODE(0) soc -S -s -l 1460 -n 10 -j 20 - - - P MNODE(0) RE \+SEND:\d+,OK - - - SOC SOC2 SEND 1460 - - - R MNODE(0) SL +1460 - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. root connect to pc - 2. root send pecket to pc - initial condition: MESH_INIT1 - test environment: SSC_T1_MESH2 - summary: use socket TCP between root and pc - test point 2: socket after mesh start -- ID: MESH_MISC_0302 - <<: *MESH_CASE - cmd set: - - '' - - - SOC SOC1 BIND - - - R SOC_COM L OK - - - SSC MNODE(0) ip -Q - - - P MNODE(0) A :\+STAIP:(\d+.\d+.\d+.\d+) - - - SSC MNODE(0) soc -B -t UDP -i -p - - - P MNODE(0) A :\+BIND:(\d+),OK - - - SSC MNODE(0) soc -S -s -l 1460 -n 10 -i -p -j 20 - - - P MNODE(0) RE \+SEND:\d+,OK - - P SOC1 UL 14600 - - - DELAY 5 - - '' - - - SOC SOC1 SENDTO 1460 - - - R MNODE(0) RE "RECVFROM:%%s,1460,%%s,%%u"%%(,,) - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. root connect to pc - 2. root send pecket to pc - initial condition: MESH_INIT1 - test environment: SSC_T1_MESH2 - summary: use socket UDP between root and pc - test point 2: socket after mesh start - CI ready: 'No' -- ID: MESH_MISC_0303 - <<: *MESH_CASE - cmd set: - - '' - - *set_softap_dut1 - - - SSC SSC2 mesh -I - - - P SSC2 C +MESH:INIT,OK - - - SSC SSC2 meshset -G -o 0 -m -s -p -n - -t -e -i - - - P SSC2 C +MESHSET:CFG,OK - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK - - P SSC2 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - SSC SSC1 ip -Q - - - P SSC1 A :\+APIP:(\d+.\d+.\d+.\d+) - - - SSC SSC[1-2] soc -T - - - P SSC[1-2] C +CLOSEALL - - - SSC SSC1 soc -B -t TCP -p - - - P SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -L -s - - - P SSC1 RE \+LISTEN:\d+,OK - - - SSC SSC2 soc -B -t TCP - - - P SSC2 A :\+BIND:(\d+),OK - - - SSC SSC2 soc -C -s -i -p - - - P SSC2 RE \+CONNECT:\d+,OK - - P SSC1 A :\+ACCEPT:(\d+) - - - SSC SSC1 soc -S -s -l 1460 -n 10 - - - P SSC1 RE \+SEND:\d+,OK - - - SSC SSC2 soc -S -s -l 1460 -n 10 - - - P SSC2 RE \+SEND:\d+,OK - expected result: |- - 1. succeed - 2. succeed - steps: |- - 1. set dut1 softAP - 2. dut2 start mesh and connect to dut1 - 3. use TCP between dut1 and dut2 - initial condition: MESH_DEINIT_STA - test environment: SSC_T2_MESH1 - summary: use socket TCP between root and esp32 softAP - test point 2: socket after mesh start - CI ready: 'Yes' -- ID: MESH_MISC_0304 - <<: *MESH_CASE - cmd set: - - '' - - *set_softap_dut1 - - - SSC SSC2 mesh -I - - - P SSC2 C +MESH:INIT,OK - - - SSC SSC2 meshset -G -o 0 -m -s -p -n - -t -e -i - - - P SSC2 C +MESHSET:CFG,OK - - - SSC SSC2 mesh -T - - - P SSC2 C +MESH:START,OK - - P SSC2 C MESH_EVENT_CONNECTED,1 C MESH_EVENT_ROOT_GOT_IP - - - SSC SSC1 ip -Q - - - P SSC1 A :\+APIP:(\d+.\d+.\d+.\d+) - - - SSC SSC2 ip -Q - - - P SSC2 A :\+STAIP:(\d+.\d+.\d+.\d+) - - - SSC SSC[1-2] soc -T - - - P SSC[1-2] C +CLOSEALL - - - SSC SSC1 soc -B -t UDP -i -p - - - P SSC1 A :\+BIND:(\d+),OK - - - SSC SSC2 soc -B -t UDP -i -p - - - P SSC2 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -S -s -l 1460 -n 10 -i -p - - - P SSC1 RE \+SEND:\d+,OK - - - SSC SSC2 soc -S -s -l 1460 -n 10 -i -p - - - P SSC2 RE \+SEND:\d+,OK - expected result: |- - 1. succeed - 2. succeed - 3. succeed - steps: |- - 1. set dut1 softAP - 2. dut2 start mesh and connect to dut1 - 3. use UDP between dut1 and dut2 - initial condition: MESH_DEINIT_STA - test environment: SSC_T2_MESH1 - summary: use socket UDP between root and esp32 softAP - test point 2: socket after mesh start - CI ready: 'Yes' - -- ID: MESH_MISC_5001 - <<: *MESH_CASE - category: Stress - cmd set: - - '' - - - SSC SSC1 ram - - - R SSC1 C +FREEHEAP - - - LOOP 300 8 - - - '' - - - SSC SSC1 mesh -I - - - P SSC1 C +MESH:INIT,OK - - - SSC SSC1 meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC1 C +MESHSET:CFG,OK - - - SSC SSC1 mesh -T - - - P SSC1 C +MESH:START,OK - - - SSC SSC1 ram - - - R SSC1 C +FREEHEAP - - - DELAY 1 15 - - - '' - - - SSC SSC1 mesh -T -o 1 - - - P SSC1 C +MESH:STOP,OK - - - DELAY 2 - - - '' - - - SSC SSC1 ram - - - R SSC1 C +FREEHEAP - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - 6. succeed - 7. succeed - steps: |- - 1. mesh init - 2. mesh config - 3. mesh start - 4. check heap size - 5. mesh stop - 6. check heap size - 7. loop - initial condition: MESH_DEINIT_STA - test environment: SSC_T1_MESH1 - summary: cycle calling mesh_stop/mesh_start, check heap size - test point 2: mesh deinit/stop test -- ID: MESH_MISC_5002 - <<: *MESH_CASE - category: Stress - cmd set: - - '' - - - SSC SSC[1-6] ram - - - R SSC[1-6] C +FREEHEAP - - - LOOP 200 8 - - - '' - - - SSC SSC[1-6] mesh -I - - - P SSC[1-6] C +MESH:INIT,OK - - - SSC SSC[1-6] meshset -G -o 0 -m -s -p -n - -b -t -e -i - - - P SSC[1-6] C +MESHSET:CFG,OK - - - SSC SSC[1-6] mesh -T - - - P SSC[1-6] C +MESH:START,OK - - - SSC SSC[1-6] ram - - - R SSC[1-6] C +FREEHEAP - - - DELAY 5 30 - - - '' - - - SSC SSC[1-6] mesh -T -o 1 - - - P SSC[1-6] C +MESH:STOP,OK - - - DELAY 2 - - - '' - - - SSC SSC[1-6] ram - - - R SSC[1-6] C +FREEHEAP - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - steps: |- - 1. all duts start mesh - 2. check heap size - 3. mesh stop and check heap size - 4. loop - initial condition: MESH_DEINIT_STA - test environment: SSC_T6_MESH1 - summary: 6 duts cycle eatablish network and stop mesh, check heap size - test point 2: mesh deinit/stop test diff --git a/components/idf_test/integration_test/TC_IT_SYS_MISC.yml b/components/idf_test/integration_test/TC_IT_SYS_MISC.yml deleted file mode 100644 index fe54376913..0000000000 --- a/components/idf_test/integration_test/TC_IT_SYS_MISC.yml +++ /dev/null @@ -1,83 +0,0 @@ -test cases: -- CI ready: 'Yes' - 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 reboot - - - R SSC1 C !!!ready!!! - execution time: 0.0 - expected result: | - 1. reboot succeeded - initial condition: None - level: Integration - module: System - steps: | - 1. sw reboot - sub module: Misc - summary: test reboot function - test environment: SSC_T1_4 - test point 1: basic function - test point 2: sw reboot - 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 - execution time: 0.0 - expected result: | - 1. get free heap size - initial condition: None - level: Integration - module: System - steps: | - 1. query current free heap size - sub module: Misc - summary: get heap size test - test environment: SSC_T1_4 - test point 1: basic function - test point 2: 'get heap size ' - version: v1 (2016-8-15) -- CI ready: 'No' - ID: SYS_MISC_5001 - SDK: |- - 8266_NonOS - 8266_RTOS - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: '' - execution time: 12.0 - expected result: 4.target1正常运行,无异常 - initial condition: None - level: Integration - module: System - steps: |- - 1.target1、target2通过UART与PC相连接 - 2.target1的晶振为40MHz晶振,烧录SDK的时候选择26MHz晶振 - 3.target2的GPIO PIN脚通过排线与target1的电源相连接,target1与target2 GND通过排线连接 - 4.PC发送命令控制target2使GPIO不停的拉高拉低 - sub module: Misc - summary: random reboot to confirm default init data bin will not overwrite user - config - test environment: SSC_T1_InitData - test point 1: stress - test point 2: reboot when using user defined init data bin - version: v1 (2016-8-15) diff --git a/components/idf_test/integration_test/TC_IT_SYS_NVS.yml b/components/idf_test/integration_test/TC_IT_SYS_NVS.yml deleted file mode 100644 index 65718a13c6..0000000000 --- a/components/idf_test/integration_test/TC_IT_SYS_NVS.yml +++ /dev/null @@ -1,32 +0,0 @@ -test cases: -- CI ready: SpecialJob - ID: SYS_NVS_01001 - SDK: ESP32_IDF - Test App: SSC_BLE_WIFI - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - NVSTest/NVSCompatibleWiFi - - - nvs_path = "nvs_bin_folder" - - - '' - execution time: 0 - expected result: | - 1. succeed - 2. succeed - 3. succeed - 4. succeed - initial condition: None - level: Integration - module: System - steps: | - 1. get NVS data from earlier released branches and last master - 2. download each NVS data to target - 3. check if auto connected to the same AP - 4. check if SoftAP config is correct - sub module: NVS - summary: use old NVS data WIFI function test - test environment: SSC_T1_5 - test point 1: compatiable test - test point 2: test if latest SDK work with pervious version of NVS data - version: v1 (2017-06-01) diff --git a/components/idf_test/integration_test/TC_IT_TCPIP_DHCP.yml b/components/idf_test/integration_test/TC_IT_TCPIP_DHCP.yml deleted file mode 100644 index 8412e88bdd..0000000000 --- a/components/idf_test/integration_test/TC_IT_TCPIP_DHCP.yml +++ /dev/null @@ -1,995 +0,0 @@ -test cases: -- CI ready: 'Yes' - ID: TCPIP_DHCP_0101 - 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 0.0.0.0 - - - R SSC1 C +IP - - - SSC SSC1 sta -C -s -p - - - '' - - - DELAY 20 - - - P PC_COM C +DELAYDONE - - P SSC1 NC +JAP:CONNECTED - - - SSC SSC1 dhcp -S -o 1 - - - R SSC1 C +DHCP:STA,OK - - - SSC SSC1 ip -Q - - - R SSC1 C +STAIP:0.0.0.0 - - - SSC SSC1 sta -C -s -p - - - R SSC1 C +JAP:CONNECTED - - - SSC SSC1 ip -Q - - - R SSC1 RE "\+STAIP:%%s"%%() - execution time: 0.0 - expected result: "1.target1 关闭DHCP OK\n2.target1 设置ip add OK\n3.target1 连接AP fail\n4.target1 - 打开DHCP OK\n5.查询到sta ip \n6.target1 连接AP ok\n7.查询到sta ip 为target_ip" - initial condition: STAM1 - level: Integration - module: TCPIP - steps: "1.target1 关闭DHCP OK\n2.target1 设置ip add OK\n3.target1 连接AP fail\n4.target1 - 打开DHCP OK\n5.查询到sta ip \n6.target1 连接AP ok\n7.查询到sta ip 为target_ip" - sub module: DHCP - summary: dhcp client function test - test environment: SSC_T1_5 - test point 1: basic function - test point 2: DHCP client function test - version: v2 (2016-10-19) -- CI ready: 'Yes' - ID: TCPIP_DHCP_0103 - 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 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 - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.STA&AP STARTED - 4.STA STARTED - 5.AP STARTED - 6.OK - 7.STA&AP STOPPED - initial condition: STAM1 - level: Integration - module: TCPIP - steps: |- - 1.target1 设置mode 为sta+softAP mode - 2.target1 打开DHCP 3 - 3.target1 查询DHCP 状态 - 4.target1 查询sta DHCP 状态 - 5.target1 查询softAP DHCP 状态 - 6.target1 关闭 DHCP 3 - 7.target1 查询 DHCP 状态 - sub module: DHCP - summary: dhcp status query - test environment: SSC_T1_4 - test point 1: basic function - test point 2: DHCP client function test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_DHCP_0201 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 dhcp -E -o 2 - - - R SSC1 C +DHCP:AP,OK - - - SSC SSC1 ip -S -o 2 -i - - - R SSC1 C +IP:OK - - - SSC SSC1 dhcp -L -s 192.168.4.2 -e 192.168.4.100 - - - R SSC1 C +DHCP:LEASE,OK - - - SSC SSC1 dhcp -L -s 192.168.4.1 -e 192.168.4.10 - - - R SSC1 C +DHCP:LEASE,ERROR - - - SSC SSC1 dhcp -L -s 192.168.4.5 -e 192.168.4.2 - - - R SSC1 C +DHCP:LEASE,ERROR - - - SSC SSC1 dhcp -L -s 192.168.2.2 -e 192.168.2.5 - - - R SSC1 C +DHCP:LEASE,ERROR - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP:AP,OK - execution time: 0.0 - expected result: |- - 1.target1 关闭DHCP 2 OK - 2.target1 设置ip 成功 - 3.设置dhcp 地址池 OK - 4.ERROR - 5.ERROR - 6.ERROR - 7.target1 打开DHCP ok - initial condition: APM1 - level: Integration - module: TCPIP - steps: "1.target1 关闭DHCP 2 \n2.target1 设置ip \n3.设置dhcp 地址池\n4.设置dhcp错误的参数\n5.设置dhcp错误的参数\n6.设置dhcp错误的参数\n7.target1 - 打开DHCP ok" - sub module: DHCP - summary: server dhcp lease test - test environment: SSC_T1_4 - test point 1: basic function - test point 2: DHCP server function test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_DHCP_0202 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -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 - - - LOOP 3 4 "['01','02','03']" "[2,3,4]" - - - '' - - - SSC SSC2 sta -D - - - R SSC2 C +QAP:OK - - - SSC SSC2 mac -S -o 1 -m 10:22:33:44:55:{%s} - - - R SSC2 C +MAC:STA,OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 C +JAP:CONNECTED - - - SSC SSC2 ip -Q -o 1 - - - R SSC2 C +STAIP:192.168.4.{%s} - execution time: 0.0 - expected result: |- - 1. succeed - 2. succeed - 3,4: get IP from dhcp pool with correct sequence - initial condition: T2_1 - level: Integration - module: TCPIP - steps: |- - 1. config softap to a random ssid - 2. config DHCP Server on Target1 - 3. target change mac, connect to Target1 - 4. Loop step3 - sub module: DHCP - summary: dhcp server ip pool - test environment: SSC_T2_5 - test point 1: basic function - test point 2: DHCP server function test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_DHCP_0203 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -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.3 - - - R SSC1 C +DHCP:LEASE,OK - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP:AP,OK - - - LOOP 2 4 "['01','02']" "[2,3]" - - - '' - - - SSC SSC2 sta -D - - - R SSC2 C +QAP:OK - - - SSC SSC2 mac -S -o 1 -m 10:22:33:44:55:{%s} - - - R SSC2 C +MAC:STA,OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 C +JAP:CONNECTED - - - SSC SSC2 ip -Q -o 1 - - - R SSC2 C +STAIP:192.168.4.{%s} - - - SSC SSC2 mac -S -o 1 -m 10:22:33:44:55:66 - - - R SSC2 C +MAC:STA,OK - - - DELAY 20 - - - '' - - - SSC SSC2 ip -Q -o 1 - - - R SSC2 C +STAIP:0.0.0.0 - execution time: 0.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4.1 succeed - 4.2 failed - initial condition: T2_1 - level: Integration - module: TCPIP - steps: |- - 1. config softap to a random ssid - 2. config DHCP Server on Target1(.4.2 - .4.3) - 3. target change mac, connect to Target1 - 4. Loop step3 twice - sub module: DHCP - summary: dhcp server ip pool empty - test environment: SSC_T2_5 - test point 1: basic function - test point 2: DHCP server function test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_DHCP_0204 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -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.3 -t 1 - - - R SSC1 C +DHCP:LEASE,OK - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP:AP,OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 C +JAP:CONNECTED - - - SSC SSC2 ip -Q -o 1 - - - R SSC2 C +STAIP:192.168.4.2 - - - DELAY 90 - - - '' - - - SSC SSC2 ip -Q -o 1 - - - R SSC2 C +STAIP:192.168.4.2 - - - SSC SSC2 sta -D - - - R SSC2 C +JAP:DISCONNECTED - - - DELAY 60 - - - '' - - - SSC SSC2 mac -S -o 1 -m 10:22:33:44:55:66 - - - R SSC2 C +MAC:STA,OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 C +JAP:CONNECTED - - - SSC SSC2 ip -Q -o 1 - - - R SSC2 C +STAIP:192.168.4.2 - execution time: 0.0 - expected result: |- - 1. succeed - 2. succeed - 3. get IP 192.168.4.2 - 5. succeed - 6. succeed - 8. get IP 192.168.4.2 - initial condition: T2_1 - level: Integration - module: TCPIP - steps: |- - 1. config softap to a random ssid - 2. config DHCP timeout as 1 minute - 3. target2 connect to target1 - 4. wait 90 seconds - 5. check if target2 IP is same - 6. target2 disconnect - 7. wait 60s - 8. target2 change mac and connect to target1 - sub module: DHCP - summary: dhcp server timeout test - test environment: SSC_T2_5 - test point 1: basic function - test point 2: DHCP server function test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_DHCP_0205 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -t 4 - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s -p - - - 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.3 -t 1 - - - P SSC1 C +DHCP:LEASE,OK - - - SSC SSC1 dhcp -S -o 2 - - - P SSC1 C +DHCP:AP,OK - - P SSC2 C +JAP:DISCONNECTED - execution time: 0.0 - expected result: |- - 1. succeed - 2. succeed - 3. target2 wifi disconnected - initial condition: T2_1 - level: Integration - module: TCPIP - steps: |- - 1. config softap to a random ssid - 2. target2 connect to target1 - 3. disable DHCP server, do config and enable - sub module: DHCP - summary: disconnect STA if config dhcp server - test environment: SSC_T2_5 - test point 1: basic function - test point 2: DHCP server function test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_DHCP_0206 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -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 - - - LOOP 4 4 "['01','02','03','01']" "[2,3,4,2]" - - - '' - - - SSC SSC2 sta -D - - - R SSC2 C +QAP:OK - - - SSC SSC2 mac -S -o 1 -m 10:22:33:44:55:{%s} - - - R SSC2 C +MAC:STA,OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 C +JAP:CONNECTED - - - SSC SSC2 ip -Q -o 1 - - - R SSC2 C +STAIP:192.168.4.{%s} - execution time: 0.0 - expected result: |- - 1. succeed - 2. succeed - 4. get IP 192.168.4.2 - 192.168.4.4 - 5. get IP 192.168.4.2 - initial condition: T2_1 - level: Integration - module: TCPIP - steps: |- - 1. config softap to a random ssid - 2. disable DHCP server, do config and enable - 3. target2 change mac, connect to softap, disconnect - 4. Loop step3 twice - 5. change to first mac, connect to softap - sub module: DHCP - summary: dhcp server assign same IP to same MAC when it's not released - test environment: SSC_T2_5 - test point 1: basic function - test point 2: DHCP server function test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_DHCP_0207 - SDK: |- - 8266_NonOS - 8266_RTOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -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 - - - WIFI CONN 192.168.4.2 - - - R PC_COM NC ERROR C +WIFICONN:OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 C +JAP:CONNECTED - - - WIFI DISCONN2 - - - R PC_COM NC ERROR C +WIFIDISCONN:OK - - - SSC SSC2 sta -D - - - R SSC2 C +QAP:OK - - - SSC SSC2 mac -S -o 1 -m 10:22:33:44:55:66 - - - R SSC2 C +MAC:STA,OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 C +JAP:CONNECTED - - - SSC SSC2 ip -Q -o 1 - - - R SSC2 C +STAIP:192.168.4.2 - execution time: 0.0 - expected result: |- - 1. succeed - 2. succeed - 3. get IP 192.168.4.2 - 4. succeed - 5. succeed - 6. get IP 192.168.4.2 - initial condition: T2_1 - level: Integration - module: TCPIP - steps: |- - 1. config softap to a random ssid - 2. disable DHCP server, do config and enable - 3. PC WIFI NIC connect to target1 softap - 4. target2 connect to target1 softap and disnnect - 5. PC release IP and disconnected - 6. target2 change mac and connect to target1 - sub module: DHCP - summary: dhcp server prefer assign released IP to new client - test environment: SSC_T2_2 - test point 1: basic function - test point 2: DHCP server function test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_DHCP_0207 - SDK: ESP32_IDF - Test App: SSC - allow fail: '1/2' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -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 - - - WIFI CONN 192.168.4.2 - - - R PC_COM NC ERROR C +WIFICONN:OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 C +JAP:CONNECTED - - - WIFI DISCONN2 - - - R PC_COM NC ERROR C +WIFIDISCONN:OK - - - SSC SSC2 sta -D - - - R SSC2 C +QAP:OK - - - SSC SSC2 mac -S -o 1 -m 10:22:33:44:55:66 - - - R SSC2 C +MAC:STA,OK - - - SSC SSC1 dhcp -E -o 2 - - - R SSC1 C +DHCP:AP,OK - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP:AP,OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 C +JAP:CONNECTED - - - SSC SSC2 ip -Q -o 1 - - - R SSC2 C +STAIP:192.168.4.2 - execution time: 0.0 - expected result: |- - 1. succeed - 2. succeed - 3. get IP 192.168.4.2 - 4. succeed - 5. succeed - 6. succeed - 7. get IP 192.168.4.2 - initial condition: T2_1 - level: Integration - module: TCPIP - steps: |- - 1. config softap to a random ssid - 2. disable DHCP server, do config and enable - 3. PC WIFI NIC connect to target1 softap - 4. target2 connect to target1 softap and disnnect - 5. PC release IP and disconnected - 6. disable DHCP server and enable - 7. target2 change mac and connect to target1 - sub module: DHCP - summary: dhcp server prefer assign released IP to new client - test environment: SSC_T2_2 - test point 1: basic function - test point 2: DHCP server function test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_DHCP_0208 - SDK: |- - 8266_NonOS - 8266_RTOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -t 4 - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s -p - - - 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 - - - P SSC1 C +DHCP:AP,OK - - P SSC2 C +JAP:DISCONNECTED - - - SSC SSC2 sta -D - - - R SSC2 C +JAP:DISCONNECTED - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP:AP,OK - - - WIFI CONN 192.168.4.2 - - - R PC_COM NC ERROR C +WIFICONN:OK - - - SSC SSC1 ap -L - - - R SSC1 C 192.168.4.2 P - execution time: 0.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. get IP 192.168.4.2 - 5. can only find target2 with IP 192.168.4.2 - initial condition: T2_1 - level: Integration - module: TCPIP - 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 and new client able to get first IP in pool - test environment: SSC_T2_2 - test point 1: basic function - test point 2: DHCP server function test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_DHCP_0208 - SDK: ESP32_IDF - Test App: SSC - allow fail: '2/3' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -t 4 - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s -p - - - 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 - - - P SSC1 C +DHCP:AP,OK - - P SSC2 C +JAP:DISCONNECTED - - - SSC SSC2 sta -D - - - R SSC2 C OK - - - SSC SSC1 dhcp -E -o 2 - - - R SSC1 C +DHCP:AP,OK - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP:AP,OK - - - WIFI CONN 192.168.4.2 - - - R PC_COM NC ERROR C +WIFICONN:OK - - - SSC SSC1 ap -L - - - R SSC1 C 192.168.4.2 P - execution time: 0.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. succeed - 6. succeed - 7. can only find target2 with IP 192.168.4.2 - initial condition: T2_1 - level: Integration - module: TCPIP - steps: |- - 1. config softap to a random ssid - 2. target2 connect to target1 softap - 3. disable DHCP server, do config and enable - 4. target2 disconnect - 5. disable DHCP server and enable - 6. PC NIC connect to target1 softap - 7. softap list connected station - sub module: DHCP - summary: dhcp server reconfig and new client able to get first IP in pool - test environment: SSC_T2_2 - test point 1: basic function - test point 2: DHCP server function test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_DHCP_0209 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '2/3' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -t 4 - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s -p - - - 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 CONN 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 P - execution time: 0.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. find target2 and PC - initial condition: T2_1 - level: Integration - module: TCPIP - 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_2 - test point 1: basic function - test point 2: DHCP server function test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_DHCP_0210 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '1/2' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -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 -p - - - R SSC2 C +JAP:CONNECTED - - - WIFI CONN2 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 P - execution time: 0.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. find target2 and PC - initial condition: T2_1 - level: Integration - module: TCPIP - 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 try to renew IP 192.168.4.2 - 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_2 - test point 1: basic function - test point 2: DHCP server function test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_DHCP_0211 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '1/2' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -t 4 - - - R SSC1 C +SAP:OK - - - WIFI CONN 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 - - - WIFI CONN 192.168.4.2 - - - R PC_COM NC ERROR C +WIFICONN:OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 C +JAP:CONNECTED - - - DELAY 30 - - - '' - - - SSC SSC1 ap -L - - - R SSC1 C 192.168.4.2 C 192.168.4.3 P P - execution time: 0.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - 5. find target2 and PC - initial condition: T2_1 - level: Integration - module: TCPIP - 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 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_2 - test point 1: basic function - test point 2: DHCP server function test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_DHCP_0212 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -t - - - R SSC1 C +SAP:OK - - - SSC SSC1 dhcp -E -o 2 - - - R SSC1 C +DHCP:AP,OK - - - SSC SSC2 sta -C -s -p - - - '' - - - 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 -p - - - R SSC2 C +JAP:CONNECTED - 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_1 - level: Integration - module: TCPIP - steps: "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" - sub module: DHCP - summary: dhcp server function test - test environment: SSC_T2_5 - test point 1: basic function - test point 2: DHCP server function test - version: v2 (2016-10-19) -- 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 -p - - - R SSC1 C +JAP:CONNECTED - - - SSC SSC1 ip -S -i 0.0.0.0 -o 1 - - - R SSC1 C +IP - - - SSC SSC1 sta -C -s -p - - - '' - - - DELAY 10 - - - P PC_COM C +DELAYDONE - - P SSC1 NC +JAP:CONNECTED - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.JAP CONNETED - 4.OK - 5.等待10s,JAP fail - initial condition: STAM1 - level: Integration - 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_5 - test point 1: interaction - test point 2: static IP and DHCP interaction test - version: v2 (2016-10-19) -- 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 -p -t - - - '' - - - SSC SSC2 sta -C -s -p - - - 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 -p - - - '' - - - DELAY 10 - - - P PC_COM C +DELAYDONE - - P SSC2 NC +JAP:CONNECTED - 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 - level: Integration - module: TCPIP - steps: "1.target1 打开DHCP 2\n2.target1 设置softAP ip 192.168.123.123\n3.target1 设置地址池\n4.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_5 - test point 1: interaction - test point 2: static IP and DHCP interaction test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_DHCP_5001 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - WiFiStress/SoftAPNSTA - - - sta_num = 4 - - - dummy - - - max_sta = 3 - - - '' - - - test_time = 300 - - - '' - - - delay1 = [5, 60] - - - '' - - - delay2 = [1, 10] - - - '' - - - change_mac = False - - - '' - - - channel = 11 - - - '' - execution time: 5.0 - expected result: "1. succeed\n2. succeed\n3. JAP succeed except: \nsoftap reach - max connected AP \nor all address in dhcp pool not available" - initial condition: None - level: Integration - module: TCPIP - steps: |- - 1. 1 target set to softap mode and rest set to sta mode - 2. set a short dhcp server lease time - 2. all sta set random mac, random join and disconnect from softap - Loop step 2 - sub module: DHCP - summary: max sta connect to SotfAP and disconnect, sta number more than sta allowed - test environment: SSC_T5_1 - test point 1: stress - test point 2: DHCP server stress test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_DHCP_5101 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'No' - category: IOT - cmd set: '' - execution time: 0.1 - expected result: |- - 2. 成功 - 3. 成功 - 4. 断开连接并开始重连 - 5. WIFI连上但无法获取 IP,等大概1分钟后,发生 DHCP TIMEOUT,断开连接并重连,成功获取到 IP - initial condition: STAM1 - level: Integration - module: TCPIP - steps: |- - 1. 使用小米路由器青春版进行测试 - 2. 设置DHCP timeout(dhcp -T -n 6) - 3. target 连上 AP - 4. 路由器断电 - 5. 路由器上电 - sub module: DHCP - summary: DHCP timeout test on sepcial router - test environment: SSC_T1_IOT1 - test point 1: interoperability - test point 2: DHCP timeout test - version: v1 (2016-8-15) diff --git a/components/idf_test/integration_test/TC_IT_TCPIP_DNS.yml b/components/idf_test/integration_test/TC_IT_TCPIP_DNS.yml deleted file mode 100644 index b058cde4c7..0000000000 --- a/components/idf_test/integration_test/TC_IT_TCPIP_DNS.yml +++ /dev/null @@ -1,447 +0,0 @@ -test cases: -- CI ready: 'Yes' - ID: TCPIP_DNS_0101 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: 1/2 - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -H -d gbot.espressif.cn - - - R SSC1 C +HOSTIP:OK,118.31.185.120 - execution time: 0.0 - expected result: 1.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: 1. get host name "gbot.espressif.cn" - sub module: DNS - summary: get host by name test - test environment: SSC_T1_2 - 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: 1/2 - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -H -d gbot.espressif.cn - - - R SSC1 A :\+HOSTIP:OK,(.+)\r\n - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p 9001 - - - R SSC1 RE \+CONNECT:\d+,OK - - - SSC SSC1 soc -S -s -l 10 - - - P SSC1 RE \+SEND:\d+,OK - - P SSC1 SL +10 - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1. get host name "gbot.espressif.cn" - 2. connect, send, recv - sub module: DNS - summary: TCP connect to gbot.espressif.cn - test environment: SSC_T1_2 - test point 1: basic function - test point 2: DNS function test - version: v2 (2016-10-19) -- CI ready: 'Yes' - ID: TCPIP_DNS_0103 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: 1/2 - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -H -d gbot.espressif.cn - - - R SSC1 A :\+HOSTIP:OK,(.+)\r\n - - - SSC SSC1 soc -B -t UDP - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -S -s -i -p 9003 -l 10 -n 3 -j 1000 - - - P SSC1 RE \+SEND:\d+,OK - - P SSC1 SL +10 - execution time: 0.0 - expected result: |- - 1.OK - 2.send OK and recv at least one echo - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1. get host name "espressif.cn" - 2. sendto echo server 3 times - sub module: DNS - summary: UDP send to gbot.espressif.cn - test environment: SSC_T1_2 - test point 1: basic function - test point 2: DNS function test - version: v2 (2016-10-19) -- CI ready: 'No' - ID: TCPIP_DNS_0201 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'No' - category: Function - cmd set: '' - execution time: 0.1 - expected result: 2. failed - initial condition: None - level: Integration - module: TCPIP - steps: |- - 1.AP的主、备用DNS server均设置为错误 - 2.target连接上AP 并访问正确的域名 - sub module: DNS - summary: get host name with error DNS server - test environment: SSC_T1_2 - test point 1: abnormal/special use - test point 2: use special DNS server config - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_DNS_0202 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'No' - category: Function - cmd set: '' - execution time: 0.1 - expected result: 2. succeed - initial condition: None - level: Integration - module: TCPIP - steps: |- - 1.AP的主DNS server设置为错误,备用DNS server设置为正确 - 2.target连接上AP 并访问正确的域名 - sub module: DNS - summary: get host name with error main DNS server and correct backup DNS server - test environment: SSC_T1_2 - test point 1: abnormal/special use - test point 2: use special DNS server config - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_DNS_0301 - SDK: ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stable - cmd set: - - DNSTest/DNSTest - - - test_mode = "fallback_main_backup_dns_all_error" - - [''] - - - fallback_dns_option = "error" - - [''] - - - test_option = "main_backup_error" - - [''] - - - test_count = 20 - - [dummy] - - - fallback_dns = "1.1.1.1" - - [''] - - - website_dns = "www.baidu.com" - - [''] - execution time: 0.3 - expected result: |- - 2.mode set ok - 3.connect ap sucess - 4.set fallback dns ok - 5.get dns ip fail - initial condition: None - level: Integration - module: TCPIP - steps: |- - 1.AP main,backup DNS all error - 2.set SSC1 to sta mode - 3.SSC1 connect to ap - 4.set SSC1 fallback DNS - 5.SSC1 get website dns IP - sub module: DNS - summary: DNS fallback main backup DNS all error test - test environment: SSC_T1_DNS - test point 1: stress + function - test point 2: DNS stress test - version: v2 (2016-10-23) -- CI ready: 'No' - ID: TCPIP_DNS_0302 - SDK: ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stable - cmd set: - - DNSTest/DNSTest - - - test_mode = "fallback_dns_error_mian_backup_dns_right" - - [''] - - - fallback_dns_option = "error" - - [''] - - - test_option = "main_backup_right" - - [''] - - - test_count = 20 - - [dummy] - - - fallback_dns = "2.2.2.2" - - [''] - - - website_dns = "www.baidu.com" - - [''] - execution time: 0.3 - expected result: |- - 2.mode set ok - 3.connect ap sucess - 4.set fallback dns ok - 5.get dns ip ok - initial condition: None - level: Integration - module: TCPIP - steps: |- - 1.AP main,backup DNS all right - 2.set SSC1 to sta mode - 3.SSC1 connect to ap - 4.set SSC1 fallback DNS - 5.SSC1 get website dns IP - sub module: DNS - summary: DNS fallback DNS error main backup DNS right test - test environment: SSC_T1_DNS - test point 1: stress + function - test point 2: DNS stress test - version: v2 (2016-10-23) -- CI ready: 'No' - ID: TCPIP_DNS_0303 - SDK: ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stable - cmd set: - - DNSTest/DNSTest - - - test_mode = "fallback_main_dns_error_backup_dns_right" - - [''] - - - fallback_dns_option = "error" - - [''] - - - test_option = "backup_right" - - [''] - - - test_count = 20 - - [dummy] - - - fallback_dns = "1.1.1.1" - - [''] - - - website_dns = "www.baidu.com" - - [''] - execution time: 0.3 - expected result: |- - 2.mode set ok - 3.connect ap sucess - 4.set fallback dns ok - 5.get dns ip ok - initial condition: None - level: Integration - module: TCPIP - steps: |- - 1.AP main DNS error,backup DNS right - 2.SSC1 set as sta mode - 3.SSC1 connect to ap - 4.set SSC1 fallback DNS - 5.SSC1 get website dns IP - sub module: DNS - summary: DNS fallback main DNS error backup DNS right test - test environment: SSC_T1_DNS - test point 1: stress + function - test point 2: DNS stress test - version: v2 (2016-10-23) -- CI ready: 'No' - ID: TCPIP_DNS_0304 - SDK: ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stable - cmd set: - - DNSTest/DNSTest - - - test_mode = "fallback_main_backup_dns_all_right" - - [''] - - - fallback_dns_option = "right" - - [''] - - - test_option = "main_backup_right" - - [''] - - - test_count = 20 - - [dummy] - - - fallback_dns = "208.67.222.222" - - [''] - - - website_dns = "www.baidu.com" - - [''] - execution time: 0.3 - expected result: |- - 2.mode set ok - 3.connect ap sucess - 4.set fallback dns ok - 5.get dns IP ok - initial condition: None - level: Integration - module: TCPIP - steps: |- - 1.AP main ,backup DNS right - 2.SSC1 set as sta mode - 3.SSC1 connect to ap - 4.set SSC1 fallback DNS - 5.SSC1 get website dns IP - sub module: DNS - summary: DNS fallback main backup DNS all right test - test environment: SSC_T1_DNS - test point 1: stress + function - test point 2: DNS stress test - version: v2 (2016-10-23) -- CI ready: 'No' - ID: TCPIP_DNS_0305 - SDK: ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stable - cmd set: - - DNSTest/DNSTest - - - test_mode = "fallback_dns_right_main_backup_error" - - [''] - - - fallback_dns_set = "right" - - [''] - - - fallback_dns_option = "right" - - [''] - - - test_option = "main_backup_error" - - [''] - - - test_count = 20 - - [dummy] - - - fallback_dns = "208.67.222.222" - - [''] - - - website_dns = "www.baidu.com" - - [''] - execution time: 0.3 - expected result: |- - 2.mode set ok - 3.connect ap sucess - 4.set fallback dns ok - 5.get dns IP ok - initial condition: None - level: Integration - module: TCPIP - steps: |- - 1.AP main ,backup DNS all error - 2.SSC1 set as mode - 3.SSC1 connect to ap - 4.set SSC1 fallback DNS - 5.SSC1 get website dns IP - sub module: DNS - summary: DNS fallback DNS right main backup error test - test environment: SSC_T1_DNS - test point 1: stress + function - test point 2: DNS stress test - version: v2 (2016-10-23) -- CI ready: 'No' - ID: TCPIP_DNS_0306 - SDK: ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stable - cmd set: - - DNSTest/DNSTest - - - test_mode = "dns_dhcp_option" - - [''] - - - test_count = 20 - - [dummy] - - - fallback_dns = "208.67.222.222" - - [''] - - - website_dns = "www.baidu.com" - - [''] - execution time: 0.3 - expected result: |- - 1.ap set ok - 2.set sta mode ok - 3.jap ok - 4.disable dhcp ok - 5.set static ip addr suc - 6.set fallback dns suc - 7.get dns ip suc - 8.dhcp start suc - 9.get dns ip ok - 11.jap ok - 12.get dns ip ok - initial condition: None - level: Integration - module: TCPIP - steps: |- - 1.AP main ,backup DNS all right - 2.set SSC1 to sta mode - 3.SSC1 connect to ap - 4.SSC1 disable dhcp - 5.SSC1 set static ip addr - 6.SSC1 set fallback dns - 7.SSC1 get website dns IP - 8.SSC1 start dhcp - 9.SSC1 get website dns IP - 10.SSC1 disconnect with ap - 11.SSC1 reconnet ap - 12.SSC1 get website dns IP - sub module: DNS - summary: DNS DHCP option test - test environment: SSC_T1_DNS - test point 1: stress + function - test point 2: DNS stress test - version: v2 (2016-10-23) -- CI ready: 'No' - ID: TCPIP_DNS_0307 - SDK: ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stable - cmd set: - - DNSTest/DNSTest - - - test_mode = "softap_dns_test" - - [''] - - - test_count = 20 - - [dummy] - - - main_dns = "208.67.222.222" - - [''] - execution time: 0.3 - expected result: |- - 1.set mode ok - 2.set mode ok - 3.sta connect softap suc - 4.disable dhcp ok - 5.set dns server suc - 6.set main dns suc - 7.SSC2 main dns must the same as SSC1 - initial condition: None - level: Integration - module: TCPIP - steps: |- - 1.SSC1 set as softap - 2.SSC2 set as sta - 3.SSC2 connected softap - 4.SSC1 disable dhcp - 5.SSC1 dhcp action dns server - 6.SSC1 set main dns - 7.check SSC2 main dns server - sub module: DNS - summary: DNS softap DNS test - test environment: SSC_T2_5 - test point 1: stress + function - test point 2: DNS stress test - version: v2 (2016-10-23) diff --git a/components/idf_test/integration_test/TC_IT_TCPIP_ICMP.yml b/components/idf_test/integration_test/TC_IT_TCPIP_ICMP.yml deleted file mode 100644 index f714b1d28f..0000000000 --- a/components/idf_test/integration_test/TC_IT_TCPIP_ICMP.yml +++ /dev/null @@ -1,68 +0,0 @@ -test cases: -- CI ready: 'No' - 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 - - - R SSC1 C +PING:OK - - - SSC SSC1 ping -i -c 2 - - - R SSC1 C +PING:OK - execution time: 0.0 - expected result: |- - 1.ok - 2.ok - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.ping -i - 2.ping -i -c 2 - sub module: ICMP - summary: ping function test - test environment: SSC_T1_5 - test point 1: basic function - test point 2: ping function test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_ICMP_5001 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - TCPIPStress/PingStress - - - test_time = 300 - - - dummy - - - test_freq = 0.2 - - - '' - - - ping_len = 64 - - - '' - - - target_mode = "STA" - - - '' - execution time: 5.0 - expected result: |- - 1. send succeed - 2. recv ping reply - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1. PC send ping request to target - 2. PC check if received ping reply - sub module: ICMP - summary: ping target and check for ping reply - test environment: SSC_T1_6 - test point 1: stress - test point 2: ICMP ping stress test - version: v1 (2016-11-15) diff --git a/components/idf_test/integration_test/TC_IT_TCPIP_IGMP.yml b/components/idf_test/integration_test/TC_IT_TCPIP_IGMP.yml deleted file mode 100644 index 53ecd2d505..0000000000 --- a/components/idf_test/integration_test/TC_IT_TCPIP_IGMP.yml +++ /dev/null @@ -1,1549 +0,0 @@ -test cases: -- CI ready: 'Yes' - ID: TCPIP_IGMP_0101 - SDK: |- - 8266_NonOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 igmp -J -h -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 igmp -L -h -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 igmp -J -h -m 223.1.1.1 - - - R SSC1 C +IGMP:ERROR - - - SSC SSC1 igmp -J -h -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. success - 3. failed - 4. failed - 5. failed - 6. failed - 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 multicast addr - 3. join group with correct host addr and wrong multicast addr - 4. join group with correct host addr and wrong multicast addr - 5. join group with wrong host addr and correct multicast addr - 6. 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 - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 igmp -J -h -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 igmp -L -h -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 -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 - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 igmp -J -h -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 igmp -L -h -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 igmp -J -h -m 223.1.1.1 - - - R SSC1 C +IGMP:ERROR - - - SSC SSC1 igmp -J -h -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. success - 3. failed - 4. failed - 5. failed - 6. failed - 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 multicast addr - 3. join group with correct host addr and wrong multicast addr - 4. join group with correct host addr and wrong multicast addr - 5. join group with wrong host addr and correct multicast addr - 6. join group with wrong host addr and wrong multicast addr - sub module: IGMP - summary: softAP IGMP join 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_0104 - SDK: |- - 8266_NonOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 igmp -J -h -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 igmp -L -h -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 -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 - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 igmp -J -h -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SOC SOC1 BIND - - - R SOC_COM L OK - - - SOC SOC1 SENDTO 1 224.1.1.1 - - - R SSC1 SL +1 - - - SSC SSC1 igmp -L -h -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - execution time: 0.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. able to recv packet - 5. succeed - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1. join group - 2. create UDP socket using multicast addr - 3. PC bind UDP - 4. PC send UDP packet to multicast addr - 5. leave group - 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 - 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 dhcp -S -o 1 - - - R SSC2 C +DHCP - - - SSC SSC2 sta -C -s -p - - - R SSC2 C +JAP:CONNECTED - - - SSC SSC2 soc -T - - - R SSC2 C +CLOSEALL - - - SSC SSC1 igmp -J -h -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC2 soc -B -t UDP -p - - - R SSC2 A :\+BIND:(\d+),OK - - - SSC SSC2 soc -S -s -i 224.1.1.1 -p -l 10 - - - R SSC1 SL +1 - - - SSC SSC1 igmp -L -h -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - execution time: 0.0 - expected result: |- - 1. OK - 2. join AP - 3. DUT2 close socket - 4. OK - 5. OK - 6. OK - 7. DUT1 recv multicast packet - 8. OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1. DUT2 set to sta mode - 2. DUT2 enable DHCP and join AP - 3. DUT2 close socket - 4. DUT1 join group - 5. DUT1 create UDP socket using multicast addr - 6. DUT2 create UDP socket - 7. DUT2 send to multicast addr - 8. DUT1 leave group - sub module: IGMP - summary: station send multicast packets - test environment: SSC_T2_3 - 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 - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 igmp -J -h -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p - - - R SSC1 A :BIND:(\d+),OK - - - SOC SOC1 BIND - - - R SOC_COM L OK - - - SOC SOC1 SENDTO 1 224.1.1.1 - - - R SSC1 SL +1 - - - SSC SSC1 igmp -L -h -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - execution time: 0.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. able to recv packet - 5. OK - initial condition: APM2 - level: Integration - module: TCPIP - steps: |- - 1. join group - 2. create UDP socket using multicast addr - 3. PC bind UDP - 4. PC send UDP packet to multicast addr - 5. leave group - sub module: IGMP - summary: softAP IGMP recv packets - test environment: SSC_T1_7 - 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 - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -t - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 C +JAP:CONNECTED - - - SSC SSC1 igmp -J -h -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -B -t UDP -i 224.1.1.1 -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC2 soc -B -t UDP -p - - - R SSC2 A :\+BIND:(\d+),OK - - - SSC SSC2 soc -S -s -i 224.1.1.1 -p -l 10 - - - R SSC1 SL +1 - - - SSC SSC1 igmp -L -h -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - execution time: 0.0 - expected result: |- - 1. succeed - 2. join softap - 3. succeed - 4. succeed - 5. succeed - 6. DUT1 recv multicast packet - 7. succeed - initial condition: T2_1 - level: Integration - module: TCPIP - steps: |- - 1. DUT1 set softap mode - 2. DUT2 join SoftAP - 3. DUT1 join group - 4. DUT1 create UDP socket using multicast addr - 5. DUT2 create UDP socket - 6. DUT2 send to multicast addr - 7. DUT1 leave group - sub module: IGMP - summary: softAP send multicast packets - test environment: SSC_T2_5 - 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: |- - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -G -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -J -s -m 223.1.1.1 - - - R SSC1 C +IGMP:ERROR - - - SSC SSC1 soc -J -s -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_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_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -G -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m 224.1.1.2 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -G -s -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: |- - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -G -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -J -s -m 223.1.1.1 - - - R SSC1 C +IGMP:ERROR - - - SSC SSC1 soc -J -s -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_7 - 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_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -G -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m 224.1.1.2 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -G -s -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: 'No' - ID: TCPIP_IGMP_0201 - SDK: |- - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '1/3' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SOC SOC1 BIND - - - R SOC_COM L OK - - - SOC SOC1 SENDTO 1 224.1.1.1 - - - R SSC1 SL +1 - - - SSC SSC1 soc -G -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SOC SOC1 SENDTO 1 224.1.1.1 - - - R SSC1 NC +RECVFROM - - - R SOC_COM L OK - 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 create UDP, bind - 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: 'No' - ID: TCPIP_IGMP_0202 - SDK: |- - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '1/3' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC2 op -S -o 1 - - - R SSC2 C +MODE:OK - - - SSC SSC2 dhcp -S -o 1 - - - R SSC2 C +DHCP - - - SSC SSC2 sta -C -s -p - - - R SSC2 C +JAP:CONNECTED - - - SSC SSC2 soc -T - - - R SSC2 C +CLOSEALL - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC2 soc -B -t UDP -p - - - R SSC2 A :\+BIND:(\d+),OK - - - SSC SSC2 soc -S -s -i 224.1.1.1 -p -l 10 - - - R SSC1 SL +1 - - - SSC SSC1 soc -G -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC2 soc -S -s -i 224.1.1.1 -p -l 10 - - - R SSC1 NC +RECVFROM - - - R SSC2 A :\+SEND:(\d+),OK - execution time: 0.0 - expected result: | - 1. OK - 2. DUT2 connect succeed - 3. CLOSEALL - 4. OK - 5. OK - 6. OK - 7. able to recv packet - 8. OK - 9. not able to recv packet - initial condition: STAM2 - level: Integration - module: TCPIP - steps: | - 1. DUT2 set to sta mode - 2. DUT2 enable DHCP and join AP - 3. DUT2 close socket - 4. DUT1 create UDP socket - 5. DUT1 join group using multicast addr - 6. DUT2 create UDP socket - 7. DUT2 send to multicast addr - 8. DUT1 leave group with correct multicast addr - 9. DUT2 send to multicast addr - sub module: IGMP - summary: station send multicast packets - test environment: SSC_T2_3 - 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_RTOS - ESP32_IDF - Test App: SSC - allow fail: '1/3' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SOC SOC1 BIND - - - R SOC_COM L OK - - - SOC SOC1 SENDTO 1 224.1.1.1 - - - R SSC1 SL +1 - - - SSC SSC1 soc -G -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SOC SOC1 SENDTO 1 224.1.1.1 - - - R SSC1 NC +RECVFROM - - - R SOC_COM L OK - 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 create UDP, bind - 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_7 - test point 1: basic function - test point 2: IGMP send/recv test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_IGMP_0204 - SDK: |- - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -t - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 C +JAP:CONNECTED - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC2 soc -B -t UDP -p - - - R SSC2 A :\+BIND:(\d+),OK - - - SSC SSC2 soc -S -s -i 224.1.1.1 -p -l 10 - - - R SSC1 SL +1 - - - SSC SSC1 soc -G -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC2 soc -S -s -i 224.1.1.1 -p -l 10 - - - R SSC1 NC +RECVFROM - - - R SSC2 A :\+SEND:(\d+),OK - execution time: 0.0 - expected result: | - 1. OK - 2. DUT2 connect succeed - 3. OK - 4. OK - 5. OK - 6. DUT1 able to recv packet - 7. OK - 8. DUT1 not able to recv packet - initial condition: T2_1 - level: Integration - module: TCPIP - steps: | - 1. DUT1 set AP - 2. DUT2 join Softap - 3. DUT1 create UDP socket - 4. DUT1 join group using multicast addr - 5. DUT2 create UDP socket - 6. DUT2 send to multicast addr - 7. DUT1 leave group with correct multicast addr - 8. DUT2 send to multicast addr - sub module: IGMP - summary: softAP send multicast packets - test environment: SSC_T2_5 - test point 1: basic function - test point 2: IGMP send/recv test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_IGMP_0301 - SDK: |- - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t UDPv6 -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m FF02::1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -G -s -m FF02::1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -J -s -m FE80::1 - - - R SSC1 C +IGMP:ERROR - execution time: 0.0 - expected result: | - 1. OK - 2. OK - 3. OK - 4. ERROR - initial condition: STAM2 - level: Integration - module: TCPIP - steps: | - 1. create UDP socket - 2. join group with ipv6 multicast addr - 3. leave group with ipv6 multicast addr - 4. join group with wrong multicast addr - sub module: IGMP - summary: (IPv6)station IGMP join ipv6 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_0302 - SDK: |- - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t UDPv6 -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m FF02::1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -G -s -m FF02::1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -B -t UDPv6 -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m FF02::1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -G -s -m FF02::2 - - - 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 ipv6 multicast addr - 3. leave group with ipv6 multicast addr - 4. create UDP socket - 5. join group with ipv6 multicast addr - 6. leave group with wrong multicast addr - sub module: IGMP - summary: (IPv6)station IGMP leave ipv6 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: 'No' - ID: TCPIP_IGMP_0303 - SDK: |- - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t UDPv6 -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m FF02::1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -G -s -m FF02::1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -J -s -m FE80::1 - - - R SSC1 C +IGMP:ERROR - execution time: 0.0 - expected result: | - 1. OK - 2. OK - 3. OK - 4. ERROR - initial condition: APM2 - level: Integration - module: TCPIP - steps: | - 1. create UDP socket - 2. join group with ipv6 multicast addr - 3. leave group with ipv6 multicast addr - 4. join group with wrong multicast addr - sub module: IGMP - summary: (IPv6)softAP IGMP join ipv6 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_0304 - SDK: |- - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t UDPv6 -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m FF02::1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -G -s -m FF02::1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -B -t UDPv6 -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m FF02::1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -G -s -m FF02::2 - - - 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 ipv6 multicast addr - 3. leave group with ipv6 multicast addr - 4. create UDP socket - 5. join group with ipv6 multicast addr - 6. leave group with wrong multicast addr - sub module: IGMP - summary: (IPv6)softAP IGMP leave ipv6 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_0305 - SDK: |- - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t UDPv6 -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -G -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -J -s -m 223.1.1.1 - - - R SSC1 C +IGMP:ERROR - execution time: 0.0 - expected result: | - 1. OK - 2. OK - 3. OK - 4. ERROR - initial condition: STAM2 - level: Integration - module: TCPIP - steps: | - 1. create UDP socket - 2. join group with ipv4 multicast addr - 3. leave group with ipv4 multicast addr - 4. join group with wrong multicast addr - sub module: IGMP - summary: (IPv6)station IGMP join ipv4 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_0306 - SDK: |- - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t UDPv6 -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -G -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -B -t UDPv6 -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -G -s -m 224.1.1.2 - - - 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 ipv4 multicast addr - 3. leave group with ipv4 multicast addr - 4. create UDP socket - 5. join group with ipv4 multicast addr - 6. leave group with wrong multicast addr - sub module: IGMP - summary: (IPv6)station IGMP leave ipv4 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_0307 - SDK: |- - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t UDPv6 -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -G -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -J -s -m 223.1.1.1 - - - R SSC1 C +IGMP:ERROR - execution time: 0.0 - expected result: | - 1. OK - 2. OK - 3. OK - 4. ERROR - initial condition: APM2 - level: Integration - module: TCPIP - steps: | - 1. create UDP socket - 2. join group with ipv4 multicast addr - 3. leave group with ipv4 multicast addr - 4. join group with wrong multicast addr - sub module: IGMP - summary: (IPv6)softAP IGMP join ipv4 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_0308 - SDK: |- - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t UDPv6 -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -G -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -B -t UDPv6 -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC1 soc -G -s -m 224.1.1.2 - - - 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 ipv4 multicast addr - 3. leave group with ipv4 multicast addr - 4. create UDP socket - 5. join group with ipv4 multicast addr - 6. leave group with wrong multicast addr - sub module: IGMP - summary: (IPv6)softAP IGMP leave ipv4 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_0401 - SDK: |- - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '1/3' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t UDPv6 -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m FF02::1 - - - R SSC1 C +IGMP:OK - - - SOC SOC1 BIND_v6 - - - R SOC_COM L OK - - - SOC SOC1 SENDTO 1 FF02::1 - - - R SSC1 SL +1 - - - SSC SSC1 soc -G -s -m FF02::1 - - - R SSC1 C +IGMP:OK - - - SOC SOC1 SENDTO 1 FF02::1 - - - R SSC1 NC +RECVFROM - - - R SOC_COM L OK - 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 ipv6 multicast addr - 3. PC create UDP, bind - 4. PC send UDP packet to ipv6 multicast addr - 5. leave group with ipv6 multicast addr - 6. PC send UDP packet to ipv6 multicast addr - sub module: IGMP - summary: (IPv6)station IGMP recv packets with ipv6 group address - test environment: SSC_T1_6 - test point 1: basic function - test point 2: IGMP send/recv test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_IGMP_0402 - SDK: |- - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '1/3' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC2 op -S -o 1 - - - R SSC2 C +MODE:OK - - - SSC SSC2 dhcp -S -o 1 - - - R SSC2 C +DHCP - - - SSC SSC2 sta -C -s -p - - - R SSC2 C +JAP:CONNECTED - - - SSC SSC2 soc -T - - - R SSC2 C +CLOSEALL - - - SSC SSC1 soc -B -t UDPv6 -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m FF02::1 - - - R SSC1 C +IGMP:OK - - - DELAY 10 - - - '' - - - SSC SSC2 soc -B -t UDPv6 -p - - - R SSC2 A :\+BIND:(\d+),OK - - - SSC SSC2 soc -S -s -i FF02::1 -p -l 100 - - - R SSC1 SL +1 - - - SSC SSC1 soc -G -s -m FF02::1 - - - R SSC1 C +IGMP:OK - - - SSC SSC2 soc -S -s -i FF02::1 -p -l 100 - - - R SSC1 NC +RECVFROM - - - R SSC2 A :\+SEND:(\d+),OK - execution time: 0.0 - expected result: | - 1. OK - 2. DUT2 connect succeed - 3. DUT2 close socket - 4. OK - 5. OK - 6. Delay done - 7. OK - 8. able to recv packet - 9. OK - 10. not able to recv packet - initial condition: STAM2 - level: Integration - module: TCPIP - steps: | - 1. DUT2 set to sta mode - 2. DUT2 enable DHCP and join AP - 3. DUT2 close socket - 4. DUT1 create UDP socket - 5. DUT1 join group using ipv6 multicast addr - 6. Delay - 7. DUT2 create UDP socket - 8. DUT2 send to ipv6 multicast addr - 9. DUT1 leave group with ipv6 multicast addr - 10. DUT2 send to ipv6 multicast addr - sub module: IGMP - summary: (IPv6)station send multicast packets with ipv6 group address - test environment: SSC_T2_3 - test point 1: basic function - test point 2: IGMP send/recv test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_IGMP_0403 - SDK: |- - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '1/3' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t UDPv6 -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m FF02::1 - - - R SSC1 C +IGMP:OK - - - SOC SOC1 BIND_v6 - - - R SOC_COM L OK - - - SOC SOC1 SENDTO 1 FF02::1 - - - R SSC1 SL +1 - - - SSC SSC1 soc -G -s -m FF02::1 - - - R SSC1 C +IGMP:OK - - - SOC SOC1 SENDTO 1 FF02::1 - - - R SSC1 NC +RECVFROM - - - R SOC_COM L OK - 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 with ipv6 multicast addr - 3. PC create UDP, bind - 4. PC send UDP packet to ipv6 multicast addr - 5. leave group with ipv6 multicast addr - 6. PC send UDP packet to ipv6 multicast addr - sub module: IGMP - summary: (IPv6)softAP IGMP recv packets with ipv6 group address - test environment: SSC_T1_7 - test point 1: basic function - test point 2: IGMP send/recv test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_IGMP_0404 - SDK: |- - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '1/3' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC2 op -S -o 1 - - - R SSC2 C +MODE:OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 C +JAP:CONNECTED - - - SSC SSC2 soc -T - - - R SSC2 C +CLOSEALL - - - DELAY 10 - - - '' - - - SSC SSC1 soc -B -t UDPv6 -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m FF02::1 - - - R SSC1 C +IGMP:OK - - - SSC SSC2 soc -B -t UDPv6 -p - - - R SSC2 A :\+BIND:(\d+),OK - - - SSC SSC2 soc -S -s -i FF02::1 -p -l 100 - - - R SSC1 SL +1 - - - SSC SSC1 soc -G -s -m FF02::1 - - - R SSC1 C +IGMP:OK - - - SSC SSC2 soc -S -s -i FF02::1 -p -l 100 - - - R SSC1 SL NC +RECVFROM - - - R SSC2 A :\+SEND:(\d+),OK - execution time: 0.0 - expected result: | - 1. OK - 2. join AP - 3. DUT2 close socket - 4. DELAY - 5. OK - 6. OK - 7. OK - 8. able to recv packet - 9. OK - 10. not able to recv packet - initial condition: APM2 - level: Integration - module: TCPIP - steps: | - 1. DUT2 set station mode - 2. DUT2 join AP - 3. DUT2 close socket - 4. DELAY - 5. DUT1 create UDP socket - 6. DUT1 join group using ipv6 multicast addr - 7. DUT2 create UDP socket - 8. DUT2 send to ipv6 multicast addr - 9. DUT1 leave group with ipv6 multicast addr - 10. DUT2 send to ipv6 multicast addr - sub module: IGMP - summary: (IPv6)softAP send multicast packets with ipv6 group address - test environment: SSC_T2_2 - test point 1: basic function - test point 2: IGMP send/recv test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_IGMP_0405 - SDK: |- - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '1/3' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t UDPv6 -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SOC SOC1 BIND - - - R SOC_COM L OK - - - SOC SOC1 SENDTO 1 224.1.1.1 - - - R SSC1 SL +1 - - - SSC SSC1 soc -G -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SOC SOC1 SENDTO 1 224.1.1.1 - - - R SSC1 NC +RECVFROM - - - R SOC_COM L OK - 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 ipv4 multicast addr - 3. PC create UDP, bind - 4. PC send UDP packet to ipv4 multicast addr - 5. leave group with ipv4 multicast addr - 6. PC send UDP packet to ipv4 multicast addr - sub module: IGMP - summary: (IPv6)station IGMP recv packets with ipv4 group address - test environment: SSC_T1_6 - test point 1: basic function - test point 2: IGMP send/recv test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_IGMP_0406 - SDK: |- - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '1/3' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC2 op -S -o 1 - - - R SSC2 C +MODE:OK - - - SSC SSC2 dhcp -S -o 1 - - - R SSC2 C +DHCP - - - SSC SSC2 sta -C -s -p - - - R SSC2 C +JAP:CONNECTED - - - SSC SSC2 soc -T - - - R SSC2 C +CLOSEALL - - - SSC SSC1 soc -B -t UDPv6 -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC2 soc -B -t UDP -p - - - R SSC2 A :\+BIND:(\d+),OK - - - SSC SSC2 soc -S -s -i 224.1.1.1 -p -l 100 - - - R SSC1 SL +1 - - - SSC SSC1 soc -G -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC2 soc -S -s -i 224.1.1.1 -p -l 100 - - - R SSC1 NC +RECVFROM - - - R SSC2 A :\+SEND:(\d+),OK - execution time: 0.0 - expected result: | - 1. OK - 2. DUT2 connect succeed - 3. DUT2 close socket - 4. OK - 5. OK - 6. OK - 7. able to recv packet - 8. OK - 9. not able to recv packet - initial condition: STAM2 - level: Integration - module: TCPIP - steps: | - 1. DUT2 set to sta mode - 2. DUT2 enable DHCP and join AP - 3. DUT2 close socket - 4. DUT1 create UDP socket - 5. DUT1 join group using ipv4 multicast addr - 6. DUT2 create UDP socket - 7. DUT2 send to ipv4 multicast addr - 8. DUT1 leave group with ipv4 multicast addr - 9. DUT2 send to ipv4 multicast addr - sub module: IGMP - summary: (IPv6)station send multicast packets with ipv4 group address - test environment: SSC_T2_3 - test point 1: basic function - test point 2: IGMP send/recv test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_IGMP_0407 - SDK: |- - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '1/3' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t UDPv6 -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SOC SOC1 BIND - - - R SOC_COM L OK - - - SOC SOC1 SENDTO 1 224.1.1.1 - - - R SSC1 SL +1 - - - SSC SSC1 soc -G -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SOC SOC1 SENDTO 1 224.1.1.1 - - - R SSC1 NC +RECVFROM - - - R SOC_COM L OK - 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 with ipv4 multicast addr - 3. PC create UDP, bind - 4. PC send UDP packet to ipv4 multicast addr - 5. leave group with ipv4 multicast addr - 6. PC send UDP packet to ipv4 multicast addr - sub module: IGMP - summary: (IPv6)softAP IGMP recv packets with ipv4 group address - test environment: SSC_T1_7 - test point 1: basic function - test point 2: IGMP send/recv test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_IGMP_0408 - SDK: |- - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '1/3' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC2 op -S -o 1 - - - R SSC2 C +MODE:OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 C +JAP:CONNECTED - - - SSC SSC2 soc -T - - - R SSC2 C +CLOSEALL - - - SSC SSC1 soc -B -t UDPv6 -p - - - R SSC1 A :\+BIND:(\d+),OK - - - SSC SSC1 soc -J -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC2 soc -B -t UDP -p - - - R SSC2 A :\+BIND:(\d+),OK - - - SSC SSC2 soc -S -s -i 224.1.1.1 -p -l 100 - - - R SSC1 SL +1 - - - SSC SSC1 soc -G -s -m 224.1.1.1 - - - R SSC1 C +IGMP:OK - - - SSC SSC2 soc -S -s -i 224.1.1.1 -p -l 100 - - - R SSC1 NC +RECVFROM - - - R SSC2 A :\+SEND:(\d+),OK - execution time: 0.0 - expected result: | - 1. OK - 2. DUT2 connect succeed - 3. DUT2 close socket - 4. OK - 5. OK - 6. OK - 7. able to recv packet - 8. OK - 9. not able to recv packet - initial condition: APM2 - level: Integration - module: TCPIP - steps: | - 1. DUT2 set sta mode - 2. DUT2 join AP - 3. DUT2 close socket - 4. DUT1 create UDP socket - 5. DUT1 join group using ipv4 multicast addr - 6. DUT2 create UDP socket - 7. DUT2 send to ipv4 multicast addr - 8. DUT1 leave group with ipv4 multicast addr - 9. DUT2 send to ipv4 multicast addr - sub module: IGMP - summary: (IPv6)softAP send multicast packets with ipv4 group address - test environment: SSC_T2_2 - test point 1: basic function - test point 2: IGMP send/recv test - version: v1 (2016-8-15) diff --git a/components/idf_test/integration_test/TC_IT_TCPIP_IP.yml b/components/idf_test/integration_test/TC_IT_TCPIP_IP.yml deleted file mode 100644 index 5af600a5e2..0000000000 --- a/components/idf_test/integration_test/TC_IT_TCPIP_IP.yml +++ /dev/null @@ -1,85 +0,0 @@ -test cases: -- CI ready: 'Yes' - ID: TCPIP_IP_0101 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 dhcp -S -o 1 - - - R SSC1 C +DHCP:STA,OK - - - SSC SSC1 ip -S -o 1 -i 192.168.123.123 - - - R SSC1 C +IP:ERROR - - - SSC SSC1 dhcp -E -o 1 - - - R SSC1 C +DHCP:STA,OK - - - SSC SSC1 ip -S -o 1 -i 192.168.123.123 - - - R SSC1 C +IP:OK - - - SSC SSC1 ip -Q -o 1 - - - R SSC1 C +STAIP:192.168.123.123 - execution time: 0.0 - expected result: |- - 1.OK - 2.ERROR - 3.OK - 4.OK - 5.STAIP:192.168.123.123 - initial condition: STAM1 - level: Integration - module: TCPIP - steps: "1.target1 打开DHCP 1\n2.target1 设置sta ip 192.168.123.123\n4.target1 关闭DHCP - 1\n5.target1 设置sta ip 192.168.123.123\n6.target1 查询 当前sta ip " - sub module: IP - summary: sta set and query static ip test - test environment: SSC_T1_4 - test point 1: basic function - test point 2: set and query static IP - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_IP_0102 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 dhcp -S -o 2 - - - R SSC1 C +DHCP:AP,OK - - - SSC SSC1 ip -S -o 2 -i 192.168.123.123 - - - R SSC1 C +IP:ERROR - - - SSC SSC1 dhcp -E -o 2 - - - R SSC1 C +DHCP:AP,OK - - - SSC SSC1 ip -S -o 2 -i 192.168.123.123 - - - R SSC1 C +IP:OK - - - SSC SSC1 ip -Q -o 2 - - - R SSC1 C +APIP:192.168.123.123 - - - SSC SSC1 ip -S -o 2 -i - - - R SSC1 C +IP:OK - execution time: 0.0 - expected result: |- - 1.OK - 2.ERROR - 3.OK - 4.OK - 5.APIP:192.168.123.123 - 6.OK - initial condition: APM1 - level: Integration - module: TCPIP - steps: "1.target1 打开DHCP 2\n2.target1 设置softAP ip 192.168.123.123\n4.target1 关闭DHCP - 2\n5.target1 设置softAP ip 192.168.123.123\n6.target1 查询 当前sta ip \n7.target1 设置softAP - ip 为target_ap_ip" - sub module: IP - summary: ap set and query static ip test - test environment: SSC_T1_4 - test point 1: basic function - test point 2: set and query static IP - version: v1 (2016-8-15) diff --git a/components/idf_test/integration_test/TC_IT_TCPIP_TCP.yml b/components/idf_test/integration_test/TC_IT_TCPIP_TCP.yml deleted file mode 100644 index 1e54562748..0000000000 --- a/components/idf_test/integration_test/TC_IT_TCPIP_TCP.yml +++ /dev/null @@ -1,4477 +0,0 @@ -test cases: -- 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 - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0 - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - 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 :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i 123.456.678.789 -p - - - P SSC1 RE CONNECT:\d+,ERROR - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,ERROR - 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 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 random_port - 2.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0 - 3.target1上使用步骤2创建的socket,去连接 PC的ip,random_port - 4.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0 - 5.target1上使用步骤4创建的socket,去连接不存在的ip,random_port - 6.target1上使用步骤2创建的socket,去连接 PC的ip,远端端口不存在。 - sub module: TCP - summary: STA mode, connect test. use different ip, port - test environment: SSC_T1_6 - 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 - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -L -s - - - R SSC1 RE LISTEN:\d+,OK - - - SOC SOC1 CONNECT - - - R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+ - - P SOC_COM C OK - - - SOC SOC1 CONNECT - - - P SOC_COM C ERROR - - P SSC1 NC ACCEPT - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.PC TCP client accept - 4.error - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.target1上创建TCP socket,bind到本地端口 - 2.target1上使用步骤1创建的socket,创建TCP 监听 - 3.PC TCP 连接到target1 , - 4.PC tcp 连接到不存在的port , - sub module: TCP - summary: STA mode, server listen test. use different kinds of port - test environment: SSC_T1_6 - 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 - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SOC SOC1 ACCEPT SOC2 - - - R SOC_COM L OK - - - SOC SOC2 SEND 5 - - - R SSC1 SL +5 - - - SSC SSC1 soc -S -s -l 5 - - - P SSC1 RE SEND:\d+,OK - - P SOC2 RL 5 - - - SSC SSC1 soc -S -s -l 1460 - - - P SSC1 RE SEND:\d+,OK - - P SOC2 RL 1460 - 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.OK,PC 回SOC_RECV=SOC2,RECV_LEN=字节数 - initial condition: STAM2 - level: Integration - 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.8266 send 1460 to PC. - sub module: TCP - summary: STA mode, send/recv basic test - test environment: SSC_T1_6 - 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 - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -D -s -h B - - - R SSC1 RE SHUTDOWN:\d+,OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -D -s -h W - - - R SSC1 RE SHUTDOWN:\d+,OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -D -s -h R - - - R SSC1 RE SHUTDOWN:\d+,OK - 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 - level: Integration - module: TCPIP - steps: |- - 1. PC上建立TCP 监听 random_port - 2.target1上创建TCP socket - 3.target1上使用步骤2创建的socket,去连接 PC的ip,random_port,PC有ACCEPT - 4.target1 shutdown socket1 B - 5.target1上创建TCP socket - 6.target1上使用步骤5创建的socket,去连接 PC的ip,random_port,PC有ACCEPT - 7.target1 shutdown socket2 W - 8.target1上创建TCP socket - 9.target1上使用步骤8创建的socket,去连接 PC的ip,random_port,PC有ACCEPT - 10.target1 shutdown socket3 R - sub module: TCP - summary: STA mode, shutdown basic test - test environment: SSC_T1_6 - 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 - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -T -s - - - R SSC1 RE CLOSE:\d+,OK - - - SSC SSC1 soc -B -t TCP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -L -s - - - R SSC1 RE LISTEN:\d+,OK - - - SOC SOC2 CONNECT - - - R SSC1 A :ACCEPT:(\d+),\d+,.+,\d+ - - - SSC SSC1 soc -T -s - - - R SSC1 RE CLOSE:\d+,OK - - - SSC SSC1 soc -T -s - - - R SSC1 RE CLOSE:\d+,OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -T -s - - - R SSC1 RE CLOSE:\d+,OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -D -s - - - R SSC1 RE SHUTDOWN:\d+,OK - - - SSC SSC1 soc -T -s - - - R SSC1 RE CLOSE:\d+,OK - 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 - level: Integration - module: TCPIP - steps: "1.PC上建立TCP 监听 random_port\n2.target1上创建TCP socket1\n3.target1关闭socket1\n4.target1上创建TCP - socket 端口随机\n5.target1上使用步骤4创建的socket1,去监听\n6.PC CONNECT, - ,tcp 连接创建成功,创建socket2 \n7.target1关闭socket1\n8.target1关闭socket2\n9.target1上创建TCP - socket1\n10.target1上使用步骤10创建的socket1,去连接 PC的ip,random_port,PC有ACCEPT\n11.target1关闭socket1\n12.target1上创建TCP - socket1\n13.target1上使用步骤13创建的socket1,去连接 PC的ip,random_port,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_6 - 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_0106 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - 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 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 random_port - 2.target1上创建TCP socket1 - 3.target1上使用步骤2创建的socket1,去连接 PC的ip,random_port,PC有ACCEPT - 4.target1上创建TCP socket2 - 5.target1上使用步骤4创建的socket2,去连接 PC的ip,random_port,PC有ACCEPT - 6.target1上创建TCP socket3 - 7.target1上使用步骤6创建的socket3,去连接 PC的ip,random_port,PC有ACCEPT - 8.target1上创建TCP socket4 - 9.target1上使用步骤8创建的socket4,去连接 PC的ip,random_port,PC有ACCEPT - 10.target1上创建TCP socket5 - 11.target1上使用步骤10创建的socket5,去连接 PC的ip,random_port,PC有ACCEPT - sub module: TCP - summary: STA mode, create max TCP sockets test - test environment: SSC_T1_6 - 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 - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -L -s - - - R SSC1 RE LISTEN:\d+,OK - - - SOC SOC2 CONNECT - - - R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+ - - - SOC SOC3 CONNECT - - - R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+ - - - SOC SOC4 CONNECT - - - R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+ - - - SOC SOC5 CONNECT - - - R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+ - - - SOC SOC6 CONNECT - - - R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+ - 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 - level: Integration - module: TCPIP - steps: "1.target1上创建TCP socket 端口随机\n2.target1上使用步骤4创建的socket1,去监听\n3.PC CONNECT, - ,tcp 连接创建成功,创建socket2 \n4.PC CONNECT, ,tcp 连接创建成功,创建socket3 - \n5.PC CONNECT, ,tcp 连接创建成功,创建socket4 \n6.PC CONNECT, - ,tcp 连接创建成功,创建socket5 \n7.PC CONNECT, ,tcp 连接创建成功,创建socket6 - \ " - sub module: TCP - summary: STA mode, accept max TCP client by server test - test environment: SSC_T1_6 - 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_0108 - SDK: 8266_NonOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -A -s - - - R SSC1 RE CLOSE:\d+,OK - - - SSC SSC1 soc -B -t TCP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -L -s - - - R SSC1 RE LISTEN:\d+,OK - - - SOC SOC2 CONNECT - - - R SSC1 A :ACCEPT:(\d+),\d+,.+,\d+ - - - SSC SSC1 soc -A -s - - - R SSC1 RE CLOSE:\d+,OK - - - SSC SSC1 soc -A -s - - - R SSC1 RE CLOSE:\d+,OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -A -s - - - R SSC1 RE CLOSE:\d+,OK - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK,pc tcp server accept成功 - 4.OK - 5.OK - 6.OK - 7.OK - 8.OK - 9.OK - 10.ERROR - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 test_tcp_port1 - 2.target1上创建TCP socket1 - 3.target1 abort socket1 - 4.target1上创建TCP socket 端口随机 - 5.target1上使用步骤4创建的socket1,去监听 - 6.PC CONNECT, ,tcp 连接创建成功,创建socket2 - 7.target1 abort socket1 - 8.target1 abort socket2 - 9.target1上创建TCP socket1 - 10.target1上使用步骤10创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT - 11.target1 abort socket1 - sub module: TCP - summary: STA mode, espconn abort test - test environment: SSC_T1_6 - 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 - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0 - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - 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 :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i 123.456.678.789 -p - - - P SSC1 RE CONNECT:\d+,ERROR - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,ERROR - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK; PC TCP server accept 成功 - 4.OK - 5.ERROR - 6.ERROR - initial condition: APM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 random_port - 2.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0 - 3.target1上使用步骤2创建的socket,去连接 PC的ip,random_port - 4.target1上创建TCP socket,bind到本地ip 0.0.0.0,本地端口 0 - 5.target1上使用步骤4创建的socket,去连接不存在的ip,random_port - 6.target1上使用步骤2创建的socket,去连接 PC的ip,远端端口不存在。 - sub module: TCP - summary: AP mode, connect test. use different ip, port - test environment: SSC_T1_7 - 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 - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -L -s - - - R SSC1 RE LISTEN:\d+,OK - - - SOC SOC1 CONNECT 0 - - - R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+ - - P SOC_COM C OK - - - SOC SOC1 CONNECT 0 - - - P SOC_COM C ERROR - - P SSC1 NC ACCEPT - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.PC TCP client accept - 4.error - initial condition: APM2 - level: Integration - module: TCPIP - steps: |- - 1.target1上创建TCP socket,bind到本地端口 - 2.target1上使用步骤1创建的socket,创建TCP 监听 - 3.PC TCP 连接到target1 , - 4.PC tcp 连接到不存在的port , - sub module: TCP - summary: AP mode, server listen test. use different kinds of port - test environment: SSC_T1_7 - 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 - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SOC SOC1 ACCEPT SOC2 - - - R SOC_COM L OK - - - SOC SOC2 SEND 5 - - - R SSC1 SL +5 - - - SSC SSC1 soc -S -s -l 5 - - - P SSC1 RE SEND:\d+,OK - - P SOC2 RL 5 - - - SSC SSC1 soc -S -s -l 1460 -n 100 - - - P SSC1 RE SEND:\d+,OK - - P SOC2 RL 146000 - 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.OK,PC 收到146000 byte数据 - initial condition: APM2 - level: Integration - 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.8266 send 100 * 1460 to PC. - sub module: TCP - summary: AP mode, send/recv basic test - test environment: SSC_T1_7 - 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 - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -D -s -h B - - - R SSC1 RE SHUTDOWN:\d+,OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -D -s -h W - - - R SSC1 RE SHUTDOWN:\d+,OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -D -s -h R - - - R SSC1 RE SHUTDOWN:\d+,OK - 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: APM2 - level: Integration - module: TCPIP - steps: |- - 1. PC上建立TCP 监听 random_port - 2.target1上创建TCP socket - 3.target1上使用步骤2创建的socket,去连接 PC的ip,random_port,PC有ACCEPT - 4.target1 shutdown socket1 B - 5.target1上创建TCP socket - 6.target1上使用步骤5创建的socket,去连接 PC的ip,random_port,PC有ACCEPT - 7.target1 shutdown socket2 W - 8.target1上创建TCP socket - 9.target1上使用步骤8创建的socket,去连接 PC的ip,random_port,PC有ACCEPT - 10.target1 shutdown socket3 R - sub module: TCP - summary: AP mode, shutdown basic test - test environment: SSC_T1_7 - 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 - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -T -s - - - R SSC1 RE CLOSE:\d+,OK - - - SSC SSC1 soc -B -t TCP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -L -s - - - R SSC1 RE LISTEN:\d+,OK - - - SOC SOC2 CONNECT 0 - - - R SSC1 A :ACCEPT:(\d+),\d+,.+,\d+ - - - SSC SSC1 soc -T -s - - - R SSC1 RE CLOSE:\d+,OK - - - SSC SSC1 soc -T -s - - - R SSC1 RE CLOSE:\d+,OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -T -s - - - R SSC1 RE CLOSE:\d+,OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -D -s - - - R SSC1 RE SHUTDOWN:\d+,OK - - - SSC SSC1 soc -T -s - - - R SSC1 RE CLOSE:\d+,OK - 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: APM2 - level: Integration - module: TCPIP - steps: "1.PC上建立TCP 监听 random_port\n2.target1上创建TCP socket1\n3.target1关闭socket1\n4.target1上创建TCP - socket 端口随机\n5.target1上使用步骤4创建的socket1,去监听\n6.PC CONNECT, - ,tcp 连接创建成功,创建socket2 \n7.target1关闭socket1\n8.target1关闭socket2\n9.target1上创建TCP - socket1\n10.target1上使用步骤10创建的socket1,去连接 PC的ip,random_port,PC有ACCEPT\n11.target1关闭socket1\n12.target1上创建TCP - socket1\n13.target1上使用步骤13创建的socket1,去连接 PC的ip,random_port,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_7 - 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 - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - 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: APM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 random_port - 2.target1上创建TCP socket1 - 3.target1上使用步骤2创建的socket1,去连接 PC的ip,random_port,PC有ACCEPT - 4.target1上创建TCP socket2 - 5.target1上使用步骤4创建的socket2,去连接 PC的ip,random_port,PC有ACCEPT - 6.target1上创建TCP socket3 - 7.target1上使用步骤6创建的socket3,去连接 PC的ip,random_port,PC有ACCEPT - 8.target1上创建TCP socket4 - 9.target1上使用步骤8创建的socket4,去连接 PC的ip,random_port,PC有ACCEPT - 10.target1上创建TCP socket5 - 11.target1上使用步骤10创建的socket5,去连接 PC的ip,random_port,PC有ACCEPT - sub module: TCP - summary: AP mode, create max TCP sockets test - test environment: SSC_T1_7 - 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 - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -L -s - - - R SSC1 RE LISTEN:\d+,OK - - - SOC SOC2 CONNECT 0 - - - R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+ - - - SOC SOC3 CONNECT 0 - - - R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+ - - - SOC SOC4 CONNECT 0 - - - R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+ - - - SOC SOC5 CONNECT 0 - - - R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+ - - - SOC SOC6 CONNECT 0 - - - R SSC1 RE ACCEPT:(\d+),\d+,.+,\d+ - 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: APM2 - level: Integration - module: TCPIP - steps: "1.target1上创建TCP socket 端口随机\n2.target1上使用步骤4创建的socket1,去监听\n3.PC CONNECT, - ,tcp 连接创建成功,创建socket2 \n4.PC CONNECT, ,tcp 连接创建成功,创建socket3 - \n5.PC CONNECT, ,tcp 连接创建成功,创建socket4 \n6.PC CONNECT, - ,tcp 连接创建成功,创建socket5 \n7.PC CONNECT, ,tcp 连接创建成功,创建socket6 - \ " - sub module: TCP - summary: AP mode, accept max TCP client by server test - test environment: SSC_T1_7 - 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_0201 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,ERROR - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -L -s - - - R SSC1 RE LISTEN:\d+,OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,ERROR - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -D -s -h B - - - P SSC1 RE SHUTDOWN:\d+,OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,ERROR - - - SSC SSC1 soc -T - - - R SSC1 C +CLOSEALL - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,ERROR - 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: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 random_port - 2.target1上创建UDP传输socket,bind到本地ip 0.0.0.0, - 3.target1上使用步骤2创建的socket,去连接 PC的ip, - 4.target1上创建TCP socket - 5.target1上使用步骤4创建的socket,创建TCP 监听 - 6.target1上使用步骤4创建的socket,去连接 PC的ip, - 7.target1上创建TCP socket - 8.target1上使用步骤7创建的socket,去连接 PC的ip, - 9.target1上关闭步骤7创建的socket - 10.target1上使用步骤7创建的socket,去连接 PC的ip, - 11.target1上关闭所有创建的socket - 12.target1上使用步骤2创建的socket,去连接 PC的ip, - sub module: TCP - summary: STA mode, connect test. use socket in state that can't connect - test environment: SSC_T1_6 - 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_0202 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -L -s - - - R SSC1 RE LISTEN:\d+,ERROR - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -L -s - - - R SSC1 RE LISTEN:\d+,ERROR - - - SSC SSC1 soc -D -s - - - R SSC1 RE SHUTDOWN:\d+,OK - - - SSC SSC1 soc -L -s - - - R SSC1 RE LISTEN:\d+,ERROR - - - SSC SSC1 soc -L -s 1000 - - - R SSC1 RE LISTEN:\d+,ERROR - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.ERROR - 4.OK - 5.OK - 6.ERROR - 7.OK - 8.ERROR - 9.ERROR - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 random_port - 2.target1上创建UDP传输socket,bind到本地ip 0.0.0.0, - 3.target1上使用步骤2创建的socket,去建立TCP 监听 - 4.target1上创建TCP socket - 5.target1上使用步骤4创建的socket,去连接 PC的ip, - 6.target1上使用步骤4创建的socket,创建TCP 监听 - 7.target1上shutdown 步骤4的socket - 8.target1上使用步骤4创建的socket,创建TCP 监听 - 9.target1上使用不存在socket,创建TCP 监听 - sub module: TCP - summary: STA mode, server listen test. use socket in state that can't listen - test environment: SSC_T1_6 - 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_0203 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -S -s - - - R SSC1 RE SEND:\d+,ERROR - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -S -s - - - R SSC1 RE SEND:\d+,ERROR - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -D -s - - - R SSC1 RE SHUTDOWN:\d+,OK - - - SSC SSC1 soc -S -s - - - R SSC1 RE SEND:\d+,ERROR - - - SSC SSC1 soc -S -s 1000 - - - R SSC1 RE SEND:\d+,ERROR - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.ERROR - 4.OK - 5.ERROR - 6.OK - 7.OK - 8.ERROR - 9.ERROR - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 random_port - 2.target1上创建UDP传输socket1, - 3.target1上使用步骤2创建的socket1,去发送数据 - 4.target1上创建TCP socket2 - 5.target1上使用步骤4创建的socket2,去发送数据 - 6.target1上使用步骤4创建的socket2,创建TCP连接,连接成功 - 7.target1上shutdown 步骤4的socket2 - 8.target1往socket2发送错误命令发送数据 - 9.target1上不指定socket往上发送数据 - sub module: TCP - summary: send test. use socket in state that can't send - test environment: SSC_T1_6 - 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_0204 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP -w 0 - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SOC SOC1 ACCEPT SOC2 - - - R SOC_COM L OK - - - SOC SOC2 SEND 146000 - - - P SOC_COM R * - - - SSC SSC1 soc -W -s -o 1 - - - P SSC1 RE WORKTHREAD:\d+,OK - - P SSC1 SL +2920 - execution time: 0.0 - expected result: | - 1.OK - 2.OK - 3.OK,pc server accept OK - 4.OK - 5.OK - 6.OK - 7.target收到146000 byte - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1. PC上建立TCP 监听 random_port - 2.target1上创建TCP socket - 3.target1上使用步骤2创建的socket,去连接 PC的ip,random_port - 4.PC与target1 创建好TCP 连接,有ACCEPT - 5.target上不进行recv - 6.PC send 100 * 1460 data to target, - 7.在target上开始recv - sub module: TCP - summary: STA mode, TCP recv buffer test - test environment: SSC_T1_6 - test point 1: basic function - test point 2: use TCP SAP (socket/espconn API) in different state - version: v2 (2016-10-19) -- CI ready: 'Yes' - 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 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP -i - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -B -t TCP -i - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -D -s - - - R SSC1 RE SHUTDOWN:\d+,OK - - - SSC SSC1 soc -B -t TCP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -L -s - - - R SSC1 RE LISTEN:\d+,OK - - - SOC SOC2 CONNECT - - - R SSC1 A :ACCEPT:(\d+),\d+,.+,\d+ - - - SSC SSC1 soc -I - - - P SSC1 RE "SOCINFO:%%s,2,%%s,\d+,%%s,%%d"%%(,,,) - - P SSC1 RE "SOCINFO:%%s,82,.+,%%d"%%(,) - - P SSC1 RE "SOCINFO:%%s,2,%%s,%%d,%%s,\d+"%%(,,,) - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK,pc tcp server accept成功 - 4.OK - 5.OK - 6.OK - 7.OK - 8.OK - 9.PC OK, target1 +ACCEPT:3,2,,port - 10.+SOCINFO:,,, - +SOCINFO:,,, - +SOCINFO:, - +SOCINFO:,,, - +SOCINF0ALL - initial condition: STAM2 - level: Integration - module: TCPIP - steps: "1.PC上建立TCP 监听 random_port\n2.target1上创建TCP socket1,本地ip target_ip\n3.target1上使用步骤2创建的socket1,去连接 - PC的ip,random_port,PC有ACCEPT\n4.target1上创建TCP socket2,本地ip target_ip\n5.target1上使用步骤4创建的socket2,去连接 - PC的ip,random_port,PC有ACCEPT\n6.target1 shutdown socket2 \n7.target1上创建TCP socket3,本地端口random_port\n8.target1上使用步骤7创建的socket3,去监听\n9.PC - CONNECT, ,tcp 连接创建成功,创建socket4 \n10.target1 查询the socket - information" - sub module: TCP - summary: STA mode, TCP get active socket info test - test environment: SSC_T1_6 - 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_0207 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,ERROR - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -L -s - - - R SSC1 RE LISTEN:\d+,OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,ERROR - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -D -s -h B - - - P SSC1 RE SHUTDOWN:\d+,OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,ERROR - - - SSC SSC1 soc -T - - - R SSC1 C +CLOSEALL - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,ERROR - 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: APM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 random_port - 2.target1上创建UDP传输socket,bind到本地ip 0.0.0.0, - 3.target1上使用步骤2创建的socket,去连接 PC的ip, - 4.target1上创建TCP socket - 5.target1上使用步骤4创建的socket,创建TCP 监听 - 6.target1上使用步骤4创建的socket,去连接 PC的ip, - 7.target1上创建TCP socket - 8.target1上使用步骤7创建的socket,去连接 PC的ip, - 9.target1上关闭步骤7创建的socket - 10.target1上使用步骤7创建的socket,去连接 PC的ip, - 11.target1上关闭所有创建的socket - 12.target1上使用步骤2创建的socket,去连接 PC的ip, - sub module: TCP - summary: AP mode, connect test. use socket in state that can't connect - test environment: SSC_T1_7 - 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_0208 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -L -s - - - R SSC1 RE LISTEN:\d+,ERROR - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -L -s - - - R SSC1 RE LISTEN:\d+,ERROR - - - SSC SSC1 soc -D -s - - - R SSC1 RE SHUTDOWN:\d+,OK - - - SSC SSC1 soc -L -s - - - R SSC1 RE LISTEN:\d+,ERROR - - - SSC SSC1 soc -L -s 1000 - - - R SSC1 RE LISTEN:\d+,ERROR - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.ERROR - 4 OK - 5.OK - 6.ERROR - 7.OK - 8.ERROR - 9.ERROR - initial condition: APM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 random_port - 2.target1上创建UDP传输socket,bind到本地ip 0.0.0.0, - 3.target1上使用步骤2创建的socket,去建立TCP 监听 - 4.target1上创建TCP socket - 5.target1上使用步骤4创建的socket,去连接 PC的ip, - 6.target1上使用步骤4创建的socket,创建TCP 监听 - 7.target1上shutdown 步骤4的socket - 8.target1上使用步骤4创建的socket,创建TCP 监听 - 9.target1上使用不存在socket,创建TCP 监听 - sub module: TCP - summary: AP mode, server listen test. use socket in state that can't listen - test environment: SSC_T1_7 - 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_0210 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP -w 0 - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SOC SOC1 ACCEPT SOC2 - - - R SOC_COM L OK - - - SOC SOC2 SEND 146000 - - - P SOC_COM R * - - - SSC SSC1 soc -W -s -o 1 - - - P SSC1 RE WORKTHREAD:\d+,OK - - P SSC1 SL +2920 - execution time: 0.0 - expected result: | - 1.OK - 2.OK - 3.OK,pc tcp server accept成功 - 4.OK - 6.OK - 7.收到 146000 数据 - initial condition: APM2 - level: Integration - module: TCPIP - steps: |- - 1. PC上建立TCP 监听 random_port - 2.target1上创建TCP socket - 3.target1上使用步骤2创建的socket,去连接 PC的ip,random_port - 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, TCP recv buffer test - test environment: SSC_T1_7 - test point 1: basic function - test point 2: use TCP SAP (socket/espconn API) in different state - version: v2 (2016-10-19) -- CI ready: 'Yes' - 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 - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP -i - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -B -t TCP -i - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -D -s - - - R SSC1 RE SHUTDOWN:\d+,OK - - - SSC SSC1 soc -B -t TCP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -L -s - - - R SSC1 RE LISTEN:\d+,OK - - - SOC SOC2 CONNECT 0 - - - R SSC1 A :ACCEPT:(\d+),\d+,.+,\d+ - - - SSC SSC1 soc -I - - - P SSC1 RE "SOCINFO:%%s,2,%%s,\d+,%%s,%%d"%%(,,,) - - P SSC1 RE "SOCINFO:%%s,82,.+,%%d"%%(,) - - P SSC1 RE "SOCINFO:%%s,2,%%s,%%d,%%s,\d+"%%(,,,) - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK,pc tcp server accept成功 - 4.OK - 5.OK - 6.OK - 7.OK - 8.OK - 9.PC OK, target1 +ACCEPT:3,2,,port - 10.+SOCINFO:,,, - +SOCINFO:,,, - +SOCINFO:, - +SOCINFO:,,, - +SOCINF0ALL - initial condition: APM2 - level: Integration - module: TCPIP - steps: "1.PC上建立TCP 监听 random_port\n2.target1上创建TCP socket1,本地ip target_ip\n3.target1上使用步骤2创建的socket1,去连接 - PC的ip,random_port,PC有ACCEPT\n4.target1上创建TCP socket2,本地ip target_ip\n5.target1上使用步骤4创建的socket2,去连接 - PC的ip,random_port,PC有ACCEPT\n6.target1 shutdown socket2 \n7.target1上创建TCP socket3,本地端口random_port\n8.target1上使用步骤7创建的socket3,去监听\n9.PC - CONNECT, ,tcp 连接创建成功,创建socket4 \n10.target1 查询the socket - information" - sub module: TCP - summary: AP mode, TCP get active socket info test - test environment: SSC_T1_7 - 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_0213 - SDK: 8266_NonOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -A -s - - - R SSC1 RE CLOSE:\d+,OK - - - SSC SSC1 soc -B -t TCP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -L -s - - - R SSC1 RE LISTEN:\d+,OK - - - SOC SOC2 CONNECT 0 - - - R SSC1 A :ACCEPT:(\d+),\d+,.+,\d+ - - - SSC SSC1 soc -A -s - - - R SSC1 RE CLOSE:\d+,OK - - - SSC SSC1 soc -A -s - - - R SSC1 RE CLOSE:\d+,OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -A -s - - - R SSC1 RE CLOSE:\d+,OK - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK,pc tcp server accept成功 - 4.OK - 5.OK - 6.OK - 7.OK - 8.OK - 9.OK - 10.ERROR - initial condition: APM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 test_tcp_port1 - 2.target1上创建TCP socket1 - 3.target1 abort socket1 - 4.target1上创建TCP socket 端口随机 - 5.target1上使用步骤4创建的socket1,去监听 - 6.PC CONNECT, ,tcp 连接创建成功,创建socket2 - 7.target1 abort socket1 - 8.target1 abort socket2 - 9.target1上创建TCP socket1 - 10.target1上使用步骤10创建的socket1,去连接 PC的ip,test_tcp_port1,PC有ACCEPT - 11.target1 abort socket1 - sub module: TCP - summary: AP mode, espconn abort test - test environment: SSC_T1_7 - 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_0301 - SDK: 8266_NonOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 lev -N -t GET - - - R SSC1 RE NUMBER:\d+,OK - execution time: 0.0 - expected result: 1.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: 1.lev -N -t GET - sub module: TCP - summary: STA mode, max connections number query - test environment: SSC_T1_6 - test point 1: basic function - test point 2: socket option test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0302 - SDK: 8266_NonOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 lev -N -t SET -n 2 - - - R SSC1 C +NUMBER:OK - - - SSC SSC1 lev -N -t SET -n 0 - - - R SSC1 C +NUMBER:ERROR - - - SSC SSC1 lev -N -t SET -n 16 - - - R SSC1 C +NUMBER:ERROR - - - SSC SSC1 lev -N -t SET -n 15 - - - R SSC1 C +NUMBER:OK - - - SSC SSC1 lev -N -t SET -n 8 - - - R SSC1 C +NUMBER:OK - execution time: 0.0 - expected result: |- - 1.OK - 2.ERROR - 3.ERROR - 4.OK - 5.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.lev -N -t SET -n 2 - 2.lev -N -t SET -n 0 - 3.lev -N -t SET -n 15 - 4.lev -N -t SET -n 16 - 5.lev -N -t SET -n 8 - sub module: TCP - summary: STA mode, max connections number set - test environment: SSC_T1_5 - test point 1: basic function - test point 2: socket option test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0303 - SDK: 8266_NonOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SOC SOC1 ACCEPT SOC2 - - - R SOC_COM L OK - - - SSC SSC1 lev -N -t SET -n 3 - - - R SSC1 C +NUMBER:OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SOC SOC1 ACCEPT SOC3 - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SOC SOC1 ACCEPT SOC4 - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,ERROR - - - SSC SSC1 soc -T - - - R SSC1 C +CLOSE - - - SSC SSC1 lev -N -t SET -n 8 - - - R SSC1 C +NUMBER:OK - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK,pc tcp server accept成功 - 4.OK - 5.OK - 6.OK - 7.OK - 8.OK - 9.OK - 10.ERROR - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 test_tcp_port1 - 2.target1上创建TCP socket1,本地ip target_ip - 3.target1上使用步骤2创建的socket1,去连接 pc_ip的ip,test_tcp_port1,PC有ACCEPT - 4.lev -N -t SET -n 3 - 5.target1上创建TCP socket3,本地端口random_port - 6.target1上使用步骤5创建的socket2,去连接 pc_ip_wifi的ip,test_tcp_port1,PC有ACCEPT - 7.target1上创建TCP socket3,本地端口random_port - 8.target1上使用步骤7创建的socket3,去连接 pc_ip_wifi的ip,test_tcp_port1,PC有ACCEPT - 9.target1上创建TCP socket4,本地端口random_port - 10.target1上使用步骤5创建的socket4,去连接 pc_ip_wifi的ip,test_tcp_port1,未连接成功 - sub module: TCP - summary: STA mode, max connections fucntion verify - test environment: SSC_T1_6 - test point 1: basic function - test point 2: socket option test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0304 - SDK: 8266_NonOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SOC SOC1 ACCEPT SOC2 - - - R SOC_COM L OK - - - SOC SOC2 SEND 5 - - - R SSC1 SL +5 - - - SSC SSC1 soc -S -s -l 5 - - - P SSC1 RE SEND:\d+,OK - - P SOC2 RL 5 - - - SSC SSC1 lev -N -t SET -n 3 - - - R SSC1 C +NUMBER:OK - - - SOC SOC2 SEND 146000 - - - R SSC1 SL +146000 - - - SSC SSC1 soc -S -s -l 1460 -n 100 - - - P SSC1 RE SEND:\d+,OK - - P SOC2 RL 146000 - - - SSC SSC1 lev -N -t SET -n 8 - - - R SSC1 C +NUMBER:OK - execution time: 0.0 - expected result: | - 1.OK - 2.OK - 3.OK,pc tcp server accept成功 - 4.OK - 5.OK - 6.OK - 7.OK - 8.OK - 9.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 test_tcp_port1 - 2.target1上创建TCP socket1,本地ip target_ip - 3.target1上使用步骤2创建的socket1,去连接 pc_ip的ip,test_tcp_port1,PC有ACCEPT - 4.PC 往8266发送数据 - 5.8266往PC 发送数据 - 6.lev -N -t SET -n 3 - 7.PC 往8266发送数据 146000 - 8.8266往PC 发送数据1460*100 - 9.target1上lev -N -t SET -n 8 - sub module: TCP - summary: STA mode, max connections set interact with TCP connect and send - test environment: SSC_T1_6 - test point 1: basic function - test point 2: socket option test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0305 - SDK: 8266_NonOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t TCP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -L -s - - - R SSC1 RE LISTEN:\d+,OK - - - SOC SOC1 CONNECT - - - R SSC1 A :ACCEPT:(\d+),\d+,.+,\d+ - - P SOC_COM C OK - - - SSC SSC1 lev -A -s -t GET - - - 'R SSC1 RE ALLOW:' - - - SSC SSC1 lev -A -s -t SET -n 4 - - - R SSC1 RE ALLOW:\d+,OK - execution time: 0.0 - expected result: | - 1.OK - 2.OK - 3.OK,pc tcp server accept成功 - 4.ERROR - 5.ERROR - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 test_tcp_port1 - 2.target1上创建TCP socket1,本地ip target_ip - 3.target1上使用步骤2创建的socket1,去连接 pc_ip的ip,test_tcp_port1,PC有ACCEPT - 4.lev -A -s -t GET - 5.target1上lev -A -s -t SET -n 4 - sub module: TCP - summary: STA mode, max TCP connection allowed by server test - test environment: SSC_T1_6 - test point 1: basic function - test point 2: socket option test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0306 - SDK: 8266_NonOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t TCP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -L -s - - - R SSC1 RE LISTEN:\d+,OK - - - SOC SOC1 CONNECT - - - R SSC1 A :ACCEPT:(\d+),\d+,.+,\d+ - - P SOC_COM C OK - - - 'SSC SSC1 lev -K -s -t ENABLE ' - - - R SSC1 RE KEEPALIVE:\d+,OK - - - 'SSC SSC1 lev -K -s -t GET ' - - - R SSC1 RE KEEPALIVE:\d+,OK - - - SSC SSC1 lev -K -s -t SET -i 30 -d 3 -c 2 - - - R SSC1 RE KEEPALIVE:\d+,OK - - - DELAY 30 - - - P SOC_COM NC SOC_CLOSED - execution time: 0.0 - expected result: | - 1.OK - 2.OK - 3.OK,pc tcp server accept成功 - 4.OK - 5.OK - 6.OK - 7.SOC_COM NC SOC_CLOSED - initial condition: STAM2 - level: Integration - module: TCPIP - steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1,本地ip target_ip\n3.target1上使用步骤2创建的socket1,去连接 - pc_ip的ip,test_tcp_port1,PC有ACCEPT\n4.lev -K -s -t ENABLE \n5.target1上lev - -K -s -t GET \n6.lev -K -s -t SET -i 30 -d 3 -c 2\n7.等待30s" - sub module: TCP - summary: STA mode, keep alive test - test environment: SSC_T1_6 - test point 1: basic function - test point 2: socket option test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0307 - SDK: 8266_NonOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t TCP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -L -s - - - R SSC1 RE LISTEN:\d+,OK - - - SOC SOC1 CONNECT - - - R SSC1 A :ACCEPT:(\d+),\d+,.+,\d+ - - R SOC_COM L OK - - - 'SSC SSC1 lev -K -s -t ENABLE ' - - - R SSC1 RE KEEPALIVE:\d+,OK - - - 'SSC SSC1 lev -K -s -t GET ' - - - R SSC1 RE KEEPALIVE:\d+,OK - - - SSC SSC1 lev -K -s -t SET -i 30 -d 3 -c 2 - - - R SSC1 RE KEEPALIVE:\d+,OK - - - SOC SOC1 SEND 5 - - - R SSC1 SL +5 - - - SSC SSC1 soc -S -s -l 5 - - - P SSC1 RE SEND:\d+,OK - - P SOC1 RL 5 - - - SOC SOC1 SEND 146000 - - - R SSC1 SL +146000 - - - SSC SSC1 soc -S -s -l 1460 -n 100 - - - P SSC1 RE SEND:\d+,OK - - P SOC1 RL 146000 - - - DELAY 30 - - - P SOC_COM NC SOC_CLOSED - execution time: 0.0 - expected result: | - 1.OK - 2.OK - 3.OK,pc tcp server accept成功 - 4.OK - 5.OK - 6.OK - 7.0K - 8.OK - 9.OK - 10.OK - 11.SOC_COM NC SOC_CLOSED - initial condition: STAM2 - level: Integration - module: TCPIP - steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1,本地ip target_ip\n3.target1上使用步骤2创建的socket1,去连接 - pc_ip的ip,test_tcp_port1,PC有ACCEPT\n4.lev -K -s -t ENABLE \n5.target1上lev - -K -s -t GET \n6.lev -K -s -t SET -i 30 -d 3 -c 2\n7.PC往8266发送数据\n8.8266往PC上发送数据\n9.PC往8266发送146000数据\n10.8266往PC上发送1460*100数据\n11.等待30s" - sub module: TCP - summary: STA mode, keep alive interact with TCP send - test environment: SSC_T1_6 - test point 1: basic function - test point 2: socket option test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0308 - SDK: 8266_NonOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 lev -N -t GET - - - R SSC1 RE NUMBER:\d+,OK - execution time: 0.0 - expected result: 1.OK - initial condition: APM2 - level: Integration - module: TCPIP - steps: 1.lev -N -t GET - sub module: TCP - summary: AP mode, max connections number query - test environment: SSC_T1_7 - test point 1: basic function - test point 2: socket option test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0309 - SDK: 8266_NonOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 lev -N -t SET -n 2 - - - R SSC1 C +NUMBER:OK - - - SSC SSC1 lev -N -t SET -n 0 - - - R SSC1 C +NUMBER:ERROR - - - SSC SSC1 lev -N -t SET -n 16 - - - R SSC1 C +NUMBER:ERROR - - - SSC SSC1 lev -N -t SET -n 15 - - - R SSC1 C +NUMBER:OK - - - SSC SSC1 lev -N -t SET -n 8 - - - R SSC1 C +NUMBER:OK - execution time: 0.0 - expected result: |- - 1.OK - 2.ERROR - 3.ERROR - 4.OK - 5.OK - initial condition: APM2 - level: Integration - module: TCPIP - steps: |- - 1.lev -N -t SET -n 2 - 2.lev -N -t SET -n 0 - 3.lev -N -t SET -n 15 - 4.lev -N -t SET -n 16 - 5.lev -N -t SET -n 8 - sub module: TCP - summary: AP mode, max connections number set - test environment: SSC_T1_7 - test point 1: basic function - test point 2: socket option test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0310 - SDK: 8266_NonOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0 - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,OK - - - SOC SOC1 ACCEPT SOC2 - - - R SOC_COM L OK - - - SSC SSC1 lev -N -t SET -n 3 - - - R SSC1 C +NUMBER:OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,OK - - - SOC SOC1 ACCEPT SOC3 - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,OK - - - SOC SOC1 ACCEPT SOC4 - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,ERROR - - - SSC SSC1 soc -T - - - R SSC1 C +CLOSE - - - SSC SSC1 lev -N -t SET -n 8 - - - R SSC1 C +NUMBER:OK - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK,pc tcp server accept成功 - 4.OK - 5.OK - 6.OK - 7.OK - 8.OK - 9.OK - 10.ERROR - initial condition: APM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 test_tcp_port1 - 2.target1上创建TCP socket1,本地ip target_ip - 3.target1上使用步骤2创建的socket1,去连接 pc_ip_wifi的ip,test_tcp_port1,PC有ACCEPT - 4.lev -N -t SET -n 3 - 5.target1上创建TCP socket3,本地端口random_port - 6.target1上使用步骤5创建的socket2,去连接 pc_ip_wifi的ip,test_tcp_port1,PC有ACCEPT - 7.target1上创建TCP socket3,本地端口random_port - 8.target1上使用步骤7创建的socket3,去连接 pc_ip_wifi的ip,test_tcp_port1,PC有ACCEPT - 9.target1上创建TCP socket4,本地端口random_port - 10.target1上使用步骤5创建的socket4,去连接 pc_ip_wifi的ip,test_tcp_port1,未连接成功 - sub module: TCP - summary: AP mode, max connections fucntion verify - test environment: SSC_T1_7 - test point 1: basic function - test point 2: socket option test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0311 - SDK: 8266_NonOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0 - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,OK - - - SOC SOC1 ACCEPT SOC2 - - - R SOC_COM L OK - - - SOC SOC2 SEND 5 - - - R SSC1 SL +5 - - - SSC SSC1 soc -S -s -l 5 - - - P SSC1 RE SEND:\d+,OK - - P SOC2 RL 5 - - - SSC SSC1 lev -N -t SET -n 3 - - - R SSC1 C +NUMBER:OK - - - SOC SOC2 SEND 146000 - - - R SSC1 SL +146000 - - - SSC SSC1 soc -S -s -l 1460 -n 100 - - - P SSC1 RE SEND:\d+,OK - - P SOC2 RL 146000 - - - SSC SSC1 lev -N -t SET -n 8 - - - R SSC1 C +NUMBER:OK - execution time: 0.0 - expected result: | - 1.OK - 2.OK - 3.OK,pc tcp server accept成功 - 4.OK - 5.OK - 6.OK - 7.OK - 8.OK - 9.OK - initial condition: APM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 test_tcp_port1 - 2.target1上创建TCP socket1,本地ip target_ip - 3.target1上使用步骤2创建的socket1,去连接 pc_ip_wifi的ip,test_tcp_port1,PC有ACCEPT - 4.PC 往8266发送数据 - 5.8266往PC 发送数据 - 6.lev -N -t SET -n 3 - 7.PC 往8266发送数据 146000 - 8.8266往PC 发送数据1460*100 - 9.target1上lev -N -t SET -n 8 - sub module: TCP - summary: AP mode, max connections set interact with TCP connect and send - test environment: SSC_T1_7 - test point 1: basic function - test point 2: socket option test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0312 - SDK: 8266_NonOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0 - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,OK - - - SOC SOC1 ACCEPT SOC2 - - - R SOC_COM L OK - - - SSC SSC1 lev -A -s -t GET - - - R SSC1 RE ALLOW:\d+,ERROR - - - SSC SSC1 lev -A -s -t SET -n 4 - - - R SSC1 RE ALLOW:\d+,ERROR - execution time: 0.0 - expected result: | - 1.OK - 2.OK - 3.OK,pc tcp server accept成功 - 4.ERROR - 5.ERROR - initial condition: APM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 test_tcp_port1 - 2.target1上创建TCP socket1,本地ip target_ip - 3.target1上使用步骤2创建的socket1,去连接 pc_ip_wifi的ip,test_tcp_port1,PC有ACCEPT - 4.lev -A -s -t GET - 5.target1上lev -A -s -t SET -n 4 - sub module: TCP - summary: AP mode, max TCP connection allowed by server test - test environment: SSC_T1_7 - test point 1: basic function - test point 2: socket option test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0313 - SDK: 8266_NonOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0 - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,OK - - - SOC SOC1 ACCEPT SOC2 - - - R SOC_COM L OK - - - 'SSC SSC1 lev -K -s -t ENABLE ' - - - R SSC1 RE KEEPALIVE:\d+,OK - - - 'SSC SSC1 lev -K -s -t GET ' - - - R SSC1 RE KEEPALIVE:\d+,OK - - - SSC SSC1 lev -K -s -t SET -i 30 -d 3 -c 2 - - - R SSC1 RE KEEPALIVE:\d+,OK - - - DELAY 30 - - - P SOC_COM NC SOC_CLOSED - execution time: 0.0 - expected result: | - 1.OK - 2.OK - 3.OK,pc tcp server accept成功 - 4.OK - 5.OK - 6.OK - 7.SOC_COM NC SOC_CLOSED - initial condition: APM2 - level: Integration - module: TCPIP - steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1,本地ip target_ip\n3.target1上使用步骤2创建的socket1,去连接 - pc_ip_wifi的ip,test_tcp_port1,PC有ACCEPT\n4.lev -K -s -t ENABLE \n5.target1上lev - -K -s -t GET \n6.lev -K -s -t SET -i 30 -d 3 -c 2\n7.等待30s" - sub module: TCP - summary: AP mode, keep alive test - test environment: SSC_T1_7 - test point 1: basic function - test point 2: socket option test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0314 - SDK: 8266_NonOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP -i 0.0.0.0 -p 0 - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,OK - - - SOC SOC1 ACCEPT SOC2 - - - R SOC_COM L OK - - - 'SSC SSC1 lev -K -s -t ENABLE ' - - - R SSC1 RE KEEPALIVE:\d+,OK - - - 'SSC SSC1 lev -K -s -t GET ' - - - R SSC1 RE KEEPALIVE:\d+,OK - - - SSC SSC1 lev -K -s -t SET -i 30 -d 3 -c 2 - - - R SSC1 RE KEEPALIVE:\d+,OK - - - SOC SOC2 SEND 5 - - - R SSC1 SL +5 - - - SSC SSC1 soc -S -s -l 5 - - - P SSC1 RE SEND:\d+,OK - - P SOC2 RL 5 - - - SOC SOC2 SEND 146000 - - - R SSC1 SL +146000 - - - SSC SSC1 soc -S -s -l 1460 -n 100 - - - P SSC1 RE SEND:\d+,OK - - P SOC2 RL 146000 - - - DELAY 30 - - - P SOC_COM NC SOC_CLOSED - execution time: 0.0 - expected result: | - 1.OK - 2.OK - 3.OK,pc tcp server accept成功 - 4.OK - 5.OK - 6.OK - 7.0K - 8.OK - 9.OK - 10.OK - 11.SOC_COM NC SOC_CLOSED - initial condition: APM2 - level: Integration - module: TCPIP - steps: "1.PC上建立TCP 监听 test_tcp_port1\n2.target1上创建TCP socket1,本地ip target_ip\n3.target1上使用步骤2创建的socket1,去连接 - pc_ip_wifi的ip,test_tcp_port1,PC有ACCEPT\n4.lev -K -s -t ENABLE \n5.target1上lev - -K -s -t GET \n6.lev -K -s -t SET -i 30 -d 3 -c 2\n7.PC往8266发送数据\n8.8266往PC上发送数据\n9.PC往8266发送146000数据\n10.8266往PC上发送1460*100数据\n11.等待30s" - sub module: TCP - summary: AP mode, keep alive interact with TCP send - test environment: SSC_T1_7 - test point 1: basic function - test point 2: socket option test - version: v1 (2016-8-15) -- CI ready: 'No' - 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 - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SOC SOC1 ACCEPT SOC2 - - - R SOC_COM L OK - - - SSC SSC1 sta -D - - - P SSC1 C +QAP:OK - - - SSC SSC1 soc -S -s -l 5 - - - P SSC1 RE SEND:\d+,ERROR - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK; PC TCP server accept 成功 - 4.OK - 5.OK - 6.ERROR - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 random_port - 2.target1上创建TCP socket1 - 3.target1上使用步骤2创建的socket1,去连接 PC的ip,random_port - 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_6 - test point 1: abnormal/special use - test point 2: TCP handling abnormal event - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0402 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SOC SOC1 ACCEPT SOC2 - - - R SOC_COM L OK - - - SSC SSC1 sta -D - - - P SSC1 C +QAP:OK - - - SSC SSC1 soc -T -s - - - R SSC1 RE CLOSE:\d+,OK - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK; PC TCP server accept 成功 - 4.OK - 5.OK - 6.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 random_port - 2.target1上创建TCP socket1 - 3.target1上使用步骤2创建的socket1,去连接 PC的ip,random_port - 4.PC与target1创建好TCP 连接,有ACCEPT - 5.断开与AP 连接 - 6.关闭建立的socket1连接 - sub module: TCP - summary: "close TCP socket after WIFI \ndisconnected" - test environment: SSC_T1_6 - test point 1: abnormal/special use - test point 2: TCP handling abnormal event - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0403 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - 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 - - - SSC SSC1 soc -S -s -l 5 - - - P SSC1 RE SEND:\d+,ERROR - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK; PC TCP server accept 成功 - 4.OK - 5.OK - 6.ERROR - initial condition: STAM2 - level: Integration - module: TCPIP - steps: "1.PC上建立TCP 监听 random_port\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接 - PC的ip,random_port\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_6 - test point 1: abnormal/special use - test point 2: TCP handling abnormal event - version: v1 (2016-8-15) -- CI ready: 'Yes' - 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 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - 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 - - - SSC SSC1 soc -T -s - - - R SSC1 RE CLOSE:\d+,OK - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK; PC TCP server accept 成功 - 4.OK - 5.OK - 6.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: "1.PC上建立TCP 监听 random_port\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接 - PC的ip,random_port\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_6 - test point 1: abnormal/special use - test point 2: TCP handling abnormal event - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0405 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SOC SOC1 ACCEPT SOC2 - - - R SOC_COM L OK - - - NIC DISABLED - - - R PC_COM C OK - - - SSC SSC1 soc -S -s -l 1 - - - '' - - - DELAY 5400 - - - P SSC1 RE CLOSED:\d+,0 - execution time: 1.5 - expected result: |- - 1.OK - 2.OK - 3.OK; PC TCP server accept 成功 - 4.OK - 5.OK - 6.TCP连接断开 - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 random_port - 2.target1上创建TCP socket1 - 3.target1上使用步骤2创建的socket1,去连接 PC的ip,random_port - 4.PC与target1创建好TCP 连接,有ACCEPT - 5.PC 网卡 disable - 6.target1上使用socket1发送数据,等待 90 分钟 - sub module: TCP - summary: do TCP send after PC NIC disabled - test environment: SSC_T1_6 - test point 1: abnormal/special use - test point 2: TCP handling abnormal event - version: v1 (2016-8-15) -- CI ready: 'Yes' - 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 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SOC SOC1 ACCEPT SOC2 - - - R SOC_COM L OK - - - NIC DISABLED - - - R PC_COM C OK - - - SSC SSC1 soc -T -s - - - R SSC1 RE CLOSE:\d+,OK - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK; PC TCP server accept 成功 - 4.OK - 5.OK - 6.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: "1.PC上建立TCP 监听 random_port\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接 - PC的ip,random_port\n4.PC与target1创建好TCP 连接,有ACCEPT\n5.PC上网卡禁止掉 \n6.关闭建立的socket1连接" - sub module: TCP - summary: close TCP socket after PC NIC disabled - test environment: SSC_T1_6 - test point 1: abnormal/special use - test point 2: TCP handling abnormal event - version: v1 (2016-8-15) -- CI ready: 'Yes' - 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 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - 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 - - - SSC SSC1 ip -Q -o 1 - - - R SSC1 C +STAIP:192.168.111.210 - - - SSC SSC1 soc -S -s -l 5 - - - P SSC1 RE SEND:\d+,ERROR - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK; PC TCP server accept 成功 - 4.OK - 5.OK - 6.OK - 7.OK - 8.ERROR - initial condition: STAM2 - level: Integration - module: TCPIP - steps: "1.PC上建立TCP 监听 random_port\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接 - PC的ip,random_port\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_6 - test point 1: abnormal/special use - test point 2: TCP handling abnormal event - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0408 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - 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 - - - SSC SSC1 ip -Q -o 1 - - - R SSC1 C +STAIP:192.168.111.210 - - - SSC SSC1 soc -T -s - - - R SSC1 RE CLOSE:\d+,OK - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK; PC TCP server accept 成功 - 4.OK - 5.OK - 6.OK - 7.OK - 8.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: "1.PC上建立TCP 监听 random_port\n2.target1上创建TCP socket1\n3.target1上使用步骤2创建的socket1,去连接 - PC的ip,random_port\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 - test environment: SSC_T1_6 - test point 1: abnormal/special use - test point 2: TCP handling abnormal event - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0411 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SOC SOC1 ACCEPT SOC2 - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -S -s -l 5 - - - P SSC1 RE SEND:\d+,ERROR - - - SSC SSC1 soc -S -s -l 5 - - - P SSC1 RE SEND:\d+,OK - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK; PC TCP server accept 成功 - 4.OK - 5.OK - 6.ERROR - 7.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 random_port - 2.target1上创建TCP socket1 - 3.target1上使用步骤2创建的socket1,去连接 PC的ip,random_port - 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_6 - 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 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - R SSC1 RE CONNECT:\d+,OK - - - SOC SOC1 ACCEPT SOC2 - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -T -s - - - R SSC1 RE CLOSE:\d+,OK - - - SSC SSC1 soc -T -s - - - R SSC1 RE CLOSE:\d+,OK - 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 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 random_port - 2.target1上创建TCP socket1 - 3.target1上使用步骤2创建的socket1,去连接 PC的ip,random_port - 4.PC与target1创建好TCP 连接,有ACCEPT - 5.target1上创建TCP socket2 - 6.关闭socket1 连接 - 7.关闭socket2连接 - sub module: TCP - summary: close TCP send after socket changed - test environment: SSC_T1_6 - test point 1: abnormal/special use - test point 2: TCP handling abnormal event - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_TCP_0501 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - STRING ether%20src%20%%s%20or%20ether%20dst%20%%s - - - - R PC_COM C OK - - - NIC NIC1 START capture+block_ip - - - R PC_COM C +NIC_START:OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - '' - - - DELAY 10 - - - R SSC1 RE CONNECT:\d+,ERROR - execution time: 0.0 - expected result: 2. connect failed, no exception - initial condition: STAM2 - level: Integration - 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_6 - 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_TCP_0601 - SDK: |- - 8266_RTOS - 8266_NonOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 socopt -S -s -k Keepalive -o 1 - - - R SSC1 C +SETOPTION:Keepalive,OK - - - SSC SSC1 socopt -S -s -k Keepidle -o 20 - - - R SSC1 C +SETOPTION:Keepidle,OK - - - SSC SSC1 socopt -S -s -k Keepintvl -o 1 - - - R SSC1 C +SETOPTION:Keepintvl,OK - - - SSC SSC1 socopt -S -s -k Keepcnt -o 3 - - - R SSC1 C +SETOPTION:Keepcnt,OK - - - NIC DISABLED - - - R PC_COM C OK - - - DELAY 30 - - - R SSC1 C CLOSE - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.OK - 5.OK - 6.OK - 7.OK - 8.OK - 9.等待30s - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 random_port - 2.target1上创建TCP socket - 3.target1上步骤3创建的socket设置so_keepalive属性 - 4.target1上步骤3创建的socket设置so_keepidle参数 - 5.target1上步骤3创建的socket设置so_keepintvl参数 - 6.target1上步骤3创建的socket设置so_keepcnt参数 - 7.target1上使用步骤7具有so_keepalive属性及参数的socket,去连接 PC的ip,random_port - 8.PC上网卡禁止掉 - 9.等待30s - sub module: TCP - summary: Test socket with so_keepalive option - test environment: SSC_T1_6 - test point 1: basic function - test point 2: socket test with different option - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0602 - SDK: |- - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t TCP -i -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -B -t TCP -i -p - - - R SSC1 C +BIND:ERROR - execution time: 0.0 - expected result: |- - 1.OK - 2.ERROR - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.target1上创建TCP socket,bind test_udp_port1 - 2.target1上创建TCP socket,bind test_udp_port1 - sub module: TCP - summary: Test socket with so_reuseaddr option closed on TCP submodule - test environment: SSC_T1_6 - test point 1: basic function - test point 2: socket test with different option - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0603 - SDK: ESP32_IDF - Test App: SSC_OPTION - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP -i -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -T - - - R SSC1 C CLOSEALL - - - SSC SSC1 soc -B -t TCP -i -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -L -s - - - P SSC1 RE LISTEN:\d+,OK - - - SSC SSC1 soc -T - - - R SSC1 C CLOSEALL - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.CLOSEALL - 5.OK - 6.OK - 7.CLOSEALL - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 random_port - 2.target1上创建TCP socket,bind test_tcp_port2 - 3.target1上使用步骤4创建的socket,去连接 PC的ip,random_port - 4.关闭socket - 5.target1上创建TCP socket,bind test_tcp_port2 - 6.target1上建立TCP 监听 - 7.关闭socket - sub module: TCP - summary: Test socket with so_reuseaddr option opened that close TCP connection not - react immediately on ESP32 - test environment: SSC_T1_6 - test point 1: basic function - test point 2: socket test with different option - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0604 - SDK: ESP32_IDF - Test App: SSC_OPTION - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t TCP -i -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -B -t TCP -i -p - - - R SSC1 A :BIND:(\d+),OK - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.target1上创建TCP socket,bind test_udp_port1 - 2.target1上创建TCP socket,bind test_udp_port1 - sub module: TCP - summary: Test socket with so_reuseaddr option opened that build two tcp sockets - by binding same ip and port on ESP32 - test environment: SSC_T1_6 - test point 1: basic function - test point 2: socket test with different option - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0605 - SDK: ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,OK - - - SOC SOC1 ACCEPT SOC2 - - - R SOC_COM L OK - - - SOC SOC2 SEND 5 - - - R SSC1 SL +5 - - - SSC SSC1 soc -S -s -l 5 - - - P SSC1 RE SEND:\d+,OK - - - SSC SSC1 socopt -S -s -k Sndtimeo -o 1 - - - R SSC1 C +SETOPTION:Sndtimeo,OK - - - NIC DISABLED - - - R PC_COM C OK - - - SSC SSC1 soc -S -s -l 5000 - - - P SSC1 RE SEND:\d+,OK - - - SSC SSC1 soc -S -s -l 5000 -n 4 - - - P SSC1 RE SEND:\d+,ERROR,11 - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.OK - 5.OK - 6.OK - 7.OK - 8.OK - 9.OK - 10.ERROR - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 random_port - 2.target1上创建TCP socket - 3.target1上使用步骤2创建的socket,去连接 PC的ip,random_port - 4.PC与target1 创建好TCP 连接,有ACCEPT - 5.PC send 5 bytes to target1 - 6.target1 send 5 bytes to PC - 7.target1上对步骤2创建的socket设置so_sndtimeo属性 - 8.PC上网卡禁止掉 - 9.target1 send 5000 bytes to PC - 10.target1 send 5000 bytes to PC - sub module: TCP - summary: Test socket with so_sndtimeo option on ESP32 - test environment: SSC_T1_6 - test point 1: basic function - test point 2: socket test with different option - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0606 - SDK: |- - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,OK - - - SOC SOC1 ACCEPT SOC2 - - - R SOC_COM L OK - - - SOC SOC2 SEND 5 - - - R SSC1 SL +5 - - - SSC SSC1 socopt -S -s -k Rcvtimeo -o 1 - - - R SSC1 C +SETOPTION:Rcvtimeo,OK - - - SOC SOC2 SEND 5 - - - R SSC1 RE CLOSED:\d+,11 - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.OK - 5.OK - 6.OK - 7.CLOSED - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 random_port - 2.target1上创建TCP socket - 3.target1上使用步骤3创建的socket,去连接 PC的ip,random_port - 4.PC与target1 创建好TCP 连接,有ACCEPT - 5.PC send 5 bytes to target1 - 6.target1上对步骤3创建的socket设置so_rcvtimeo属性 - 7.PC send 5 bytes to target1 - sub module: TCP - summary: Test socket with so_rcvtimeo option - test environment: SSC_T1_6 - test point 1: basic function - test point 2: socket test with different option - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0607 - SDK: |- - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,ERROR - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.ERROR - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 random_port - 2.target1上创建TCP socket - 3.target1上使用步骤2创建的socket,去连接 PC的ip,random_port - 4.target1上使用步骤2创建的socket,去连接 PC的ip,random_port, 获取 error code - sub module: TCP - summary: Test socket with so_error option - test environment: SSC_T1_6 - test point 1: basic function - test point 2: socket test with different option - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0608 - SDK: 8266_RTOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 ram -Q - - - R SSC1 A :\+FREEHEAP:(\d+)\r\n - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 socopt -S -s -k Linger -o 1 - - - R SSC1 C +SETOPTION:Linger,OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -T - - - P SSC1 RE CLOSE:\d+,OK - - - SSC SSC1 ram -Q - - - R SSC1 P - execution time: 0.0 - expected result: |- - 1.OK - 2.查询空闲ram - 3.OK - 4.OK - 5.OK - 6.OK - 7.查询空闲ram - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 random_port - 2.查询空闲ram - 3.target1上创建TCP socket - 4.target1上对步骤3创建的socket设置so_linger属性 - 5.target1上使用步骤4具有so_linger属性的socket,去连接 PC的ip,random_port - 6.关闭 socket - 7.查询空闲ram - sub module: TCP - summary: Test socket with so_linger option - test environment: SSC_T1_6 - test point 1: basic function - test point 2: socket test with different option - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_TCP_0609 - SDK: 8266_RTOS - Test App: SSC - allow fail: '' - auto test: 'No' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP -i -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -T - - - R SSC1 C CLOSEALL - - - SSC SSC1 soc -B -t TCP -i -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -L -s - - - P SSC1 RE LISTEN:\d+,OK - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.CLOSEALL - 5.OK - 6.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.find ESP8266_RTOS_SDK/include/lwip/lwip/opt.h file, make "#define SO_REUSE 1" instead of "#define SO_REUSE 0" - 2.switch to ESP8266_RTOS_SDK/third_party, run "./make_lib.sh lwip" risc,then continuely run "ll ../lib" - 3.switch to ESP8266_RTOS_SDK/SSC, run "./gen_misc_rtos.sh SSC", then run the test case normally - 4.PC上建立TCP 监听 random_port - 5.target1上创建TCP socket,bind random_port - 6.target1上使用步骤5创建的socket,去连接 PC的ip,random_port - 7.关闭socket - 8.target1上创建TCP socket,bind random_port - 9.target1上建立TCP 监听 - sub module: TCP - summary: Test socket with so_reuseaddr option opened that close TCP connection not - react immediately on 8266_RTOS - test environment: SSC_T1_6 - test point 1: basic function - test point 2: socket test with different option - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_TCP_0610 - SDK: 8266_RTOS - Test App: SSC - allow fail: '' - auto test: 'No' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t TCP -i -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -B -t TCP -i -p - - - R SSC1 A :BIND:(\d+),OK - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.find ESP8266_RTOS_SDK/include/lwip/lwip/opt.h file, make "#define SO_REUSE 1" instead of "#define SO_REUSE 0" - 2.switch to ESP8266_RTOS_SDK/third_party, run "./make_lib.sh lwip" risc,then continuely run "ll ../lib" - 3.switch to ESP8266_RTOS_SDK/SSC, run "./gen_misc_rtos.sh SSC", then run the test case normally - 4.target1上创建TCP socket,bind test_tcp_port2 - 5.target1上创建TCP socket,bind test_tcp_port2 - sub module: TCP - summary: Test socket with so_reuseaddr option opened that build two tcp sockets - by binding same ip and port on 8266_RTOS - test environment: SSC_T1_6 - test point 1: basic function - test point 2: socket test with different option - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0611 - SDK: 8266_RTOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,OK - - - SOC SOC1 ACCEPT SOC2 - - - R SOC_COM L OK - - - SOC SOC2 SEND 5 - - - R SSC1 SL +5 - - - SSC SSC1 soc -S -s -l 5 - - - P SSC1 RE SEND:\d+,OK - - - SSC SSC1 socopt -S -s -k Sndtimeo -o 1 - - - R SSC1 C +SETOPTION:Sndtimeo,OK - - - NIC DISABLED - - - R PC_COM C OK - - - SSC SSC1 soc -S -s -l 1500 - - - P SSC1 RE SEND:\d+,OK - - - SSC SSC1 soc -S -s -l 1500 - - - P SSC1 RE SEND:\d+,ERROR,11 - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.OK - 5.OK - 6.OK - 7.OK - 8.OK - 9.OK - 10.ERROR - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 random_port - 2.target1上创建TCP socket - 3.target1上使用步骤2创建的socket,去连接 PC的ip,random_port - 4.PC与target1 创建好TCP 连接,有ACCEPT - 5.PC send 5 bytes to target1 - 6.target1 send 5 bytes to PC - 7.target1上对步骤2创建的socket设置so_sndtimeo属性 - 8.PC上网卡禁止掉 - 9.target1 send 1500 bytes to PC - 10.target1 send 1500 bytes to PC - sub module: TCP - summary: Test socket with so_sndtimeo option on 8266_RTOS - test environment: SSC_T1_6 - test point 1: basic function - test point 2: socket test with different option - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0612 - SDK: 8266_NonOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SOC SOC2 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 socopt -S -s -k Maxconnect -o 1 - - - R SSC1 C +SETOPTION:Maxconnect,OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,ERROR - - - SSC SSC1 soc -T - - - R SSC1 C CLOSE - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.OK - 5.OK - 6.OK - 7.ERROR - 8.CLOSE - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 test_tcp_port1 - 2.PC上建立TCP 监听 test_tcp_port2 - 3.target1上创建TCP socket - 4.target1上对步骤3创建的socket设置 Maxconnect属性 - 5.target1上使用步骤4具有Maxconnect属性的socket,去连接 PC的ip,test_tcp_port1 - 6.target1上创建TCP socket - 7.target1上使用步骤6创建的socket,去连接 PC的ip,test_tcp_port2 - 8.关闭socket - sub module: TCP - summary: Test socket with Maxconnect option - test environment: SSC_T1_6 - test point 1: basic function - test point 2: socket test with different option - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0613 - SDK: 8266_NonOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t TCP -i -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -L -s - - - P SSC1 RE LISTEN:\d+,OK - - - SSC SSC1 socopt -S -s -k MaxConnectNum -o 1 - - - R SSC1 C +SETOPTION:MaxConnectNum,OK - - - SOC SOC1 CONNECT - - - R SSC1 A :ACCEPT:(\d+),\d+,.+,\d+ - - - SOC SOC2 CONNECT - - - P SOC_COM C ERROR - - - SSC SSC1 soc -T - - - R SSC1 C CLOSE - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.PC TCP client accept - 5.ERROR - 6.CLOSE - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.target1上创建TCP socket,bind random_port - 2.target1上使用步骤2创建的socket1,建立TCP 监听 - 3.target1上对步骤2创建的socket设置 MaxConnectNum属性 - 4.PC TCP 连接到target1 , - 5.PC TCP 连接到target1 , - 6.关闭socket - sub module: TCP - summary: Test socket with MaxConnectNum option - test environment: SSC_T1_6 - test point 1: basic function - test point 2: socket test with different option - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0614 - SDK: 8266_NonOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t TCP -i -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 socopt -S -s -k Registtime -o 20 - - - R SSC1 C +SETOPTION:Registtime,OK - - - SSC SSC1 soc -L -s - - - P SSC1 RE LISTEN:\d+,OK - - - SOC SOC1 CONNECT - - - R SSC1 A :ACCEPT:(\d+),\d+,.+,\d+ - - - DELAY 30 - - - P SOC_COM NC SOC_CLOSED - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.PC TCP client accept - 5.等待30s - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.target1上创建TCP socket,bind test_tcp_port1 - 2.target1上对步骤2创建的socket设置 Registtime 属性 - 3.target1上使用步骤3具有Registtime属性的socket1,建立TCP 监听 - 4.PC TCP 连接到target1 , - 5.等待30s - sub module: TCP - summary: Test socket with Registtime option - test environment: SSC_T1_6 - test point 1: basic function - test point 2: socket test with different option - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0615 - SDK: 8266_NonOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 socopt -S -s -k Abort - - - R SSC1 C CLOSED - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.CLOSED - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 random_port - 2.target1上创建TCP socket - 3.target1上使用步骤2创建的socket,去连接 PC的ip,random_port - 4.target1上对步骤2创建的socket设置 Abort 属性 - sub module: TCP - summary: Test socket with Abort option - test environment: SSC_T1_6 - test point 1: basic function - test point 2: socket test with different option - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0616 - SDK: 8266_NonOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 LISTEN - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t TCP -i -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -C -s -i -p - - - P SSC1 RE CONNECT:\d+,OK - - - SSC SSC1 soc -T - - - R SSC1 C CLOSEALL - - - SSC SSC1 soc -B -t TCP -i -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -L -s - - - P SSC1 RE LISTEN:\d+,OK - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.CLOSEALL - 5.OK - 6.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上建立TCP 监听 random_port - 2.target1上创建TCP socket,bind test_tcp_port1 - 3.target1上使用步骤2创建的socket,去连接 PC的ip,random_port - 4.关闭socket - 5.target1上创建TCP socket,bind test_tcp_port1 - 6.target1上建立TCP 监听 - sub module: TCP - summary: Test socket with so_reuseaddr option opened that close TCP connection not - react immediately on 8266_NonOS - test environment: SSC_T1_6 - test point 1: basic function - test point 2: socket test with different option - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_0617 - SDK: 8266_NonOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t TCP -i -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -B -t TCP -i -p - - - R SSC1 A :BIND:(\d+),OK - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.target1上创建TCP socket,bind test_tcp_port1 - 2.target1上创建TCP socket,bind test_tcp_port1 - sub module: TCP - summary: Test socket with so_reuseaddr option opened that build two tcp sockets - by binding same ip and port on 8266_NonOS - test environment: SSC_T1_6 - test point 1: basic function - test point 2: socket test with different option - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_5001 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC, SSC_NonBlocking - auto test: 'Yes' - category: Stress - cmd set: - - TCPStress/TCPConnection - - - max_connection = 5 - - - dummy - - - execute_time = 300 - - - '' - - - connect_method = ["C_01", "C_02", "C_05", "C_07"] - - - '' - - - disconnect_method = ["D_01", "D_03", "D_05", "D_06"] - - - '' - - - pc_ip = "pc_ip" - - - '' - - - target_ip = "target_ip" - - - '' - execution time: 5.0 - expected result: 1. succeed - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1. random choose connect method to do connect, random choose a method to close - Loop executing step 1 - sub module: TCP - summary: test possible TCP connect/disconnect method - test environment: SSC_T1_6 - test point 1: function + stress - test point 2: TCP connect and disconnect test - version: v2 (2016-11-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_5101 - SDK: ESP32_IDF - Test App: SSC, SSC_NonBlocking, SSC_PSRAM - auto test: 'Yes' - category: Stable - cmd set: - - TCPStress/TCPAPNSTA - - - send_len = 1460 - - - dummy - - - test_time = 720 - - - '' - - - server_port = "" - - - '' - - - server_echo = True - - - '' - - - sta_number = 4 - - - '' - - - send_delay = 50 - - - '' - - - ap_ip = "" - - - '' - execution time: 12.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. all TCP connection not disconnected - initial condition: None - level: Integration - module: TCPIP - steps: |- - 1. all sta connect to softap - 2. create tcp server on softap - 3. all sta connect to softap tcp server - 4. do bi-direction send on all tcp connections - sub module: TCP - summary: 1 AP 4 STA TCP stable test - test environment: SSC_T5_1 - test point 1: stable - test point 2: TCP stable test - version: v2 (2016-11-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_5101 - SDK: |- - 8266_NonOS - 8266_RTOS - Test App: SSC, SSC_NonBlocking - auto test: 'Yes' - category: Stable - cmd set: - - TCPStress/TCPAPNSTA - - - send_len = 1460 - - - dummy - - - test_time = 720 - - - '' - - - server_port = "" - - - '' - - - server_echo = True - - - '' - - - sta_number = 4 - - - '' - - - send_delay = 50 - - - '' - - - ap_ip = "" - - - '' - execution time: 12.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. all TCP connection not disconnected - initial condition: None - level: Integration - module: TCPIP - steps: |- - 1. all sta connect to softap - 2. create tcp server on softap - 3. all sta connect to softap tcp server - 4. do bi-direction send on all tcp connections - sub module: TCP - summary: 1 AP 4 STA TCP stable test - test environment: SSC_T5_1 - test point 1: stable - test point 2: TCP stable test - version: v2 (2016-11-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_5102 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stable - cmd set: - - TCPStress/TCPRandomSend - - - delay_config = [0, 0.01, 0.1, 0.5, 1] - - - dummy - - - send_count = 1000 - - - '' - - - test_time = 300 - - - '' - execution time: 12.0 - expected result: |- - 1. succeed - 2. succeed - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1. create TCP connection - 2. PC send random length data to target - sub module: TCP - summary: send random length segment to target - test environment: SSC_T1_6 - test point 1: stable - test point 2: TCP stable test - version: v2 (2016-11-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_5103 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stable - cmd set: - - TCPStress/TCPSoftAPSTASendRecv - - - send_len = 1460 - - - dummy - - - test_time = 720 - - - '' - - - test_count = 0xFFFFFF - - - '' - - - server_port = "" - - - '' - - - server_port_2 = "" - - - '' - - - server_echo = True - - - '' - - - sta_number = 3 - - - '' - - - send_delay = 50 - - - '' - - - pass_standard = (4*3600) - - - '' - - - ap_ip = "" - - - '' - execution time: 12.0 - expected result: |- - 1. succeed - 2. verify reciveid data on target and PC succeed - initial condition: None - level: Integration - module: TCPIP - steps: |- - 1. create TCP connection - 2. send specified pattern on both direction - sub module: TCP - summary: TCP SoftSTA send/recv stress test - test environment: SSC_T5_1 - test point 1: stable - test point 2: TCP stable test - version: v2 (2016-11-15) -- CI ready: 'No' - ID: TCPIP_TCP_5104 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - TCPStress/TCPMultiSTASendRecv - - - send_len = 1460 - - - dummy - - - test_time = 300 - - - '' - - - server_echo = True - - - '' - - - sta_number = 5 - - - '' - - - send_delay = 500 - - - '' - execution time: 5.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - initial condition: None - level: Integration - module: TCPIP - steps: |- - 1. 5 sta connect to softap - 2. create TCP socket on all sta - 3. all sta do TCP send/recv - sub module: TCP - summary: 1 SoftAP 5 STA, create TCP server on one STA, create TCP client on other - STA, do TCP send/recv - test environment: SSC_T6_1 - test point 1: stress - test point 2: TCP stress test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_TCP_5105 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - TCPStress/TCPSTAMuitiSockSendRecv - - - send_len = 1460 - - - dummy - - - test_time = 300 - - - '' - - - server_echo = True - - - '' - - - sta_number = 2 - - - '' - - - conn_number = 6 - - - '' - - - send_delay = 500 - - - '' - execution time: 5.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - initial condition: None - level: Integration - module: TCPIP - steps: |- - 1. 2 sta connect to softap - 2. create multi tcp socket on all sta - 3. all sta do tcp send/recv - sub module: TCP - summary: 1 SoftAP 2 STA, create multi TCP socket between STA, do TCP send/recv - test environment: SSC_T3_1 - test point 1: stress - test point 2: TCP stress test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_5106 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stable - cmd set: - - TCPStress/TCPRandomSend - - - delay_config = [0, 0.01, 0.1, 0.5, 1] - - - dummy - - - send_count = 1000 - - - '' - - - test_time = 300 - - - '' - execution time: 12.0 - expected result: |- - 1. succeed - 2. succeed - initial condition: T1_ETH - level: Integration - module: TCPIP - steps: |- - 1. create TCP connection - 2. PC send random length data to target - sub module: TCP - summary: send random length segment to target for Ethernet - test environment: SSC_T1_Ethernet - test point 1: stable - test point 2: TCP stable test - version: v2 (2016-11-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_5201 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - TCPStress/TCPSendRecv - - - send_len = 1460 - - - dummy - - - test_time = 300 - - - '' - - - duplex = True - - - '' - - - conn_num = 5 - - - '' - - - send_delay = 20 - - - '' - execution time: 12.0 - expected result: |- - 1. succeed - 2. succeed - 3. all TCP connection not disconnected - initial condition: T2_1 - level: Integration - module: TCPIP - steps: |- - 1. sta connect to softap - 2. create multiple tcp connection - 3. do send/recv on all tcp connections - sub module: TCP - summary: TCP send/recv stress test - test environment: SSC_T2_5 - test point 1: stress - test point 2: TCP stress test - version: v2 (2016-11-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_5202 - SDK: ESP32_IDF - Test App: SSC, SSC_NonBlocking, SSC_PSRAM - auto test: 'Yes' - category: Stress - cmd set: - - TCPStress/TCPDataValidation - - - test_time = 1440 - - - dummy - - - tx_enable = True - - - '' - - - rx_enable = True - - - '' - - - conn_num = 1 - - - '' - - - send_len = 1024 - - - '' - execution time: 24.0 - expected result: |- - 1. succeed - 2. verify reciveid data on target and PC succeed - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1. create TCP connection - 2. send specified pattern on both direction - sub module: TCP - summary: TCP send/recv data validation - test environment: SSC_T1_6 - test point 1: stress - test point 2: TCP stress test - version: v2 (2016-11-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_5202 - SDK: |- - 8266_NonOS - 8266_RTOS - Test App: SSC, SSC_NonBlocking - auto test: 'Yes' - category: Stress - cmd set: - - TCPStress/TCPDataValidation - - - test_time = 1440 - - - dummy - - - tx_enable = True - - - '' - - - rx_enable = True - - - '' - - - conn_num = 1 - - - '' - - - send_len = 1024 - - - '' - execution time: 24.0 - expected result: |- - 1. succeed - 2. verify reciveid data on target and PC succeed - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1. create TCP connection - 2. send specified pattern on both direction - sub module: TCP - summary: TCP send/recv data validation - test environment: SSC_T1_6 - test point 1: stress - test point 2: TCP stress test - version: v2 (2016-11-15) -- CI ready: 'No' - ID: TCPIP_TCP_5203 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - TCPStress/TCPRandomSend - - - delay_config = [0, 0.01, 0.1, 0.5, 1] - - - dummy - - - send_count = 1000 - - - '' - - - test_time = 300 - - - '' - execution time: 12.0 - expected result: |- - 1. succeed - 2. succeed - 3. 不断开 - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1. ESP8089在同一信道进行iperf测试 - 2. create TCP connection - 3. PC send random length data to target - sub module: TCP - summary: TCP 信道竞争测试 - test environment: SSC_T1_8089 - test point 1: stress - test point 2: TCP stress test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_5204 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC_Ethernet - auto test: 'Yes' - category: Stress - cmd set: - - TCPStress/TCPDataValidation - - - test_time = 1440 - - - dummy - - - tx_enable = True - - - '' - - - rx_enable = True - - - '' - - - conn_num = 1 - - - '' - - - send_len = 1024 - - - '' - execution time: 24.0 - expected result: |- - 1. succeed - 2. verify reciveid data on target and PC succeed - initial condition: T1_ETH - level: Integration - module: TCPIP - steps: |- - 1. create TCP connection - 2. send specified pattern on both direction - sub module: TCP - summary: TCP send/recv data validation for Ethernet - test environment: SSC_T1_Ethernet - test point 1: stress - test point 2: TCP stress test - version: v2 (2016-11-15) -- CI ready: 'No' - ID: TCPIP_TCP_5301 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC, SSC_NonBlocking - auto test: 'Yes' - category: Stress - cmd set: - - TCPStress/TCPThroughput - - - send_len = 1460 - - - dummy - - - tx_enable = True - - - '' - - - rx_enable = False - - - '' - - - measure_period = 30 - - - '' - execution time: 2.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - initial condition: STAM1 - level: Integration - module: TCPIP - steps: |- - 1. config attenuator (0-59) - 2. scan AP to get AP RSSI - 3. create TCP connection and send data for several seconds - Loop step 1 - 3 - sub module: TCP - summary: TCP throughput Tx in shield box - test environment: SSC_T1_ShieldBox - test point 1: performance - test point 2: TCP throughput - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_TCP_5302 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC, SSC_NonBlocking - auto test: 'Yes' - category: Stress - cmd set: - - TCPStress/TCPThroughput - - - send_len = 1460 - - - dummy - - - tx_enable = False - - - '' - - - rx_enable = True - - - '' - - - measure_period = 30 - - - '' - execution time: 2.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - initial condition: STAM1 - level: Integration - module: TCPIP - steps: |- - 1. config attenuator (0-59) - 2. scan AP to get AP RSSI - 3. create TCP connection and recv data for several seconds - Loop step 1 - 3 - sub module: TCP - summary: TCP throughput Rx in shield box - test environment: SSC_T1_ShieldBox - test point 1: performance - test point 2: TCP throughput - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_TCP_5401 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC_Ethernet - auto test: 'Yes' - category: Stress - cmd set: - - TCPStress/EthTCPThroughput - - - send_len = 1460 - - - dummy - - - tx_enable = True - - - '' - - - rx_enable = False - - - '' - - - measure_period = 30 - - - '' - - - test_count = 5 - - - '' - execution time: 0.5 - expected result: |- - 1. succeed - 2. succeed - initial condition: T1_ETH - level: Integration - module: TCPIP - steps: |- - 1. DUT open eth and get ip - 2. DUT band socket and send packet to PC for several secends - Loop for step 1-2 - sub module: TCP - summary: TCP throughput Tx for Ethernet - test environment: SSC_T1_Ethernet - test point 1: stress - test point 2: TCP stress test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_TCP_5402 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC_Ethernet - auto test: 'Yes' - category: Stress - cmd set: - - TCPStress/EthTCPThroughput - - - send_len = 1460 - - - dummy - - - tx_enable = False - - - '' - - - rx_enable = True - - - '' - - - measure_period = 30 - - - '' - - - test_count = 5 - - - '' - execution time: 0.5 - expected result: |- - 1. succeed - 2. succeed - initial condition: T1_ETH - level: Integration - module: TCPIP - steps: |- - 1. DUT open eth and get ip - 2. DUT band socket and PC send packet to DUT for several secends - Loop for step 1-2 - sub module: TCP - summary: TCP throughput Rx for Ethernet - test environment: SSC_T1_Ethernet - test point 1: stress - test point 2: TCP stress test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_TCP_5501 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC_Ethernet - auto test: 'Yes' - category: Stress - cmd set: - - TCPStress/EthTCPSocketTest - - - send_len = 1460 - - - dummy - - - test_count = 1000 - - - '' - - - tx_enable = True - - - '' - - - rx_enable = False - - - '' - execution time: 1.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - initial condition: T1_ETH - level: Integration - module: TCPIP - steps: |- - 1. DUT open eth and get ip - 2. PC bind socket and send packet to DUT for several secends - 3. DUT close eth randomly - Loop for step 1-3 - sub module: TCP - summary: Eth random close while sending packets - test environment: SSC_T1_Ethernet - test point 1: stress - test point 2: TCP stress test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_TCP_5601 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - TCPStress/TCPSoftAPSTAThroughput - - - send_len = 1460 - - - dummy - - - sta_rx_enable = False - - - '' - - - sta_tx_enable = True - - - '' - - - measure_period = 15 - - - '' - execution time: 1.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - initial condition: T2_1 - level: Integration - module: TCPIP - steps: |- - 1. STA connect softAP - 2. create TCP socket connect - 3. send TCP packet - 4. calculate the troughput - sub module: TCP - summary: STA TCP throughput Tx while connected with softAP - test environment: SSC_T2_ShieldBox2 - test point 1: Performance test - test point 2: TCP throughput - version: v1 (2016-10-18) -- CI ready: 'No' - ID: TCPIP_TCP_5602 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - TCPStress/TCPSoftAPSTAThroughput - - - send_len = 1460 - - - dummy - - - sta_rx_enable = True - - - '' - - - sta_tx_enable = False - - - '' - - - measure_period = 15 - - - '' - execution time: 1.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - initial condition: T2_1 - level: Integration - module: TCPIP - steps: |- - 1. STA connect softAP - 2. create TCP socket connect - 3. send TCP packet - 4. calculate the troughput - sub module: TCP - summary: STA TCP throughput Rx while connected with softAP - test environment: SSC_T2_ShieldBox2 - test point 1: Performance test - test point 2: TCP throughput - version: v1 (2016-10-18) -- CI ready: 'No' - ID: TCPIP_TCP_5701 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC_Ethernet - auto test: 'Yes' - category: Stress - cmd set: - - StableTest/EthGetIP - - - test_count = 5000 - - [dummy] - comment: '' - execution time: 5.0 - expected result: '1. succeed - - 2. succeed - - 3. succeed - - 4. succeed' - initial condition: None - initial condition description (auto): none - level: Integration - module: TCPIP - steps: |- - 1. reboot - - 2. open eth - - 3. delay 10s - - 4. ip query - sub module: TCP - summary: Eth get ip test - test environment: SSC_T1_Ethernet - test point 1: stress - test point 2: TCP stress test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_5801 - SDK: 'ESP32_IDF' - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - TCPStress/TCPSendRecvIPv6 - - - send_len = 1460 - - [dummy] - - - test_time = 300 - - [''] - - - duplex = True - - [''] - - - conn_num = 5 - - [''] - - - send_delay = 20 - - [''] - execution time: 12.0 - expected result: |- - 1. succeed - 2. succeed - 3. all TCP connection not disconnected - initial condition: T2_1 - level: Integration - module: TCPIP - steps: |- - 1. sta connect to softap - 2. create multiple tcp connection - 3. do send/recv on all tcp connections - sub module: TCP - summary: TCP send/recv stress test with TCPSendRecvIPv6 - test environment: SSC_T2_5 - test point 1: stress - test point 2: TCP stress test(IPv6) - version: v2 (2016-11-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_5802 - SDK: 'ESP32_IDF' - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - TCPStress/TCPSoftAPSTASendRecvIPv6 - - - send_len = 1460 - - [dummy] - - - test_time = 300 - - [''] - - - conn_num = 5 - - [''] - - - duplex = True - - [''] - - - send_delay = 20 - - [''] - execution time: 12.0 - expected result: |- - 1. succeed - 2. succeed - 3. all TCP connection not disconnected - initial condition: T3_1 - level: Integration - module: TCPIP - steps: |- - 1. sta connect to softap - 2. create multiple tcp connection - 3. do send/recv on all tcp connections - sub module: TCP - summary: TCP send/recv stress test with TCPSoftAPSTASendRecvIPv6 - test environment: SSC_T3_1 - test point 1: stress - test point 2: TCP stress test(IPv6) - version: v2 (2016-11-15) -- CI ready: 'Yes' - ID: TCPIP_TCP_5803 - SDK: 'ESP32_IDF' - Test App: SSC, SSC_NonBlocking - auto test: 'Yes' - category: Stress - cmd set: - - TCPStress/TCPDataValidationIPv6 - - - test_time = 300 - - [dummy] - - - tx_enable = True - - [''] - - - rx_enable = True - - [''] - - - conn_num = 5 - - [''] - - - send_len = 1024 - - [''] - execution time: 24.0 - expected result: |- - 1. succeed - 2. verify reciveid data on target and PC succeed - initial condition: STAAP2 - level: Integration - module: TCPIP - steps: |- - 1. create TCP connection - 2. send specified pattern on both direction - sub module: TCP - summary: TCP send/recv data validation with TCPDataValidationIPv6 - test environment: SSC_T1_6 - test point 1: stress - test point 2: TCP stress test(IPv6) - version: v2 (2016-11-15) -- CI ready: 'No' - ID: TCPIP_TCP_6001 - SDK: ESP32_IDF, 8266_NonOS, 8266_RTOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Stable - cmd set: - - StableTest/TCPStable - - - send_delay = 5 - - - '' - - - timeout = 20 - - - '' - - - test_time = 7*24*60 - - - '' - - - conn_num = 1 - - - '' - - - send_len = 100 - - - '' - execution time: 168 - expected result: 1. succeed 2. DUT1 receive PC echo in timeout 3. succeed 4. succeed - initial condition: STAO2 - level: Integration - module: TCPIP - steps: 1. create TCP connection 2. DUT send data to PC, PC do echo 3. delay for - send_delay 4. repeat step 2-3 - sub module: TCP - summary: TCP send receive delay stable test - test environment: SSC_T1_6 - test point 1: Stable - test point 2: TCP send receive stable test - version: v1 (2017-04-21) -- CI ready: 'No' - ID: TCPIP_TCP_9901 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: IOT - cmd set: - - TCPStress/TCPThroughputCompatibility - - - send_len = 1460 - - - dummy - - - test_times = 10 - - - '' - - - tx_enable = True - - - '' - - - rx_enable = False - - - '' - - - measure_period = 30 - - - '' - execution time: 2.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - initial condition: STAM1 - level: Integration - module: TCPIP - steps: |- - 1. scan AP to get AP RSSI - 2. create TCP connection and send data for several seconds - 3. calculate the throughput - Loop step 1 - 3 - sub module: TCP - summary: TCP throughput Tx Compatibility test in shield box - test environment: SSC_T1_ShieldBox - test point 1: performance - test point 2: TCP throughput Compatibility test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_TCP_9902 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: IOT - cmd set: - - TCPStress/TCPThroughputCompatibility - - - send_len = 1460 - - - dummy - - - test_times = 10 - - - '' - - - tx_enable = False - - - '' - - - rx_enable = True - - - '' - - - measure_period = 30 - - - '' - execution time: 2.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - initial condition: STAM1 - level: Integration - module: TCPIP - steps: |- - 1. scan AP to get AP RSSI - 2. create TCP connection and send data for several seconds - 3. calculate the throughput - Loop step 1 - 3 - sub module: TCP - summary: TCP throughput Rx Compatibility test in shield box - test environment: SSC_T1_ShieldBox - test point 1: performance - test point 2: TCP throughput Compatibility test - version: v1 (2016-8-15) diff --git a/components/idf_test/integration_test/TC_IT_TCPIP_UDP.yml b/components/idf_test/integration_test/TC_IT_TCPIP_UDP.yml deleted file mode 100644 index bb6016266b..0000000000 --- a/components/idf_test/integration_test/TC_IT_TCPIP_UDP.yml +++ /dev/null @@ -1,2088 +0,0 @@ -test cases: -- CI ready: 'Yes' - 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 - - - R SSC1 RE BIND:(\d+),OK - - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p - - - R SSC1 RE BIND:(\d+),OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 C BIND:ERROR - - - SSC SSC1 soc -B -t TCP -p - - - R SSC1 RE BIND:(\d+),OK - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.ERROR - 4.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.target1上UDP传输,Bind socket1,本地ip target_udp_port1 - 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: STA mode, udp bind test. use different ip, port - test environment: SSC_T1_6 - 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_0102 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: 2/3 - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 BIND - - - R SOC_COM L OK - - - SOC SOC2 BIND - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -S -s -i -p -l 10 - - - P SSC1 RE SEND:(\d+),OK - - P SOC1 UL 10 - - - SSC SSC1 soc -S -s -i -p -l 10 - - - P SSC1 RE SEND:(\d+),OK - - P SOC2 UL 10 - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.OK - 5.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上SOC1 UDP传输,bing - 2.PC上SOC2 UDP传输,bing - 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_9 - test point 1: basic function - test point 2: use UDP SAP (socket/espconn API) with different parameter - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_UDP_0103 - SDK: |- - 8266_NonOS - 8266_RTOS - Test App: SSC - allow fail: 1/3 - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 BIND - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -S -s -i -p -l 1 - - - P SSC1 RE SEND:(\d+),OK - - P SOC1 UL 1 - - - SSC SSC1 soc -S -s -i -p -l 1472 - - - P SSC1 RE SEND:(\d+),OK - - P SOC1 UL 1472 - - - SSC SSC1 soc -S -s -i -p -l 1473 - - - P SSC1 RE SEND:(\d+),OK - - P SOC_COM NC SOC_RECVFROM - - - SSC SSC1 soc -S -s -i -p -l 1472 -n 10 -j 20 - - - P SSC1 RE SEND:(\d+),OK - - P SOC1 UL 14720 - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.OK - 5.OK,没有到UDP包 - 6.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上SOC1 UDP传输,bing - 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字节数据 - 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_9 - test point 1: basic function - test point 2: use UDP SAP (socket/espconn API) with different parameter - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_UDP_0103 - SDK: ESP32_IDF - Test App: SSC - allow fail: 1/5 - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 BIND - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -S -s -i -p -l 1 - - - P SSC1 RE SEND:(\d+),OK - - P SOC1 UL 1 - - - SSC SSC1 soc -S -s -i -p -l 1472 - - - P SSC1 RE SEND:(\d+),OK - - P SOC1 UL 1472 - - - SSC SSC1 soc -S -s -i -p -l 1473 - - - P SSC1 RE SEND:(\d+),OK - - P SOC_COM NC SOC_RECVFROM - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.OK - 5.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上SOC1 UDP传输,bing - 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字节数据 - sub module: UDP - summary: STA mode, sendto test with different length - test environment: SSC_T1_9 - test point 1: basic function - test point 2: use UDP SAP (socket/espconn API) with different parameter - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_UDP_0104 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: 1/3 - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 BIND - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :BIND:(\d+),OK - - - SOC SOC1 SENDTO 1 - - - R SSC1 SL +1 - - - SOC SOC1 SENDTO 1472 - - - R SSC1 RE "RECVFROM:%%s,1472,%%s,%%u"%%(,,) - - - SOC SOC1 SENDTO 1473 - - - P SSC1 NC +RECVFROM - - P SOC_COM C OK - - - SOC SOC2 BIND - - - R SOC_COM L OK - - - SOC SOC2 SENDTO 1472 - - - R SSC1 RE "RECVFROM:%%s,1472,%%s,%%u"%%(,,) - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.OK - 5.OK,没收到UDP包 - 6.OK - 7.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上SOC1 UDP传输,bing - 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1 - 3.PC往8266上发送1字节数据 - 4.PC往8266上发送1472字节数据 - 5.PC往8266上发送1473字节数据 - 6.PC上SOC2 UDP传输,bing - 7.PC往8266上发送1472字节数据 - sub module: UDP - summary: (special case)STA mode, recvfrom basic test with STAM2 - test environment: SSC_T1_9 - test point 1: basic function - test point 2: use UDP SAP (socket/espconn API) with different parameter - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_UDP_0104_02 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: 1/3 - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 BIND_v6 - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t UDPv6 -i -p - - - R SSC1 A :BIND:(\d+),OK - - - SOC SOC1 SENDTO 1 - - - R SSC1 SL +1 - - - SOC SOC1 SENDTO 1472 - - - R SSC1 RE "RECVFROM:%%s,1472,%%s,%%u"%%(,,) - - - SOC SOC1 SENDTO 1473 - - - P SSC1 C +RECVFROM - - P SOC_COM C OK - - - SOC SOC2 BIND_v6 - - - R SOC_COM L OK - - - SOC SOC2 SENDTO 1472 - - - R SSC1 RE "RECVFROM:%%s,1472,%%s,%%u"%%(,,) - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.OK - 5.OK - 6.OK - 7.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上SOC1 UDP传输,bing - 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1 - 3.PC往8266上发送1字节数据 - 4.PC往8266上发送1472字节数据 - 5.PC往8266上发送1473字节数据 - 6.PC上SOC2 UDP传输,bing - 7.PC往8266上发送1472字节数据 - sub module: UDP - summary: (special case)STA mode, recvfrom basic test with STAM2(IPv6) - test environment: SSC_T1_9 - test point 1: basic function - test point 2: use UDP SAP (socket/espconn API) with different parameter - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_UDP_0104_01_02 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: 1/3 - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 BIND_v6 - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t UDPv6 -i -p - - - R SSC1 A :BIND:(\d+),OK - - - SOC SOC1 SENDTO 1 - - - R SSC1 SL +1 - - - SOC SOC1 SENDTO 1472 - - - R SSC1 RE "RECVFROM:%%s,1472,%%s,%%u"%%(,,) - - - SOC SOC1 SENDTO 1473 - - - P SSC1 C +RECVFROM - - P SOC_COM C OK - - - SOC SOC2 BIND_v6 - - - R SOC_COM L OK - - - SOC SOC2 SENDTO 1472 - - - R SSC1 RE "RECVFROM:%%s,1472,%%s,%%u"%%(,,) - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.OK - 5.OK - 6.OK - 7.OK - initial condition: STAAP2 - level: Integration - module: TCPIP - steps: |- - 1.PC上SOC1 UDP传输,bing - 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1 - 3.PC往8266上发送1字节数据 - 4.PC往8266上发送1472字节数据 - 5.PC往8266上发送1473字节数据 - 6.PC上SOC2 UDP传输,bing - 7.PC往8266上发送1472字节数据 - sub module: UDP - summary: (special case)STA mode, recvfrom basic test with STAAP2(IPv6) - test environment: SSC_T1_9 - 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_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 - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -T -s - - - R SSC1 RE CLOSE:\d+ - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - initial condition: STAM2 - level: Integration - 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_6 - 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_0106 - 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 - - - R SSC1 RE BIND:(\d+),OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 RE BIND:(\d+),OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 RE BIND:(\d+),OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 RE BIND:(\d+),OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 RE BIND:(\d+),OK - execution time: 0.0 - expected result: |- - 1.ok - 2.ok - 3.ok - 4.ok - 5.ok - initial condition: STAM2 - level: Integration - 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: STA mode, create max udp socket test - test environment: SSC_T1_6 - 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_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 UDP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -I - - - P SSC1 RE "SOCINFO:%%s,1,.+,%%d"%%(,) - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.target1上UDP传输,Bind socket1,本地ip target_udp_port1 - 2.target1上查询创建socket信息 - sub module: UDP - summary: STA mode, UDP get active socket info test - test environment: SSC_T1_6 - 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_0108 - 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 - - - R SSC1 RE BIND:(\d+),OK - - - SSC SSC1 soc -B -t UDP -i 0.0.0.0 -p - - - R SSC1 RE BIND:(\d+),OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 C BIND:ERROR - - - SSC SSC1 soc -B -t TCP -p - - - R SSC1 RE BIND:(\d+),OK - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.ERROR - 4.OK - initial condition: APM2 - level: Integration - module: TCPIP - steps: |- - 1.target1上UDP传输,Bind socket1,本地ip target_udp_port1 - 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, udp bind test. use different ip, port - test environment: SSC_T1_8 - 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_0109 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: 1/3 - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -t - - - R SSC1 C +SAP:OK - - - WIFI CONN - - - - R PC_COM NC ERROR C +WIFICONN:OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%() - - - SOC SOC1 BIND - - - R SOC_COM L OK - - - SSC SSC2 ip - - - R SSC2 A :STAIP:(.+)\r\n - - - SSC SSC2 soc -B -t UDP -p - - - R SSC2 A :BIND:(\d+),OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -S -s -i -p -l 5 - - - R SOC1 UL 5 - - - SSC SSC1 soc -S -s -i -p -l 5 - - - R SSC2 RE "RECVFROM:%%s,5,%%s,%%u"%%(,,) - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.OK - 5.OK - initial condition: T2O_1 - level: Integration - module: TCPIP - steps: |- - 1.PC上SOC1 UDP传输,bing - 2.PC上SOC2 UDP传输,bing - 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: (special case)AP mode, sendto test. use different ip, port - test environment: SSC_T2_2 - 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 - SDK: |- - 8266_NonOS - 8266_RTOS - Test App: SSC - allow fail: 1/3 - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 BIND - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -S -s -i -p -l 1 - - - P SSC1 RE SEND:(\d+),OK - - P SOC1 UL 1 - - - SSC SSC1 soc -S -s -i -p -l 1472 - - - P SSC1 RE SEND:(\d+),OK - - P SOC1 UL 1472 - - - SSC SSC1 soc -S -s -i -p -l 1473 - - - P SSC1 RE SEND:(\d+),OK - - P SOC_COM NC SOC_RECVFROM - - - SSC SSC1 soc -S -s -i -p -l 1472 -n 10 - -j 20 - - - P SSC1 RE SEND:(\d+),OK - - P SOC1 UL 14720 - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.OK - 5.OK,没收到UDP包 - 6.OK - initial condition: APM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上SOC1 UDP传输,bing - 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字节数据 - 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_7 - 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 - SDK: ESP32_IDF - Test App: SSC - allow fail: 1/3 - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 BIND - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -S -s -i -p -l 1 - - - P SSC1 RE SEND:(\d+),OK - - P SOC1 UL 1 - - - SSC SSC1 soc -S -s -i -p -l 1472 - - - P SSC1 RE SEND:(\d+),OK - - P SOC1 UL 1472 - - - SSC SSC1 soc -S -s -i -p -l 1473 - - - P SSC1 RE SEND:(\d+),OK - - P SOC_COM C SOC_RECVFROM - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.OK - 5.OK - initial condition: APM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上SOC1 UDP传输,bing - 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字节数据 - sub module: UDP - summary: AP mode, sendto test with different length - test environment: SSC_T1_7 - 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_0111 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: 1/3 - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -t - - - R SSC1 C +SAP:OK - - - WIFI CONN - - - - R PC_COM NC ERROR C +WIFICONN:OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%() - - - SOC SOC1 BIND - - - R SOC_COM L OK - - - SSC SSC2 ip - - - R SSC2 A :STAIP:(.+)\r\n - - - SSC SSC2 soc -B -t UDP -p - - - R SSC2 A :BIND:(\d+),OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :BIND:(\d+),OK - - - SOC SOC1 SENDTO 5 - - - R SSC1 RE "RECVFROM:%%s,5,%%s,%%u"%%(,,) - - - SSC SSC2 soc -S -s -i -p -l 5 - - - R SSC1 RE "RECVFROM:%%s,5,%%s,%%u"%%(,,) - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.OK - 5.OK,没收到UDP包 - 6.OK - 7.OK - initial condition: T2O_1 - level: Integration - module: TCPIP - steps: |- - 1.PC上SOC1 UDP传输,bing - 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1 - 3.PC往8266上发送1字节数据 - 4.PC往8266上发送1472字节数据 - 5.PC往8266上发送1473字节数据 - 6.PC上SOC2 UDP传输,bing - 7.PC往8266上发送1472字节数据 - sub module: UDP - summary: (special case)AP mode, recvfrom basic test - test environment: SSC_T2_2 - 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_0112 - 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 - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -T -s - - - R SSC1 RE CLOSE:\d+ - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - initial condition: APM2 - level: Integration - module: TCPIP - steps: |- - 1.target1上UDP传输,Bind socket1,本地ip target_udp_port1 - 2.关闭socket1 - sub module: UDP - summary: AP mode, close UDP sockets test - test environment: SSC_T1_8 - 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_0113 - 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 - - - R SSC1 RE BIND:(\d+),OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 RE BIND:(\d+),OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 RE BIND:(\d+),OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 RE BIND:(\d+),OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 RE BIND:(\d+),OK - execution time: 0.0 - expected result: |- - 1.ok - 2.ok - 3.ok - 4.ok - 5.ok - initial condition: APM2 - level: Integration - 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_8 - 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_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 UDP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -I - - - P SSC1 RE "SOCINFO:%%s,1,.+,%%d"%%(,) - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - initial condition: APM2 - level: Integration - module: TCPIP - steps: |- - 1.target1上UDP传输,Bind socket1,本地ip target_udp_port1 - 2.target1上查询创建socket信息 - sub module: UDP - summary: AP mode, UDP get active socket info test - test environment: SSC_T1_8 - 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_0201 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 BIND - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t UDP -p -w 0 - - - R SSC1 A :BIND:(\d+),OK - - - SOC SOC1 SENDTO 1472 - - - '' - - - SOC SOC1 SENDTO 1472 - - - '' - - - SOC SOC1 SENDTO 1472 - - - '' - - - SOC SOC1 SENDTO 1472 - - - '' - - - SOC SOC1 SENDTO 1472 - - - '' - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.PC OK - 5.PC OK - 6.PC OK - 7.PC OK - 8.PC OK SOC_CLOSE=SOC1 - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上SOC1 UDP传输,bing - 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1 - 3.target1上关闭工作线程 - 4.PC往8266上发送1472字节数据 - 5.PC往8266上发送1472字节数据 - 6.PC往8266上发送1472字节数据 - 7.PC往8266上发送1472字节数据 - 8.PC往8266上发送1472字节数据 - sub module: UDP - summary: STA mode, UDP recv buffer test - test environment: SSC_T1_6 - test point 1: abnormal/special use - test point 2: use UDP SAP (socket/espconn API) in different state - version: v2 (2016-10-19) -- CI ready: 'Yes' - 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 - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :BIND:(\d+),OK - - - SOC SOC1 SENDTO 1472 - - - '' - - - SOC SOC1 SENDTO 1472 - - - '' - - - SOC SOC1 SENDTO 1472 - - - '' - - - SOC SOC1 SENDTO 1472 - - - '' - - - SOC SOC1 SENDTO 1472 - - - '' - - - SOC SOC1 SENDTO 1472 - - - '' - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.PC OK - 5.PC OK - 6.PC OK - 7.PC OK - 8.PC OK SOC_CLOSE=SOC1 - initial condition: APM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上SOC1 UDP传输,bing - 2.target1上UDP传输,Bind socket1,本地ip target_udp_port1 - 3.target1上关闭工作线程 - 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 recv buffer test - test environment: SSC_T1_7 - test point 1: abnormal/special use - test point 2: use UDP SAP (socket/espconn API) in different state - version: v2 (2016-10-19) -- CI ready: 'Yes' - ID: TCPIP_UDP_0301 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: 1/3 - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 BIND - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t UDP -i -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -S -s -i -p -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 -i -p -l 5 - - - P SSC1 RE SEND:\d+,ERROR - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.OK - 5.ERROR - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上SOC1 UDP传输,bing - 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_6 - 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: 2/3 - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 BIND - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -S -s -i -p -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 - - - R SSC1 RE CLOSE:\d+,OK - execution time: 0.0 - expected result: | - 1.OK - 2.OK - 3.OK - 4.OK - 5.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.PC上SOC1 UDP传输,bing - 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_6 - 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/3 - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 BIND - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t UDP -i -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -S -s -i -p -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 -i -p -l 5 - - - P SSC1 RE SEND:(\d+),ERROR - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.OK - 5.ERROR - initial condition: STAM2 - level: Integration - module: TCPIP - steps: "1.PC上SOC1 UDP传输,bing \n2.target1上UDP传输,Bind socket1,本地ip - target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n4.修改8266的Mode为softAP - mode \n5.8266往PC上发送5字节数据" - sub module: UDP - summary: do UDP send after mode changed - test environment: SSC_T1_6 - 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 - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: 1/3 - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 BIND - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -S -s -i -p -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 - - - R SSC1 RE CLOSE:\d+,OK - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.OK - 5.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: "1.PC上SOC1 UDP传输,bing \n2.target1上UDP传输,Bind socket1,本地ip - target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n4.修改8266的Mode为softAP - mode \n5.关闭建立的socket1连接" - sub module: UDP - summary: close UDP socket after mode changed - test environment: SSC_T1_6 - 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/3 - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 BIND - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -S -s -i -p -l 5 - - - P SSC1 RE SEND:(\d+),OK - - P SOC1 UL 5 - - - NIC DISABLED - - - R PC_COM C OK - - - SSC SSC1 soc -T -s - - - R SSC1 RE CLOSE:\d+,OK - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - 3.OK - 4.OK - 5.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: "1.PC上SOC1 UDP传输,bing \n2.target1上UDP传输,Bind socket1,本地ip - target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n4.PC上网卡禁止掉 - \n5.关闭建立的socket1连接" - sub module: UDP - summary: close UDP socket after PC NIC disabled - test environment: SSC_T1_6 - 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/3 - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 BIND - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -S -s -i -p -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 -i -p -l 1 - - - P SSC1 RE SEND:\d+,OK - 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 - level: Integration - module: TCPIP - steps: "1.PC上SOC1 UDP传输,bing \n2.target1上UDP传输,Bind socket1,本地ip - target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n4.关闭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_6 - 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/3 - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SOC SOC1 BIND - - - R SOC_COM L OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -S -s -i -p -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 - - - R SSC1 RE CLOSE:\d+,OK - 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 - level: Integration - module: TCPIP - steps: "1.PC上SOC1 UDP传输,bing \n2.target1上UDP传输,Bind socket1,本地ip - target_udp_port1\n3.target1上使用步骤2创建的socket1,往pc_ip,test_tcp_port1上发送5字节数据\n4.关闭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_6 - test point 1: abnormal/special use - test point 2: UDP handling abnormal event - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_UDP_0401 - SDK: |- - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 C +BIND:ERROR - execution time: 0.0 - expected result: |- - 1.OK - 2.ERROR - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.target1上创建UDP socket,bind test_udp_port1 - 2.target1上创建UDP socket,bind test_udp_port1 - sub module: UDP - summary: Test socket with so_reuseaddr option closed on UDP submodule - test environment: SSC_T1_6 - test point 1: basic function - test point 2: socket test with different option - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_UDP_0402 - SDK: ESP32_IDF - Test App: SSC_OPTION - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :BIND:(\d+),OK - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.find esp-idf/components/lwip/include/lwip/lwip/opt.h file, make "#define SO_REUSE 1" instead of "#define SO_REUSE 0" - 2.switch to esp-idf/SSC, run "./gen_misc_ng.sh SSC_OPTION" and "make flash", then run the test case normally - 3.target1上创建UDP socket,bind test_udp_port1 - 4.target1上创建UDP socket,bind test_udp_port1 - sub module: UDP - summary: Test socket with so_reuseaddr option opened that build two udp sockets - by binding same port on ESP32 - test environment: SSC_T1_6 - test point 1: basic function - test point 2: socket test with different option - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_UDP_0403 - SDK: 8266_RTOS - Test App: SSC - allow fail: '' - auto test: 'No' - category: Function - cmd set: - - '' - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :BIND:(\d+),OK - execution time: 0.0 - expected result: |- - 1.OK - 2.OK - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1.find ESP8266_RTOS_SDK/include/lwip/lwip/opt.h file, make "#define SO_REUSE 1" instead of "#define SO_REUSE 0" - 2.switch to ESP8266_RTOS_SDK/third_party, run "./make_lib.sh lwip" risc,then continuely run "ll ../lib" - 3.switch to ESP8266_RTOS_SDK/SSC, run "./gen_misc_rtos.sh SSC", then run the test case normally - 4.target1上创建UDP socket,bind test_udp_port1 - 5.target1上创建UDP socket,bind test_udp_port1 - sub module: UDP - summary: Test socket with so_reuseaddr option opened that build two udp sockets - by binding same port on 8266_RTOS - test environment: SSC_T1_6 - test point 1: basic function - test point 2: socket test with different option - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: TCPIP_UDP_5001 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC, SSC_NonBlocking, SSC_PSRAM - auto test: 'Yes' - category: Stress - cmd set: - - UDPStress/UDPSendRecv - - - send_len = 1460 - - - dummy - - - test_time = 300 - - - '' - - - duplex = True - - - '' - - - conn_num = 5 - - - '' - - - send_delay = 20 - - - '' - execution time: 12.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - initial condition: T2_1 - level: Integration - module: TCPIP - steps: |- - 1. sta connect to softap - 2. create multiple udp - 3. do send/recv on all udp - sub module: UDP - summary: UDP send/recv stress test - test environment: SSC_T2_5 - test point 1: stress - test point 2: UDP stress test - version: v2 (2016-11-15) -- CI ready: 'No' - ID: TCPIP_UDP_5002 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - UDPStress/UDPPacketLose - - - test_time = 5 - - - dummy - - - send_len = 1460 - - - '' - - - pc_send = True - - - '' - - - target_send = False - - - '' - - - delay = 10 - - - '' - execution time: 1.0 - expected result: |- - 1. succeed - 2. succeed - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1. scan AP to get AP RSSI - 2. create UDP and recv data for several seconds - sub module: UDP - summary: UDP loss rate on DUT Rx - test environment: SSC_T1_6 - test point 1: Performance test - test point 2: UDP stress test - version: v1 (2016-10-18) -- CI ready: 'No' - ID: TCPIP_UDP_5003 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - UDPStress/UDPPacketLose - - - test_time = 5 - - - dummy - - - send_len = 1460 - - - '' - - - pc_send = False - - - '' - - - target_send = True - - - '' - - - delay = 10 - - - '' - execution time: 1.0 - expected result: |- - 1. succeed - 2. succeed - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1. scan AP to get AP RSSI - 2. create UDP and recv data for several seconds - sub module: UDP - summary: UDP loss rate on DUT Tx - test environment: SSC_T1_6 - test point 1: Performance test - test point 2: UDP stress test - version: v1 (2016-10-18) -- CI ready: 'No' - ID: TCPIP_UDP_5004 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - UDPStress/UDPBroadcast - - - test_time = 30 - - - dummy - - - send_len = 20 - - - '' - - - pc_send = True - - - '' - - - target_send = False - - - '' - - - delay = 10 - - - '' - execution time: 1.0 - expected result: |- - 1. succeed - 2. succeed - initial condition: STAM2 - level: Integration - module: TCPIP - steps: |- - 1. scan AP to get AP RSSI - 2. create UDP and recv data for several seconds - sub module: UDP - summary: UDP broadcase loss rate on DUT Rx - test environment: SSC_T1_6 - test point 1: Performance test - test point 2: UDP stress test - version: v1 (2016-10-18) -- CI ready: 'No' - ID: TCPIP_UDP_5005 - SDK: ESP32_IDF - Test App: SSC, SSC_NonBlocking, SSC_PSRAM - auto test: 'Yes' - category: Stress - cmd set: - - UDPStress/UDPMultiSTASendRecv - - - send_len = 1460 - - - dummy - - - test_time = 300 - - - '' - - - server_echo = True - - - '' - - - sta_number = 5 - - - '' - - - send_delay = 500 - - - '' - execution time: 5.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - initial condition: None - level: Integration - module: TCPIP - steps: |- - 1. 5 sta connect to softap - 2. create udp socket on all sta - 3. all sta do udp send/recv - sub module: UDP - summary: 1 SoftAP 5 STA, create UDP server on one STA, create UDP client on other - STA, do UDP send/recv - test environment: SSC_T6_1 - test point 1: stress - test point 2: UDP stress test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_UDP_5005 - SDK: |- - 8266_NonOS - 8266_RTOS - Test App: SSC, SSC_NonBlocking - auto test: 'Yes' - category: Stress - cmd set: - - UDPStress/UDPMultiSTASendRecv - - - send_len = 1460 - - - dummy - - - test_time = 300 - - - '' - - - server_echo = True - - - '' - - - sta_number = 5 - - - '' - - - send_delay = 500 - - - '' - execution time: 5.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - initial condition: None - level: Integration - module: TCPIP - steps: |- - 1. 5 sta connect to softap - 2. create udp socket on all sta - 3. all sta do udp send/recv - sub module: UDP - summary: 1 SoftAP 5 STA, create UDP server on one STA, create UDP client on other - STA, do UDP send/recv - test environment: SSC_T6_1 - test point 1: stress - test point 2: UDP stress test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_UDP_5006 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - UDPStress/UDPSTAMultiSocketSendRecv - - - send_len = 1460 - - - dummy - - - test_time = 300 - - - '' - - - server_echo = True - - - '' - - - sta_number = 2 - - - '' - - - conn_number = 6 - - - '' - - - send_delay = 500 - - - '' - execution time: 5.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - initial condition: None - level: Integration - module: TCPIP - steps: |- - 1. 2 sta connect to softap - 2. create multi udp socket on all sta - 3. all sta do udp send/recv - sub module: UDP - summary: 1 SoftAP 2 STA, create multi UDP socket on STA, do UDP send/recv - test environment: SSC_T3_2 - test point 1: stress - test point 2: UDP stress test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_UDP_5007 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - UDPStress/SoftAPSTAUDPLose - - - test_time = 60 - - - dummy - - - send_len = 1460 - - - '' - - - softap_send = False - - - '' - - - sta_send = True - - - '' - - - delay = 10 - - - '' - execution time: 1.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - initial condition: T2_1 - level: Integration - module: TCPIP - steps: |- - 1.sta connect to softAP - 2.sta softAP bind UPD socket - 3.sta send UDP to softAP, softAP calculate the packet lose - sub module: UDP - summary: STA connect to softAP, STA send UDP to softAP, calculate the UDP lose on - softAP - test environment: SSC_T2_5 - test point 1: Performance test - test point 2: UDP stress test - version: v1 (2016-10-18) -- CI ready: 'No' - ID: TCPIP_UDP_5008 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - UDPStress/SoftAPSTAUDPLose - - - test_time = 60 - - - dummy - - - send_len = 1460 - - - '' - - - softap_send = True - - - '' - - - sta_send = False - - - '' - - - delay = 10 - - - '' - execution time: 1.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - initial condition: T2_1 - level: Integration - module: TCPIP - steps: |- - 1.sta connect to softAP - 2.sta softAP bind UPD socket - 3.softAP send UDP to STA, STA calculate the packet lose - sub module: UDP - summary: STA connect to softAP, softAP send UDP to STA, calculate the UDP lose on - STA - test environment: SSC_T2_5 - test point 1: Performance test - test point 2: UDP stress test - version: v1 (2016-10-18) -- CI ready: 'No' - ID: TCPIP_UDP_5101 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC, SSC_NonBlocking - auto test: 'Yes' - category: Performance - cmd set: - - UDPStress/UDPThroughput - - - send_len = 1460 - - - dummy - - - tx_enable = True - - - '' - - - rx_enable = False - - - '' - - - measure_period = 30 - - - '' - execution time: 2.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - initial condition: STAM1 - level: Integration - module: TCPIP - steps: |- - 1. config attenuator (0-59) - 2. scan AP to get AP RSSI - 3. create UDP and send data for several seconds - Loop step 1 - 3 - sub module: UDP - summary: UDP throughput Tx in shield box - test environment: SSC_T1_ShieldBox - test point 1: performance - test point 2: UDP throughput - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_UDP_5102 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC, SSC_NonBlocking - auto test: 'Yes' - category: Performance - cmd set: - - UDPStress/UDPThroughput - - - send_len = 1460 - - - dummy - - - tx_enable = False - - - '' - - - rx_enable = True - - - '' - - - measure_period = 30 - - - '' - execution time: 2.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - initial condition: STAM1 - level: Integration - module: TCPIP - steps: |- - 1. config attenuator (0-59) - 2. scan AP to get AP RSSI - 3. create UDP and recv data for several seconds - Loop step 1 - 3 - sub module: UDP - summary: UDP throughput Rx in shield box - test environment: SSC_T1_ShieldBox - test point 1: performance - test point 2: UDP throughput - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_UDP_5201 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC_Ethernet - auto test: 'Yes' - category: Stress - cmd set: - - UDPStress/EthUDPThroughput - - - send_len = 1460 - - - dummy - - - tx_enable = True - - - '' - - - rx_enable = False - - - '' - - - measure_period = 30 - - - '' - - - test_count = 5 - - - '' - execution time: 0.5 - expected result: |- - 1. succeed - 2. succeed - initial condition: T1_ETH - level: Integration - module: TCPIP - steps: |- - 1. DUT open eth and get ip - 2. DUT band socket and send packet to PC for several secends - Loop for step 1-2 - sub module: UDP - summary: UDP throughput Tx for Ethernet - test environment: SSC_T1_Ethernet - test point 1: stress - test point 2: UDP stress test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_UDP_5202 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC_Ethernet - auto test: 'Yes' - category: Stress - cmd set: - - UDPStress/EthUDPThroughput - - - send_len = 1460 - - - dummy - - - tx_enable = False - - - '' - - - rx_enable = True - - - '' - - - measure_period = 30 - - - '' - - - test_count = 5 - - - '' - execution time: 0.5 - expected result: |- - 1. succeed - 2. succeed - initial condition: T1_ETH - level: Integration - module: TCPIP - steps: |- - 1. DUT open eth and get ip - 2. DUT band socket and PC send packet to DUT for several secends - Loop for step 1-2 - sub module: UDP - summary: UDP throughput Rx for Ethernet - test environment: SSC_T1_Ethernet - test point 1: stress - test point 2: UDP stress test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_UDP_5301 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC_Ethernet - auto test: 'Yes' - category: Stress - cmd set: - - UDPStress/EthUDPPacketLose - - - test_time = 30 - - - dummy - - - send_len = 1460 - - - '' - - - pc_send = True - - - '' - - - target_send = False - - - '' - - - delay = 10 - - - '' - execution time: 0.5 - expected result: |- - 1. succeed - 2. succeed - initial condition: T1_ETH - level: Integration - module: TCPIP - steps: |- - 1. DUT open eth and get ip - 2. DUT band socket,PC send packet to DUT for several secends - 3. DUT calculate the packet lose rate - sub module: UDP - summary: UDP loss rate on DUT Rx for Eth - test environment: SSC_T1_Ethernet - test point 1: Performance test - test point 2: UDP stress test - version: v1 (2016-10-18) -- CI ready: 'No' - ID: TCPIP_UDP_5401 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - UDPStress/UDPSoftAPSTAThroughput - - - send_len = 1460 - - - dummy - - - sta_rx_enable = False - - - '' - - - sta_tx_enable = True - - - '' - - - measure_period = 15 - - - '' - execution time: 1.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - initial condition: T2_1 - level: Integration - module: TCPIP - steps: |- - 1. STA connect softAP - 2. bind UDP socket - 3. send UDP packet - 4. calculate the troughput - sub module: UDP - summary: STA UDP throughput Tx while connected with softAP - test environment: SSC_T2_ShieldBox2 - test point 1: Performance test - test point 2: UDP throughput - version: v1 (2016-10-18) -- CI ready: 'No' - ID: TCPIP_UDP_5402 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - UDPStress/UDPSoftAPSTAThroughput - - - send_len = 1460 - - - dummy - - - sta_rx_enable = True - - - '' - - - sta_tx_enable = False - - - '' - - - measure_period = 15 - - - '' - execution time: 1.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - 4. succeed - initial condition: T2_1 - level: Integration - module: TCPIP - steps: |- - 1. STA connect softAP - 2. bind UDP socket - 3. send UDP packet - 4. calculate the troughput - sub module: UDP - summary: STA UDP throughput Rx while connected with softAP - test environment: SSC_T2_ShieldBox2 - test point 1: Performance test - test point 2: UDP throughput - version: v1 (2016-10-18) -- CI ready: 'Yes' - ID: TCPIP_UDP_5501 - SDK: 'ESP32_IDF' - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - UDPStress/UDPSendRecvIPv6 - - - send_len = 1460 - - [dummy] - - - test_time = 300 - - [''] - - - duplex = True - - [''] - - - conn_num = 5 - - [''] - - - send_delay = 20 - - [''] - execution time: 12.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - initial condition: T2_1 - level: Integration - module: TCPIP - steps: |- - 1. sta connect to softap - 2. create multiple udp - 3. do send/recv on all udp - sub module: UDP - summary: UDP send/recv stress test with UDPSendRecvIPv6(IPv6) - test environment: SSC_T2_5 - test point 1: stress - test point 2: UDP stress test(IPv6) - version: v2 (2016-11-15) -- CI ready: 'Yes' - ID: TCPIP_UDP_5502 - SDK: 'ESP32_IDF' - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - UDPStress/UDPAPSTASendRecvIPv6 - - - send_len = 1460 - - [dummy] - - - test_time = 300 - - [''] - - - duplex = True - - [''] - - - conn_num = 5 - - [''] - - - send_delay = 20 - - [''] - execution time: 12.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - initial condition: T3_1 - level: Integration - module: TCPIP - steps: |- - 1. sta connect to softap - 2. create multiple udp - 3. do send/recv on all udp - sub module: UDP - summary: UDP send/recv stress test with UDPAPSTASendRecvIPv6(IPv6) - test environment: SSC_T3_1 - test point 1: stress - test point 2: UDP stress test(IPv6) - version: v2 (2016-11-15) -- CI ready: 'No' - ID: TCPIP_UDP_9901 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: IOT - cmd set: - - UDPStress/UDPThroughputCompatibility - - - send_len = 1460 - - - dummy - - - test_times = 10 - - - '' - - - tx_enable = True - - - '' - - - rx_enable = False - - - '' - - - measure_period = 30 - - - '' - execution time: 2.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - initial condition: STAM1 - level: Integration - module: TCPIP - steps: |- - 1. scan AP to get AP RSSI - 2. create TCP connection and send data for several seconds - 3. calculate the throughput - Loop step 1 - 3 - sub module: UDP - summary: UDP throughput Tx Compatibility test in shield box - test environment: SSC_T1_ShieldBox - test point 1: performance - test point 2: UDP throughput Compatibility test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: TCPIP_UDP_9902 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: IOT - cmd set: - - UDPStress/UDPThroughputCompatibility - - - send_len = 1460 - - - dummy - - - test_times = 10 - - - '' - - - tx_enable = False - - - '' - - - rx_enable = True - - - '' - - - measure_period = 30 - - - '' - execution time: 2.0 - expected result: |- - 1. succeed - 2. succeed - 3. succeed - initial condition: STAM1 - level: Integration - module: TCPIP - steps: |- - 1. scan AP to get AP RSSI - 2. create TCP connection and send data for several seconds - 3. calculate the throughput - Loop step 1 - 3 - sub module: UDP - summary: UDP throughput Rx Compatibility test in shield box - test environment: SSC_T1_ShieldBox - test point 1: performance - test point 2: UDP throughput Compatibility test - version: v1 (2016-8-15) diff --git a/components/idf_test/integration_test/TC_IT_WIFI_ADDR.yml b/components/idf_test/integration_test/TC_IT_WIFI_ADDR.yml deleted file mode 100644 index ccd18b3e48..0000000000 --- a/components/idf_test/integration_test/TC_IT_WIFI_ADDR.yml +++ /dev/null @@ -1,99 +0,0 @@ -test cases: -- CI ready: 'Yes' - ID: WIFI_ADDR_0101 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 op -S -o 3 - - - R SSC1 C +MODE:OK - - - SSC SSC1 mac -S -o 1 -m 44:55:66:77:88:99 - - - R SSC1 C +MAC:STA,OK - - - SSC SSC1 mac -S -o 2 -m 22:33:44:55:66:77 - - - R SSC1 C +MAC:AP,OK - - - SSC SSC1 mac -Q -o 3 - - - R SSC1 C +STAMAC:44:55:66:77:88:99 C +APMAC:22:33:44:55:66:77 - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - execution time: 0.0 - expected result: |- - 1.OK - 2.ok - 3.ok - 4.ok - 5.ok - 6.ok - initial condition: T2_1 - level: Integration - module: WIFI MAC - steps: "1.target1 设置mode 为sta+softAP mode\n2.target1 设置sta mode 下的mac \n3.target1 - 设置softAP mode 下的mac\n4.target1 查询softAP+sta 下的mac\n5.target1 设置sta mode 下的mac - 为target1_mac\n6.target1 设置softAP mode 下的mac 为target1_ap_mac\n" - sub module: MAC Address - summary: set mac, query mac - test environment: SSC_T2_5 - test point 1: basic function - test point 2: mac address function test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: WIFI_ADDR_0102 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 mac -S -o 2 -m 44:55:66:77:88:99 - - - R SSC1 C +MAC:AP,OK - - - SSC SSC1 ap -S -s -p -t - - - '' - - - 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 - - - R SSC1 C +MAC:AP,OK - - - SSC SSC2 mac -Q -o 1 - - - R SSC2 A :\+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 -p - - - 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 - - - R SSC2 C +MAC:STA,OK - execution time: 0.0 - expected result: |- - 1.OK - 2.ok - 3.ok - 4.ok - 5.ok - 6.ok - 7.ok - 8.ok - 9.ok - initial condition: T2_1 - level: Integration - module: WIFI MAC - steps: "1.target1 设置sta mode下的mac 44:55:66:77:88:99\n2.target1下设置ssid 和pwd 加密方式\n3.target2 - 查询mac为44:55:66:77:88:99的ssid\n4.target1 设置sta mode下的mac target_ap_mac\n5.target2 - 查询sta mode 下的mac 为target2_mac_tmp\n6.target2 设置sta mode 下的mac 为22:33:44:55:66:77\n7.target2 - jap target1\n8.target1 查询连接到的sta \n9.target2 设置sta mode 下的mac 为 target2_mac\n" - sub module: MAC Address - summary: set mac and do scan/JAP/SAP - test environment: SSC_T2_5 - test point 1: basic function - test point 2: mac address function test - version: v1 (2016-8-15) diff --git a/components/idf_test/integration_test/TC_IT_WIFI_AMSDU.yml b/components/idf_test/integration_test/TC_IT_WIFI_AMSDU.yml deleted file mode 100644 index b411380be3..0000000000 --- a/components/idf_test/integration_test/TC_IT_WIFI_AMSDU.yml +++ /dev/null @@ -1,29 +0,0 @@ -test cases: -- CI ready: 'Yes' - ID: WIFI_AMSDU_5001 - SDK: ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - TCPStress/TCPAMSDUsendrecv - - - delay_config = [0, 0.01, 0.1, 0.5, 1] - - - dummy - - - send_count = 1000 - - - '' - - - test_time = 300 - - - '' - execution time: 12.0 - expected result: 1. do not disconnect - initial condition: STAM2 - level: Integration - module: WIFI MAC - steps: |- - 1. PC and SSC1 connected to 天猫魔盒,do TCP pkts send/recv for a long time. - 2.Loop executing step 1 - sub module: A-MSDU - summary: test AMSDU send/rev - test environment: SSC_T1_AMSDU - test point 1: function + stress - test point 2: AMSDU send recv - version: v2 (2016-11-15) diff --git a/components/idf_test/integration_test/TC_IT_WIFI_CONN.yml b/components/idf_test/integration_test/TC_IT_WIFI_CONN.yml deleted file mode 100644 index 6a96b3e7a9..0000000000 --- a/components/idf_test/integration_test/TC_IT_WIFI_CONN.yml +++ /dev/null @@ -1,2240 +0,0 @@ -test cases: -- CI ready: 'Yes' - ID: WIFI_CONN_0101 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -t 0 - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s - - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC1 ap -S -s -p -t 2 - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC1 ap -S -s -p -t 3 - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC1 ap -S -s -p -t 4 - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC1 ap -S -s -p -t 1 - - - R SSC1 C +SAP:ERROR - - - SSC SSC2 sta -D - - - R SSC2 C +QAP:OK - - - SSC SSC2 sta -S - - - R SSC2 RE "\+SCAN:%%s,.+,0,\d+"%%() C +SCANDONE - - - SSC SSC1 ap -S -s -p -t 6 - - - R SSC1 C +SAP:ERROR - - - SSC SSC2 sta -S - - - R SSC2 RE "\+SCAN:%%s,.+,0,\d+"%%() C +SCANDONE - execution time: 0.0 - expected result: "1.target1 set AP,open, \n2.target 2 jap succeed\n3.target1 set - AP,wpa_psk \n4.target 2 jap succeed\n5.target1 set AP, wpa2_psk \n6.target 2 jap - succeed\n7.target1 set AP,wap_wpa2_psk\n8.target 2 jap succeed\n9.target1 set - AP,加密方式为t 1\n10.target 2 上查询到target_ssid\n11.target1 set AP,加密方式为t 6\n12.target - 2 上查询到target_ssid" - initial condition: T2_1 - level: Integration - module: WIFI MAC - steps: "1.target1下设置ssid 和pwd,加密方式 open\n2.target2 jap target1\n3.target1下设置ssid - 和pwd,加密方式 wpa_psk \n4.target2 jap target1\n5.target1下设置ssid 和pwd,加密方式 wpa2_psk - \n6.target 2 jap target1\n7.target1下设置ssid 和pwd,加密方式 wap_wpa2_psk\n8.target2 jap - target1\n9.target1下设置ssid 和pwd,加密方式 wep \n10.target2上查询target_ssid\n11.target1下设置ssid - 和pwd,加密方式 t 6 错误的加密方式\n12.target2上查询 target_ssid" - sub module: WIFI Connect - summary: station SAP+JAP test, different encryption - test environment: SSC_T2_5 - test point 1: basic function - test point 2: SAP/JAP with different config - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: WIFI_CONN_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 -t 0 -n 1 - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s - - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC1 ap -S -s -t 0 -n 13 - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s - - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC1 ap -S -s -n 15 - - - R SSC1 C +SAP:ERROR - - - SSC SSC2 sta -C -s - - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC2 sta -D - - - R SSC2 C +QAP:OK - - - SSC SSC2 sta -S - - - R SSC2 RE "\+SCAN:%%s,.+,\d+,1"%%() - execution time: 0.0 - expected result: |- - 1. target1 set AP,set channel 1 - 2.target 2 jap succeed - 3.target1 set AP,set channel 10 - 4.target 2 jap succeed - 5.target1 set AP,set channel 15 - 6.target 2 上查询到target_ssid - initial condition: T2O_1 - level: Integration - module: WIFI MAC - steps: |- - 1. target1下设置ssid 和pwd 加密方式,set channel 1 - 2.target2 jap target 1 - 3.target1下设置ssid 和pwd 加密方式,set channel 10 - 4.target2 jap target 1 - 5.target1下设置ssid 和pwd 加密方式,set channel 15 - 6.target 2 上查询target_ssid - sub module: WIFI Connect - summary: station SAP+JAP test, different channel - test environment: SSC_T2_5 - test point 1: basic function - test point 2: SAP/JAP with different config - version: v1 (2016-8-15) -- CI ready: 'Yes' - 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 -p -t -h - 0 - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -S -h 0 - - - R SSC2 P - - R SSC2 C +SCANDONE - - - SSC SSC1 ap -S -s -p -t -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 C +SCANDONE - 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_1 - level: Integration - 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_5 - test point 1: basic function - test point 2: SAP/JAP with different config - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: WIFI_CONN_0104 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '1/2' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -t -m - 1 - - - R SSC1 C +SAP:OK - - - WIFI DISCONN - - - R PC_COM C +WIFIDISCONN:OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%() - - - WIFI CONN - - - - R PC_COM C +WIFICONN:ERROR - execution time: 0.0 - expected result: |- - 1. target1 set AP,set max allowed sta as 1 - 2. use PC disconnect, - 3.target 2 jap succeed - 4.PC WIFI can not CONN - initial condition: T2_1 - level: Integration - module: WIFI MAC - steps: |- - 1.target1下设置ssid 和pwd 加密方式,set max allowed sta as 1 - 2.use PC disconnect target1 - 3.target 2 jap target1 - 4.PC WIFI CONNECT target1 - sub module: WIFI Connect - summary: station SAP test, max allowed sta - test environment: SSC_T2_2 - test point 1: basic function - test point 2: SAP/JAP with different config - version: v1 (2016-8-15) -- CI ready: 'No' - ID: WIFI_CONN_0105 - SDK: |- - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -t 0 - - - R SSC1 C +SAP:OK - - - SSC SSC3 sta -D - - - R SSC3 C +QAP:OK - - - SSC SSC3 sta -C -s -p - - - R SSC3 NC +JAP:CONNECTED - - - SSC SSC2 ap -S -s -p -t - - - R SSC2 C +SAP:OK - - R SSC3 C +JAP:CONNECTED - execution time: 0.0 - expected result: |- - 1. set mode suc - 2. ok - 3. connect fail - 4. set ok and connect suc - initial condition: T3_2 - level: Integration - module: WIFI MAC - steps: |- - 1. set SSC1 STA+AP mode, SSC2 AP mode, SSC3 STA mode - 2. config SSC1 as unencrypted ap - 3. SSC3 connect SSC1 with password - 4. config the same ssid for SSC2 and SSC1,the password is the same with SSC3 input - sub module: WIFI Connect - summary: STA connect open ap with password test - test environment: SSC_T3_1 - test point 1: connect open ap with password - test point 2: WIFI Connection misc test - version: v1 (2016-10-23) -- CI ready: 'Yes' - ID: WIFI_CONN_0106 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -t - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%() - execution time: 0.0 - initial condition: T2_1 - level: Integration - module: WIFI MAC - steps: |- - 1. SSC1 set AP with 32 bytes SSID - 2. SSC2 try to join SSC1 SoftAP - expected result: |- - 1. succeeded - 2. succeeded - sub module: WIFI Connect - summary: max length ssid test - test environment: SSC_T2_5 - test point 1: basic function - test point 2: SAP/JAP with different config - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: WIFI_CONN_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 -p -t - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s -p -b - - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%() - execution time: 0.0 - initial condition: T2_1 - level: Integration - module: WIFI MAC - steps: |- - 1. SSC1 set SoftAP - 2. SSC2 connect to SoftAP with bssid - expected result: |- - 1. succeeded - 2. succeeded - sub module: WIFI Connect - summary: connect to AP with bssid - test environment: SSC_T2_5 - test point 1: basic function - test point 2: SAP/JAP with different config - version: v1 (2016-8-15) -- CI ready: 'Yes' - 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 sta -C -s -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC1 sta -Q - - - R SSC1 RE "\+JAP:CONNECTED,%%s,%%s"%%(,) - - - SSC SSC1 sta -D - - - R SSC1 C +QAP:OK - - - SSC SSC1 sta -Q - - - R SSC1 C +JAP:DISCONNECTED - execution time: 0.0 - expected result: |- - 1.target1 jion AP 成功 - 2.查询JAP的状态 - 3.target1 断开AP - 4.查询target1 JAP 是DISCONN - initial condition: STAM1 - level: Integration - module: WIFI MAC - steps: |- - 1.target1 jion AP 成功 - 2.查询JAP的状态 - 3.target1 断开AP - 4.查询target1 JAP 是DISCONN - sub module: WIFI Connect - summary: JAP query test - test environment: SSC_T1_5 - test point 1: basic function - test point 2: query JAP status - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: WIFI_CONN_0301 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -t -h - 0 -m 8 - - - R SSC1 C +SAP:OK - - - SSC SSC1 ap -Q - - - R SSC1 RE "\+APCONFIG:%%s,%%s,\d+,3,0,8,\d+"%%(,) - execution time: 0.0 - expected result: | - 1. target1 set AP - 2.target 1上查询到跟设置AP时一致 - initial condition: APM1 - level: Integration - module: WIFI MAC - steps: | - 1. target1 set AP - 2.target 1上查询到跟设置AP时一致 - sub module: WIFI Connect - summary: AP config query test - test environment: SSC_T1_4 - test point 1: basic function - test point 2: query AP config - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: WIFI_CONN_0302 - SDK: |- - 8266_NonOS - 8266_RTOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 sta -S - - - R SSC1 C +SCAN_DONE:OK - - - SSC SSC1 sta -C -s -p - - - P SSC1 C +JAP:CONNECTED - - P SSC1 C +SCANDONE - - - SSC SSC1 sta -D - - - R SSC1 C +QAP:OK - - - SSC SSC1 sta -C -s -p - - - '' - - - SSC SSC1 sta -S - - - P SSC1 C +JAP:CONNECTED - - P SSC1 C +SCANDONE - execution time: 0.0 - expected result: | - 2. scan succeed, JAP succeed - 5. JAP succeed, scan succeed - initial condition: STAM1 - level: Integration - module: WIFI MAC - steps: | - 1. target 1 STA join AP - 2. target 1 STA scan before JAP succeed - 3. target 1 quite AP - 4. target 1 scan - 5. target 1 JAP before scan succeed - sub module: WIFI Connect - summary: JAP during scan - test environment: SSC_T1_5 - test point 1: interaction - test point 2: Conn interact with other WiFi operation - version: v1 (2016-8-15) -- CI ready: 'No' - ID: WIFI_CONN_0302 - SDK: |- - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 sta -S - - - R SSC1 C +SCAN_DONE:OK - - - SSC SSC1 sta -C -s -p - - - P SSC1 C +JAP:CONNECTED - - P SSC1 C +SCANFAIL - - - SSC SSC1 sta -D - - - R SSC1 C +QAP:OK - - - SSC SSC1 sta -C -s -p - - - '' - - - SSC SSC1 sta -S - - - P SSC1 C +JAP:CONNECTED - - P SSC1 C +SCAN:ERROR - execution time: 0.0 - expected result: | - 2. scan failed, JAP succeed - 5. JAP succeed, scan failed - initial condition: STAM1 - level: Integration - module: WIFI MAC - steps: | - 1. target 1 STA join AP - 2. target 1 STA scan before JAP succeed - 3. target 1 quite AP - 4. target 1 scan - 5. target 1 JAP before scan succeed - sub module: WIFI Connect - summary: JAP during scan - test environment: SSC_T1_5 - test point 1: interaction - test point 2: Conn interact with other WiFi operation - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: WIFI_CONN_0501 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC2 sta -R -r 1 - - - R SSC2 C +RECONN:OK - - - SSC SSC1 ap -S -s -p -t - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%() - - - 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 - execution time: 0.0 - expected result: |- - 1.设置reconn,开启(此功能不需要重启系统) - 2.target1 set AP - 3.target2 JAP target1 成功 - 4.target2 断开target1 连接 - 5.等待10s,target2 自动重连target1 - 6.成功 - 7.查询reconn状态,关闭 - 8.修改mode 成功 - 9.等待15s,target2 不会自动重连target1 - initial condition: T2_1 - level: Integration - 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,关闭\n7.查询reconn状态,关闭\n8.target1 - 修改mode 为sta mode\n9.等待15s,target1 修改mode 为softAP mode" - sub module: WIFI Connect - summary: reconnect policy test - test environment: SSC_T2_5 - test point 1: basic function - test point 2: reconnect policy test - version: v1 (2016-8-15) -- CI ready: 'Yes' - 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 ap -S -s -p -t - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s -p - - - 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 - execution time: 0.0 - expected result: |- - 1.target1 set AP - 2.target2 jap target 1 - 3.设置reconn,开启(此功能不需要重启系统) - 4.target2 断开target1 连接 - 5.等待10s,target2 自动重连target1 - 6.target2 断开target1 连接 - initial condition: T2_1 - level: Integration - module: WIFI MAC - steps: |- - 1.target1下设置ssid 和pwd 加密方式 - 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_5 - test point 1: abnormal/special use - test point 2: reconnect policy test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: WIFI_CONN_0503 - SDK: |- - 8266_NonOS - 8266_RTOS - 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 -p - - - 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 -p - - - 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 - execution time: 0.0 - expected result: |- - 1. succeed - 2. not reconnect when connect failed, status when recv disconnect event is correct - 3. not reconnect when connect failed, status when recv disconnect event is correct - 4. succeed - initial condition: STAM1 - level: Integration - module: WIFI MAC - steps: | - 1. set sta reconnect policy as not reconnect - 2. sta 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: reconnect policy interact with failed STA connect/reconnect - test environment: SSC_T1_5 - test point 1: basic function - test point 2: reconnect policy test - 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 -p -t - - - R SSC1 C +SAP:OK - - - WIFI CONN - - - - R PC_COM C +WIFICONN:OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 C +JAP:CONNECTED - - - SSC SSC1 ap -L - - - 'R SSC1 C +LSTA:' - - 'R SSC1 C +LSTA:' - - R SSC1 C +LSTADONE - 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 - level: Integration - 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_2 - test point 1: basic function - test point 2: list SoftAP connected station - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: WIFI_CONN_0701 - SDK: |- - 8266_NonOS - 8266_RTOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 sta -D - - - R SSC1 C QAP - - - SSC SSC1 sta -Q - - - R SSC1 C +STA_STATUS:0 - - - SSC SSC1 sta -C -s -p - - - R SSC1 C +JAP:OK - - - SSC SSC1 sta -Q - - - R SSC1 C +STA_STATUS:1 - - R SSC1 C +JAP:CONNECTED - - - SSC SSC1 sta -Q - - - R SSC1 C +STA_STATUS:5 - - - APC OFF - - - P PC_COM L OK - - P SSC1 C bcn_timout - - - SSC SSC1 sta -Q - - - R SSC1 C +STA_STATUS:4 - - - APC ON - - - P PC_COM L OK - execution time: 0.0 - expected result: |- - 1. idle state - 2. connecting state - 3. got IP state - 4. connect fail state - initial condition: STAM1 - level: Integration - module: WIFI MAC - steps: |- - 1. sta disconnected, query status - 2. sta connect to AP, query status - 3. got IP, query status - 4. AP power off, query status when beacon timeout - sub module: WIFI Connect - summary: check wifi status idle, connecting, got ip and connect fail - test environment: SSC_T1_APC - test point 1: basic function - test point 2: wifi connect status check - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: WIFI_CONN_0702 - SDK: |- - 8266_NonOS - 8266_RTOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 sta -C -s -p - - - R SSC1 C +JAP:OK - - R SSC1 C +JAP:DISCONNECTED,3 - - - SSC SSC1 sta -C -s -p - - - R SSC1 C +JAP:OK - - R SSC1 C +JAP:DISCONNECTED,2 - execution time: 0.0 - expected result: |- - 1. get status AP not exist in disconnect event - 2. get status wrong password in disconnect event - initial condition: STAM1 - level: Integration - module: WIFI MAC - steps: | - 1. sta connect to ap not exist - 2. sta connect to ap with wrong password - sub module: WIFI Connect - summary: check wifi status wrong password, no ap found - test environment: SSC_T1_5 - test point 1: basic function - test point 2: wifi connect status check - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: WIFI_CONN_0703 - SDK: |- - 8266_NonOS - 8266_RTOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 sta -C -s -p bacfd - - - R SSC1 C +JAP:DISCONNECTED,4,2 - execution time: 0.0 - expected result: 1. connect status connect fail in disconnect evnet - initial condition: STAM1 - level: Integration - 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 point 1: basic function - test point 2: wifi connect status check - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: WIFI_CONN_0801 - SDK: |- - 8266_NonOS - 8266_RTOS - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -t 0 - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 C +JAP:CONNECTED - - - SSC SSC1 ap -S -s -p -t 2 - - - P SSC1 C +SAP:OK - - P SSC2 C +JAP:AUTHCHANGED,2,0 - - - SSC SSC1 ap -S -s -p -t 3 - - - P SSC1 C +SAP:OK - - P SSC2 C +JAP:AUTHCHANGED,3,2 - - - SSC SSC1 ap -S -s -p -t 4 - - - P SSC1 C +SAP:OK - - P SSC2 C +JAP:AUTHCHANGED,4,3 - - - SSC SSC1 ap -S -s -p -t 0 - - - P SSC1 C +SAP:OK - - P SSC2 C +JAP:AUTHCHANGED,0,4 - 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 - 6. auth change event old mode 4 new mode 0 - initial condition: T2_1 - level: Integration - module: WIFI MAC - steps: |- - 1. set target1 softap auth mode 0 - 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_5 - test point 1: basic function - test point 2: wifi auth changed event test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: WIFI_CONN_0901 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 sta -C -s -p - - - R SSC1 C +JAP:CONNECTED - - - SSC SSC1 sta -D - - - R SSC1 RE JAP:DISCONNECTED,\d+,8 - - - SSC SSC1 sta -C -s -p - - - R SSC1 RE JAP:DISCONNECTED,\d+,201 - execution time: 0.0 - expected result: |- - 1. disconnect event reason REASON_ASSOC_LEAVE - 2. disconnect event reason REASON_NO_AP_FOUND - initial condition: STAM1 - level: Integration - module: WIFI MAC - steps: |- - 1. sta connect to AP, and disconnect - 2. connect to AP not exist - sub module: WIFI Connect - summary: test wifi disconnect reason REASON_ASSOC_LEAVE, REASON_NO_AP_FOUND - test environment: SSC_T1_5 - test point 1: basic function - test point 2: wifi disconnect reason test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: WIFI_CONN_0902 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - APC OFF - - - P PC_COM L OK - - R SSC1 RE JAP:DISCONNECTED,\d+,200 - - - APC ON - - - P PC_COM L OK - execution time: 0.0 - expected result: |- - 1. succeed - 2. disconnect event REASON_BEACON_TIMEOUT - initial condition: STAM2 - level: Integration - module: WIFI MAC - steps: |- - 1. connect to AP - 2. AP power off - sub module: WIFI Connect - summary: test wifi disconnect reason REASON_BEACON_TIMEOUT - test environment: SSC_T1_APC - test point 1: basic function - test point 2: wifi disconnect reason test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: WIFI_CONN_0903 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '1/2' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 sta -C -s -p bacfd - - - R SSC1 RE JAP:DISCONNECTED,\d+,2 - execution time: 0.0 - expected result: 1. disconect event reason REASON_AUTH_EXPIRE - initial condition: STAM1 - level: Integration - 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 point 1: basic function - test point 2: wifi disconnect reason test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: WIFI_CONN_0904 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '2/3' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -t 3 -m 1 - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s -p 1234567890 - - - R SSC2 RE JAP:DISCONNECTED,\d+,15 - - - SSC SSC2 sta -D - - - R SSC2 C +QAP:OK - - - WIFI CONN - - - R PC_COM NC ERROR C +WIFICONN:OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 RE JAP:DISCONNECTED,\d+,5 - execution time: 0.0 - expected result: |- - 1. succeed - 2. disconnect event REASON_4WAY_HANDSHAKE_TIMEOUT - 3. succeed - 4. succeed - 5. disconnect event REASON_ASSOC_TOOMANY - initial condition: T2_1 - level: Integration - 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 - sub module: WIFI Connect - summary: test wifi disconnect reason REASON_ASSOC_TOOMANY, REASON_4WAY_HANDSHAKE_TIMEOUT - test environment: SSC_T2_2 - test point 1: basic function - test point 2: wifi disconnect reason test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: WIFI_CONN_1001 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'No' - category: Function - cmd set: '' - execution time: 1.0 - expected result: 4.平均beacon delay时间小于10ms - initial condition: None - level: Integration - module: WIFI MAC - steps: |- - 1.target设置成AP 模式 - 2.PC 端启动wireshark 抓包工具抓取target beacon包 - 3.停止抓包将抓取的beacon 包以txt格式导出 - 4.利用脚本计算beacon delay时间 - sub module: WIFI Connect - summary: beacon delay - test environment: SSC_T1_4 - test point 1: basic function - test point 2: beacon delay - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: WIFI_CONN_1201 - SDK: ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 sta -C -s -p - - - R SSC1 C +JAP:ERROR - execution time: 0 - expected result: | - 1. ERROR - initial condition: WIFISTO - level: Integration - module: WIFI MAC - steps: | - 1. sta connect - sub module: WIFI Connect - summary: sta connect after WiFi stop - test environment: SSC_T1_4 - test point 1: basic function - test point 2: use WiFi API after WiFi stop - version: v1 (2016-12-31) -- CI ready: 'Yes' - ID: WIFI_CONN_1203 - SDK: ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 sta -D - - - R SSC1 C +QAP:ERROR - execution time: 0 - expected result: | - 1. ERROR - initial condition: WIFISTO - level: Integration - module: WIFI MAC - steps: | - 1. sta disconnect - sub module: WIFI Connect - summary: station disconnect after WiFi stop - test environment: SSC_T1_4 - test point 1: basic function - test point 2: use WiFi API after WiFi stop - version: v1 (2016-12-31) -- CI ready: 'Yes' - ID: WIFI_CONN_1204 - SDK: ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 sta -Q - - - R SSC1 C +JAP:DISCONNECTED - execution time: 0 - expected result: | - 1. DISCONNECTED - initial condition: WIFISTO - level: Integration - module: WIFI MAC - steps: | - 1. query sta state - sub module: WIFI Connect - summary: query sta state after WiFi stop - test environment: SSC_T1_4 - test point 1: basic function - test point 2: use WiFi API after WiFi stop - version: v1 (2016-12-31) -- CI ready: 'Yes' - ID: WIFI_CONN_1205 - SDK: ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 sta -S -s - - - R SSC1 C +SCAN:ERROR,1 - execution time: 0 - expected result: | - 1. ERROR - initial condition: WIFISTO - level: Integration - module: WIFI MAC - steps: | - 1. sta scan ssid and pwd - sub module: WIFI Connect - summary: sta scan after WiFi stop - test environment: SSC_T1_4 - test point 1: basic function - test point 2: use WiFi API after WiFi stop - version: v1 (2016-12-31) -- CI ready: 'Yes' - ID: WIFI_CONN_1206 - SDK: ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 sta -C -s -p - - - R SSC1 C +JAP:ERROR - execution time: 0 - expected result: | - 1. ERROR - initial condition: WIFISTO - level: Integration - module: WIFI MAC - steps: | - 1. ap connect ssid and pwd - sub module: WIFI Connect - summary: ap connect after WiFi stop - test environment: SSC_T1_4 - test point 1: basic function - test point 2: use WiFi API after WiFi stop - version: v1 (2016-12-31) -- CI ready: 'Yes' - ID: WIFI_CONN_1207 - SDK: ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -D - - - R SSC1 C +QAP:ERROR - execution time: 0 - expected result: | - 1. ERROR - initial condition: WIFISTO - level: Integration - module: WIFI MAC - steps: | - 1. ap disconnect - sub module: WIFI Connect - summary: ap disconnect after WiFi stop - test environment: SSC_T1_4 - test point 1: basic function - test point 2: use WiFi API after WiFi stop - version: v1 (2016-12-31) -- CI ready: 'Yes' - ID: WIFI_CONN_1208 - SDK: ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -L - - - R SSC1 C +LSTADONE - execution time: 0 - expected result: | - 1. +LSTADONE - initial condition: WIFISTO - level: Integration - module: WIFI MAC - steps: | - 1. ap list station - sub module: WIFI Connect - summary: ap list station after WiFi stop - test environment: SSC_T1_4 - test point 1: basic function - test point 2: use WiFi API after WiFi stop - version: v1 (2016-12-31) -- CI ready: 'Yes' - ID: WIFI_CONN_1209 - SDK: ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -Q - - - 'R SSC1 C +APCONFIG:' - execution time: 0 - expected result: | - 1. +APCONFIG:ssid and pwd - initial condition: WIFISTO - level: Integration - module: WIFI MAC - steps: | - 1. query ap config - sub module: WIFI Connect - summary: query ap config after WiFi stop - test environment: SSC_T1_4 - test point 1: basic function - test point 2: use WiFi API after WiFi stop - version: v1 (2016-12-31) -- CI ready: 'Yes' - ID: WIFI_CONN_1210 - SDK: ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 op -S -o 2 - - - R SSC1 C +MODE:OK - - - SSC SSC1 ap -S -s -p - - - R SSC1 C +SAP:OK - - - SSC SSC1 op -S -o 1 - - - R SSC1 C +MODE:OK - - - SSC SSC1 ap -S -s -p - - - R SSC1 C +SAP:ERROR - execution time: 0 - expected result: | - 1. OK - 2. OK - 3. OK - 4. ERROR - initial condition: WIFISTO - level: Integration - module: WIFI MAC - steps: | - 1. set ap mode - 2. ap set ssid and pwd - 3. set station mode - 4. ap set ssid and pwd - sub module: WIFI Connect - summary: ap set ssid and pwd after WiFi stop - test environment: SSC_T1_4 - test point 1: basic function - test point 2: use WiFi API after WiFi stop - version: v1 (2016-12-31) -- CI ready: 'Yes' - ID: WIFI_CONN_1211 - SDK: ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 mac -Q - - - 'R SSC1 C MAC:' - execution time: 0 - expected result: | - 1. MAC: - initial condition: WIFISTO - level: Integration - module: WIFI MAC - steps: | - 1. query mac - sub module: WIFI Connect - summary: query mac after WiFi stop - test environment: SSC_T1_4 - test point 1: basic function - test point 2: use WiFi API after WiFi stop - version: v1 (2016-12-31) -- CI ready: 'Yes' - ID: WIFI_CONN_1212 - SDK: ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 op -S -o 2 - - - R SSC1 C +MODE:OK - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,OK - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,ERROR - execution time: 0 - expected result: | - 1. OK - 2. OK - 3. ERROR - initial condition: WIFISTO - level: Integration - module: WIFI MAC - steps: | - 1. set ap mode - 2. set ap mac - 3. set station mac - sub module: WIFI Connect - summary: enable AP mode after WiFi stop and set AP mac - test environment: SSC_T1_4 - test point 1: basic function - test point 2: use WiFi API after WiFi stop - version: v1 (2016-12-31) -- CI ready: 'Yes' - ID: WIFI_CONN_1213 - SDK: ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 op -S -o 1 - - - R SSC1 C +MODE:OK - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC1 mac -Q -o 1 - - - 'R SSC1 C +STAMAC:' - execution time: 0 - expected result: | - 1. OK - 2. OK - 3. get station mac - initial condition: WIFISTO - level: Integration - module: WIFI MAC - steps: | - 1. set station mode - 2. set station mac - 3. query station mac - sub module: WIFI Connect - summary: enable STA mode after WiFi stop and set STA mac - test environment: SSC_T1_4 - test point 1: basic function - test point 2: use WiFi API after WiFi stop - version: v1 (2016-12-31) -- CI ready: 'Yes' - ID: WIFI_CONN_1214 - SDK: ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 op -S -o 1 - - - R SSC1 C +MODE:OK - - - SSC SSC1 mac -S -o 1 -m - - - R SSC1 C +MAC:STA,OK - - - SSC SSC1 mac -S -o 2 -m - - - R SSC1 C +MAC:AP,ERROR - execution time: 0 - expected result: | - 1. OK - 2. OK - 3. ERROR - initial condition: WIFISTO - level: Integration - module: WIFI MAC - steps: | - 1. set station mode - 2. set station mac - 3. set ap mac - sub module: WIFI Connect - summary: enable STA mode after WiFi stop and set AP mac - test environment: SSC_T1_4 - test point 1: basic function - test point 2: use WiFi API after WiFi stop - version: v1 (2016-12-31) -- CI ready: 'Yes' - ID: WIFI_CONN_1215 - SDK: ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 channel -S -c 13 - - - R SSC1 C +CHANNEL:ERROR - execution time: 0 - expected result: | - 1. +CHANNEL:ERROR - initial condition: WIFISTO - level: Integration - module: WIFI MAC - steps: | - 1. set channel - sub module: WIFI Connect - summary: set channel after WiFi stop - test environment: SSC_T1_4 - test point 1: basic function - test point 2: use WiFi API after WiFi stop - version: v1 (2016-12-31) -- CI ready: 'Yes' - ID: WIFI_CONN_1216 - SDK: ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 channel -S -c 13 - - - R SSC1 C +CHANNEL:ERROR - - - SSC SSC1 channel -G - - - R SSC1 C +CHANNEL - execution time: 0 - expected result: | - 1. +CHANNEL:ERROR - 2. +CHANNEL - initial condition: WIFISTO - level: Integration - module: WIFI MAC - steps: | - 1. set channel - 2. query channel - sub module: WIFI Connect - summary: query channel after WiFi stop - test environment: SSC_T1_4 - test point 1: basic function - test point 2: use WiFi API after WiFi stop - version: v1 (2016-12-31) -- CI ready: 'Yes' - ID: WIFI_CONN_1217 - SDK: ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 op -Q - - - R SSC1 C +MODE:OK - execution time: 0 - expected result: | - 1. +CURMODE:2 - initial condition: WIFISTO - level: Integration - module: WIFI MAC - steps: | - 1. query current mode - sub module: WIFI Connect - summary: be AP mode after WiFi stop - test environment: SSC_T1_4 - test point 1: basic function - test point 2: use WiFi API after WiFi stop - version: v1 (2016-12-31) -- CI ready: 'Yes' - ID: WIFI_CONN_1218 - SDK: ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 op -S -o 1 - - - R SSC1 C +MODE:OK - execution time: 0 - expected result: | - 1. OK - initial condition: WIFISTO - level: Integration - module: WIFI MAC - steps: | - 1. set STA mode - sub module: WIFI Connect - summary: set STA mode after WiFi stop - test environment: SSC_T1_4 - test point 1: basic function - test point 2: use WiFi API after WiFi stop - version: v1 (2016-12-31) -- CI ready: 'Yes' - ID: WIFI_CONN_1219 - SDK: ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 op -S -o 2 - - - R SSC1 C +MODE:OK - execution time: 0 - expected result: | - 1. OK - initial condition: WIFISTO - level: Integration - module: WIFI MAC - steps: | - 1. set AP mode - sub module: WIFI Connect - summary: set ap mode after WiFi stop - test environment: SSC_T1_4 - test point 1: basic function - test point 2: use WiFi API after WiFi stop - version: v1 (2016-12-31) -- CI ready: 'Yes' - ID: WIFI_CONN_1301 - SDK: ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 op -W -a init - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a start - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a deinit - - - R SSC1 C +MODE:ERROR - - - SSC SSC1 op -W -a stop - - - R SSC1 C +MODE:OK - execution time: 0 - expected result: | - 1. OK - 2. OK - 3. ERROR - 4. OK - initial condition: WIFISTO - level: Integration - module: WIFI MAC - steps: | - 1. wifi init - 2. wifi start - 3. wifi deinit - 4. wifi stop - sub module: WIFI Connect - summary: incorrect deinit stop flow - test environment: SSC_T1_4 - test point 1: basic function - test point 2: WiFi deinit and stop - version: v1 (2016-12-31) -- CI ready: 'Yes' - ID: WIFI_CONN_1302 - SDK: ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 op -W -a init - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a deinit - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a start - - - R SSC1 C +MODE:ERROR - - - SSC SSC1 op -W -a stop - - - R SSC1 C +MODE:ERROR - execution time: 0 - expected result: | - 1. OK - 2. OK - 3. ERROR - 4. ERROR - initial condition: WIFISTO - level: Integration - module: WIFI MAC - steps: | - 1. wifi init - 2. wifi deinit - 3. wifi start - 4. wifi stop - sub module: WIFI Connect - summary: incorrect deinit start flow - test environment: SSC_T1_4 - test point 1: basic function - test point 2: WiFi deinit and start - version: v1 (2016-12-31) -- CI ready: 'Yes' - ID: WIFI_CONN_1303 - SDK: ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 op -W -a init - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a init - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a start - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a deinit - - - R SSC1 C +MODE:ERROR - - - SSC SSC1 op -W -a deinit - - - R SSC1 C +MODE:ERROR - - - SSC SSC1 op -W -a stop - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a deinit - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a start - - - R SSC1 C +MODE:ERROR - execution time: 0 - expected result: | - 1. OK - 2. OK - 3. OK - 4. ERROR - 5. ERROR - 6. OK - 7. OK - 8. ERROR - initial condition: WIFISTO - level: Integration - module: WIFI MAC - steps: | - 1. wifi init - 2. wifi init - 3. wifi start - 4. wifi deinit - 5. wifi deinit - 6. wifi stop - 7. wifi deinit - 8. wifi start - sub module: WIFI Connect - summary: incorrect init start flow - test environment: SSC_T1_4 - test point 1: basic function - test point 2: WiFi deinit and stop - version: v1 (2016-12-31) -- CI ready: 'Yes' - ID: WIFI_CONN_1401 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -t 3 - - - P SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s -p - - - R SSC2 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC2 sta -C -s -p - - [] - - - DELAY 10 - - - P PC_COM C +DELAYDONE - - P SSC2 NC +JAP:CONNECTED - - - SSC SSC1 ap -S -s -p -t 3 - - - P SSC1 C +SAP:OK - - P SSC2 C +JAP:CONNECTED - execution time: 0 - steps: | - 1. STA connect to SoftAP - 2. STA connect to not existed AP - 3. set SoftAP to config which STA connecting - expected result: | - 1. succeeded - 2. connect failed - 3. STA can connect to SoftAP - initial condition: T2_1 - level: Integration - module: WIFI MAC - sub module: WIFI Connect - summary: connect to AP not exist and reconnect to the same AP when it exists - test environment: SSC_T2_5 - test point 1: abnormal/special use - test point 2: abnormal connect cases - version: v1 (2018-12-25) -- CI ready: 'Yes' - ID: WIFI_CONN_1402 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - STRING %%sAAA - - - R PC_COM C OK - - - STRING %%sBBB - - - R PC_COM C OK - - - SSC SSC1 ap -S -s -p -t 3 -h 1 - - - P SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s -p - - [] - - - DELAY 15 - - - P PC_COM C +DELAYDONE - - P SSC2 NC +JAP:CONNECTED - execution time: 0 - steps: | - 1. create 2 ssid with same length - 2. SoftAP set with ssid A and ssid hidden enabled - 3. STA connect to ssid B - expected result: | - 1. succeeded - 2. succeeded - 3. STA can't connect to SoftAP - initial condition: T2_1 - level: Integration - module: WIFI MAC - sub module: WIFI Connect - summary: try to connect to hidden SSID AP with incorrect SSID - test environment: SSC_T2_5 - test point 1: abnormal/special use - test point 2: abnormal connect cases - version: v1 (2018-12-25) -- CI ready: 'No' - ID: WIFI_CONN_5001 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - WiFiStress/WifiJAP - - - target_ap_num = 10 - - - '["TENDA123456", 11, "1234567890", 10, 10, 3, 2]' - - - test_count = 500 - - - '["not_pig_head", 12, "", 0, 10, 0, 3]' - - - join_test_method = ["Normal", "OFF_ON"] - - - '["MW300R_T", 8, "12345", 5, 9, 0, 5]' - - - join_delay = [[0, 4], [0, 5]] - - - '["AC750", 5, "1234567890", 10, 1, 0, 8]' - - - step_config = [0x0B, 0x07, 0x02] - - - '["AUF", 3, "1234567890", 10, 9, 0, 1]' - - - reconnect_test_method = ["OFF_ON"] - - - '' - - - reconnect_delay = [[0, 10], [2, 10]] - - - '' - execution time: 5.0 - expected result: |- - 1. SAP succeed - 2. JAP succeed - 3. reconnect succeed - initial condition: None - level: Integration - module: WIFI MAC - steps: |- - 1. random generate test parameter (ssid, password, auth type, ssid hidden/broadcast), SAP and JAP - 2. power off AP during JAP, power on AP - 3. power off AP after JAP succeed, power on AP - Loop step 1-3 - sub module: WIFI Connect - summary: Wi-Fi connect to AP stress test - test environment: SSC_T2_JAP - test point 1: function + performance + stress - test point 2: JAP stress test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: WIFI_CONN_5101 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - WiFiStress/SoftAPNSTA - - - sta_num = 4 - - - dummy - - - max_sta = 4 - - - '' - - - test_time = 300 - - - '' - - - delay1 = [0, 1] - - - '' - - - delay2 = [0, 1] - - - '' - - - change_mac = True - - - '' - - - channel = 1 - - - '' - execution time: 5.0 - expected result: |- - 1. succeed - 2. JAP succeed - initial condition: None - level: Integration - module: WIFI MAC - steps: |- - 1. 1 target set to softap mode and rest set to sta mode - 2. all sta random join and disconnect from softap - Loop step 2 - sub module: WIFI Connect - summary: max sta connect to SotfAP and disconnect - test environment: SSC_T5_1 - test point 1: stress - test point 2: SoftAP WIFI connect/disconnect stress test - version: v2 (2016-11-15) -- CI ready: 'No' - ID: WIFI_CONN_5102 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - WiFiStress/WifiJAPAtt - - - test_count = 5 - - - dummy - execution time: 5.0 - expected result: |- - 2. Scan succeed with RSSI > -90 - 3. Join succeed with RSSI > -90 - initial condition: STAM1 - level: Integration - module: WIFI MAC - steps: |- - 1. config attenuator (0-59) - 2. scan AP to get AP RSSI - 3. try to join AP - Loop step 1 - 3 - sub module: WIFI Connect - summary: connect AP with rssi from -50 to -100 - test environment: SSC_T1_ShieldBox - test point 1: stress - test point 2: JAP with different RSSI - version: v1 (2016-8-15) -- CI ready: 'No' - ID: WIFI_CONN_5103 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - WiFiStress/WifiJAPAtt - - - test_count = 5 - - - dummy - - - att_test_list = range(30, 50) - - - '' - execution time: 5.0 - expected result: |- - 2. Scan succeed with RSSI > -90 - 3. Join succeed with RSSI > -90 - initial condition: STAM1 - level: Integration - module: WIFI MAC - steps: |- - 1. config attenuator (30-59) - 2. scan AP to get AP RSSI - 3. try to join AP - Loop step 1 - 3 - sub module: WIFI Connect - summary: connect AP with rssi from -80 to -100 - test environment: SSC_T1_ShieldBox - test point 1: stress - test point 2: JAP with different RSSI - version: v1 (2016-8-15) -- CI ready: 'No' - ID: WIFI_CONN_5104 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - WiFiStress/WifiJAPScanSpecified - - - target_ap_num = 6 - - [] - - - test_count = 50 - - [] - - - test_times = 2 - - [] - execution time: 5.0 - expected result: |- - 1. JAP succeed - 2. reconnect succeed and connection time less than 1.5s - 3. connect succeed, and connection time less than 1.5s - initial condition: None - level: Integration - module: WIFI MAC - steps: 1. SSC target connect the first five AP, first 5 AP which will be stored - to connected AP cached of DUT. 2. SSC target reconnect ap. 3. SSC target connect - the last AP, last AP will not be stored in AP cache and DUT do not know the channel - of this AP. Loop step 1-3 - sub module: WIFI Connect - summary: 1 STA 6 AP, count connect AP requires time by scanning the specified channel. - test environment: SSC_T1_SCANSPECIFIED - test point 1: function + performance + stress - test point 2: JAP stress test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: WIFI_CONN_5105 - SDK: ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - WiFiStress/WifiJAPCSA - - - test_count = 2 - - - '' - - - test_times = 10 - - - '' - execution time: 5.0 - expected result: 3. connect success 4. PC stay connected - initial condition: None - level: Integration - module: WIFI MAC - steps: |- - 1. 1 SSC target connect PC by Uart. - 2. SSC target set as softap+sta mode. - 3. PC wireless NIC connect softap. - 4. sta connect AP ,softap and AP should in different channel - sub module: WIFI Connect - summary: channel switch announcements verify - test environment: SSC_T1_7 - test point 1: function + stress - test point 2: channel switch announcements - version: v2 (2016-11-15) -- CI ready: 'No' - ID: WIFI_CONN_5106 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stable - cmd set: - - WiFiStress/WifiConnStable - - - check_count = 1440 - - - dummy - - - check_time = 60 - - - '' - - - sleep_mode = "NoneSleep" - - - '' - execution time: 24.0 - expected result: 3. no disconnected - initial condition: None - level: Integration - module: WIFI MAC - steps: |- - 1. set SSC as sta mode and disable sleep function - 2. 1 SSC connect with AP - 3. check connection status within 24 hours - sub module: WIFI Connect - summary: WiFi STA connection stable test - test environment: SSC_T1_5 - test point 1: stress + function - test point 2: connection keep alive stress test - version: v2 (2016-10-23) -- CI ready: 'No' - ID: WIFI_CONN_5107 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stable - cmd set: - - WiFiStress/WifiSendpktSwitchChan - - - test_count = 1000 - - - dummy - - - test_time = 20 - - - '' - - - send_len = 1000 - - - '' - - - send_count = 1000 - - - '' - - - send_delay = 20 - - - '' - execution time: 24.0 - expected result: 4. connect suc - initial condition: None - level: Integration - module: WIFI MAC - steps: |- - 1. set SSC as sta mode send UDP broadcast pkt - 2. switch SSC send pkt channel - 3. SSC stop send pkt - 4. SSC connect ap - sub module: WIFI Connect - summary: Switch channel when sending WiFi packets - test environment: SSC_T1_5 - test point 1: stress - test point 2: connect ap - version: v2 (2016-10-23) -- CI ready: 'No' - ID: WIFI_CONN_5201 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: IOT - cmd set: - - '' - - - SSC SSC1 sta -C -s -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - execution time: TBD - expected result: |- - 1. 配置成功,如有需要就重启路由 - 2. target 连接AP成功 - initial condition: STAM1 - level: Integration - module: WIFI MAC - steps: |- - 1. 将每个需要测试的AP手动配置为该AP所有可能的模式(bgn),带宽,加密模式的组合 - 2. 控制 target 连接 AP - sub module: WIFI Connect - summary: basic join ap - test environment: SSC_T1_IOT1 - test point 1: interoperability - test point 2: JAP inter operablity test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: WIFI_CONN_5202 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: IOT - cmd set: - - '' - - - SSC SSC1 sta -C -s -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - - DELAY 60 - - - P PC_COM C +DELAYDONE - - P SSC1 NC +JAP:DISCONNECTED - execution time: TBD - expected result: |- - 1. 配置成功,如有需要就重启路由 - 2. target 连接AP成功 - 3. target 没有从AP断开 - initial condition: STAM1 - level: Integration - module: WIFI MAC - steps: |- - 1. 将每个需要测试的AP手动配置为该AP所有可能的模式(bgn),带宽,加密模式的组合 - 2. 控制 target 连接 AP - 3. 等待60s - sub module: WIFI Connect - summary: join ap not disconnected in 60 seconds - test environment: SSC_T1_IOT1 - test point 1: interoperability - test point 2: JAP inter operablity test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: WIFI_CONN_5203 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'No' - category: IOT - cmd set: '' - execution time: TBD - expected result: |- - 1. 配置成功,如有需要就重启路由 - 2. 开始连接AP - 3. target 最终连接AP成功 - 4. target 从 AP 断开 - 5. target 重连AP成功 - initial condition: STAM1 - level: Integration - module: WIFI MAC - steps: |- - 1. 将每个需要测试的AP手动配置为该AP所有可能的模式(bgn),带宽,加密模式的组合 - 2. 控制 target 连接 AP - 3. 快速在连接AP过程中对AP断电上电 - 4. AP断电后再上电 - 5. 等待 target 重连 AP - sub module: WIFI Connect - summary: power off and power on AP during JAP, reconnect after AP power off and - power on - test environment: SSC_T1_IOT1 - test point 1: interoperability - test point 2: JAP inter operablity test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: WIFI_CONN_5301 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'No' - category: IOT - cmd set: '' - execution time: TBD - expected result: 3. get test result form smart phone APK - initial condition: None - level: Integration - module: WIFI MAC - steps: |- - 1. setup a few SoftAP with different configs (special character in ssid/passwd, differnt auth type) - 2. install and config APK on all smart phones - 3. use APK to test WiFi connect - sub module: WIFI Connect - summary: connect to softap IOT test - test environment: SSC_T5_IOT1 - test point 1: interoperability - test point 2: Connect to SoftAP inter operablity test - version: v1 (2016-10-18) -- CI ready: 'No' - ID: WIFI_CONN_9901 - SDK: All - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Performance - cmd set: - - WiFiStress/WifiJAPCompatibility - - - test_count = 10 - - - '' - - - retry_count = 1 - - - '' - execution time: 1 - expected result: 1. set succeed 2. disconnect succeed 3. connect succeed - initial condition: STAM1 - level: Integration - module: WIFI MAC - steps: 1. set sta mode 2. disconnect sta 3. sta connect ap - sub module: WIFI Connect - summary: STA connect to AP compatibility test - test environment: SSC_T1_IOT1 - test point 1: Compatibility Test test point - test point 2: WIFI compatibility test - version: v1 (2016-10-23) -- CI ready: 'No' - ID: WIFI_CONN_0704 - SDK: All - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 sta -C -s -p - - - R SSC1 C +JAP:OK - - R SSC1 NC +JAPAUTHCHANGED C +JAP:CONNECTED - execution time: 0 - expected result: 1. sta connect ap suc and no +JAPAUTHCHANGED found - initial condition: STAM1 - level: Integration - module: WIFI MAC - steps: 1. sta JAP - sub module: WIFI Connect - summary: sta connect wep encrypt ap - test environment: SSC_T1_WEP - test point 1: basic function - test point 2: ap connect test - version: v1 (2016-10-23) -- CI ready: 'No' - ID: WIFI_CONN_9902 - SDK: All - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Performance - cmd set: - - WiFiStress/WifiStaConnectionHolder - - - test_count = 10 - - - '' - - - retry_count = 1 - - - '' - execution time: 1 - expected result: |- - 1. set SSC1 AP+STA mode, SSC2 AP mode, SSC3 STA mode - 2. SSC3 connect SSC1 - 3. SSC2 random set ap channel - 4. SSC1 connect SSC2 - initial condition: T3_2 - level: Integration - module: WIFI MAC - steps: |- - 1. set mode suc - 2. connect suc - 3. set channel suc - 4. connect suc - sub module: WIFI Connect - summary: STA keep connected with AP stable test - test environment: SSC_T3_1 - test point 1: AP switch channel dut Connection holder Test test point - test point 2: WIFI Connection holder test - version: v1 (2016-10-23) -- CI ready: 'No' - ID: WIFI_CONN_0504 - SDK: All - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 sta -C -s - - - R SSC1 C +JAP:DISCONNECTED - - - SSC SSC1 sta -C -s - - - R SSC1 C +JAP:OK - - R SSC1 C +JAP:DISCONNECTED - execution time: 0.0 - expected result: |- - 1. connect fail and found disconnect envent - 2. connect fail and found disconnect envent - initial condition: STAM1 - level: Integration - module: WIFI MAC - steps: | - 1. DUT connects to an encrypted ap but not enter password - 2. DUT connects to a non-existent ap but not enter password - sub module: WIFI Connect - summary: connect to AP without password test - test environment: SSC_T1_6 - test point 1: basic function - test point 2: reconnect policy test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: WIFI_CONN_9903 - SDK: All - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Performance - cmd set: - - IOT/WifiJAPAfterReset - - test_count = 10 - - connect_timeout = 15 - execution time: 1 - steps: | - 1. set sta mode - 2. disconnect sta - 3. sta connect ap - 4. sta reboot - 5. sta reconnect to ap - expected result: | - 1. set succeed - 2. disconnect succeed - 3. connect succeed - 4. succeed - 5. reconnect succeed - initial condition: STAM1 - level: Integration - module: WIFI MAC - sub module: WIFI Connect - summary: STA reconnect to AP after reset compatibility test - test environment: SSC_T1_IOT1 - test point 1: Compatibility Test test point - test point 2: WIFI compatibility test - version: v1 (2016-10-23) diff --git a/components/idf_test/integration_test/TC_IT_WIFI_MODE.yml b/components/idf_test/integration_test/TC_IT_WIFI_MODE.yml deleted file mode 100644 index d6ff089d78..0000000000 --- a/components/idf_test/integration_test/TC_IT_WIFI_MODE.yml +++ /dev/null @@ -1,268 +0,0 @@ -test cases: -- CI ready: 'Yes' - ID: WIFI_MODE_0101 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -t - - - 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 -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC2 sta -S - - - R SSC2 NP C +SCANDONE - - - SSC SSC1 sta -D - - - R SSC1 C +QAP:OK - execution time: 0.0 - expected result: |- - 1.target1下设置ssid 和pwd 、加密方式成功 - 2.修改target 1的mode 为sta mode - 3.target1的dhcp打开 - 4.target1成功连接上AP - 5.target2上不能查询到target_ssid - 6.target1断开AP - initial condition: T2O_1 - level: Integration - 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_3 - test point 1: basic function - test point 2: wifi mode fucntion - version: v1 (2016-8-15) -- CI ready: 'No' - ID: WIFI_MODE_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 -p -t - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -S - - - R SSC2 P - - R SSC2 C +SCANDONE - - - SSC SSC1 sta -C -s -p - - - R SSC1 C +JAP:ERROR - - - SSC SSC1 sta -D - - - R SSC1 C +QAP:ERROR - execution time: 0.0 - expected result: |- - 1. target1 set AP - 2.target 2 上查询到target_ssid - 3. target1 can't join AP - 4. target1 can't QAP - initial condition: T2O_1 - level: Integration - module: WIFI MAC - steps: |- - 1.target1下设置ssid 和pwd 加密方式 - 2.target 2 上查询target_ssid - 3.target1 join AP - 4.target1 DISCONN AP - sub module: WIFI Mode - summary: mode switch test (AP mode) - test environment: SSC_T2_3 - test point 1: basic function - test point 2: wifi mode fucntion - version: v1 (2016-8-15) -- CI ready: 'No' - ID: WIFI_MODE_0103 - 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 ap -S -s -p -t - - - R SSC1 C +SAP:OK - - - SSC SSC1 dhcp -S -o 1 - - - R SSC1 C +DHCP:STA,OK - - - SSC SSC1 sta -C -s -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC2 sta -S - - - R SSC2 P - - R SSC2 C +SCANDONE - execution time: 0.0 - expected result: |- - 1.target1 change to AP mode - 2.target1 set AP - 3.target 1 的dhcp 打开 - 4.target 1 成功连接上AP - 5.target 2 上查询到target_ssid - initial condition: T2O_1 - level: Integration - 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_3 - test point 1: basic function - test point 2: wifi mode fucntion - version: v1 (2016-8-15) -- CI ready: 'No' - ID: WIFI_MODE_0104 - SDK: All - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 op -S -o 0 - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:0 - - R SSC1 C +MODE:OK - - - SSC SSC1 op -S -o 1 - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:1 - - R SSC1 C +MODE:OK - - - SSC SSC1 op -S -o 2 - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:2 - - R SSC1 C +MODE:OK - - - SSC SSC1 op -S -o 3 - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -Q - - - R SSC1 C +CURMODE:3 - - R SSC1 C +MODE:OK - execution time: 0.0 - expected result: |- - 1. set mode suc - 2. suc - 3. set mode suc - 4. suc - 5. set mode suc - 6. suc - 7. set mode suc - 8. suc - initial condition: None - level: Integration - module: WIFI MAC - steps: |- - 1. set target1 to NULL mode - 2. check target1 mode - 3. set target1 to sta mode - 4. check target1 mode - 5. set target1 to soft ap mode - 6. check target1 mode - 7. set target1 to softap+sta mode - 8. check target1 mode - sub module: WIFI Mode - summary: mode switch test - test environment: SSC_T1_6 - test point 1: basic function - test point 2: wifi mode fucntion - version: v1 (2016-8-15) -- CI ready: 'No' - ID: WIFI_MODE_0105 - SDK: All - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 op -W -a stop - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -S -o 0 - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a start - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -S -o 1 - - - R SSC1 C +MODE:OK - - - SSC SSC1 sta -C -s -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC1 sta -D - - - R SSC1 C +JAP:DISCONNECTED - - - SSC SSC1 op -S -o 0 - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -S -o 1 - - - R SSC1 C +MODE:OK - - - SSC SSC1 sta -C -s -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC1 sta -D - - - R SSC1 C +JAP:DISCONNECTED - - - SSC SSC1 op -W -a stop - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -S -o 3 - - - R SSC1 C +MODE:OK - - - SSC SSC1 op -W -a start - - - R SSC1 C +MODE:OK - - - SSC SSC1 sta -C -s -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - - - SSC SSC1 sta -D - - - R SSC1 C +JAP:DISCONNECTED - - - SSC SSC1 op -S -o 1 - - - R SSC1 C +MODE:OK - - - SSC SSC1 sta -C -s -p - - - R SSC1 RE "\+JAP:CONNECTED,%%s"%%() - execution time: 0.0 - expected result: |- - 5. connect suc - 9. connect suc - 14. connect suc - 17. connect suc - initial condition: None - level: Integration - module: WIFI MAC - steps: |- - 1. target1 WiFi stop - 2. set target1 to null mode - 3. target1 WiFi start - 4. set target1 to sta mode - 5. target1 connect ap - 6. target1 disconnect with ap - 7. set target1 to null mode - 8. set target1 to sta mode - 9. target1 connect with ap - 10. target disconnect with ap - 11. target WiFi stop - 12. set target1 to sta+softap mode - 13. target1 WiFi start - 14. target1 connect ap - 15. target1 disconnect with ap - 16. set target1 to sta mode - 17. target connect ap - sub module: WIFI Mode - summary: wifi mode switch check test - test environment: SSC_T1_6 - test point 1: wifi mode basic function - test point 2: wifi mode check fucntion - version: v1 (2016-8-15) diff --git a/components/idf_test/integration_test/TC_IT_WIFI_SCAN.yml b/components/idf_test/integration_test/TC_IT_WIFI_SCAN.yml deleted file mode 100644 index c07cff467a..0000000000 --- a/components/idf_test/integration_test/TC_IT_WIFI_SCAN.yml +++ /dev/null @@ -1,933 +0,0 @@ -test cases: -- CI ready: 'Yes' - ID: WIFI_SCAN_0101 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC2 sta -S -s .,juhg123 - - - 'R SSC2 NC +SCAN: C +SCANDONE' - - - SSC SSC1 ap -S -s -p 123456789 -t 3 - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -S -s - - - 'R SSC2 C +SCAN:' - - R SSC2 P - - 'R SSC2 NC +SCAN: C +SCANDONE' - execution time: 0.0 - expected result: |- - 1.target 2上不能scan .,juhg123 - 2.target1 set AP - 3.target2上查询到 - initial condition: T2_1 - level: Integration - module: WIFI MAC - steps: |- - 1.target 2 scan .,juhg123 - 2.target1下设置ssid 和pwd 加密方式 - 3.target2 scan - sub module: WIFI Scan - summary: scan with scan config ssid - test environment: SSC_T2_5 - test point 1: basic function - test point 2: scan with different config - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: WIFI_SCAN_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 - - - R SSC2 RE "\+SCAN:.+,%%s"%%() - - 'R SSC2 NC +SCAN: C +SCANDONE' - execution time: 0.0 - expected result: |- - 1.target2 上不能查询到此mac - 2.target2上查询到 - initial condition: T2_1 - level: Integration - module: WIFI MAC - steps: |- - 1.target2 上查询此macff:ff:ff:ff:ff:11 - 2.target2上查询 - sub module: WIFI Scan - summary: scan with scan config bssid - test environment: SSC_T2_5 - 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 - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 sta -D - - - 'R SSC1 C +QAP:' - - - SSC SSC1 ap -S -s -p 123456789 -t 3 -n 6 - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -S -n 5 - - - R SSC2 NP C +SCANDONE - - - SSC SSC2 sta -S -n 6 - - - 'R SSC2 C +SCAN:' - - R SSC2 P - execution time: 0.0 - expected result: |- - 1.target1 QAP - 2. target1 set AP,set channel 6 - 3.target2 上scan不到 channel 5 - 4.target2 上查询channel 6的 - initial condition: T2_1 - level: Integration - module: WIFI MAC - steps: |- - 1.target1 断开连接AP - 2.target1下设置ssid 和pwd 加密方式,set channel 6 - 3.target2 上scan channel 5 - 4.target2 上查询channel 6的 - sub module: WIFI Scan - summary: scan with scan config channel - test environment: SSC_T2_5 - test point 1: basic function - test point 2: scan with different config - version: v1 (2016-8-15) -- CI ready: 'Yes' - 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 ap -S -s -p 123456789 -t 3 -h 0 - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -D - - - R SSC2 C OK - - - SSC SSC2 sta -S -h 0 - - - R SSC2 P C +SCANDONE - - - SSC SSC2 sta -S -h 1 - - - R SSC2 P C +SCANDONE - - - SSC SSC1 ap -S -s -p 123456789 -h 1 - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -S -h 0 - - - R SSC2 NP C +SCANDONE - - - SSC SSC2 sta -S -h 1 - - - R SSC2 P C +SCANDONE - execution time: 0.0 - expected result: |- - 1.target1 set AP,set ssid broad cast - 2.target 2上scan - 3.target 2上scan - 4.target1 set AP,set ssid hidden, - 5.target 2上不能查询到 - 6.target 2上查询到 - initial condition: T2_1 - level: Integration - module: WIFI MAC - steps: |- - 1.target1下设置ssid 和pwd 加密方式,set ssid broad cast - 2.target 2上scan - 3.target 2上scan - 4.target1下设置ssid 和pwd 加密方式,set ssid hidden, - 5.target 2上查询 - 6.target 2上查询 - sub module: WIFI Scan - summary: scan with scan config show hidden - test environment: SSC_T2_5 - test point 1: basic function - test point 2: scan with different config - version: v1 (2016-8-15) -- CI ready: 'Yes' - 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 sta -D - - - 'R SSC1 C +QAP:' - - - SSC SSC1 ap -S -s -p 123456789 -t 3 -h 0 -n 11 - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -S -s -b -n 11 - - - R SSC2 P C +SCANDONE - - - SSC SSC2 sta -S -s -b -n 11 - - - R SSC2 NP C +SCANDONE - - - SSC SSC2 sta -S -s -b ff:ff:ff:ff:ff:11 -n 11 - - - R SSC2 P - - R SSC2 NP C +SCANDONE - - - SSC SSC2 sta -S -s -b -n 10 - - - R SSC2 P - - R SSC2 NP C +SCANDONE - execution time: 0.0 - expected result: |- - 1.target1 QAP - 2. target1 set AP,set ssid broad cast,set channel 11 - 3.target2 上查询到 - 4.target2 上查询不到 - 5.target2 上查询不到 - 6.target2 上查询不到 - initial condition: T2_1 - level: Integration - module: WIFI MAC - steps: |- - 1.target1 QAP - 2. target1 set AP,set ssid broad cast,set channel 11 - 3.target2 上查询到 - 4.target2 上查询不到 - 5.target2 上查询不到 - 6.target2 上查询不到 - sub module: WIFI Scan - summary: scan with several configs - test environment: SSC_T2_5 - test point 1: basic function - test point 2: scan with different config - version: v1 (2016-8-15) -- CI ready: 'No' - ID: WIFI_SCAN_0201 - SDK: ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 phy -S -o 1 -m b - - - R SSC1 C +SPHY:protocol - - - SSC SSC1 sta -S - - - R SSC1 P P P P - - - SSC SSC1 phy -S -o 1 -m g - - - R SSC1 C +SPHY:protocol - - - SSC SSC1 sta -S - - - R SSC1 P P P P - - - SSC SSC1 phy -S -o 1 -m n -b 20 - - - R SSC1 C +SPHY:protocol - - - SSC SSC1 sta -S - - - R SSC1 P P P P - - - SSC SSC1 phy -S -o 1 -m n -b 40 - - - R SSC1 C +SPHY:protocol - - - SSC SSC1 sta -S - - - R SSC1 P P P P - execution time: 0.0 - expected result: |- - 3. find all 3 ext APs - 5. find all 3 ext APs - 7. find all 3 ext APs - 9. find all 3 ext APs - initial condition: STAM1 - level: Integration - module: WIFI MAC - steps: |- - 1. 3 ext APs in 11b, 11g, 11n mode - 2. STA in 11b mode - 3. do all channel scan - 4. STA in 11g mode - 5. do all channel scan - 6. STA in 11n ht20 mode - 7. do all channel scan - 8. STA in 11n ht40 mode - 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 point 1: basic function - test point 2: Scan in different mode and channel - version: v1 (2015-8-15) -- CI ready: 'No' - ID: WIFI_SCAN_0202 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -t - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s -p -d 0 -b - - - P SSC2 C +JAP:CONNECTED - - - SSC SSC2 sta -C -s -p -d 1 -b - - - P SSC2 C +JAP:CONNECTED - execution time: 0.0 - expected result: |- - 1.OK - 2.ok - 3.ok - initial condition: T2_1 - level: Integration - module: WIFI MAC - steps: |- - 1.target1下设置ssid 和pwd 加密方式 - 2.target2 jap - 3.target2 conn target1 by bssid - sub module: WIFI Scan - summary: do scan/JAP/SAP with bssid set config - test environment: SSC_T2_5 - test point 1: basic function - test point 2: scan function test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: WIFI_SCAN_0203 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -t 3 - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s -p -f 0 -j 0 - - - P SSC2 C +JAP:CONNECTED - - - SSC SSC2 sta -C -s -p -f 0 -j 1 - - - P SSC2 C +JAP:CONNECTED - - - SSC SSC2 sta -C -s -p -f 0 -j 2 - - - P SSC2 C +JAP:CONNECTED - - - SSC SSC2 sta -C -s -p -f 0 -j 3 - - - P SSC2 C +JAP:CONNECTED - - - SSC SSC2 sta -C -s -p -f 0 -j 5 - - - '' - - - SSC SSC2 sta -C -s -p -f 1 -j 1 - - - P SSC2 C +JAP:CONNECTED - - - SSC SSC2 sta -C -s -p -f 1 -j 2 - - - P SSC2 C +JAP:CONNECTED - - - SSC SSC2 sta -C -s -p -f 1 -j 3 - - - P SSC2 C +JAP:CONNECTED - - - SSC SSC2 sta -C -s -p -f 1 -j 0 - - - P SSC2 C +JAP:CONNECTED - - - SSC SSC2 sta -C -s -p -f 1 -j 4 - - - '' - - - SSC SSC2 sta -C -s -p -f 3 -j 0 - - - P SSC2 C +JAP:CONNECTED - execution time: 0.0 - expected result: |- - 1.OK 2.ok - 3.ok - 4.ok - 5.ok - 7.ok - 8.ok - 9.ok - 10.ok - 12.ok - initial condition: T2_1 - level: Integration - module: WIFI MAC - steps: |- - 1.target1下设置ssid 和pwd 加密方式 - 2.target2 fast scan and jap target1 - 3.target2 jap target1 except open encrypt - 4.target2 jap target1 except open and wep encrypt - 5.target2 jap target1 only wpa2 encrypt can be connect - 6.target2 scan all channel jap target1 except open encrypt - 7.target2 scan all channel jap target1 except open encrypt - 8.target2 scan all channel jap target1 except open and wep encrypt - 9.target2 scan all channel jap target1 only wpa2 encrypt can be connected - 10.target2 scan all channel jap target1 - 11.target2 scan all channel jap target1 - 12.target2 jap target1 - sub module: WIFI Scan - summary: do scan/JAP/SAP with scan method and weakest auth mode - test environment: SSC_T2_5 - test point 1: basic function - test point 2: scan function test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: WIFI_SCAN_0204 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -t 2 - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s -p -f 0 -q 0 - - - '' - - - SSC SSC2 sta -C -s -p -f 0 -q 128 - - - '' - - - SSC SSC2 sta -C -s -p -f 0 -q 80 - - - P SSC2 C +JAP:CONNECTED - - - SSC SSC2 sta -C -s -p -f 1 -q 128 - - - '' - - - SSC SSC2 sta -C -s -p -f 1 -q 0 - - - '' - - - SSC SSC2 sta -C -s -p -f 1 -q 80 - - - P SSC2 C +JAP:CONNECTED - execution time: 0.0 - expected result: |- - 1.OK - 2.no exception - 3.no exception - 4.ok - 5.no exception - 6.no exception - 7.ok - initial condition: T2_1 - level: Integration - module: WIFI MAC - steps: |- - 1.target1下设置ssid 和pwd 加密方式 - 2.target2 fast scan and jap target1 rssi>-1 - 3.target2 fast scan and jap rssi>-127 - 4.target2 scan all channel and jap target1 rssi>-80 - 5.target2 scan all channel and jap rssi > -127 - 6.target2 scan all channel and jap rssi > -1 - 7.target2 scan all channel and jap target1 rssi > -80 - sub module: WIFI Scan - summary: do scan/JAP/SAP with scan method and weakest rssi - test environment: SSC_T2_5 - test point 1: basic function - test point 2: scan function test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: WIFI_SCAN_0205 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -t 3 - - - R SSC1 C +SAP:OK - - - SSC SSC2 sta -C -s -p -f 1 -x 0 - - - P SSC2 C +JAP:CONNECTED - - - SSC SSC2 sta -C -s -p -f 1 -x 1 - - - P SSC2 C +JAP:CONNECTED - - - SSC SSC2 sta -C -s -p -f 1 -x 2 - - - P SSC2 C +JAP:CONNECTED - execution time: 0.0 - expected result: |- - 1.OK - 2.ok - 3.ok - 4.ok - initial condition: T2_1 - level: Integration - module: WIFI MAC - steps: |- - 1.target1下设置ssid 和pwd 加密方式 - 2.target2 scan ap all channel and jap target1 by rssi sort - 3.target2 scan ap all channel and jap target1 by auth - 4.target2 scan ap all channel jap target1 by auth - sub module: WIFI Scan - summary: do scan/JAP/SAP with scan method and sort method - test environment: SSC_T2_5 - test point 1: basic function - test point 2: scan function test - version: v1 (2016-8-15) -- CI ready: 'No' - ID: WIFI_SCAN_0206 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 op -S -o 1 - - - P SSC1 C +MODE:OK - - - SSC SSC1 op -Q - - - P SSC1 C +CURMODE:1 - - - SSC SSC1 sta -S -t 0 -l 0 -m 0 - - - 'R SSC1 C +SCAN: C +SCANDONE' - - - SSC SSC1 sta -S -t 0 -l 1000 -m 100 - - - 'R SSC1 C +SCAN: C +SCANDONE' - - - SSC SSC1 sta -S -t 1 -k 0 - - - 'R SSC1 C +SCAN: C +SCANDONE' - - - SSC SSC1 sta -S -t 1 -k 2000 - - - 'R SSC1 C +SCAN: C +SCANDONE' - - - SSC SSC1 sta -S -t 5 -k 100 - - - 'R SSC1 C +SCAN: C +SCANDONE' - execution time: 0.0 - expected result: |- - 1.OK - 2.ok - 3.scan ok - 4.scan ok - 5.scan ok - 6.scan ok - 7.scan ok - initial condition: None - level: Integration - module: WIFI MAC - steps: |- - 1.target set as sta - 2.check target1 work mode - 3.target1 active scan max and min time set to 0ms - 4.target1 active scan max time 1000ms min time 100ms - 5.target1 passive scan scan time 0ms - 6.target passive scan scan time 10000ms - 7.target1 scan type set to 5 - sub module: WIFI Scan - summary: do active/passive scan - test environment: SSC_T1_4 - test point 1: basic function - test point 2: scan function test - version: v1 (2016-8-15) -- CI ready: 'Yes' - ID: WIFI_SCAN_0301 - SDK: ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 sta -S - - - '' - - - SSC SSC1 sta -S - - - P SSC1 C +SCANFAIL - - 'P SSC1 C +SCAN:' - - R SSC1 C +SCANDONE - execution time: 0.0 - expected result: |- - 1. second scan failed - 2. first scan succeed - initial condition: STAM1 - level: Integration - module: WIFI MAC - steps: |- - 1. do all channel scan - 2. do scan before scan finished - sub module: WIFI Scan - summary: reject scan request before scan finished - test environment: SSC_T1_5 - test point 1: interaction - test point 2: Scan interact with other WiFi operation - version: v1 (2015-8-15) -- CI ready: 'No' # current env don't have parameter ap_channel - ID: WIFI_SCAN_0302 - SDK: ESP32_IDF - Test App: SSC - allow fail: '2/3' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 sta -C -s -p - - - R SSC1 C +JAP:CONNECTED - - - SSC SSC1 soc -B -t UDP -p - - - R SSC1 A :BIND:(\d+),OK - - - SSC SSC1 soc -S -s -i -p -n 1000000 -j 5 - - - '' - - - SSC SSC2 phy -S -o 1 -m b - - - R SSC2 C +SPHY:protocol - - - SSC SSC2 sta -S -n - - - R SSC2 P - - - SSC SSC2 phy -S -o 1 -m g - - - R SSC2 C +SPHY:protocol - - - SSC SSC2 sta -S -n - - - R SSC2 P - - - SSC SSC2 phy -S -o 1 -m n -b 20 - - - R SSC2 C +SPHY:protocol - - - SSC SSC2 sta -S -n - - - R SSC2 P - - - SSC SSC2 phy -S -o 1 -m n -b 40 - - - R SSC2 C +SPHY:protocol - - - SSC SSC2 sta -S -n - - - R SSC2 P - execution time: 0.0 - expected result: 3. target 2 able to scan AP - initial condition: T2_2 - level: Integration - 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_4 - test point 1: interaction - test point 2: Scan interact with other WiFi operation - version: v1 (2015-8-15) -- CI ready: 'No' - ID: WIFI_SCAN_0303 - SDK: ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 sta -C -s -p - - - 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 -p - - - P SSC1 C +SCANDONE - - P SSC1 C +JAP:CONNECTED - execution time: 0.0 - expected result: |- - 2. scan succeed, JAP succeed - 5. JAP succeed, scan succeed - initial condition: STAM1 - level: Integration - module: WIFI MAC - steps: |- - 1. target 1 STA join AP - 2. target 1 STA scan before JAP succeed - 3. target 1 quite AP - 4. target 1 scan - 5. target 1 JAP before scan succeed - sub module: WIFI Scan - summary: scan during JAP - test environment: SSC_T1_5 - test point 1: interaction - test point 2: Scan interact with other WiFi operation - version: v1 (2015-8-15) -- CI ready: 'Yes' - ID: WIFI_SCAN_0304 - SDK: ESP32_IDF - Test App: SSC - allow fail: '' - auto test: 'Yes' - category: Function - cmd set: - - '' - - - SSC SSC1 ap -S -s -p -t - - - R SSC1 C +SAP:OK - - - SSC SSC1 sta -D - - - R SSC1 C OK - - - SSC SSC2 sta -C -s -p - - - 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 -p - - - P SSC1 C +SCANDONE - - P SSC2 C +JAP:CONNECTED - execution time: 0.0 - expected result: |- - 2. scan succeed, JAP succeed - 5. JAP succeed, scan succeed - initial condition: T2_2 - level: Integration - module: WIFI MAC - steps: |- - 1. target 2 STA join target 1 SoftAP - 2. target 1 STA scan before target 2 JAP succeed - 3. target 2 STA QAP - 4. target 1 STA scan - 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_5 - test point 1: interaction - test point 2: Scan interact with other WiFi operation - version: v1 (2015-8-15) -- CI ready: 'No' - ID: WIFI_SCAN_0401 - SDK: ESP32_IDF - Test App: SSC - auto test: 'No' - category: Function - cmd set: '' - execution time: 0.3 - expected result: |- - 1. the routers are configured correctly - 3. set suc - 5. burn suc - 6. set mode ok and SSC connected to the open security mode ap auto - initial condition: None - level: Integration - module: WIFI MAC - steps: |- - 1. configure four router with the same ssid and one of them security mode is open - 2. target1 connect PC by Uart. - 3. set the ssid of the router in the manuconfig but not the password - 4. save the setting and compile - 5. burn bin files - 6. set target1 to sta mode - 7. loop 1,2,3,4 ten times - sub module: WIFI Scan - summary: connect open security ap - test environment: SSC_T1_SCANSPECIFIED - test point 1: function - test point 2: connect open security mode ap - version: v2 (2016-11-15) -- CI ready: 'Yes' - ID: WIFI_SCAN_5101 - SDK: |- - 8266_NonOS - 8266_RTOS - ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - WiFiStress/WifiSCANTime - - - test_count = 10 - - - '' - - - active_scan_max_time = 120 - - - '' - - - active_scan_min_time = 20 - - - '' - - - passive_scan_max_time = 100 - - - '' - - - scan_mode_list = ["active_scan","passive_scan"] - - - '' - execution time: 0.5 - expected result: |- - 1. succeed - 3. scan time meet expectations - initial condition: None - level: Integration - module: WIFI MAC - steps: |- - 1. 1 target set to sta mode - 2. set scan mode - 3. start scan ap and check scan time - sub module: WIFI Scan - summary: test differnt scan mode scan time - test environment: SSC_T1_6 - test point 1: stress - test point 2: Sta active/passive scan stress test - version: v2 (2017-05-10) -- CI ready: 'No' - ID: WIFI_SCAN_5201 - SDK: ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - WiFiStress/WifiScanOptimize - - - test_times = 10 - - - '' - - - test_mode = "conn_by_bssid" - - - '' - execution time: 0.2 - expected result: |- - 1. all routers configure correctly - 3. connect success - initial condition: None - level: Integration - module: WIFI MAC - steps: |- - 1. Manually configure the two routers with the same ssid ,password and security mode - 2. SSC1 target connect PC by Uart. - 3. SSC target connect ap by the specified bssid - sub module: WIFI Scan - summary: connect specify ap test - test environment: SSC_T1_SCANSPECIFIED - test point 1: function + stress - test point 2: connect ap by bssid - version: v2 (2016-11-15) -- CI ready: 'No' - ID: WIFI_SCAN_5202 - SDK: ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - WiFiStress/WifiScanOptimize - - - test_times = 10 - - - '' - - - test_mode = "conn_max_rssi_ap" - - - '' - execution time: 0.2 - expected result: |- - 1. configure ap right - 3. connect success - 4. rssi value is the largest of the four routers - initial condition: None - level: Integration - module: WIFI MAC - steps: |- - 1. Manually configure the four routers with the same ssid ,password and security mode - 2. 1 SSC target connect PC by Uart. - 3. SSC connect max rssi ap. - 4. check connection ap's rssi value - sub module: WIFI Scan - summary: connect max rssi ap - test environment: SSC_T1_SCANSPECIFIED - test point 1: function + stress - test point 2: connect max rssi ap - version: v2 (2016-11-15) -- CI ready: 'No' - ID: WIFI_SCAN_5203 - SDK: ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - WiFiStress/WifiScanOptimize - - - test_times = 10 - - - '' - - - test_mode = "conn_most_security_ap" - - - '' - execution time: 0.2 - expected result: |- - 1. the routers are configured correctly - 3. connect success - 4. encryption mode is the highest in four routers - initial condition: None - level: Integration - module: WIFI MAC - steps: |- - 1. Manually configure the four routers with the same ssid ,password and different security mode - 2. target1 connect PC by Uart. - 3. target1 connect the highest encryption mode ap - 4. check connection ap's security mode - sub module: WIFI Scan - summary: connect most security ap - test environment: SSC_T1_SCANSPECIFIED - test point 1: function + stress - test point 2: connect most security ap - version: v2 (2016-11-15) -- CI ready: 'No' - ID: WIFI_SCAN_5204 - SDK: ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - WiFiStress/WifiScanOptimize - - - test_times = 10 - - - '' - - - test_mode = "conn_setting_ap" - - - '' - execution time: 0.2 - expected result: |- - 1. the routers are configured correctly - 3. connect success - initial condition: None - level: Integration - module: WIFI MAC - steps: |- - 1. Manually configure the four routers with the same ssid different password - 2. target1 connect PC by Uart. - 3. target1 connect setting ap - sub module: WIFI Scan - summary: connect setting ap - test environment: SSC_T1_SCANSPECIFIED - test point 1: function + stress - test point 2: connect setting ap - version: v2 (2016-11-15) -- CI ready: 'No' - ID: WIFI_SCAN_5205 - SDK: ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - WiFiStress/WifiScanOptimize - - - test_times = 10 - - - '' - - - test_mode = "reconn_same_ssid_ap" - - - '' - - - apc_num_list = [1,3] - - - '' - execution time: 0.5 - expected result: |- - 1. the routers are configured correctly - 3. ap1 power on - 4. connect success - 5. ap2 power on and ap1 power off - 6. connect success - initial condition: None - level: Integration - module: WIFI MAC - steps: |- - 1. Manually configure the two routers with the same ssid ,password different security mode - 2. target1 connect PC by Uart. - 3. ap1 power on by apc - 4. atrget1 connect ap - 5. ap1 power off and ap2 power on - 6. atrget1 auto connect ap2. - sub module: WIFI Scan - summary: reconnect same ssid ap - test environment: SSC_T1_SCANSPECIFIED - test point 1: function + stress - test point 2: reconnect same ssid ap - version: v2 (2016-11-15) -- CI ready: 'No' - ID: WIFI_SCAN_5206 - SDK: ESP32_IDF - Test App: SSC - auto test: 'Yes' - category: Stress - cmd set: - - WiFiStress/WifiScanOptimize - - - test_times = 10 - - - '' - - - test_mode = "quick_conn_ap" - - - '' - - - rssi_threshold = 60 - - - '' - - - low_rssi_num = 1 - - - '' - execution time: 0.3 - expected result: |- - 1. the routers are configured correctly - 3. connect success - 4. connect to the correct ap - initial condition: None - level: Integration - module: WIFI MAC - steps: |- - 1. manuall configure two routers with the same ssid password and below rssi_threshold ap's channel at the front - 2. target1 connect PC by Uart. - 3. atrget1 connect ap - 4. check connection ap's bssid - sub module: WIFI Scan - summary: quick connect ap - test environment: SSC_T1_SCANSPECIFIED - test point 1: function + stress - test point 2: quick connect ap - version: v2 (2016-11-15) diff --git a/components/idf_test/integration_test/TEST_ENV_SSC.yml b/components/idf_test/integration_test/TEST_ENV_SSC.yml deleted file mode 100644 index ef6dd02d2d..0000000000 --- a/components/idf_test/integration_test/TEST_ENV_SSC.yml +++ /dev/null @@ -1,468 +0,0 @@ -.TEST_ENV: &TEST_ENV - PC OS: '' - Special: N - test script: EnvBase - -test environment: -- tag: SSC_T1_Ethernet - <<: *TEST_ENV - Target Count: 1 - test environment detail: |- - PC connected to AP by wired NIC. - 1 ETH DUT connect with PC by UART, connect to AP by wired NIC. -- tag: SSC_T1_2 - <<: *TEST_ENV - Target Count: 1 - test environment detail: |- - Able to access WAN after connect to AP. - 1 SSC DUT connect with PC by UART. -- tag: SSC_T1_3 - <<: *TEST_ENV - Target Count: 1 - test environment detail: PC has one BT adapter (dongle). 1 SSC DUT connect with - PC by UART. -- tag: SSC_T1_4 - <<: *TEST_ENV - Target Count: 1 - test environment detail: |- - 1 SSC DUT connect with PC by UART. -- tag: SSC_T1_5 - <<: *TEST_ENV - Target Count: 1 - test environment detail: |- - 1 SSC DUT connect with PC by UART. - AP placed near DUT. -- tag: SSC_T1_6 - <<: *TEST_ENV - Target Count: 1 - test environment detail: |- - 1 SSC DUT connect with PC by UART. - AP placed near DUT. - PC has 1 wired NIC connected to AP. -- tag: SSC_T1_7 - <<: *TEST_ENV - Target Count: 1 - test environment detail: |- - 1 SSC DUT connect with PC by UART. - PC has 1 WiFi NIC. - AP placed near DUT and PC. -- tag: SSC_T1_8 - <<: *TEST_ENV - Target Count: 1 - test environment detail: |- - 1 SSC DUT connect with PC by UART. - AP placed near DUT and PC. - PC has 1 wired NIC connected to AP. - PC has 1 WiFi NIC. -- tag: SSC_T1_9 - <<: *TEST_ENV - Target Count: 1 - test environment detail: |- - PC has 2 wired NIC connected to AP. - 1 SSC DUT connected to AP. - 1 SSC DUT connect with PC by UART. -- tag: SSC_T1_10 - <<: *TEST_ENV - Target Count: 1 - test environment detail: |- - PC has 1 WiFi NIC. - 1 SSC DUT connect with PC by UART. -- tag: SSC_T1_ARP - <<: *TEST_ENV - Target Count: 1 - test environment detail: |- - PC (linux) has 1 wired NIC connected to AP. - AP is configured as update group key every 30s. - PC has 1 WiFi NIC. - 1 SSC DUT connect with PC by UART. -- tag: SSC_T1_8089 - <<: *TEST_ENV - Special: Y - Target Count: 1 - test environment detail: |- - PC has 1 wired NIC connected to AP. - 1 8089 tablet able to run iperf test placed near SSC1. - 1 SSC DUT connect with PC by UART. -- tag: SSC_T1_ADC - <<: *TEST_ENV - Special: Y - Target Count: 1 - test environment detail: |- - PC has 1 wired NIC connected to AP. - Analog input connect to SSC1 TOUT. - Multimeter connect to input, able to measure input voltage. - 1 SSC DUT connect with PC by UART. -- tag: SSC_T1_AMSDU - <<: *TEST_ENV - Special: Y - Target Count: 1 - test environment detail: |- - 1 SSC DUT connect PC by UART. - PC 无线网卡和 SSC DUT 均连接到天猫魔盒AP. -- tag: SSC_T1_APC - <<: *TEST_ENV - Special: Y - Target Count: 1 - test environment detail: |- - PC has 1 wired NIC connected to AP. - PC has 1 wired NIC connected to APC (static IP within the same subnet with APC). - APC control AP power supply. - PC has 1 WiFi NIC. - 1 SSC DUT connect with PC by UART. -- tag: SSC_T1_Enterprise - <<: *TEST_ENV - Special: Y - Target Count: 1 - test environment detail: "AP use WPA2-Etherprise is placed near SSC1. \n1 SSC DUT - connect with PC by UART." -- tag: SSC_T1_IOT1 - <<: *TEST_ENV - Special: Y - Target Count: 1 - test environment detail: |- - PC has 1 WiFi NIC. - 1 SSC DUT connect with PC by UART. - AP todo IOT test are placed near SSC1. -- tag: SSC_T1_MESH1 - Special: Y - <<: *TEST_ENV - Target Count: 1 - test environment detail: |- - 1 SSC target connect with PC by UART. - A router with fixed channel nearby -- tag: SSC_T1_MESH2 - <<: *TEST_ENV - Special: Y - Target Count: 1 - test environment detail: |- - 1 SSC target connect with PC by UART. - PC has 1 wired NIC connected to a fixed channel Router. -- tag: SSC_T1_InitData - <<: *TEST_ENV - Special: Y - Target Count: 2 - test environment detail: |- - 2 SSC DUT connect with PC by UART. - SSC1 use 40M crystal oscillator. - SSC2 use normal 26M crystal oscillator. - SSC2 GPIO connect to SSC1 power control pin. -- tag: SSC_T1_SCANSPECIFIED - <<: *TEST_ENV - Special: N - Target Count: 1 - test environment detail: 1 SSC DUT connect with PC by UART. All APs power on. -- tag: SSC_T1_ShieldBox - <<: *TEST_ENV - Special: Y - Target Count: 1 - test environment detail: |- - refer to figure. - All APs and APC should be set to the same IP subnet. - PC wired NIC should set static IP address within the same subnet with AP. - Must use onboard wired NIC. -- tag: SSC_T1_Sleep1 - <<: *TEST_ENV - Special: Y - Target Count: 1 - test environment detail: |- - AP support DTIM placed with AT DUT. - SSC DUT connect with Raspberry Pi by UART. - Multimeter connect with Raspberry Pi via GPIB. - Series multimeter between GND and VCC of SSC1. - SSC1's light sleep wakeup pin and wakeup indication connect with Raspberry Pi's GPIO. - SSC1's XPD connect with RSTB. -- tag: SSC_T1_Sleep2 - <<: *TEST_ENV - Special: Y - Target Count: 1 - test environment detail: |- - AP support DTIM placed with AT DUT. - SSC DUT connect with Raspberry Pi by UART. - Multimeter connect with Raspberry Pi via GPIB. - Series multimeter between GND and VCC of SSC1. - SSC1's RSTB pin connect with Raspberry Pi's GPIO. -- tag: SSC_T1_Sleep3 - <<: *TEST_ENV - Special: Y - Target Count: 1 - test environment detail: |- - AP support DTIM placed with AT DUT. - SSC DUT connect with Raspberry Pi by UART. - Multimeter connect with Raspberry Pi via GPIB. - Series multimeter between GND and VCC of SSC1. -- tag: SSC_T1_Sniffer - <<: *TEST_ENV - Target Count: 1 - test environment detail: |- - PC has 1 wired NIC connected to AP. PC has 1 WiFi NIC. - 1 SSC DUT connect with PC by UART. -- tag: SSC_T1_TempBox - <<: *TEST_ENV - Special: Y - Target Count: 1 - test environment detail: |- - 1 SSC DUT connect with PC by UART. - Put SSC DUT to temperature box. -- tag: SSC_T1_VDD33 - <<: *TEST_ENV - Special: Y - Target Count: 1 - test environment detail: |- - 1 SSC DUT connect with PC by UART. - Multimeter connect to VDD33, able to measure voltage. -- tag: SSC_T1_WEP - <<: *TEST_ENV - Target Count: 1 - test environment detail: |- - 1 SSC DUT connect with PC by UART. - One WEP share key AP placed near SSC1. -- tag: SSC_T2_2 - <<: *TEST_ENV - Target Count: 2 - test environment detail: |- - PC has 1 WiFi NIC. - 2 SSC DUTs connect with PC by UART. -- tag: SSC_T2_3 - <<: *TEST_ENV - Target Count: 2 - test environment detail: |- - 2 SSC DUTs connect with PC by UART. - AP placed near SSC DUTs -- tag: SSC_T2_4 - <<: *TEST_ENV - Target Count: 2 - test environment detail: |- - PC has 1 wired NIC connected to AP. - AP placed near SSC DUTs and PC. - 2 SSC DUTs connect with PC by UART. -- tag: SSC_T2_5 - <<: *TEST_ENV - Target Count: 2 - test environment detail: |- - 2 SSC DUTs connect with PC by UART. -- tag: SSC_T2_JAP - <<: *TEST_ENV - Target Count: 2 - test environment detail: |- - PC has 1 wired NIC connected to APC. - APC control the power supply of multiple APs. - 2 SSC DUT connect with PC by UART. -- tag: SSC_T2_PhyMode - <<: *TEST_ENV - PC OS: 'linux' - Target Count: 2 - test environment detail: |- - 2 SSC DUT 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 DUTs. -- tag: SSC_T2_ShieldBox - <<: *TEST_ENV - Special: Y - Target Count: 2 - test environment detail: |- - 2 SSC DUT connect with PC by UART. - Put them to Shield box. -- tag: SSC_T2_ShieldBox2 - <<: *TEST_ENV - Special: Y - Target Count: 1 - test environment detail: | - refer to figure. - 2 SSC DUT connect with PC by UART. Put DUT board to different Shield boxes. - 2 shield boxes are connected with programmable attenuator. -- tag: SSC_T2_Sleep1 - <<: *TEST_ENV - Special: Y - Target Count: 1 - test environment detail: | - Multimeter connected with DUT1 to measure its current consumption. - DUT1 placed near DUT1. - AP placed near DUT1, PC connected with AP with wired NIC. -- tag: SSC_T2_Sniffer - <<: *TEST_ENV - PC OS: 'linux' - Special: N - Target Count: 2 - test environment detail: |- - PC has 1 wired NIC connected to AP. - PC has 1 WiFi NIC. - 2 SSC DUT connect with PC by UART. -- tag: SSC_T2_TempBox - <<: *TEST_ENV - Special: Y - Target Count: 1 - test environment detail: | - refer to figure. - 2 SSC DUT connect with PC by UART. Put 1 DUT board to temperature box. -- tag: SSC_T2_MESH1 - <<: *TEST_ENV - Special: Y - Target Count: 2 - test environment detail: |- - 2 SSC target connect with PC by UART. - A router with fixed channel nearby -- tag: SSC_T3_1 - <<: *TEST_ENV - Special: N - Target Count: 1 - test environment detail: |- - PC has 1 wired NIC connected to AP. - PC has 1 WiFi NIC. - 3 SSC DUT connect with PC by UART. -- tag: SSC_T3_2 - <<: *TEST_ENV - Special: N - Target Count: 3 - test environment detail: |- - 3 SSC DUT connect with PC by UART. -- tag: SSC_T3_PhyMode - <<: *TEST_ENV - PC OS: 'linux' - Target Count: 3 - test environment detail: |- - 3 SSC DUT 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 DUTs. -- tag: SSC_T3_MESH1 - <<: *TEST_ENV - Special: Y - Target Count: 3 - test environment detail: |- - 3 SSC target connect with PC by UART. - A router with fixed channel nearby -- tag: SSC_T3_MESH2 - <<: *TEST_ENV - Special: Y - Target Count: 3 - test environment detail: |- - 3 SSC target connect with PC by UART. - PC has 1 wired NIC connected to a fixed channel Router. -- tag: SSC_T5_1 - <<: *TEST_ENV - Target Count: 5 - test environment detail: 5 SSC DUT connect with PC by UART. -- tag: SSC_T5_IOT1 - <<: *TEST_ENV - Special: Y - Target Count: 5 - test environment detail: |- - 5 SSC DUTs connect with PC by UART. - some Android smart phone are placed near SSC DUTs. -- tag: SSC_T6_1 - <<: *TEST_ENV - Special: Y - Target Count: 6 - test environment detail: |- - PC has 1 wired NIC connected to AP. - PC has 1 WiFi NIC. - 6 SSC DUT connect with PC by UART. -- tag: SSC_T6_MESH1 - <<: *TEST_ENV - Special: Y - Target Count: 6 - test environment detail: |- - 6 SSC target connect with PC by UART. - A router with fixed channel nearby -- tag: SSC_T6_MESH2 - <<: *TEST_ENV - Special: Y - Target Count: 6 - test environment detail: |- - 6 SSC target connect with PC by UART. - PC has 1 wired NIC connected to a fixed channel Router. -- tag: SSC_T1_DNS - <<: *TEST_ENV - Target Count: 1 - test environment detail: 1 SSC DUT connect with PC by UART,AP should Access to the Internet. -- tag: SSC_T1_SmartConfigIOT - <<: *TEST_ENV - Special: Y - Target Count: 1 - test environment detail: | - 1 SSC DUT connect with PC by UART. - PC has 1 wired NIC connect to Common AP. - Several AP are placed near AT DUT. - Several smart phone installed test APK are placed near SSC DUT. -- tag: SSC_T12_MESH1 - <<: *TEST_ENV - Special: Y - Target Count: 12 - test environment detail: |- - 12 SSC target connect with PC by UART. - A router with fixed channel nearby -- tag: SSC_T12_MESH2 - <<: *TEST_ENV - Special: Y - Target Count: 12 - test environment detail: |- - 12 SSC target connect with PC by UART. - PC has 1 wired NIC connected to a fixed channel Router. -- tag: SSC_T20_1 - <<: *TEST_ENV - Special: Y - Target Count: 20 - test environment detail: |- - PC has 1 wired NIC connected to AP. - PC has 1 WiFi NIC. - 20 SSC DUT connect with PC by UART. -- tag: SSC_T35_1 - <<: *TEST_ENV - Special: Y - Target Count: 35 - test environment detail: |- - PC has 1 wired NIC connected to AP. - PC has 1 WiFi NIC. - 37 SSC DUT connect with PC by UART. -- tag: SSC_T50_1 - <<: *TEST_ENV - Special: Y - Target Count: 50 - test environment detail: |- - PC has 1 wired NIC connected to AP. - PC has 1 WiFi NIC. - 50 SSC DUT connect with PC by UART. -- tag: SSC_T50_MESH1 - <<: *TEST_ENV - Special: Y - Target Count: 50 - test environment detail: |- - 50 SSC target connect with PC by UART. - A router with fixed channel nearby -- tag: SSC_T60_1 - <<: *TEST_ENV - Special: Y - Target Count: 60 - test environment detail: |- - PC has 1 wired NIC connected to AP. - PC has 1 WiFi NIC. - 60 SSC DUT connect with PC by UART. -- tag: SSC_T80_1 - <<: *TEST_ENV - Special: Y - Target Count: 80 - test environment detail: |- - PC has 1 wired NIC connected to AP. - PC has 1 WiFi NIC. - 80 SSC DUT connect with PC by UART. -- tag: SSC_T100_1 - <<: *TEST_ENV - Special: Y - Target Count: 100 - test environment detail: |- - PC has 1 wired NIC connected to AP. - PC has 1 WiFi NIC. - 100 SSC DUT connect with PC by UART. -- tag: SSC_T50_MESH1 - <<: *TEST_ENV - Special: Y - Target Count: 50 - test environment detail: |- - 50 SSC target connect with PC by UART. -- tag: SSC_T100_MESH1 - <<: *TEST_ENV - Special: Y - Target Count: 100 - test environment detail: |- - 100 SSC target connect with PC by UART. diff --git a/tools/ci/checkout_project_ref.py b/tools/ci/checkout_project_ref.py index fae39ac0de..d9d040254f 100755 --- a/tools/ci/checkout_project_ref.py +++ b/tools/ci/checkout_project_ref.py @@ -68,7 +68,7 @@ if __name__ == "__main__": for candidate in candidate_branches: try: - subprocess.check_call(["git", "checkout", candidate], stdout=subprocess.PIPE, stderr=subprocess.PIPE) # not print the stdout nor stderr + subprocess.check_call(["git", "checkout", "-f", candidate], stdout=subprocess.PIPE, stderr=subprocess.PIPE) # not print the stdout nor stderr print("CI using ref {} for project {}".format(candidate, args.project)) break except subprocess.CalledProcessError: diff --git a/tools/ci/config/assign-test.yml b/tools/ci/config/assign-test.yml index 80b22321e0..ab632c750b 100644 --- a/tools/ci/config/assign-test.yml +++ b/tools/ci/config/assign-test.yml @@ -16,12 +16,14 @@ assign_test: TEST_APP_CONFIG_OUTPUT_PATH: "${CI_PROJECT_DIR}/tools/test_apps/test_configs" COMPONENT_UT_CONFIG_OUTPUT_PATH: "${CI_PROJECT_DIR}/component_ut/test_configs" UNIT_TEST_CASE_FILE: "${CI_PROJECT_DIR}/components/idf_test/unit_test" - # auto_test_script is compatible with Python 3 only - PYTHON_VER: 3 + INTEGRATION_CONFIG_OUTPUT_PATH: "${CI_PROJECT_DIR}/components/idf_test/integration_test/CIConfigs" + INTEGRATION_TEST_CASE_PATH: "${CI_PROJECT_DIR}/auto_test_script/TestCaseFiles" + ASSIGN_TEST_CASE_SCRIPT: "${CI_PROJECT_DIR}/auto_test_script/bin/CIAssignTestCases.py" + PYTHONPATH: ${CI_PROJECT_DIR}/auto_test_script/packages + PYTHON_VER: 3.7.7 artifacts: paths: - components/idf_test/*/CIConfigs - - components/idf_test/*/TC.sqlite - $EXAMPLE_CONFIG_OUTPUT_PATH - $TEST_APP_CONFIG_OUTPUT_PATH - $COMPONENT_UT_CONFIG_OUTPUT_PATH @@ -49,11 +51,12 @@ assign_test: # assign unit test cases - python tools/ci/python_packages/ttfw_idf/IDFAssignTest.py unit_test $UNIT_TEST_CASE_FILE -c $CI_TARGET_TEST_CONFIG_FILE -o $IDF_PATH/components/idf_test/unit_test/CIConfigs # clone test script to assign tests - - ./tools/ci/retry_failed.sh git clone $TEST_SCRIPT_REPOSITORY + # can not retry if downing git lfs files failed, so using empty_branch first. + - ./tools/ci/retry_failed.sh git clone ${CI_AUTO_TEST_SCRIPT_REPO_URL} -b empty_branch + - ./tools/ci/retry_failed.sh git -C auto_test_script checkout -f ${CI_AUTO_TEST_SCRIPT_REPO_BRANCH} - python $CHECKOUT_REF_SCRIPT auto_test_script auto_test_script - - cd auto_test_script # assign integration test cases - - python CIAssignTestCases.py -t $IDF_PATH/components/idf_test/integration_test -c $CI_TARGET_TEST_CONFIG_FILE -b $IDF_PATH/SSC/ssc_bin + - python ${ASSIGN_TEST_CASE_SCRIPT} -t ${INTEGRATION_TEST_CASE_PATH} -c $CI_TARGET_TEST_CONFIG_FILE -b $IDF_PATH/SSC/ssc_bin -o $INTEGRATION_CONFIG_OUTPUT_PATH update_test_cases: stage: assign_test @@ -77,7 +80,7 @@ update_test_cases: UNIT_TEST_CASE_DIR: "${CI_PROJECT_DIR}/components/idf_test/unit_test" BOT_ACCOUNT_CONFIG_FILE: "${CI_PROJECT_DIR}/test-management/Config/Account.local.yml" AUTO_TEST_SCRIPT_PATH: "${CI_PROJECT_DIR}/auto_test_script" - PYTHON_VER: 3 + PYTHON_VER: 3.7.7 script: - export GIT_SHA=$(echo ${CI_COMMIT_SHA} | cut -c 1-8) - ./tools/ci/retry_failed.sh git clone $TEST_MANAGEMENT_REPO diff --git a/tools/ci/config/target-test.yml b/tools/ci/config/target-test.yml index 7c3183a9d0..efa6417ef4 100644 --- a/tools/ci/config/target-test.yml +++ b/tools/ci/config/target-test.yml @@ -38,7 +38,7 @@ # first test if config file exists, if not exist, exit 0 - test -e $CONFIG_FILE || exit 0 # clone test env configs - - ./tools/ci/retry_failed.sh git clone $TEST_ENV_CONFIG_REPOSITORY + - ./tools/ci/retry_failed.sh git clone $TEST_ENV_CONFIG_REPO - python $CHECKOUT_REF_SCRIPT ci-test-runner-configs ci-test-runner-configs - cd tools/ci/python_packages/tiny_test_fw/bin # run test @@ -76,7 +76,7 @@ # first test if config file exists, if not exist, exit 0 - test -e $CONFIG_FILE || exit 0 # clone test env configs - - ./tools/ci/retry_failed.sh git clone $TEST_ENV_CONFIG_REPOSITORY + - ./tools/ci/retry_failed.sh git clone $TEST_ENV_CONFIG_REPO - python $CHECKOUT_REF_SCRIPT ci-test-runner-configs ci-test-runner-configs - cd tools/ci/python_packages/tiny_test_fw/bin # run test @@ -111,7 +111,7 @@ # first test if config file exists, if not exist, exit 0 - test -e $CONFIG_FILE || exit 0 # clone test env configs - - ./tools/ci/retry_failed.sh git clone $TEST_ENV_CONFIG_REPOSITORY + - ./tools/ci/retry_failed.sh git clone $TEST_ENV_CONFIG_REPO - python $CHECKOUT_REF_SCRIPT ci-test-runner-configs ci-test-runner-configs - cd tools/ci/python_packages/tiny_test_fw/bin # run test @@ -167,24 +167,28 @@ SUBMODULES_TO_FETCH: "components/esptool_py/esptool" LOCAL_ENV_CONFIG_PATH: "$CI_PROJECT_DIR/ci-test-runner-configs/$CI_RUNNER_DESCRIPTION/ESP32_IDF" LOG_PATH: "${CI_PROJECT_DIR}/${CI_COMMIT_SHA}" - TEST_CASE_FILE_PATH: "$CI_PROJECT_DIR/components/idf_test/integration_test" + TEST_CASE_FILE_PATH: "$CI_PROJECT_DIR/auto_test_script/TestCaseFiles" MODULE_UPDATE_FILE: "$CI_PROJECT_DIR/components/idf_test/ModuleDefinition.yml" CONFIG_FILE_PATH: "${CI_PROJECT_DIR}/components/idf_test/integration_test/CIConfigs" - # auto_test_script is compatible with Python 3 only - PYTHON_VER: 3 + KNOWN_ISSUE_FILE: "${CI_PROJECT_DIR}/components/idf_test/integration_test/KnownIssues" + CI_RUNNER_SCRIPT: "${CI_PROJECT_DIR}/auto_test_script/bin/CIRunner.py" + PYTHONPATH: ${CI_PROJECT_DIR}/auto_test_script/packages + PYTHON_VER: 3.7.7 script: - *define_config_file_name # first test if config file exists, if not exist, exit 0 - test -e $CONFIG_FILE || exit 0 # clone local test env configs - - ./tools/ci/retry_failed.sh git clone $TEST_ENV_CONFIG_REPOSITORY + - ./tools/ci/retry_failed.sh git clone $TEST_ENV_CONFIG_REPO - python $CHECKOUT_REF_SCRIPT ci-test-runner-configs ci-test-runner-configs # clone test bench - - ./tools/ci/retry_failed.sh git clone $TEST_SCRIPT_REPOSITORY + # can not retry if downing git lfs files failed, so using empty_branch first. + - ./tools/ci/retry_failed.sh git clone ${CI_AUTO_TEST_SCRIPT_REPO_URL} -b empty_branch + - ./tools/ci/retry_failed.sh git -C auto_test_script checkout -f ${CI_AUTO_TEST_SCRIPT_REPO_BRANCH} - python $CHECKOUT_REF_SCRIPT auto_test_script auto_test_script - - cd auto_test_script + - cat ${KNOWN_ISSUE_FILE} >> ${TEST_CASE_FILE_PATH}/KnownIssues # run test - - python CIRunner.py -l "$LOG_PATH/$JOB_FULL_NAME" -c $CONFIG_FILE -e $LOCAL_ENV_CONFIG_PATH -t $TEST_CASE_FILE_PATH + - python ${CI_RUNNER_SCRIPT} -l "$LOG_PATH/$JOB_FULL_NAME" -c $CONFIG_FILE -e $LOCAL_ENV_CONFIG_PATH -t $TEST_CASE_FILE_PATH test_weekend_mqtt: extends: .example_test_template @@ -253,7 +257,7 @@ example_test_002: # first test if config file exists, if not exist, exit 0 - test -e $CONFIG_FILE || exit 0 # clone test env configs - - ./tools/ci/retry_failed.sh git clone $TEST_ENV_CONFIG_REPOSITORY + - ./tools/ci/retry_failed.sh git clone $TEST_ENV_CONFIG_REPO - python $CHECKOUT_REF_SCRIPT ci-test-runner-configs ci-test-runner-configs - cd tools/ci/python_packages/tiny_test_fw/bin # run test @@ -667,16 +671,18 @@ nvs_compatible_test: # first test if config file exists, if not exist, exit 0 - test -e $CONFIG_FILE || exit 0 # clone local test env configs - - ./tools/ci/retry_failed.sh git clone $TEST_ENV_CONFIG_REPOSITORY + - ./tools/ci/retry_failed.sh git clone $TEST_ENV_CONFIG_REPO - python $CHECKOUT_REF_SCRIPT ci-test-runner-configs ci-test-runner-configs # clone test bench - - ./tools/ci/retry_failed.sh git clone $TEST_SCRIPT_REPOSITORY + # can not retry if downing git lfs files failed, so using empty_branch first. + - ./tools/ci/retry_failed.sh git clone ${CI_AUTO_TEST_SCRIPT_REPO_URL} -b empty_branch + - ./tools/ci/retry_failed.sh git -C auto_test_script checkout -f ${CI_AUTO_TEST_SCRIPT_REPO_BRANCH} - python $CHECKOUT_REF_SCRIPT auto_test_script auto_test_script - - cd auto_test_script # prepare nvs bins - - ./Tools/prepare_nvs_bin.sh + - cd auto_test_script + - ./tools/prepare_nvs_bin.sh # run test - - python CIRunner.py -l "$LOG_PATH/$JOB_FULL_NAME" -c $CONFIG_FILE -e $LOCAL_ENV_CONFIG_PATH -t $TEST_CASE_FILE_PATH + - python ${CI_RUNNER_SCRIPT} -l "$LOG_PATH/$JOB_FULL_NAME" -c $CONFIG_FILE -e $LOCAL_ENV_CONFIG_PATH -t $TEST_CASE_FILE_PATH IT_001: extends: .test_template @@ -693,7 +699,7 @@ IT_002: IT_003: extends: .test_template - parallel: 13 + parallel: 14 tags: - ESP32_IDF - SSC_T2_5 @@ -706,13 +712,14 @@ IT_004: IT_005: extends: .test_template + parallel: 2 tags: - ESP32_IDF - SSC_T1_5 IT_006: extends: .test_template - parallel: 7 + parallel: 12 tags: - ESP32_IDF - SSC_T1_6