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

Remove sending of empty JSON to accelerate device setup #203

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

fleborne
Copy link
Contributor

I found that removing the empty JSON send from the _setup method improves connection speed, especially when using a native gate.

As there seems to be no drawback with this change, I suggest to include it to the upstream version.

@nicolas-rabault
Copy link
Member

As I remember this was useful for some specific boards that needed to receive a few characters actually to start the serial (such as ESP32). But I'm not sure if these boars are used or even still work so, It's ok for me.

@nicolas-rabault nicolas-rabault self-requested a review December 12, 2024 17:24
Copy link
Member

@nicolas-rabault nicolas-rabault left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok.

@nicolas-rabault nicolas-rabault merged commit 65d12be into Luos-io:rc_3.1.0 Dec 12, 2024
@fleborne fleborne deleted the faster-device-setup branch December 13, 2024 15:34
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.

2 participants