-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: wpa_cli use updated to configure WPA3
WpaCliSetup extended to support open, WPA2 and WPA3. By default it attempts to configure based on the existing arguments. set_network can take an additional argument to explicitly choose the network security type. (this could be an additional parameter over MQTT). Note: WPA3 doesn't support pre shared key (64 hex ditits), it requires the password/passphrase. Hence over MQTT a quoted "psk": "\"thePassphrase\"" is required and not the output from the wpa_passphrase command. Signed-off-by: James Chapman <[email protected]>
- Loading branch information
Showing
7 changed files
with
280 additions
and
52 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
set(TEST_TARGET_NAME ${PROJECT_NAME}_tests) | ||
add_executable(${TEST_TARGET_NAME}) | ||
|
||
target_include_directories(${TEST_TARGET_NAME} PUBLIC ${GTEST_INCLUDE_DIRS} . ..) | ||
|
||
target_sources(${TEST_TARGET_NAME} PRIVATE | ||
RunApplicationStub.cpp | ||
WiFiSetupTest.cpp | ||
../WiFiSetup.cpp | ||
) | ||
|
||
find_package(GTest REQUIRED) | ||
|
||
target_link_libraries(${TEST_TARGET_NAME} PRIVATE | ||
${GTEST_LIBRARIES} | ||
${GTEST_MAIN_LIBRARIES} | ||
) | ||
|
||
add_test(${TEST_TARGET_NAME} ${TEST_TARGET_NAME}) |
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
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
Oops, something went wrong.