From 0a8fae8d141c2cfa4387ffe9b35402d5b8cc85cd Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 8 Mar 2017 18:53:30 +0100 Subject: Support sending OML Alerts via BTS * extend BTS <-> PCU protocol with TXT messages * use it to implement OML alerts support * use it to implement version message * add function to transmit both of them them * send alerts for internal encoding problems as an example * send version when BTS socket is connected Note: requires corresponding change If57459c0610f2c7b36d599b13087c8deef8bdd9e in libosmocore. Related: OS#1614, 1615 Change-Id: If4ea5b3f7409df2fb030681ad468df6b711790a7 --- src/pcu_l1_if.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/pcu_l1_if.h') diff --git a/src/pcu_l1_if.h b/src/pcu_l1_if.h index eaa01436..1618260c 100644 --- a/src/pcu_l1_if.h +++ b/src/pcu_l1_if.h @@ -29,6 +29,7 @@ extern "C" { #include #include #include +#include #ifdef __cplusplus } #endif @@ -131,6 +132,8 @@ void pcu_l1if_tx_agch(bitvec * block, int len); void pcu_l1if_tx_pch(bitvec * block, int plen, const char *imsi); +int pcu_tx_txt_ind(enum gsm_pcu_if_text_type t, const char *fmt, ...); + int pcu_l1if_open(void); void pcu_l1if_close(void); -- cgit v1.2.3