Add support for Wi-Fi settings#900
Closed
vldpro wants to merge 6 commits intomavlink:masterfrom
vldpro:wifi-messages
Closed
Add support for Wi-Fi settings#900vldpro wants to merge 6 commits intomavlink:masterfrom vldpro:wifi-messages
vldpro wants to merge 6 commits intomavlink:masterfrom
vldpro:wifi-messages
Conversation
- MAV_CMD_GET_WIFI_NETWORKS_COUNT is used for obtaining Wi-Fi networks (scanned or saved) count with WIFI_NETWORKS_COUNT as reply from vehicle. - MAV_CMD_GET_WIFI_NETWORKS_INFO is used for retrieving information (SSID/Security type) about saved/scanned networks with WIFI_NETWORK_INFO as reply from vehicle.
- WIFI_STATE - set of wifi states (Client/AP/Undefined) - MAV_CMD_GET_WIFI_STATUS is used for obtaining information about current Wi-Fi status with WIFI_STATUS as reply.
- Add WIFI_NETWORK_ADD, WIFI_NETWORK_DELETE - add or delete saved Wi-Fi network from vehicle. - WIFI_NETWORK_CONNECT - connect vehicle to a specified Wi-Fi network (After this message, vehicle switches to Client mode) - MAV_CMD_WIFI_START_AP - switches vehicle to Access Point mode
Member
|
Is there an RFC open for this? https://mavlink.io/en/contributing/contributing.html |
Author
|
Sorry for delay, I'll open it soon. |
- add WIFI_ACK - response to all messages, which is sent by GCS (excluding commands).
Author
|
RFC is created |
Contributor
|
Associated RFC has stalled for more than 6 months, with an end status that it may not make sense to implement at all, but definitely should be done differently. I am therefore closing this - it can be reopened (if that makes sense) when the RFC converges on agreement. |
This file contains hidden or 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
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.
In this PR I propose to add new messages to setup Wi-Fi of the vehicle using GCS.
Description:
Vehicle can be in 2 states: connected to a selected network (Client mode) or create its own AP (Access Point). Vehicle will have a list of saved (by user) networks to which it may try to connect. If vehicle can't connect to any network then it will start in AP mode.
Communication with GCS (Initially vehicle is in AP):
Additionally, GCS can:
Also GCS can use messages MAV_CMD_GET_WIFI_NETWORKS_INFO, WIFI_NETWORKS_INFO, MAV_CMD_GET_WIFI_NETWORKS_COUNT, WIFI_NETWORKS_COUNT for obtaining list of scanned networks (Networks which are available for connection)