laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/libosmocore/+/28739 )

Change subject: gsm_23_041.h: Define CBS ETWS Warning Type values
......................................................................

gsm_23_041.h: Define CBS ETWS Warning Type values

Change-Id: I3a5bb9b2c77b8e4a984631d199fc073183691c31
---
M include/osmocom/gsm/protocol/gsm_23_041.h
1 file changed, 10 insertions(+), 0 deletions(-)

Approvals:
  fixeria: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/include/osmocom/gsm/protocol/gsm_23_041.h 
b/include/osmocom/gsm/protocol/gsm_23_041.h
index e726cff..564946c 100644
--- a/include/osmocom/gsm/protocol/gsm_23_041.h
+++ b/include/osmocom/gsm/protocol/gsm_23_041.h
@@ -2,6 +2,16 @@

 #include <osmocom/core/endian.h>

+/* Section 9.3.24: Warning-Type */
+enum gsm23041_warning_type_value {
+       CBS_ETWS_WARN_TYPE_EARTHQUAKE = 0,
+       CBS_ETWS_WARN_TYPE_TSUNAMI = 1,
+       CBS_ETWS_WARN_TYPE_EARTHQUAKE_AND_TSUNAMI = 2,
+       CBS_ETWS_WARN_TYPE_TEST = 3,
+       CBS_ETWS_WARN_TYPE_OTHER = 4,
+       /* 0000101-1111111 Reserved for future use */
+};
+
 /* Section 9.4.1.2: GSM Message Format */
 struct gsm23041_msg_param_gsm {
        uint16_t serial_nr;

--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/28739
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I3a5bb9b2c77b8e4a984631d199fc073183691c31
Gerrit-Change-Number: 28739
Gerrit-PatchSet: 4
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-MessageType: merged

Reply via email to