aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2021-09-15 06:55:45 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2021-09-17 16:16:28 +0200
commit29ec9b67d4d26540f2866e0406f1874e46ae2dbc (patch)
tree3b6d73f7f89dfd3cf41d4f15c3f94d674bbd0bfb
parent3293dfb5001b48a5d33c2f0172d0cefc04f0bf45 (diff)
FUVST: Minor output improvementsHEADmaster
-rwxr-xr-xsrc/fuvst/main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/fuvst/main.c b/src/fuvst/main.c
index 69d7c20..f37fcfe 100755
--- a/src/fuvst/main.c
+++ b/src/fuvst/main.c
@@ -40,6 +40,7 @@ static uint8_t sio = 0xcd;
static uint16_t uele_pc = 1400;
static uint16_t fuko_pc = 1466;
static int ignore_link_monitor = 0;
+static const char *config_name;
static int config_loaded = 0;
double gebuehren = 12.0;
int authentication = 0;
@@ -141,7 +142,7 @@ static int handle_options(int short_option, int argi, char **argv)
ignore_link_monitor = 1;
break;
case 'C':
- rc = config_file(argv[argi]);
+ rc = config_file(config_name = argv[argi]);
if (rc < 0)
return rc;
config_loaded = 1;
@@ -258,12 +259,16 @@ int main(int argc, char *argv[])
#endif
printf("\n");
+ printf("FUVST ready.\n");
for (i = 0; i < num_kanal; i++) {
if (chan_type[i] == CHAN_TYPE_ZZK)
printf("Using Signaling Channel: ZZK-%s\n", kanal[i]);
if (chan_type[i] == CHAN_TYPE_SPK)
printf("Using Speech Channel: SPK-%s\n", kanal[i]);
}
+ printf("Point codes: BS=%d (FUKO/FUFST) MSC=%d (FUVST)\n", fuko_pc, uele_pc);
+ if (config_loaded)
+ printf("BS-Config: %s\n", config_name);
main_mobile("fuvst", &quit, latency, interval, NULL, station_id, 7);
fail: