-
-
Notifications
You must be signed in to change notification settings - Fork 787
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
Ctxlink_wifi_options #2059
base: main
Are you sure you want to change the base?
Ctxlink_wifi_options #2059
Conversation
758729a
to
4e6ea5c
Compare
4e6ea5c
to
791891e
Compare
29b352a
to
447e76d
Compare
…d save for display to user.
Display is incorrect, needs to treat input bytes as hex.
This is required to keep the wi-fi stack operational, the BMF code blocks in this function at times and therefore, wi-fi is not serviced.
Required for new network "forget" command.
Embedded spaces not being processed correctly.
447e76d
to
eabddff
Compare
Hi! |
@Misaka0x2730 Hello! This was previously suggested by @ALTracer, and is a good idea. Since this PR is a feature update it is awaiting review and merging until after the next release. Hopefully, during this period I can adopt the suggestion. |
I am not sure this is such a good idea since it prevents grouping the custom commands logically in the command list. Plus, there are quite a few other custom commands already in the command list, e.g. TraceSWO & RTT. I think unless the maintainers (@dragonmux ) feel it is required I am going to leave the added command for this PR as it is. |
I agree that @dragonmux is the one who’ll ultimately decide here. |
I agree that these should be platform commands at least for now, though not having control over the grouping is unfortunate. |
@perigoso Thanks for your input. I would be happy to review the platform commands should the command table/architecture change in the future. |
This PR adds Wi-Fi management for ctxLink using GDB and a new monitor command.
With the original releases of ctxLink some users had issues using the HTTP and WPS provisioning features of ctxLink.
Also, after provisioning some users found it hard to discover the IP address of ctxLink, this is required to connect to the probe.
The new monitor command is "wifi".
To inspect the current Wi-Fi status the following command is used:
mon wifi
This will display either "Not Connected," or the SSID, Signal Strength (RSSI), and IP address of the connected Access Point.
To connect to a Wi-Fi Access Point the following command is used, substituting the SSID and PassPhrase settings of the AP:
mon wifi SSID,Passphrase
Spaces are accepted for these two parameters, however, there should be no space before or after the ",".
Your checklist for this pull request
Closing issues
None.