Skip to content

Wifi module WIFI.OFF & WIFI.STA command #2588

@amarendrapramanik

Description

@amarendrapramanik

Device

ESP8266

Version

1.16.0-dev

Bug description

Wi-Fi module WIFI.OFF & WIFI.STA command

When executed command WIFI.STA from terminal when the wifi mode is already in STA, the esp8266 module goes offline and there is no trigger that can bring the chip again online except the hard boot. I am not sure if some kind of checks needs to be performed before executing WIFI.STA.

Another issue is with the command WIFI.OFF, I am not sure why someone wants to make WIFI.OFF, because once the command is executed there is no turning back, the esp8266 module become offline and there is no way we can perform WIFI.ON.

Steps to reproduce

When the module is in STA mode execute the WIFI.STA command from the terminal.

Build tools used

No response

Any relevant log output (when available)

No response

Decoded stack trace (when available)

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions