Navigation



Ignore:
Timestamp:
Mar 26, 2020, 1:52:18 PM (4 years ago)
Author:
Luke Mewburn <luke@mewburn.net>
Branch:
default
Phase:
public
Message:

Update to 3GPP2 X.S0057-0 v2.0

Define 3GPP2-BSID (vendor 5535, code 9010) in dict_dcca_3gpp.csv
per 3GPP2 X.S0057-0 v2.0.

Note: Type changed from OctetString? to UTF8String.
Note: Must Flag M set.

Generate AVP instead of hand-coding.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/dict_dcca_3gpp/dict_dcca_3gpp.c

    r1482 r1483  
    1478314783
    1478414784        /*==================================================================*/
    14785         /* End of generated data.                                           */
     14785        /* 3GPP2 X.S0057-0 v2.0                                             */
     14786        /* From 3GPP2 X.S0057-0_v2.0_091215.pdf                             */
    1478614787        /*==================================================================*/
    1478714788
    14788         /* 3GPP2-BSID */
     14789        /* Note: 3GPP2-BSID (9010) corrected from OctetString to UTF8String. */
     14790        /* 3GPP2-BSID, UTF8String, code 9010, section 5.6.2.1.1             */
    1478914791        {
    1479014792                struct dict_avp_data data = {
     
    1479314795                        "3GPP2-BSID",   /* Name */
    1479414796                        AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY,    /* Fixed flags */
    14795                         AVP_FLAG_VENDOR,        /* Fixed flag values */
    14796                         AVP_TYPE_OCTETSTRING    /* base type of data */ /* XXX: guessed */
    14797                 };
    14798                 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
    14799         };
    14800 
     14797                        AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY,    /* Fixed flag values */
     14798                        AVP_TYPE_OCTETSTRING    /* base type of data */
     14799                };
     14800                CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL);
     14801        };
     14802
     14803        /*==================================================================*/
     14804        /* End of generated data.                                           */
     14805        /*==================================================================*/
    1480114806
    1480214807        /*==================================================================*/
Note: See TracChangeset for help on using the changeset viewer.