Change parameter string types to bytes type 00/2500/1 v3.0.0
authorTimo Tietavainen <timo.tietavainen@nokia.com>
Thu, 13 Feb 2020 05:21:53 +0000 (07:21 +0200)
committerTimo Tietavainen <timo.tietavainen@nokia.com>
Thu, 13 Feb 2020 05:21:53 +0000 (07:21 +0200)
commit57a944751ed0f01bdd1c85163f6de10fded7968c
treed2ab58bc8d6cddd7c3e5648b933afd1d2026654a
parent8183b2137ab25d76c205df8e47bbfe5a2a85b92f
Change parameter string types to bytes type

There has been identified a problem when Protobuf string type is used: this
type does not support non-UTF8 characters and this limitation can cause
Protobuf encoding/decoding failure of an X2 parameter with arbitrary binary
value. To fix the issue replace string types of all X2 parameters in Protobuf
files with bytes type to support wider value range. Parameters
'protobuf_revision' and 'gNbID' types in x2ap_streaming.proto file were still
left a string type, because undoubtedly these parameter values are always
strings.

Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I45f1631e3e3e96c408c7d2c015221ef8e2857608
16 files changed:
rrc_cg_config.proto
rrc_cg_config_info.proto
rrc_common_types.proto
rrc_failure_information.proto
rrc_measurement_report.proto
rrc_reconfiguration.proto
rrc_reconfiguration_complete.proto
rrc_sib.proto
rrc_system_information.proto
sgnb_addition_request.proto
sgnb_modification_confirm.proto
sgnb_modification_request.proto
sgnb_reconfiguration_complete.proto
sn_status_transfer.proto
x2ap_common_types.proto
x2ap_streaming.proto