hnbap: Add tr_HNBAP_HNBRegisterAccept template
Change-Id: Iae35653e337acffc9190d2e4dc68f25f00bd6812
diff --git a/library/hnbap/HNBAP_Templates.ttcn b/library/hnbap/HNBAP_Templates.ttcn
index 44704f8..b199799 100644
--- a/library/hnbap/HNBAP_Templates.ttcn
+++ b/library/hnbap/HNBAP_Templates.ttcn
@@ -91,6 +91,26 @@
/* 9.1.4 HNB REGISTER ACCEPT */
+template (present) HNBAP_PDU
+tr_HNBAP_HNBRegisterAccept(template (present) uint16_t rnc_id := ?) := {
+ successfulOutcome := {
+ procedureCode := id_HNBRegister,
+ criticality := reject,
+ value_ := {
+ hNBRegisterAccept := {
+ protocolIEs := {
+ {
+ id := HNBAP_Constants.id_RNC_ID,
+ criticality := reject,
+ value_ := { RNC_ID := rnc_id }
+ }
+ },
+ protocolExtensions := omit /* TODO: Mux Port Number (optional) 9.2.29 */
+ }
+ }
+ }
+}
+
template (value) HNBAP_PDU
ts_HNBAP_HNBRegisterAccept(template (value) uint16_t rnc_id) := {
successfulOutcome := {