• Bi-Ruei, Chiu's avatar
    Add min and max value of INTEGER(min..max) to asn_constant.h · efd2af41
    Bi-Ruei, Chiu authored
    For the following ASN.1 excerpt, the value of these Types will
    be checked against its valid range in their corresponding
    constraint functions.
    
    DRB-Identity ::= INTEGER(1..32)
    RSRP-Range   ::= INTEGER(0..97)
    RSRQ-Range   ::= INTEGER(0..34)
    
    Sometime it is convenient for application being aware of these
    min and max values.
    
    This commit generate the following macro defintions in
    asn_constant.h :
    
    \#define min_val_DRB_Identity (1)
    \#define max_val_DRB_Identity (32)
    \#define min_val_RSRP_Range (0)
    \#define max_val_RSRP_Range (97)
    \#define min_val_RSRQ_Range (0)
    \#define max_val_RSRQ_Range (34)
    efd2af41
asn1c_save.c 29.8 KB