Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mw320] Sve2 pr (project-chip#22915)
* 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]>
- Loading branch information