• Robert Schmidt's avatar
    Fix bug: correctly fill LCID in ue context setup resp · 4e7e8a6f
    Robert Schmidt authored
    Before this bug fix, when using F1, we get this warning:
    
      Constraint validation failed: LCID: constraint failed (/home/richie/openairinterface5g/cmake_targets/ran_build/build/openair2/F1AP/MESSAGES/F1AP_LCID.c:30)
    
    This is because (1) we don't actually store the LCID, then (2) we did
    not put it into the F1 ASN.1 structures. Fix both, to make this warning
    disappear.
    
    To actually print the full error message, increase the error buffer
    size. Also, for the future, to avoid guessing, print ASN.1 XML when we
    encounter a failed constraint validation.
    4e7e8a6f
f1ap_encoder.c 2.14 KB