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

Unify the serialport.list output #1266

Merged
merged 1 commit into from
Jul 29, 2017
Merged

Unify the serialport.list output #1266

merged 1 commit into from
Jul 29, 2017

Conversation

reconbot
Copy link
Member

@reconbot reconbot commented Jul 29, 2017

  • [osx] remove the 0x from productID and locationId and vendorId
  • [linux] remove the starting 0x from any values, small refactor
  • [linux] Fixup output using the hex encoded fields
  • [windows] Grab the serial number from the pnp id
  • Isolate list functions to their own platform files (c++)
  • Better ensure our serialports fields are present

closes #1220

- [osx] remove the 0x from productID and locationId and vendorId
- [linux] remove the starting 0x from any values, small refactor
- [linux] Fixup output using the hex encoded fields
- [windows] Grab the serial number from the pnp id
- Isolates list to it's own platform files (c++)
- Better ensure our serialports fields are present
@codecov-io
Copy link

codecov-io commented Jul 29, 2017

Codecov Report

Merging #1266 into master will increase coverage by 0.04%.
The diff coverage is 90.9%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #1266      +/-   ##
=========================================
+ Coverage   78.85%   78.9%   +0.04%     
=========================================
  Files          19      19              
  Lines         870     891      +21     
  Branches      156     163       +7     
=========================================
+ Hits          686     703      +17     
- Misses        184     188       +4
Impacted Files Coverage Δ
lib/serialport.js 97.14% <ø> (ø) ⬆️
lib/bindings/linux-list.js 100% <100%> (ø) ⬆️
lib/bindings/win32.js 69.64% <42.85%> (-4.36%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8b07a48...986bf26. Read the comment docs.

@reconbot reconbot merged commit 4fc1404 into master Jul 29, 2017
@reconbot reconbot deleted the unify-list branch July 29, 2017 23:40
@lock lock bot locked and limited conversation to collaborators Feb 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

[all] Serialport.list Information Wrong/Missing
2 participants