LINXD-1312: Update simulator to use setting.testing_period if the option exists in config.settings
This commit is contained in:
@ -21,11 +21,12 @@ send_gps = true
|
||||
gps_report_interval = 10000 # The interval in which the GPS is sent
|
||||
gps_lat_start_point = 46.217802
|
||||
gps_lng_start_point = 24.776126
|
||||
testing_period = 5000 # in milliseconds
|
||||
|
||||
[assets]
|
||||
[assets]
|
||||
#VOICE and GPS Prestage
|
||||
ids = [1947]
|
||||
# ids = [1947,1957]
|
||||
#ids = [1947]
|
||||
ids = [1947,1957]
|
||||
# ids = [1947,1957,1967]
|
||||
# 10 units
|
||||
# ids = [1947,1957,1967,1977,1987,1997,2007,2017,2027,2037] # colinde 0-10
|
||||
|
@ -6,7 +6,7 @@ host = 'stage.linx.safemobile.com'
|
||||
address = 'https://hub.stage.linx.safemobile.com/'
|
||||
|
||||
[elogs]
|
||||
name = 'stage'
|
||||
name = 'testing'
|
||||
|
||||
[api]
|
||||
port = ''
|
||||
@ -21,11 +21,33 @@ send_gps = true
|
||||
gps_report_interval = 10000 # The interval in which the GPS is sent
|
||||
gps_lat_start_point = 46.217802
|
||||
gps_lng_start_point = 24.776126
|
||||
testing_period = 20000
|
||||
|
||||
[assets]
|
||||
#VOICE and GPS Stage
|
||||
# ids = [ 1125 ] # Maria
|
||||
ids = [1125]
|
||||
#VOICE and GPS Stag
|
||||
#ids = [3258] # alone_test
|
||||
#ids = [3298] # linx-simulator-1
|
||||
#ids = [3347] # linx-simulator-50
|
||||
|
||||
ids = [3299,3347] # linx-simulator-2 and linx-simulator-50
|
||||
|
||||
# linx-simulator-1 - linx-simulator-10 [10 units]
|
||||
#ids = [3298,3299,3300,3301,3302,3303,3304,3305,3306,3307]
|
||||
|
||||
# linx-simulator-1 - linx-simulator-50 [50 units]
|
||||
# 3330 linx-simulator-1
|
||||
# 3307 linx-simulator-10
|
||||
# 3317 linx-simulator-20
|
||||
# 3327 linx-simulator-30
|
||||
# 3337 linx-simulator-40
|
||||
# 3347 linx-simulator-50
|
||||
#ids = [
|
||||
#3298,3299,3300,3301,3302,3303,3304,3305,3306,3307,
|
||||
#3308,3309,3310,3311,3312,3313,3314,3315,3316,3317,
|
||||
#3318,3319,3320,3321,3322,3323,3324,3325,3326,3327,
|
||||
#3328,3329,3330,3331,3332,3333,3334,3335,3336,3337,
|
||||
#3338,3339,3340,3341,3342,3343,3344,3345,3346,3347
|
||||
#]
|
||||
|
||||
[sounds]
|
||||
sound = 'sound.mp3'
|
||||
|
51
config/testing/default.toml
Normal file
51
config/testing/default.toml
Normal file
@ -0,0 +1,51 @@
|
||||
[mumble]
|
||||
port = '5668'
|
||||
host = 'testing.stage.safemobile.com'
|
||||
|
||||
[hub]
|
||||
address = 'https://hub.testing.stage.safemobile.com/'
|
||||
|
||||
[elogs]
|
||||
name = 'testing'
|
||||
|
||||
[api]
|
||||
port = ''
|
||||
host = 'testing.stage.safemobile.com/api'
|
||||
use_secure = true
|
||||
accept_untrusted_certs = true
|
||||
|
||||
[settings]
|
||||
max_fails = 3
|
||||
send_voice = true
|
||||
send_gps = true
|
||||
gps_report_interval = 10000 # The interval in which the GPS is sent
|
||||
gps_lat_start_point = 46.217802
|
||||
gps_lng_start_point = 24.776126
|
||||
|
||||
[assets]
|
||||
#VOICE and GPS Stag
|
||||
ids = [3258] # alone_test
|
||||
#ids = [3298] # linx-simulator-1
|
||||
#ids = [3347] # linx-simulator-50
|
||||
|
||||
# linx-simulator-1 - linx-simulator-10 [10 units]
|
||||
#ids = [3298,3299,3300,3301,3302,3303,3304,3305,3306,3307]
|
||||
|
||||
# linx-simulator-1 - linx-simulator-50 [50 units]
|
||||
# 3330 linx-simulator-1
|
||||
# 3307 linx-simulator-10
|
||||
# 3317 linx-simulator-20
|
||||
# 3327 linx-simulator-30
|
||||
# 3337 linx-simulator-40
|
||||
# 3347 linx-simulator-50
|
||||
#ids = [
|
||||
#3298,3299,3300,3301,3302,3303,3304,3305,3306,3307,
|
||||
#3308,3309,3310,3311,3312,3313,3314,3315,3316,3317,
|
||||
#3318,3319,3320,3321,3322,3323,3324,3325,3326,3327,
|
||||
#3328,3329,3330,3331,3332,3333,3334,3335,3336,3337,
|
||||
#3338,3339,3340,3341,3342,3343,3344,3345,3346,3347
|
||||
#]
|
||||
|
||||
[sounds]
|
||||
sound = 'sound.mp3'
|
||||
sounds_total_number = 20
|
Reference in New Issue
Block a user