Skip to content

Commit

Permalink
Linux Matter bridge app that supports Wi-Fi without Thread (#19725)
Browse files Browse the repository at this point in the history
* [Latch] For Matter SDK bridge, support Wi-Fi without needing Thread (#18782)

* Restyled by gn

* [Latch] For Matter SDK bridge, support Wi-Fi without needing Thread (#18782)

* Restyled by clang-format

Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
latch-danielkneip and restyled-commits authored Jun 23, 2022
1 parent 1e4e037 commit 0a995b0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/platform/Linux/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ static_library("Linux") {
"Logging.cpp",
"NetworkCommissioningDriver.h",
"NetworkCommissioningEthernetDriver.cpp",
"NetworkCommissioningThreadDriver.cpp",
"NetworkCommissioningWiFiDriver.cpp",
"PlatformManagerImpl.cpp",
"PlatformManagerImpl.h",
Expand All @@ -84,6 +83,10 @@ static_library("Linux") {
"bluez/Types.h",
]

if (chip_enable_openthread) {
sources += [ "NetworkCommissioningThreadDriver.cpp" ]
}

deps = [ "${chip_root}/src/setup_payload" ]

public_deps = [
Expand Down Expand Up @@ -123,6 +126,8 @@ static_library("Linux") {
}

if (chip_enable_wifi) {
sources += [ "GlibTypeDeleter.h" ]

public_deps += [ "dbus/wpa" ]
}

Expand Down
1 change: 1 addition & 0 deletions src/platform/Linux/ConnectivityManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
#endif

#if CHIP_DEVICE_CONFIG_ENABLE_WPA
#include <platform/Linux/GlibTypeDeleter.h>
#include <platform/internal/GenericConnectivityManagerImpl_WiFi.ipp>
#endif

Expand Down

0 comments on commit 0a995b0

Please sign in to comment.