Skip to content

Conversation

@avahe-kellenberger
Copy link
Contributor

@avahe-kellenberger avahe-kellenberger commented Jul 19, 2023

There was an issue sometimes with values being null or undefined, in the findValidPort function. The main point of the PR is that fix.

I've also added a basic log function that will log directly to the terminal/command line, so we could see the logs there instead of the browser's log. If you don't like this change, I can revert it quickly.


This doesn't seem to fix #2. I no longer see "Click to reconnect" (it appropriately detects my b0xx), but button presses aren't reflected on the UI.

I am using an R4, and afaik the master branch of HayBox doesn't have r4 support?
I'm currently using my fork for r4 support. It should have the relevant changes needed, but if I'm missing something, please let me know.

- Added a helper function to log directly into the terminal (instead of
  the browser console).
@avahe-kellenberger
Copy link
Contributor Author

@JonnyHaystack Do you have idea idea on why this wouldn't be working?
The device is recognized, the port opens, but no data is being passed to the onData function.
I've also confirmed the port is staying open.

@Jaggernaut555
Copy link

Any update on this being merged? Came across the null value issue in findValidPort and am surprised that this fix isn't in for that

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.

Not working on Linux

2 participants