-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathatclient.cfg.sample
89 lines (73 loc) · 3.84 KB
/
atclient.cfg.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
############################################################################################
# JVM Arguments
############################################################################################
# Some argument may be set via system properties:
# -Dconfig.file=/home/pi/atclient/atclient.cfg
# -> location of the ATClient configuration file
# -Dlog.file=/home/pi/atclient/atclient.log
# -> location of the ATClient log file
# -Dlog4j.configurationFile=/home/pi/atclient/log4j2.xml
# -> location of the Log4j2 configuration file
# -Dserial.port=/dev/ttyACM1
# -> force a specific serial port (optional)
# -DproxySet=true -DproxyHost=my-host -DproxyPort=8080
# -> proxy server configuration (optional)
############################################################################################
# Serial Port Configuration
############################################################################################
# default port name of the PLS8-E LTE wireless terminal (HIT U4)
# required for auto detection
port.name.windows = Gemalto M2M ALSx PLSx LTE USB serial Port
port.name.linux = LTE Modem
# USB port parameters
port.baudrate = 9600
port.databits = 8
port.stopbits = 1
port.parity = 0
# default timeout until AT response received from the terminal
port.communication.timeout = 5000
# send AT test command every x milliseconds of inactivity.
atclient.atcommand.heartbeat = 180000
############################################################################################
# Radio Access Technology
############################################################################################
# Force the mobile terminal to select and register a specific network
# <empty> = Automatic mode, default
# 0 = GSM (2G)
# 2 = UTRAN (3G)
# 7 = E-UTRAN (4G/LTE)
cops.mode =
############################################################################################
# Forward and/or Publish Text SMS [optional]
############################################################################################
# Default is a pattern that matches with the OTP Code SMS from mobileid.ch
# Text SMS will only be forwarded and/or published if the pattern matches the text SMS content
# NOTE: Be careful with the regular expression to ensure that it will clearly separate text
# SMS content from normal AT text response content.
textsms.pattern = ^.*: [A-Z0-9]{4}\\. .*$
# Forward Text SMS to target MSISDN
textsms.forward.enable = false
textsms.forward.msisdn = +41791234567
# Publish Text SMS to URL. GET call using query parameter
# Example URL: https://www.example.com/script.sh?TXT=Hello World
textsms.publish.enable = false
textsms.publish.url = https://www.example.com/script.sh
textsms.publish.queryparam = TXT
# Optional basic authentication
textsms.publish.basicauth.enabled = false
textsms.publish.basicauth.user = user
textsms.publish.basicauth.pwd = password
############################################################################################
# AT Communication Watchdog [optional]
############################################################################################
# If enabled, ATClient will write a watchdog file if RX data have been received
# Refer to https://linux.die.net/man/5/watchdog.conf how to use linux watchdog daemon
watchdog.enable = false
watchdog.file = /home/mid/atclient/watchdog.atclient
############################################################################################
# Maintenance Mode [optional]
############################################################################################
# If enabled, ATClient will look for the keyword 'MAINTENANCE' in the Mobile ID message
# and execute the maintenance shell script as specified below. See example script.
maintenance.enable = false
maintenance.script.file = /home/mid/atclient/maintenance.sh