dexter has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/31499 )

 (

5 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted 
one.
 )Change subject: pcu_sock: print OML alerts from PCU
......................................................................

pcu_sock: print OML alerts from PCU

The PCU is able to send OML alerts via the BTS to the BSC. When the PCU
operates in co-location to the BSC we just print the alerts in the log
directly

Change-Id: Id32553556356c2affe32e47ae1c3ae6a514efdce
Related: OS#5198
---
M src/osmo-bsc/pcu_sock.c
1 file changed, 17 insertions(+), 0 deletions(-)

Approvals:
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved
  Jenkins Builder: Verified




diff --git a/src/osmo-bsc/pcu_sock.c b/src/osmo-bsc/pcu_sock.c
index add968a..a0c9827 100644
--- a/src/osmo-bsc/pcu_sock.c
+++ b/src/osmo-bsc/pcu_sock.c
@@ -686,6 +686,9 @@
                if (rc < 0)
                        return -EINVAL;
                break;
+       case PCU_OML_ALERT:
+               LOG_BTS(bts, DPCU, LOGL_ERROR, "PCU external alarm: %s\n", 
txt->text);
+               break;
        default:
                LOGP(DPCU, LOGL_ERROR, "Unknown TXT_IND type %u received\n",
                     txt->type);

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Id32553556356c2affe32e47ae1c3ae6a514efdce
Gerrit-Change-Number: 31499
Gerrit-PatchSet: 6
Gerrit-Owner: dexter <pma...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pma...@sysmocom.de>
Gerrit-Reviewer: fixeria <vyanits...@sysmocom.de>
Gerrit-Reviewer: laforge <lafo...@osmocom.org>
Gerrit-Reviewer: pespin <pes...@sysmocom.de>
Gerrit-MessageType: merged

Reply via email to