From 1391d074f610e736368319d56fd958fa36e3addf Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Wed, 24 Jan 2024 17:38:35 +0100 Subject: [PATCH] gsup_protocol.hrl: Introduce GSUP Cause defines Change-Id: I087316d5946a025b5c5dc883628453c19c6954ab --- include/gsup_protocol.hrl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/include/gsup_protocol.hrl b/include/gsup_protocol.hrl index 1c755ac..d30f12c 100644 --- a/include/gsup_protocol.hrl +++ b/include/gsup_protocol.hrl @@ -8,6 +8,20 @@ -ifndef(GSUP_PROTOCOL). -define(GSUP_PROTOCOL, true). +% TS 24.008 10.5.5.14, GMM Cause used in GSUP: +-define(GSUP_CAUSE_IMSI_UNKNOWN, 16#02). +-define(GSUP_CAUSE_ILLEGAL_MS, 16#03). +-define(GSUP_CAUSE_GPRS_NOTALLOWED, 16#07). +-define(GSUP_CAUSE_PLMN_NOTALLOWED, 16#0b). +-define(GSUP_CAUSE_LA_NOTALLOWED, 16#0c). +-define(GSUP_CAUSE_ROAMING_NOTALLOWED, 16#0d). +-define(GSUP_CAUSE_NO_SUIT_CELL_IN_LA, 16#0f). +-define(GSUP_CAUSE_NET_FAIL, 16#11). +-define(GSUP_CAUSE_CONGESTION, 16#16). +-define(GSUP_CAUSE_GSM_AUTH_UNACCEPT, 16#17). +-define(GSUP_CAUSE_INV_MAND_INFO, 16#60). +-define(GSUP_CAUSE_PROTO_ERR_UNSPEC, 16#6f). + -type 'GSUPMessageType'() :: location_upd_req | location_upd_err | location_upd_res