add example of configuration file
This commit is contained in:
parent
eee04e2563
commit
0c2ff3313e
30
contrib/yasnd.conf.example
Normal file
30
contrib/yasnd.conf.example
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# hosts' list
|
||||||
|
host 10.0.0.1 {
|
||||||
|
hostname = "10.0.0.1"
|
||||||
|
lpt_pin = 2
|
||||||
|
}
|
||||||
|
host 10.0.0.2 {
|
||||||
|
hostname = "10.0.0.2"
|
||||||
|
lpt_pin = 3
|
||||||
|
}
|
||||||
|
host 10.0.0.254 {
|
||||||
|
hostname = "10.0.0.254"
|
||||||
|
lpt_pin = 4
|
||||||
|
}
|
||||||
|
# log verbosity: 0 - normal mode, 1 - verbose, 2 - most verbose
|
||||||
|
debug = 2
|
||||||
|
# Use LPT for reset target devices?
|
||||||
|
# Note: first LPT pin is for management and it should not be used
|
||||||
|
lpt_enable = true
|
||||||
|
# LPT port address(usually 0x378 is LPT1)
|
||||||
|
lpt_port = 0x378
|
||||||
|
# Use SMS messages for control and reports?
|
||||||
|
sms_enable = false
|
||||||
|
# Phone model for Gammu
|
||||||
|
phone_model = "at"
|
||||||
|
# Phone connection type
|
||||||
|
phone_connection = "at"
|
||||||
|
# Phone device
|
||||||
|
phone_device = "/dev/ttyACM0"
|
||||||
|
# recipient of SMS messages(if sending is enabled)
|
||||||
|
sms_recipient = "+79999999999"
|
Loading…
Reference in New Issue
Block a user