-
Notifications
You must be signed in to change notification settings - Fork 2
Adds Wi-Fi based debugging #56
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
PropGit
commented
Oct 2, 2018
- Bumped to v0.9.1.
- Added Wi-Fi bi-directional debugging
- Sped up debug processing by disabling Nagle timer (Wi-Fi) and made send() require an ArrayBuffer (Wired and Wi-Fi). Send() no longer wastes time internally checking data type and converting from Str or Buf to ArrayBuffer.
- Ensured downloads are not affected by previous execution's debug stream
- Enhanced http.js to check last error; eliminates an error message in console
- Fixed multi-port use bug that prevented further downloads during session
- Fixed bug causing multi-port debug streams to occasionally collide
…d() and required data to be an ArrayBuffer. This will speed up response time.
… 1492 (minimum typical TCP/IP packet size).
…eceive and onReceiveError functions to be usable for both wired and wireless connections.
…t to terminal/graph. Updated loader POST message to include final baud rate.
…if bSocket is null.
… stream. Commented out many debugging logs. Refactored for speed.
…processing on data if it's from an unexpected source. Also moved constant definitions out of hearFromProp() and up to top of loader.js to clean up appearance.
…minal() to set mode to 'none' upon closing wireless ports and also to send messages to wireless ports.
…rt if needed at the moment it's needed. This consolidates some code and prepares for allowing browser to open wireless port for immediate debugging.
…Uncommented deleteSocket() dubug messages. Fixed omission in openSocket that didn't return socket type object. Enabled closed socket debug.
…ving the only feature of index.js that required a log of the browser socket(s) it's connected to (calls to sendPortList()), and the solution makes port (and socket) management much simpler and fixes a multip-port use bug that is know to break functionality for the entire session.
…ket error log (promise error is not being exposed for some reason. Fixed browser socket close code to clean up properly.
…ultiple sources. Object.assign() only makes shallow copies, and JSON-based deep copies lose integer array types; solution is to set buffer to new integer array after port assignment.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.