You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.
Actually here, this is not an encoding but a decoding issue. The error happens when you try to decode the textual string corresponding to the value in ASN.1 notation, into the object structure.
There is no issue when you set the direct value into the object:
en_rrc.set_val(decoded)
I'll need to investigate what is the exact issue with decoding the ASN.1 value string.
And the group components are all OPTIONAL, plus the srs-SwitchingTimeRequested can only have one value forced to True. Hence, we may have additionally an issue here with canonical PER. As a first remark, I see the UPER re-encoding from pycrate differs from the provided buffer.
@luiscpgh : has this buffer been observed from a commercial handset implementation ?
p1-bmu
changed the title
ASN1 encoding error when ... extension
ASN1 decoding of grouped extension with all group components OPTIONAL and component with implicit value
Aug 28, 2023
Hi,
I encountered an issue encoding a message containing IEs in the "..." extension (sorry, I am not sure what this extension is actually called)...
Decoding works great. Encoding is the problem.
Here is a minimal example:
In the example above, I think the issue is that the supportedBandCombinationList-v1540 IE is past the "..." extension in the 3GPP spec:
Any tips with how to tell the encoder that the IE is past the "..." extension?
The text was updated successfully, but these errors were encountered: