Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Esp8266/ESP32 reset handshake for the serial connection #432

Merged
merged 1 commit into from
Dec 1, 2022

Conversation

awawa-dev
Copy link
Owner

@awawa-dev awawa-dev commented Dec 1, 2022

In certain circumstance ESP device could be left in unspecified state. This PR add following new option:
obraz

that allows:

  • reset the ESP32/Esp8266 board at the beginning

  • after the reset is performed, we read the initial HyperSerialEsp8266/HyperSerialESP32 boot message and check it
    obraz

  • if the board is not capable of the 2Mb speed (or any other speed set in HyperHDR) the user will see a warning
    obraz

  • after the LED device is stopped, we read the statistics (just wait few seconds). Still we maintain one way communication at the same time, because of problems with the performance of duplex for certain system/drivers.
    obraz

obraz


Also please check out other new feature added in the previous commit, that shows how many frames were dropped due to slow LED device or too high refresh rate set in the smoothing:

obraz

@awawa-dev awawa-dev merged commit f56c307 into master Dec 1, 2022
@awawa-dev awawa-dev deleted the adalight_esp_handshake branch December 2, 2022 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant