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

Add support to configure BSSID in Wi-Fi connect command #1602

Merged
merged 5 commits into from
Apr 16, 2024

Conversation

rado17
Copy link
Contributor

@rado17 rado17 commented Apr 5, 2024

  1. Use getopt API to process the arguments passed with connect command.
  2. Add support for BSSID configuration in connect call.

@rado17 rado17 force-pushed the connect_getopt_support branch from e0568c9 to f3daef4 Compare April 15, 2024 07:58
@rado17 rado17 force-pushed the connect_getopt_support branch from f3daef4 to 6014ccc Compare April 15, 2024 08:30
@rado17 rado17 requested a review from ajayparida April 15, 2024 11:53
rado17 and others added 4 commits April 15, 2024 17:32
Use getopt API to process the arguments passed with connect
command.

Signed-off-by: Ravi Dondaputi <[email protected]>
(cherry picked from commit 8256d02)
Add support for BSSID configuration in connect call.

Signed-off-by: Ravi Dondaputi <[email protected]>
(cherry picked from commit 73ed81c)
… parsing

The commit 8256d02 introduced
getopt parsing for the wifi connect command
This needs to be updated for the wifi ap enable since ap
enable also uses the same parsing as connect.
The use of getopt removes the parameter ordering restrictions

Signed-off-by: Brad Kemp <[email protected]>
(cherry picked from commit 3e2c067)
Since `NONE` is a valid option for key management in `connect`
command, we should remove the part in help text which says:
"valid only for secure SSIDs".

Upstream PR: zephyrproject-rtos/zephyr#71319

Signed-off-by: Ravi Dondaputi <[email protected]>
Having a `break` statement after `return` is redundant and
needs to be removed.

Upstream PR: zephyrproject-rtos/zephyr#71319

Signed-off-by: Ravi Dondaputi <[email protected]>
@rado17 rado17 force-pushed the connect_getopt_support branch from 6014ccc to 28314bf Compare April 15, 2024 12:23
@rlubos rlubos merged commit 700870d into nrfconnect:main Apr 16, 2024
11 checks passed
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.

9 participants