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] WiFi reports connection failed, but still connected #35

Open redmushie opened 8 months ago

redmushie commented 8 months ago

Got an UI popup that said "connection failed". Serial reports the same: image

However, it still connected.

Board is Seeed Xiao ESP32-S3

hhvrc commented 8 months ago

If you look at the timestamps in he logs, these two events are 4 seconds apart, what you are seeing is a reconnect attempt. I could add some logs to make this apperant but that requires more complexity since i have no logic that specifically does reconnection logic. It only tries to connect if not connected.

Might wanna look into why it reconnects instead.

redmushie commented 8 months ago

Might wanna look into why it FAILS to connect instead no? Because the credentials are clearly correct if it works the second time.

redmushie commented 8 months ago

Postponing to next release due to low importance.