Skip to content

Conversation

@epage
Copy link
Contributor

@epage epage commented Jul 26, 2017

out_strm_list_by_id might contain either LIN or CAN frames IDs without a
way to distinguish them so we can't completely abstract it like we did for
IDs in the actual Frames. Instead the parsing logic from CanFrame was
extracted and abstracted so it can be reused with this property
(CanIdentifier).

Fixes #115

BREAKING CHANGE: CanFrame now accepts a single CanIdentifier rather
than an (int, bool). An int can still be passed in as a short-form
and will be interpreted as a non-extended id.

  • This contribution adheres to CONTRIBUTING.md.
  • New tests have been created for any new features or regression tests for bugfixes.
  • tox successfully runs, including unit tests and style checks (see CONTRIBUTING.md).

`out_strm_list_by_id` might contain either LIN or CAN frames IDs without a
way to distinguish them so we can't completely abstract it like we did for
IDs in the actual Frames.  Instead the parsing logic from `CanFrame` was
extracted and abstracted so it can be reused with this property
(`CanIdentifier`).

Fixes ni#115

BREAKING CHANGE: `CanFrame` now accepts a single `CanIdentifier` rather
than an `(int, bool)`.  An `int` can still be passed in as a short-form
and will be interpreted as a non-extended id.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 63.525% when pulling 4eb7bfb on epage:canned into 6211b30 on ni:master.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 63.525% when pulling 4eb7bfb on epage:canned into 6211b30 on ni:master.

@coveralls
Copy link

coveralls commented Jul 26, 2017

Coverage Status

Coverage increased (+0.04%) to 63.525% when pulling 4eb7bfb on epage:canned into 6211b30 on ni:master.

@coveralls
Copy link

coveralls commented Jul 26, 2017

Coverage Status

Coverage increased (+0.04%) to 63.525% when pulling 7db06cb on epage:canned into 6211b30 on ni:master.

@coveralls
Copy link

coveralls commented Jul 26, 2017

Coverage Status

Coverage increased (+0.04%) to 63.525% when pulling d31a6ae on epage:canned into 6211b30 on ni:master.

@epage epage merged commit 3188e71 into ni:master Jul 26, 2017
@epage epage deleted the canned branch July 26, 2017 23:16
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.

Should can_out_strm_list_by_id be raw data or parsed data?

2 participants