diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-11-11 10:58:51 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2015-01-01 13:03:03 +0100 |
commit | b4771a6871efb3cf12b371aedc575912984ca528 (patch) | |
tree | cfda932aa489b0ec304ceac51f2a6b123191714d /openbsc/src/libmsc/meas_feed.h | |
parent | 7ff77ec713c6569715077344563ff9ab1719619c (diff) |
Initial support for export + curses-visualization of measurements
This extends osmo_nitb to offer a UDP feed of real-time measurement
reports, which can be used by (a variety of) external tools for
visualization or other processing.
We also add a small ncurses based tool (meas_vis) which shows a
baragraph display of the last few mobile stations that were active,
indicating their uplink/downlink receive level and quality.
<WARNING>
This sends non-portable structures like gsm_meas_rep over UDP
and assumes the receiver has identical alignment and endianness! Before
this feature is merged, it either needs to be converted to a unix domain
socket (but they don't do multicast, which would be nice) or the wire
format needs to change into something portable with defined alignment
and encoding
</WARNING>
Diffstat (limited to 'openbsc/src/libmsc/meas_feed.h')
-rw-r--r-- | openbsc/src/libmsc/meas_feed.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/openbsc/src/libmsc/meas_feed.h b/openbsc/src/libmsc/meas_feed.h new file mode 100644 index 000000000..782a9616c --- /dev/null +++ b/openbsc/src/libmsc/meas_feed.h @@ -0,0 +1,12 @@ +#ifndef _INT_MEAS_FEED_H +#define _INT_MEAS_FEED_H + +#include <stdint.h> + +int meas_feed_cfg_set(const char *dst_host, uint16_t dst_port); +void meas_feed_cfg_get(char **host, uint16_t *port); + +void meas_feed_scenario_set(const char *name); +const char *meas_feed_scenario_get(void); + +#endif /* _INT_MEAS_FEED_H */ |