• Bi-Ruei, Chiu's avatar
    Generate asn_constant.h · e436f61a
    Bi-Ruei, Chiu authored
    Currently, there is no code generated for following ASN.1 excerpt.
    Thus application is not aware of these values.
    
        maxnoofErrors           INTEGER ::= 256
        maxnoofBPLMNs           INTEGER ::= 6
        maxnoofPLMNsPerMME      INTEGER ::= 32
        maxnoofEPLMNs           INTEGER ::= 15
        ...
    
    This commit generate asn_constant.h which has the following macro
    defitions :
    
        #define maxnoofErrors (256)
        #define maxnoofBPLMNs (6)
        #define maxnoofPLMNsPerMME (32)
        #define maxnoofEPLMNs (15)
        #define maxnoofEPLMNsPlusOne (16)
        ...
    
    It only handles ASN_BASIC_INTEGER type. Other built-in types shall
    be added in the future.
    e436f61a
asn1c_save.c 28 KB