Attention is currently required from: laforge.
neels has posted comments on this change by neels. ( https://gerrit.osmocom.org/c/pysim/+/40201?usp=email )
Change subject: personalization: make AlgorithmID a new EnumParam ......................................................................
Patch Set 5:
(1 comment)
Patchset:
PS5:
This lokks like a workaround for asn1struct which ahould do this in a generic way based on the ASN. […]
(Slight counter argument: This is not a map to the binary representation. These are definitions for the AlgorithmId(EnumParam) caller, let's call it the frontend, so it is semantically correct to be separate from whichever binary representation the backend chooses.)
But I agree that it is less shimmy if we can just pick up all possible values from the asn.1 def.
My problem: it is highly mysterious to me how to use the asn.1 mappings, because they magically appear without a python definition i can look up. please assist with a quick code snippet, at least a starting point? that would help tremendously, thanks