-
Notifications
You must be signed in to change notification settings - Fork 31
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
[feature] Bitfield record class #59
Open
ngjunsiang
wants to merge
13
commits into
open-dis:master
Choose a base branch
from
ngjunsiang:feat-bitfield
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Commits on May 18, 2024
-
[feat] add read_bytes() and write_bytes() methods
This is required for bitfields to be able to read or write an arbitrary number of bytes from/to the stream.
Configuration menu - View commit details
-
Copy full SHA for f0f86f0 - Browse repository at this point
Copy the full SHA f0f86f0View commit details -
[refactor] add specific non-octet-size type aliases for bitfields
This might change in future
Configuration menu - View commit details
-
Copy full SHA for 738382d - Browse repository at this point
Copy the full SHA 738382dView commit details -
[feat] bitfield factory function, NetId and SpreadSpectrum record cla…
…sses These two classes require the use of bitfields, which until now has not been implemented. The interface and design of these two classes is not yet final. Discussion and testing of this interface is recommended before finalization and further work on other bitfield records.
Configuration menu - View commit details
-
Copy full SHA for c0fb495 - Browse repository at this point
Copy the full SHA c0fb495View commit details -
Configuration menu - View commit details
-
Copy full SHA for 346b8bf - Browse repository at this point
Copy the full SHA 346b8bfView commit details -
[refactor] Add default values to allow init without initial values
This follows the pattern established by the classes in dis7.py
Configuration menu - View commit details
-
Copy full SHA for 1b7f071 - Browse repository at this point
Copy the full SHA 1b7f071View commit details -
[refactor] Use SpreadSpectrum in ModulationType
Initial test for bitfield class
Configuration menu - View commit details
-
Copy full SHA for bff4aa3 - Browse repository at this point
Copy the full SHA bff4aa3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a86ae5c - Browse repository at this point
Copy the full SHA a86ae5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b5cf7a - Browse repository at this point
Copy the full SHA 3b5cf7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba89412 - Browse repository at this point
Copy the full SHA ba89412View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a1ea52 - Browse repository at this point
Copy the full SHA 8a1ea52View commit details -
[fix] Bitfield packs into correct number of bytes
The fields fall back on default size for c_uint if not specified, resulting in the bitfield packing a 16-bit bitfield into 4 bytes instead of 2. This fix induces the correct packing behaviour.
Configuration menu - View commit details
-
Copy full SHA for 1aaaa87 - Browse repository at this point
Copy the full SHA 1aaaa87View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9acd3b8 - Browse repository at this point
Copy the full SHA 9acd3b8View commit details
Commits on May 19, 2024
-
[fix] SignalPdu correctly parses data samples
This was missed in an earlier refactor that converted length/count attributes into properties.
Configuration menu - View commit details
-
Copy full SHA for d9e211c - Browse repository at this point
Copy the full SHA d9e211cView commit details
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.