Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mw320] Sve2 pr #22915

Merged
merged 40 commits into from
Sep 29, 2022
Merged

[mw320] Sve2 pr #22915

merged 40 commits into from
Sep 29, 2022

Conversation

crlonxp
Copy link
Contributor

@crlonxp crlonxp commented Sep 28, 2022

Issue Being Resolved

Commit the changes for fixing the issues found in SVE / SVE2

Change overview

Commit the changes for fixing the issues found in SVE / SVE2

crlonxp and others added 30 commits September 28, 2022 14:13
    - entwork interface:
		./chip-tool generaldiagnostics read network-interfaces 1 0
    - reboot count:
		./chip-tool generaldiagnostics read reboot-count 1 0

Signed-off-by: Chin-Ran Lo <[email protected]>
…re incompleted yet that hard-coded value are used

Signed-off-by: Chin-Ran Lo <[email protected]>
…ifi diagnostics commands: ./chip-tool wifinetworkdiagnostics read bssid 1 0 ./chip-tool wifinetworkdiagnostics read security-type 1 0 ./chip-tool wifinetworkdiagnostics read wi-fi-version 1 0 ./chip-tool wifinetworkdiagnostics read channel-number 1 0 ./chip-tool wifinetworkdiagnostics read rssi 1 0 ./chip-tool wifinetworkdiagnostics read beacon-lost-count 1 0 ./chip-tool wifinetworkdiagnostics read beacon-rx-count 1 0 ./chip-tool wifinetworkdiagnostics read packet-multicast-rx-count 1 0 ./chip-tool wifinetworkdiagnostics read packet-multicast-tx-count 1 0 ./chip-tool wifinetworkdiagnostics read packet-unicast-rx-count 1 0 ./chip-tool wifinetworkdiagnostics read packet-unicast-tx-count 1 0 ./chip-tool wifinetworkdiagnostics read current-max-rate 1 0 ./chip-tool wifinetworkdiagnostics read overrun-count 1 0

* Generic Diagnostics:
	./chip-tool generaldiagnostics read network-interfaces 1 0
	./chip-tool generaldiagnostics read reboot-count 1 0

Signed-off-by: Chin-Ran Lo <[email protected]>
Verify: pass TC-DGSW-2.3

Signed-off-by: Chin-Ran Lo <[email protected]>
…ET-x.xx, Ethernet and WiFi cases

Signed-off-by: Chin-Ran Lo <[email protected]>
…Impl.h * Change the setting to support the new tiny_crypt implementation

Signed-off-by: Chin-Ran Lo <[email protected]>
…tdown command - Sent shutdown event - Shutdown the chip stack

Signed-off-by: Chin-Ran Lo <[email protected]>
…s TC-LCFG-2.1 Update the version to: mw320-2.9.10-002

Signed-off-by: Chin-Ran Lo <[email protected]>
…ious implementation of Matter stack) ref test: TC-CNET-4.4, Scan with SSID: ./chip-tool networkcommissioning scan-networks 1 0 --Ssid hex:6E78705F6D6174746572 --Breadcrumb 2

Signed-off-by: Chin-Ran Lo <[email protected]>
… BLE (unsupported) => OnNetwork

Signed-off-by: Chin-Ran Lo <[email protected]>
…n_code] example: > pincode 20192022 [i] mflash_save_file success Done > config VendorId: 65521 (0xFFF1) ProductId: 32769 (0x8001) HardwareVersion: 0 (0x0) PinCode: 20192022 Discriminator: f01 Done

Signed-off-by: Chin-Ran Lo <[email protected]>
@github-actions
Copy link

github-actions bot commented Sep 28, 2022

PR #22915: Size comparison from f72807b to c8a8ba6

Increases (4 builds for bl702, cc13x2_26x2, nrfconnect, qpg)
platform target config section f72807b c8a8ba6 change % change
bl702 lighting-app bl702+rpc .debug_info 41806177 41806178 1 0.0
.text 1030252 1030254 2 0.0
cc13x2_26x2 all-clusters-minimal-app LP_CC2652R7 (read only) 640731 640739 8 0.0
.text 561728 561736 8 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 815300 815304 4 0.0
qpg lock-app qpg6105+debug (read/write) 1116156 1116164 8 0.0
.text 563256 563264 8 0.0
Decreases (2 builds for bl602, bl702)
platform target config section f72807b c8a8ba6 change % change
bl602 lighting-app bl602+rpc .text 1099702 1099700 -2 -0.0
bl702 lighting-app bl702 .debug_info 37899568 37899567 -1 -0.0
.text 956552 956550 -2 -0.0
Full report (23 builds for bl602, bl702, cc13x2_26x2, k32w, linux, mbed, nrfconnect, qpg, telink)
platform target config section f72807b c8a8ba6 change % change
bl602 lighting-app bl602 (read/write) 1388746 1388746 0 0.0
.bss 90729 90729 0 0.0
.data 9928 9928 0 0.0
.text 1068352 1068352 0 0.0
bl602+rpc (read/write) 1433966 1433966 0 0.0
.bss 98161 98161 0 0.0
.data 10312 10312 0 0.0
.text 1099702 1099700 -2 -0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1187963 1187963 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67094 67094 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4272 4272 0 0.0
.debug_abbrev 1506903 1506903 0 0.0
.debug_aranges 133080 133080 0 0.0
.debug_frame 486372 486372 0 0.0
.debug_info 37899568 37899567 -1 -0.0
.debug_line 5252792 5252792 0 0.0
.debug_loc 3364396 3364396 0 0.0
.debug_ranges 359104 359104 0 0.0
.debug_str 3456111 3456111 0 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 116536 116536 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 564835 564835 0 0.0
.symtab 171584 171584 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
956552 956550 -2 -0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1283883 1283883 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75142 75142 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4800 4800 0 0.0
.debug_abbrev 1644448 1644448 0 0.0
.debug_aranges 140584 140584 0 0.0
.debug_frame 511748 511748 0 0.0
.debug_info 41806177 41806178 1 0.0
.debug_line 5627327 5627327 0 0.0
.debug_loc 3557140 3557140 0 0.0
.debug_ranges 381560 381560 0 0.0
.debug_str 3852011 3852011 0 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 129928 129928 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 624008 624008 0 0.0
.symtab 189392 189392 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1030252 1030254 2 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 676491 676491 0 0.0
(read/write) 175044 175044 0 0.0
.bss 81228 81228 0 0.0
.data 3380 3380 0 0.0
.rodata 89547 89547 0 0.0
.text 586632 586632 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 640731 640739 8 0.0
(read/write) 157996 157996 0 0.0
.bss 80500 80500 0 0.0
.data 3380 3380 0 0.0
.rodata 78683 78683 0 0.0
.text 561728 561736 8 0.0
lock-ftd LP_CC2652R7 (read only) 678015 678015 0 0.0
(read/write) 170688 170688 0 0.0
.bss 78484 78484 0 0.0
.data 3304 3304 0 0.0
.rodata 77231 77231 0 0.0
.text 600304 600304 0 0.0
lock-mtd LP_CC2652R7 (read only) 661907 661907 0 0.0
(read/write) 182484 182484 0 0.0
.bss 74172 74172 0 0.0
.data 3304 3304 0 0.0
.rodata 103099 103099 0 0.0
.text 558328 558328 0 0.0
pump-app LP_CC2652R7 (read only) 687339 687339 0 0.0
(read/write) 162068 162068 0 0.0
.bss 78420 78420 0 0.0
.data 3296 3296 0 0.0
.rodata 90531 90531 0 0.0
.text 596324 596324 0 0.0
pump-controller-app LP_CC2652R7 (read only) 671839 671839 0 0.0
(read/write) 177680 177680 0 0.0
.bss 78532 78532 0 0.0
.data 3292 3292 0 0.0
.rodata 86087 86087 0 0.0
.text 585272 585272 0 0.0
shell LP_CC2652R7 (read only) 667542 667542 0 0.0
(read/write) 186304 186304 0 0.0
.bss 83540 83540 0 0.0
.data 3376 3376 0 0.0
.rodata 86262 86262 0 0.0
.text 580964 580964 0 0.0
k32w light k32w0+release (read/write) 649908 649908 0 0.0
.bss 70712 70712 0 0.0
.data 2068 2068 0 0.0
.text 574400 574400 0 0.0
lock k32w0+release (read/write) 706832 706832 0 0.0
.bss 71160 71160 0 0.0
.data 2076 2076 0 0.0
.text 630868 630868 0 0.0
linux chip-tool-ipv6only arm64 (read only) 10422220 10422220 0 0.0
(read/write) 706257 706257 0 0.0
.bss 33953 33953 0 0.0
.data 2864 2864 0 0.0
.data.rel.ro 650560 650560 0 0.0
.dynamic 560 560 0 0.0
.got 13904 13904 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 517372 517372 0 0.0
.text 8250868 8250868 0 0.0
thermostat-no-ble arm64 (read only) 2387428 2387428 0 0.0
(read/write) 143649 143649 0 0.0
.bss 55361 55361 0 0.0
.data 1912 1912 0 0.0
.data.rel.ro 77208 77208 0 0.0
.dynamic 560 560 0 0.0
.got 5184 5184 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 143644 143644 0 0.0
.text 2001488 2001488 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2455648 2455648 0 0.0
.bss 215044 215044 0 0.0
.data 5872 5872 0 0.0
.text 1418292 1418292 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1182863 1182863 0 0.0
bss 144433 144433 0 0.0
rodata 144208 144208 0 0.0
text 815300 815304 4 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1161531 1161531 0 0.0
bss 143660 143660 0 0.0
rodata 135780 135780 0 0.0
text 803196 803196 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1148280 1148280 0 0.0
.bss 110544 110544 0 0.0
.data 1028 1028 0 0.0
.text 595376 595376 0 0.0
lock-app qpg6105+debug (read/write) 1116156 1116164 8 0.0
.bss 106376 106376 0 0.0
.data 1032 1032 0 0.0
.text 563256 563264 8 0.0
telink light-switch-app tlsr9518adk80d (read/write) 814500 814500 0 0.0
bss 72172 72172 0 0.0
noinit 43488 43488 0 0.0
text 574574 574574 0 0.0
lighting-app tlsr9518adk80d (read/write) 836604 836604 0 0.0
bss 73028 73028 0 0.0
noinit 43488 43488 0 0.0
text 592792 592792 0 0.0
ota-requestor-app tlsr9518adk80d (read/write) 844556 844556 0 0.0
bss 73936 73936 0 0.0
noinit 43488 43488 0 0.0
text 598976 598976 0 0.0

@github-actions
Copy link

PR #22915: Size comparison from f72807b to 69a7e8f

Increases (3 builds for bl602, bl702, qpg)
platform target config section f72807b 69a7e8fe change % change
bl602 lighting-app bl602 (read/write) 1388746 1388754 8 0.0
.text 1068352 1068354 2 0.0
bl702 lighting-app bl702+rpc .debug_info 41806177 41806178 1 0.0
.text 1030252 1030254 2 0.0
qpg lock-app qpg6105+debug (read/write) 1116156 1116164 8 0.0
.text 563256 563264 8 0.0
Decreases (2 builds for bl602, bl702)
platform target config section f72807b 69a7e8fe change % change
bl602 lighting-app bl602+rpc .text 1099702 1099700 -2 -0.0
bl702 lighting-app bl702 .debug_info 37899568 37899567 -1 -0.0
.text 956552 956550 -2 -0.0
Full report (16 builds for bl602, bl702, k32w, linux, mbed, nrfconnect, qpg, telink)
platform target config section f72807b 69a7e8fe change % change
bl602 lighting-app bl602 (read/write) 1388746 1388754 8 0.0
.bss 90729 90729 0 0.0
.data 9928 9928 0 0.0
.text 1068352 1068354 2 0.0
bl602+rpc (read/write) 1433966 1433966 0 0.0
.bss 98161 98161 0 0.0
.data 10312 10312 0 0.0
.text 1099702 1099700 -2 -0.0
bl702 lighting-app bl702 0 0 0 0.0
(read only) 3262 3262 0 0.0
(read/write) 1187963 1187963 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67094 67094 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4272 4272 0 0.0
.debug_abbrev 1506903 1506903 0 0.0
.debug_aranges 133080 133080 0 0.0
.debug_frame 486372 486372 0 0.0
.debug_info 37899568 37899567 -1 -0.0
.debug_line 5252792 5252792 0 0.0
.debug_loc 3364396 3364396 0 0.0
.debug_ranges 359104 359104 0 0.0
.debug_str 3456111 3456111 0 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 116536 116536 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 564835 564835 0 0.0
.symtab 171584 171584 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 956552 956550 -2 -0.0
bl702+rpc 0 0 0 0.0
(read only) 3262 3262 0 0.0
(read/write) 1283883 1283883 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75142 75142 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4800 4800 0 0.0
.debug_abbrev 1644448 1644448 0 0.0
.debug_aranges 140584 140584 0 0.0
.debug_frame 511748 511748 0 0.0
.debug_info 41806177 41806178 1 0.0
.debug_line 5627327 5627327 0 0.0
.debug_loc 3557140 3557140 0 0.0
.debug_ranges 381560 381560 0 0.0
.debug_str 3852011 3852011 0 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 129928 129928 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 624008 624008 0 0.0
.symtab 189392 189392 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 1030252 1030254 2 0.0
k32w light k32w0+release (read/write) 649908 649908 0 0.0
.bss 70712 70712 0 0.0
.data 2068 2068 0 0.0
.text 574400 574400 0 0.0
lock k32w0+release (read/write) 706832 706832 0 0.0
.bss 71160 71160 0 0.0
.data 2076 2076 0 0.0
.text 630868 630868 0 0.0
linux chip-tool-ipv6only arm64 (read only) 10422220 10422220 0 0.0
(read/write) 706257 706257 0 0.0
.bss 33953 33953 0 0.0
.data 2864 2864 0 0.0
.data.rel.ro 650560 650560 0 0.0
.dynamic 560 560 0 0.0
.got 13904 13904 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 517372 517372 0 0.0
.text 8250868 8250868 0 0.0
thermostat-no-ble arm64 (read only) 2387428 2387428 0 0.0
(read/write) 143649 143649 0 0.0
.bss 55361 55361 0 0.0
.data 1912 1912 0 0.0
.data.rel.ro 77208 77208 0 0.0
.dynamic 560 560 0 0.0
.got 5184 5184 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 143644 143644 0 0.0
.text 2001488 2001488 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2455648 2455648 0 0.0
.bss 215044 215044 0 0.0
.data 5872 5872 0 0.0
.text 1418292 1418292 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1182863 1182863 0 0.0
bss 144433 144433 0 0.0
rodata 144208 144208 0 0.0
text 815300 815300 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1161531 1161531 0 0.0
bss 143660 143660 0 0.0
rodata 135780 135780 0 0.0
text 803196 803196 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1148280 1148280 0 0.0
.bss 110544 110544 0 0.0
.data 1028 1028 0 0.0
.text 595376 595376 0 0.0
lock-app qpg6105+debug (read/write) 1116156 1116164 8 0.0
.bss 106376 106376 0 0.0
.data 1032 1032 0 0.0
.text 563256 563264 8 0.0
telink light-switch-app tlsr9518adk80d (read/write) 814500 814500 0 0.0
bss 72172 72172 0 0.0
noinit 43488 43488 0 0.0
text 574574 574574 0 0.0
lighting-app tlsr9518adk80d (read/write) 836604 836604 0 0.0
bss 73028 73028 0 0.0
noinit 43488 43488 0 0.0
text 592792 592792 0 0.0
ota-requestor-app tlsr9518adk80d (read/write) 844556 844556 0 0.0
bss 73936 73936 0 0.0
noinit 43488 43488 0 0.0
text 598976 598976 0 0.0

@crlonxp crlonxp changed the title Sve2 pr [mw320] Sve2 pr Sep 29, 2022
@andy31415 andy31415 merged commit a6ecd62 into project-chip:master Sep 29, 2022
sharad-patil24 pushed a commit to sharad-patil24/connectedhomeip that referenced this pull request Sep 30, 2022
* Add the Software Version Info for TC-BINFO-2.1

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add to save the information of the last connected AP

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add to support "Manual controlled feature" for TC-OO-2.2

Signed-off-by: Chin-Ran Lo <[email protected]>

* Move mw320_sdk initialization to a function

* Add Identify_Timer_Handler() for TC-I-2.2

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add modules: - ConnectivityUtils.* - DeviceInfoProviderImpl.*

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add the implementation of read/write configuration key to flash

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add to report information for TC_DGGEN-3.1

    - entwork interface:
		./chip-tool generaldiagnostics read network-interfaces 1 0
    - reboot count:
		./chip-tool generaldiagnostics read reboot-count 1 0

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add the missing functions for handling tc-wifidiag-3.1 Some of them are incompleted yet that hard-coded value are used

Signed-off-by: Chin-Ran Lo <[email protected]>

* Restyled by clang-format

* Restyled by gn

* Implement the functions for WiFiDiagnostics / Generic Diagnostics * wifi diagnostics commands: ./chip-tool wifinetworkdiagnostics read bssid 1 0 ./chip-tool wifinetworkdiagnostics read security-type 1 0 ./chip-tool wifinetworkdiagnostics read wi-fi-version 1 0 ./chip-tool wifinetworkdiagnostics read channel-number 1 0 ./chip-tool wifinetworkdiagnostics read rssi 1 0 ./chip-tool wifinetworkdiagnostics read beacon-lost-count 1 0 ./chip-tool wifinetworkdiagnostics read beacon-rx-count 1 0 ./chip-tool wifinetworkdiagnostics read packet-multicast-rx-count 1 0 ./chip-tool wifinetworkdiagnostics read packet-multicast-tx-count 1 0 ./chip-tool wifinetworkdiagnostics read packet-unicast-rx-count 1 0 ./chip-tool wifinetworkdiagnostics read packet-unicast-tx-count 1 0 ./chip-tool wifinetworkdiagnostics read current-max-rate 1 0 ./chip-tool wifinetworkdiagnostics read overrun-count 1 0

* Generic Diagnostics:
	./chip-tool generaldiagnostics read network-interfaces 1 0
	./chip-tool generaldiagnostics read reboot-count 1 0

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add to support Identify_Time on multiple endpoints Verify: pass TC_I_2.2 for ep#0, ep#1

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add "reset watermark" handler

Verify: pass TC-DGSW-2.3

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add to support Ethernet / WiFi network commissioning Test: pass TC-CNET-x.xx, Ethernet and WiFi cases

Signed-off-by: Chin-Ran Lo <[email protected]>

* * Remove unused module: DeviceInfoProviderImpl.cpp/DeviceInfoProviderImpl.h * Change the setting to support the new tiny_crypt implementation

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add to print the version string

Signed-off-by: Chin-Ran Lo <[email protected]>

* * Add the Shutdown handler in PlatformMgr() * Add to register the shutdown command - Sent shutdown event - Shutdown the chip stack

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add back DeviceInfoProviderImpl.cpp / DeviceInfoProviderImpl.h to pass TC-LCFG-2.1 Update the version to: mw320-2.9.10-002

Signed-off-by: Chin-Ran Lo <[email protected]>

* Change to comparing SSID with characters, instead of ASCII code (previous implementation of Matter stack) ref test: TC-CNET-4.4, Scan with SSID: ./chip-tool networkcommissioning scan-networks 1 0 --Ssid hex:6E78705F6D6174746572 --Breadcrumb 2

Signed-off-by: Chin-Ran Lo <[email protected]>

* Update version number to: mw320-2.9.10-003

Signed-off-by: Chin-Ran Lo <[email protected]>

* Update README.md

* Correct the printed Rendzvous Information (QR-code, Manual code) from BLE (unsupported) => OnNetwork

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add the function to change the pincode of mw320: Usage: > pincode [pin_code] example: > pincode 20192022 [i] mflash_save_file success Done > config VendorId: 65521 (0xFFF1) ProductId: 32769 (0x8001) HardwareVersion: 0 (0x0) PinCode: 20192022 Discriminator: f01 Done

Signed-off-by: Chin-Ran Lo <[email protected]>

* Update version number to: mw320-2.9.10-004

Signed-off-by: Chin-Ran Lo <[email protected]>

* Limit the maximum supported fabric number == 5

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add a shell command to save the ssid / password of the default ap

Signed-off-by: Chin-Ran Lo <[email protected]>

* Put manual_control implementation into a compile option controlled

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add to dump progressing message on mw320

Signed-off-by: Chin-Ran Lo <[email protected]>

* Update version number to: mw320-2.9.10-005

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add to support reading the manufacture data from a partition.

    - Creat the project from gn: chip_with_factory_data=1
    example:
        gn gen out/debug --args='treat_warnings_as_errors=false mbedtls_repo="//third_party/connectedhomeip/third_party/nxp/libs/mbedtls" chip_crypto="" chip_with_factory_data=1'
        gn gen out/debug --args='treat_warnings_as_errors=false mbedtls_repo="//third_party/connectedhomeip/third_party/nxp/libs/mbedtls" chip_crypto="tinycrypt" chip_with_factory_data=1'

    pairing command:
        ./chip-tool pairing ethernet 1 14014 1000 [ip_of_dut] 5540 --paa-trust-store-path /home/ubuntu/certs/paa/

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add to support save/get BootReason Verify: step#5 of TC-DGGEN-2.2

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add 2 console commands: * wlan-stat: Show the current dut status > wlan-state * wlan-abort: Abort the current connecting and accept the new request > wlan-abort

Signed-off-by: Chin-Ran Lo <[email protected]>

* Restyled by whitespace

* Restyled by clang-format

* Restyled by gn

* Disable the chip_detail_logging

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add a building option, wifi_conn_abort_support, to make it configurable

Signed-off-by: Chin-Ran Lo <[email protected]>

* Restyled by gn

* update submodule

Signed-off-by: Chin-Ran Lo <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: nxptest <[email protected]>
andy31415 pushed a commit that referenced this pull request Oct 4, 2022
* Add the Software Version Info for TC-BINFO-2.1

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add to save the information of the last connected AP

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add to support "Manual controlled feature" for TC-OO-2.2

Signed-off-by: Chin-Ran Lo <[email protected]>

* Move mw320_sdk initialization to a function

* Add Identify_Timer_Handler() for TC-I-2.2

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add modules: - ConnectivityUtils.* - DeviceInfoProviderImpl.*

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add the implementation of read/write configuration key to flash

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add to report information for TC_DGGEN-3.1

    - entwork interface:
		./chip-tool generaldiagnostics read network-interfaces 1 0
    - reboot count:
		./chip-tool generaldiagnostics read reboot-count 1 0

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add the missing functions for handling tc-wifidiag-3.1 Some of them are incompleted yet that hard-coded value are used

Signed-off-by: Chin-Ran Lo <[email protected]>

* Restyled by clang-format

* Restyled by gn

* Implement the functions for WiFiDiagnostics / Generic Diagnostics * wifi diagnostics commands: ./chip-tool wifinetworkdiagnostics read bssid 1 0 ./chip-tool wifinetworkdiagnostics read security-type 1 0 ./chip-tool wifinetworkdiagnostics read wi-fi-version 1 0 ./chip-tool wifinetworkdiagnostics read channel-number 1 0 ./chip-tool wifinetworkdiagnostics read rssi 1 0 ./chip-tool wifinetworkdiagnostics read beacon-lost-count 1 0 ./chip-tool wifinetworkdiagnostics read beacon-rx-count 1 0 ./chip-tool wifinetworkdiagnostics read packet-multicast-rx-count 1 0 ./chip-tool wifinetworkdiagnostics read packet-multicast-tx-count 1 0 ./chip-tool wifinetworkdiagnostics read packet-unicast-rx-count 1 0 ./chip-tool wifinetworkdiagnostics read packet-unicast-tx-count 1 0 ./chip-tool wifinetworkdiagnostics read current-max-rate 1 0 ./chip-tool wifinetworkdiagnostics read overrun-count 1 0

* Generic Diagnostics:
	./chip-tool generaldiagnostics read network-interfaces 1 0
	./chip-tool generaldiagnostics read reboot-count 1 0

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add to support Identify_Time on multiple endpoints Verify: pass TC_I_2.2 for ep#0, ep#1

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add "reset watermark" handler

Verify: pass TC-DGSW-2.3

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add to support Ethernet / WiFi network commissioning Test: pass TC-CNET-x.xx, Ethernet and WiFi cases

Signed-off-by: Chin-Ran Lo <[email protected]>

* * Remove unused module: DeviceInfoProviderImpl.cpp/DeviceInfoProviderImpl.h * Change the setting to support the new tiny_crypt implementation

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add to print the version string

Signed-off-by: Chin-Ran Lo <[email protected]>

* * Add the Shutdown handler in PlatformMgr() * Add to register the shutdown command - Sent shutdown event - Shutdown the chip stack

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add back DeviceInfoProviderImpl.cpp / DeviceInfoProviderImpl.h to pass TC-LCFG-2.1 Update the version to: mw320-2.9.10-002

Signed-off-by: Chin-Ran Lo <[email protected]>

* Change to comparing SSID with characters, instead of ASCII code (previous implementation of Matter stack) ref test: TC-CNET-4.4, Scan with SSID: ./chip-tool networkcommissioning scan-networks 1 0 --Ssid hex:6E78705F6D6174746572 --Breadcrumb 2

Signed-off-by: Chin-Ran Lo <[email protected]>

* Update version number to: mw320-2.9.10-003

Signed-off-by: Chin-Ran Lo <[email protected]>

* Update README.md

* Correct the printed Rendzvous Information (QR-code, Manual code) from BLE (unsupported) => OnNetwork

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add the function to change the pincode of mw320: Usage: > pincode [pin_code] example: > pincode 20192022 [i] mflash_save_file success Done > config VendorId: 65521 (0xFFF1) ProductId: 32769 (0x8001) HardwareVersion: 0 (0x0) PinCode: 20192022 Discriminator: f01 Done

Signed-off-by: Chin-Ran Lo <[email protected]>

* Update version number to: mw320-2.9.10-004

Signed-off-by: Chin-Ran Lo <[email protected]>

* Limit the maximum supported fabric number == 5

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add a shell command to save the ssid / password of the default ap

Signed-off-by: Chin-Ran Lo <[email protected]>

* Put manual_control implementation into a compile option controlled

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add to dump progressing message on mw320

Signed-off-by: Chin-Ran Lo <[email protected]>

* Update version number to: mw320-2.9.10-005

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add to support reading the manufacture data from a partition.

    - Creat the project from gn: chip_with_factory_data=1
    example:
        gn gen out/debug --args='treat_warnings_as_errors=false mbedtls_repo="//third_party/connectedhomeip/third_party/nxp/libs/mbedtls" chip_crypto="" chip_with_factory_data=1'
        gn gen out/debug --args='treat_warnings_as_errors=false mbedtls_repo="//third_party/connectedhomeip/third_party/nxp/libs/mbedtls" chip_crypto="tinycrypt" chip_with_factory_data=1'

    pairing command:
        ./chip-tool pairing ethernet 1 14014 1000 [ip_of_dut] 5540 --paa-trust-store-path /home/ubuntu/certs/paa/

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add to support save/get BootReason Verify: step#5 of TC-DGGEN-2.2

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add 2 console commands: * wlan-stat: Show the current dut status > wlan-state * wlan-abort: Abort the current connecting and accept the new request > wlan-abort

Signed-off-by: Chin-Ran Lo <[email protected]>

* Restyled by whitespace

* Restyled by clang-format

* Restyled by gn

* Disable the chip_detail_logging

Signed-off-by: Chin-Ran Lo <[email protected]>

* Add a building option, wifi_conn_abort_support, to make it configurable

Signed-off-by: Chin-Ran Lo <[email protected]>

* Restyled by gn

* update submodule

Signed-off-by: Chin-Ran Lo <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: nxptest <[email protected]>

Signed-off-by: Chin-Ran Lo <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
Co-authored-by: nxptest <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants