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


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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/99/31499/1

diff --git a/src/osmo-bsc/pcu_sock.c b/src/osmo-bsc/pcu_sock.c
index d1f2c48..38a2229 100644
--- a/src/osmo-bsc/pcu_sock.c
+++ b/src/osmo-bsc/pcu_sock.c
@@ -687,6 +687,9 @@
                if (rc < 0)
                        return -EINVAL;
                break;
+       case PCU_OML_ALERT:
+               LOGP(DPCU, LOGL_ERROR, "(%s) PCU external alarm: %s\n", 
gsm_bts_name(bts), 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: 1
Gerrit-Owner: dexter <pma...@sysmocom.de>
Gerrit-MessageType: newchange

Reply via email to