-
Notifications
You must be signed in to change notification settings - Fork 561
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
APER support #125
base: master
Are you sure you want to change the base?
APER support #125
Conversation
Just wondering, is this pull request same as Aligned PER support part of #115 ? |
Hi @brchiu From a encode/decode APER messages point of view #115 and #125 are hopefully the same :) |
@ikarso and @persandstrom, I've noticed that this PR is not quite compatible with PR #129, as the latter introduces larger constraints than this one supports. It seems that the best way to address this would be for @ikarso to update this PR to handle larger constraints. Comments? |
Also, @ikarso, shouldn't the command line flags be updated to accommodate APER vs UPER? |
I've "made peace" between this PR and #129. It's in my fork now. Maybe more validation tests are needed to better exercise both APER and longer constraints, but I leave that part to you, @ikarso and @persandstrom. |
Ok, thanks @mouse07410 |
@mouse07410 Do you mean in the converter-sample.c? I'm not sure that the best path is to merge many PR. Of course i can merge #129 and #99 (from discussion on #115) if it would be helpful. But i rather see a new PR/branch/fork/.. with combined PRs than to extend #125 . |
No, I mean that both PRs (#125 and #129) are applied to my fork of asn1c, and the disagreements between them have been fixed.
No I do not, because I couldn't care less for this cosmetic issue.
Well, right now #125 and #129 have been merged in my fork.
It would probably be nice, though if #99 matters, I'd rather see it on top of the already-working stuff (like my fork :).
As I said, there is a new fork https://github.com/mouse07410/asn1c.git with most of the outstanding PRs applied and merged when there were inconsistencies between them. The fastest way to get #99 into a working
I know that I would prefer for @vlm to merge those PRs, so I don't need to maintain a fork. But since it doesn't seem to be coming any time soon, I took that upon myself. You're welcome to either extend #125 with #99 (minding that in my fork #125 has been adjusted to accommodate for #129), or figure a better path if you think it exists. |
The merge has been completed. #99 is in the master branch of my fork, all the CI tests pass. |
when i use the aper support code to decode a VisibleString like this 05 56 31 2E 30 30,code 05 is the size,i find the decode function OCTET_STRING_decode_aper using 7 bits (range_bits) as a boundary for each character ,i wonder if this treatment matchs the rule of APER,it should be 8bits as a boundary in a VisibleString for APER? @ikarso |
|
Most of the code are a copy of UPER. Decoding is verified against H225/h323.