-
-
Notifications
You must be signed in to change notification settings - Fork 589
feat(Grbl): support UART communication without resetting the connection upon opening #880
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
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Hi @MitchBradley, It seems to be working as expected: #868 (comment) Would you have time to review the changes? Thanks! |
I will test it tomorrow. |
Making some progress - I had to fix my compilation environment by clearing out some old versions of things, then I had to work around the fact that WSL does not list serial ports in udev, so @serialport does not find any ports. I now have a cncjs connection with FluidNC and will test against all of the alarm states. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It passed my tests
Thank you for confirming. I'll create a new release for the change. |
PR Type
enhancement
Description
queryActivity
function to periodically send status queries when the connection is open.ready
andinitialized
flags appropriately.Changes walkthrough 📝
GrblController.js
Enhance UART communication handling and initialization logic
src/server/controllers/Grbl/GrblController.js
queryActivity
function with throttling.ready
andinitialized
states.