Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

[WIFI] Wifi libs return incorrect status for is_connected() when in AP mode.  #244

Open
@fusspawn

Description

@fusspawn

Expected Behaviour:

wlan.is_connected() to return true when a client is connected to the access point.

Actual behaviour:

wlan.is_connected() always returns false when a client is connected.

Looks like the ESP8266 implementation may have code we can reuse.
ESP32:

STATIC mp_obj_t wlan_isconnected(mp_obj_t self_in) {

ESP8266:

/// \method isconnected()

Thanks to mfalkvidd on the forums. https://forum.pycom.io/topic/4174/wlan-isconnected-in-ap-mode-still-not-working/4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions