dexter has uploaded this change for review.

View Change

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 change 31499. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Id32553556356c2affe32e47ae1c3ae6a514efdce
Gerrit-Change-Number: 31499
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier@sysmocom.de>
Gerrit-MessageType: newchange