Skip to content

Implement Wi-Fi Management Capabilities #5

Open
@mirkobrombin

Description

@mirkobrombin

We need to extend the pkg/v1/net/net.go package by implementing functionality to manage Wi-Fi connections. This includes the ability to list, connect to, create, modify, delete, and verify Wi-Fi connections. The following features should be incorporated:

  • List Wi-Fi connections

    • Implement a function to list all the available Wi-Fi connections int he device, this should return a struct with the proper fields.
  • Connect to Wi-Fi

    • Implement a function to connect to a specified Wi-Fi network by providing the SSID and password.
    • Ensure that the function handles various connection states and errors (e.g., incorrect password, network not found).
  • Create Wi-Fi connection

    • Implement a function to create a new Wi-Fi connection profile.
    • This function should allow the specification of SSID, password, and other relevant settings (e.g., security type).
  • Modify Wi-Fi connection

    • Implement a function to modify an existing Wi-Fi connection profile.
    • Allow changes to SSID, password, and other settings.
  • Delete Wi-Fi connection

    • Implement a function to delete a specified Wi-Fi connection profile.
    • Ensure that the function properly removes the profile and handles any associated errors.
  • Verify Wi-Ficonnection

    • Implement a function to verify the current Wi-Fi connection status.
    • This should include checking if the device is connected to a specified network and retrieving connection details (e.g., signal strength, IP address).

PS. some of these methods are already implemented but a more specific WiFi interface could help implement the SDK in our projects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions