blob: 11a88117c266d42ea4726242346b29050e680e4f [file] [log] [blame]
Harald Welte5bae20b2019-04-01 09:36:42 +02001== remsim-bankd
2
3=== Running
4
5remsim-bankd currently has the following command-line options:
6
7==== SYNOPSIS
8
9*remsim-bankd* [-h] [-i A.B.C.D] [-p <1-65535>] [-b <1-65535>] [-I A.B.C.D] [-P <1-65535> ]
10
11==== OPTIONS
12
13*-h, --help*::
14 Print a short help message about the supported options
Harald Welte3c4d0062019-03-31 18:55:18 +020015*-i, --server-host A.B.C.D*::
16 Specify the remote IP address/hostname of the remsim-server to which this bankd
Harald Welte5bae20b2019-04-01 09:36:42 +020017 shall establish its <<RSPRO>> control connection
18*-p, --server-port <1-65535>*::
19 Specify the remote TCP port number of the remsim-server to whihc this bankd
20 shall establish its <<RSPRO>> control connection
21*-b, --bank-id <1-65535>*::
22 Specify the numeric bank identifier of the SIM bank this bankd instance
23 operates. Must be unique among all banks connecting to the same remsim-server.
24*-I, --bind-IP A.B.C.D*::
25 Specify the local IP address to which the socket for incoming connections
26 from remsim-clients is bound to.
27*-P, --bind-port <1-65535>*::
28 Specify the local TCP port to whicc the socket for incoming connections
29 from remsim-clients is bound to.
30
31=== Logging
32
33remsim-bankd currently logs to stdout only, and the logging verbosity
34is not yet configurable. However, as the libosmocore logging framework
35is used, extending this is an easy modification.
36
37=== `bankd_pcsc_slots.csv` CSV file
38
39bankd expects a CSV file `bankd_pcsc_slots.csv` in the current working directory at startup.
40
41This CSV file specifies the mapping between the string names of the PCSC
42readers and the <<RSPRO>> bandk/slot numbers. The format is as follows:
43
44.Example: CSV file mapping bankd slots 0..4 to an ACS ACR33U-A1 reader slots
45----
46"1","0","ACS ACR33 ICC Reader 00 00"
47"1","1","ACS ACR33 ICC Reader 00 01"
48"1","2","ACS ACR33 ICC Reader 00 02"
49"1","3","ACS ACR33 ICC Reader 00 03"
50"1","4","ACS ACR33 ICC Reader 00 04"
51----