Skip to content

Difficult to tell if you've failed to connect to a wifi network #253

@RichardoC

Description

@RichardoC

Describe the bug
I maintain https://github.com/RichardoC/wifi-switcher for connecting to enable a tildagon to connect to multiple wifi networks. Currently, it's difficult to tell whether this worked correctly due to the following 2 pieces of behaviour

  1. Wifi.connect(ssid, password) doesn't have any return, so you can't tell if it worked
  2. If the tildagon is already connected to a wifi access point, calling wifi.connect(ssid,password) will be ignored, and it will stay connected to the old wifi access point.

I can work around both of these in my app, but I wanted to check whether there was an appetite to change anything in the current wifi module to make this a bit more ergonomic

Version: [v1.10.0]

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions