-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[clusters] Implemented ThreadDiagnosticDelegate #32964
Merged
mergify
merged 1 commit into
project-chip:master
from
kkasperczyk-no:thread_network_diag_events
Apr 17, 2024
Merged
[clusters] Implemented ThreadDiagnosticDelegate #32964
mergify
merged 1 commit into
project-chip:master
from
kkasperczyk-no:thread_network_diag_events
Apr 17, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PR #32964: Size comparison from bcebbc6 to 05c9cb2 Increases above 0.2%:
Increases (66 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink)
Decreases (4 builds for psoc6)
Full report (71 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink)
|
src/app/clusters/thread-network-diagnostics-server/thread-network-diagnostics-server.cpp
Outdated
Show resolved
Hide resolved
src/app/clusters/thread-network-diagnostics-server/thread-network-diagnostics-server.cpp
Outdated
Show resolved
Hide resolved
src/app/clusters/thread-network-diagnostics-server/thread-network-diagnostics-server.cpp
Outdated
Show resolved
Hide resolved
src/app/clusters/thread-network-diagnostics-server/thread-network-diagnostics-server.cpp
Outdated
Show resolved
Hide resolved
src/app/clusters/thread-network-diagnostics-server/thread-network-diagnostics-server.cpp
Outdated
Show resolved
Hide resolved
src/app/clusters/thread-network-diagnostics-server/thread-network-diagnostics-server.cpp
Show resolved
Hide resolved
src/app/clusters/thread-network-diagnostics-server/thread-network-diagnostics-server.cpp
Outdated
Show resolved
Hide resolved
kkasperczyk-no
force-pushed
the
thread_network_diag_events
branch
from
April 16, 2024 08:25
05c9cb2
to
b6d5847
Compare
pullapprove
bot
requested review from
andy31415,
andyg-apple,
anush-apple,
arkq,
carol-apple,
cecille,
chrisdecenzo,
chshu,
chulspro,
cliffamzn,
dhrishi,
harimau-qirex,
harsha-rajendran,
hawk248,
hicklin,
jepenven-silabs,
jmartinez-silabs,
jmeg-sfy,
joonhaengHeo,
jtung-apple,
kpschoedel and
ksperling-apple
April 16, 2024 08:30
pullapprove
bot
requested review from
robszewczyk,
saurabhst,
selissia,
sharadb-amazon,
tcarmelveilleux,
tecimovic,
tima-q,
tobiasgraf,
turon,
vivien-apple,
wiba-nordic,
woody-apple,
younghak-hwang and
yufengwangca
April 16, 2024 08:30
PR #32964: Size comparison from ced12be to b6d5847 Increases above 0.2%:
Increases (66 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink)
Decreases (4 builds for psoc6)
Full report (71 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink)
|
ArekBalysNordic
approved these changes
Apr 16, 2024
jmartinez-silabs
approved these changes
Apr 16, 2024
src/app/clusters/thread-network-diagnostics-server/thread-network-diagnostics-server.cpp
Outdated
Show resolved
Hide resolved
kkasperczyk-no
force-pushed
the
thread_network_diag_events
branch
2 times, most recently
from
April 17, 2024 08:35
02f19c7
to
46d25d8
Compare
PR #32964: Size comparison from 47c6d46 to 46d25d8 Increases above 0.2%:
Increases (66 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink)
Decreases (5 builds for linux, psoc6)
Full report (71 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink)
|
bzbarsky-apple
approved these changes
Apr 17, 2024
src/app/clusters/thread-network-diagnostics-server/thread-network-diagnostics-server.cpp
Outdated
Show resolved
Hide resolved
src/app/clusters/thread-network-diagnostics-server/thread-network-diagnostics-server.cpp
Outdated
Show resolved
Hide resolved
src/app/clusters/thread-network-diagnostics-server/thread-network-diagnostics-server.cpp
Outdated
Show resolved
Hide resolved
Added ThreadDiagnosticDelegate to enable generation of optional events from ThreadNetworkDiagnostics cluster. Additionally implemented generation of ConnectionStatus and NetworkFaultChanged events when Thread link state is changed.
kkasperczyk-no
force-pushed
the
thread_network_diag_events
branch
from
April 17, 2024 18:37
46d25d8
to
c68f03d
Compare
PR #32964: Size comparison from 035d302 to c68f03d Increases above 0.2%:
Increases (66 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink)
Decreases (5 builds for linux, psoc6)
Full report (71 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, mbed, nrfconnect, nxp, psoc6, qpg, stm32, telink)
|
kkasperczyk-no
added a commit
to kkasperczyk-no/connectedhomeip
that referenced
this pull request
Apr 24, 2024
Added ThreadDiagnosticDelegate to enable generation of optional events from ThreadNetworkDiagnostics cluster. Additionally implemented generation of ConnectionStatus and NetworkFaultChanged events when Thread link state is changed.
mergify bot
pushed a commit
that referenced
this pull request
Apr 24, 2024
* [nrfconnect][zephyr] Improvements and Fixes for WiFi according to NCS 2.6.0 (#32711) * [nrfconnect] wifi: avoid unwanted connect request It's pointless to issue a connect request in case no valid SSID has been found. Signed-off-by: Marcin Kajor <[email protected]> * [nrfconnect] wifi: Fix 5GHz association Wi-Fi stack recently introduced a check for valid band value and the default value of 0 (memset) means only 2.4GHz, so, 5GHz Wi-Fi associations will fail. Fix the default to Unknown to scan all supported bands. * [zephyr][nrfconnect] Make Wi-Fi manager use Wi-Fi interface only Find the Wi-Fi interface at the Wi-Fi manager initialization and use that interface instead of the default interface when calling Wi-Fi management functions. Signed-off-by: Damian Krolik <[email protected]> * [nrfconnect] fix handling of LastNetworkID in Wi-Fi driver This commit makes sure that correct Network ID is provided to the Network Commissioning cluster from the platform's Wi-Fi driver. Signed-off-by: Łukasz Duda <[email protected]> * [inet] Combine platform handlers for joining/leaving mcast group Instead, use a single handler for both joining and leaving a multicast group to reduce the code duplication. Signed-off-by: Damian Krolik <[email protected]> * [zephyr][nrfconnect] Move handler for joining/leaving mcast group Move the platform handler for joining and leaving a multicast group to ConnectivityManagerImpl to support Matter stack on a system with multiple network interfaces (Thread + Wi-Fi). Signed-off-by: Damian Krolik <[email protected]> * [nrfconnect] Added DNS server refresh after adding new IPv6 address The Wi-Fi device does not update mDNS queries after obtaining new IPv6 GUA address, so for some time after assigning prefix, the Thread Border Routers still use cached link-local address, which is not routable. Signed-off-by: Kamil Kasperczyk <[email protected]> * [nrfconnect] [zephyr] Disable synchronous printk Disable synchronous printk to avoid blocking IRQs which may affect time sensitive components (like 15.4 radio). Signed-off-by: Marcin Kajor <[email protected]> * [nrfconnect] Fix various Wi-Fi issues with error code handling This commit handles a few issues with Wi-Fi connection or scanning: - Use wifi_status structure instead of incompatible WiFiRequestStatus - On connect error value > 2 do not report success - On scan error value > 1 do not report success - Provide value of mandatory LastConnectErrorValue attribute Signed-off-by: Łukasz Duda <[email protected]> * [nrfconnect] Minor Wi-Fi refinements * error code handling unification * added GetWantedNetwork getter and use it when handling network status change * minor refactoring Signed-off-by: Marcin Kajor <[email protected]> * Restyled by clang-format * [nrfconnect] Provide a workaround for nrfconnect Posix unit tests. We need to disable all dependencies to the Zephyr net_if module until we switch unit tests to it. * Restyled by gn * Use Enum to indicate an operation instead of bool in MulticastGroupHandler --------- Signed-off-by: Marcin Kajor <[email protected]> Signed-off-by: Damian Krolik <[email protected]> Signed-off-by: Łukasz Duda <[email protected]> Signed-off-by: Kamil Kasperczyk <[email protected]> Co-authored-by: Marcin Kajor <[email protected]> Co-authored-by: Damian Krolik <[email protected]> Co-authored-by: Łukasz Duda <[email protected]> Co-authored-by: Kamil Kasperczyk <[email protected]> Co-authored-by: Restyled.io <[email protected]> * [nrfconnect] Improve CHIP_MEMORY_PROFILING config (#32827) - Enabled the full SHELL option when memory profiling is enabled. * [dnssd] Allow selecting DNS-SD implementation at runtime (#32829) Add Resolver::SetInstance() and ServiceAdvertiser::SetInstance() methods for dynamically changing the system-wide DNS-SD implementation used by Matter. Also, allow for building "minimal" and "platform" DNS-SD implementations together. Co-authored-by: Damian Krolik <[email protected]> * [scripts] Fixed nrfconnect factory generation scripts (#32892) The factory_data.hex file is not generated as an intermediate product of factory generation process. In result, factory generation works only if merging with firmware is used or scripts are manually invoked. Added optional --size and --offset arguments to generate_nrfconnect_chip_factory_data.py script that results in calling nrfconnect_generate_partition.py internally. It solves an issue and additionally simplifies manual generation process (if selected). * [nrfconnect] Implemented WiFiNetworkDiagnostics events generation (#32962) * Added generation of optional events from WiFiNetworkDiagnostics cluster. * Improved handler methods to validate the input data size * [zephyr] Fix CHIPDevicePlatformEvent.h include dependency (#33004) Currently the CHIPDevicePlatformEvent depends on the SystemPacketBuffer which is included in the CHIPDeviceEvent.h too late. The problem is silently worked around in the application when the <platform/PlatformManager.h> include is preceded by other headers that pull in SystemPacketBuffer.h, but we need a proper fix. Signed-off-by: Marcin Kajor <[email protected]> * [zephyr] Added Bluetooth LE Extended Advertisement option (#33005) This commit implements platform solution for a Bluetooth LE extended advertising. Additionally, for the CommissioningWindowManager types were changed from Seconds16 to Seconds32, because the current implementation overflows for 48h duration. Co-authored-by: Patryk Lipinski <[email protected]> * [clusters] Implemented ThreadDiagnosticDelegate (#32964) Added ThreadDiagnosticDelegate to enable generation of optional events from ThreadNetworkDiagnostics cluster. Additionally implemented generation of ConnectionStatus and NetworkFaultChanged events when Thread link state is changed. --------- Signed-off-by: Marcin Kajor <[email protected]> Signed-off-by: Damian Krolik <[email protected]> Signed-off-by: Łukasz Duda <[email protected]> Signed-off-by: Kamil Kasperczyk <[email protected]> Co-authored-by: Arkadiusz Bałys <[email protected]> Co-authored-by: Marcin Kajor <[email protected]> Co-authored-by: Damian Krolik <[email protected]> Co-authored-by: Łukasz Duda <[email protected]> Co-authored-by: Restyled.io <[email protected]> Co-authored-by: Patryk Lipinski <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added ThreadDiagnosticDelegate to enable generation of optional events from ThreadNetworkDiagnostics cluster.
Additionally implemented generation of ConnectionStatus and NetworkFaultChanged events when Thread link state is changed.