OpenShock / Firmware

Espressif Firmware for OpenShock, Controlling shock collars via Reverse engineered proprietary Sub-1 GHz Protocols.
GNU Affero General Public License v3.0
26 stars 6 forks source link

[Bug] Open WiFi networks cannot be connected to #141

Closed LucHeart closed 6 months ago

LucHeart commented 7 months ago

Pre-submission checklist

Board

D1 Mini

Firmware version

1.0.0

Flashing method

xxx

Describe what happened as precisely as possible.

Tried to connect the ESP to a open wifi network.

Describe what you expected to happen instead.

Open networks should be able to be connected to

In as much detail as possible, describe the exact steps you took to make the problem appear.

Other remarks

[642589][E][WiFiNetworkSaveCommand.cpp:26] HandleWiFiNetworkSaveCommand(): [LocalMessageHandlers] WiFi message is missing required properties
LucHeart commented 7 months ago

In addition, it also does not work over serial command. E.g.

> networks [{"ssid": "Luc-Test", "password": ""}]
$SYS$|Error|Invalid argument (missing ssid or password)

> networks [{"ssid": "Luc-Test", "password": "dfsd"}]
[859176][I][SerialInputHandler.cpp:208] _handleNetworksCommand(): [SerialInputHandler] Adding network to config Luc-Test
hhvrc commented 7 months ago

This is not a bug, it's a feature yet to be implemented

LucHeart commented 7 months ago

it errors, therefor its a bug

LucHeart commented 7 months ago

it also worked 0.8.0 so it was a bug introduced with 1.0.0