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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
|
; The INI-file consists of different chapters.
; Each chapter begins with the line containing
; the name in square brackets. Syntax:
; [chapter]
; The chapters consists of a set of items with a
; assinged value. The syntax is:
; item=value
; All white spaces an second encounters of chapters
; or items will be ignored.
; Remarks start with semicolon or star as first character.
; It is alowed for names of chapters and items to
; contain semicolon and star. Possible syntax is:
; [ chapter ] ;Remark
; item = value ;Remark
[HMI]
LaunchHMI = true
LinkToWebHMI = HMI/index.html
ServerAddress = 127.0.0.1
ServerPort = 8087
VideoStreamingPort = 5050
AudioStreamingPort = 5080
[MAIN]
; Contains .json/.ini files
AppConfigFolder =
; Contains output files, e.g. .wav
AppStorageFolder = storage
; Contains resourses, e.g. audio8bit.wav
AppResourceFolder =
; Standard min stack size
; in Ubuntu : PTHREAD_STACK_MIN = 16384
; in QNX : PTHREAD_STACK_MIN = 256
;The value of a variable ThreadStackSize used only if its realy needed, other way stack size will be PTHREAD_STACK_MIN
;
ThreadStackSize = 20480
MixingAudioSupported = true
HMICapabilities = hmi_capabilities.json
MaxCmdID = 2000000000
; Default request timeout in milliseconds
DefaultTimeout = 10000
AppDirectoryQuota = 104857600
; Allowed requests amount in HMI level NONE during time scale.
; If value is 0 check will be skipped
AppHMILevelNoneTimeScaleMaxRequests = 100
AppHMILevelNoneRequestsTimeScale = 10
; Allowed requests amount during time scale.
; If value is 0 check will be skipped
AppTimeScaleMaxRequests = 1000
AppRequestsTimeScale = 10
; Allowed pending requests amount. If value is 0 check will be skipped
PendingRequestsAmount = 5000
HeartBeatTimeout = 7
SupportedDiagModes = 0x01, 0x02, 0x03, 0x05, 0x06, 0x07, 0x09, 0x0A, 0x18, 0x19, 0x22, 0x3E
SystemFilesPath = /tmp/fs/mp/images/ivsu_cache
UseLastState = true
TimeTestingPort = 8090
ReadDIDRequest = 5, 1
GetVehicleDataRequest = 5, 1
[MEDIA MANAGER]
; where 3 is a number of retries and 1 is a timeout in seconds for request frequency
StartStreamRetry = 3, 1
EnableRedecoding = false
VideoStreamConsumer = socket
AudioStreamConsumer = socket
;VideoStreamConsumer = file
;AudioStreamConsumer = file
;VideoStreamConsumer = pipe
;AudioStreamConsumer = pipe
;Temp solution: if you change NamedPipePath also change path to pipe in src/components/qt_hmi/qml_model_qtXX/views/SDLNavi.qml
;Named pipe path will be constructed using AppStorageFolder + name
NamedVideoPipePath = video_stream_pipe
NamedAudioPipePath = audio_stream_pipe
;File path will be constructed using AppStorageFolder + name
VideoStreamFile = video_stream_file
AudioStreamFile = audio_stream_file
; Recording file source (used for audio pass thru emulation only)
RecordingFileSource = audio.8bit.wav
; Recording file for audio pass thru
RecordingFileName = audio.wav
; The timeout in seconds for mobile to stop streaming or end up sessions.
StopStreamingTimeout = 1
; The timeout in miliseconds to suspend audio data streaming if no data received from mobile
AudioDataStoppedTimeout = 1000
; The timeout in miliseconds to suspend video data streaming if no data received from mobile
VideoDataStoppedTimeout = 1000
; HelpPromt and TimeOutPrompt is a vector of strings separated by comma
[GLOBAL PROPERTIES]
; Delimiter, which will be appended to each TTS chunck, e.g. helpPrompt/timeoutPrompt
TTSDelimiter = ,
; Default prompt items, separated by comma
HelpPromt = Please speak one of the following commands,Please say a command
; Default prompt items, separated by comma
TimeOutPromt = Please speak one of the following commands,Please say a command
HelpTitle = Available Vr Commands List
; In case mobile app didn't send global properties default global properties will be sent after this timeout
; max value TTSGlobalPropertiesTimeout 64K
TTSGlobalPropertiesTimeout = 20
[FILESYSTEM RESTRICTIONS]
; Max allowed number of PutFile requests for one application in NONE
PutFileRequest = 5
; Max allowed number of DeleteFile requests for one application in NONE
DeleteFileRequest = 5
; Max allowed number of ListFiles requests for one application in NONE
ListFilesRequest = 5
[VR COMMANDS]
HelpCommand = Help
[AppInfo]
; The path for applications info storage.
AppInfoStorage = app_info.dat
[Security Manager]
Protocol = TLSv1.2
; Certificate and key path to pem file
CertificatePath = mycert.pem
KeyPath = mykey.pem
; SSL mode could be SERVER or CLIENT
SSLMode = CLIENT
; Could be ALL ciphers or list of chosen
;CipherList = AES256-GCM-SHA384
CipherList = ALL
; Verify Mobile app certificate (could be used in both SSLMode Server and Client)
VerifyPeer = false
; If VerifyPeer is enable - terminate handshake if mobile app did not return a certificate
FialOnNoCert = false
; If VerifyPeer is enable - do not ask for a mobile app certificate again in case of a renegotiation
VerifyClientOnce = false
; Force protected services (could be id's from 0x01 to 0xFF)
;ForceProtectedService = 0x0A, 0x0B
ForceProtectedService = Non
; Force unprotected services
;ForceUnprotectedService = 0x07
ForceUnprotectedService = Non
[Policy]
EnablePolicy = true
PreloadedPT = sdl_preloaded_pt.json
PathToSnapshot = sdl_snapshot.json
; Number of attempts to open policy DB
AttemptsToOpenPolicyDB = 5
; Timeout between attempts during opening DB in milliseconds
OpenAttemptTimeoutMs = 500
[TransportManager]
TCPAdapterPort = 12345
MMEDatabase = /dev/qdb/mediaservice_db
EventMQ = /dev/mqueue/ToSDLCoreUSBAdapter
AckMQ = /dev/mqueue/FromSDLCoreUSBAdapter
[IAP]
LegacyProtocol = com.ford.sync.prot[0-29]
HubProtocol = com.smartdevicelink.prot0
PoolProtocol = com.smartdevicelink.prot[1-29]
IAPSystemConfig = /fs/mp/etc/mm/ipod.cfg
IAP2SystemConfig = /fs/mp/etc/mm/iap2.cfg
IAP2HubConnectAttempts = 3
[ProtocolHandler]
; Packet with payload bigger than next value will be marked as a malformed
; 1488 = 1500 - 12 = TCP MTU - header size
MaximumPayloadSize = 1488
; Application shall send less #FrequencyCount messages per #FrequencyTime mSecs
; Frequency check could be disabled by setting #FrequencyTime or
; #FrequencyCount to Zero
FrequencyCount = 1000
FrequencyTime = 1000
; Enable filtering transport data stream
; On #MalformedMessageFiltering disable SDl disconnect with the first
; malformed message detection
MalformedMessageFiltering = true
; Boundary values of malformed message detection for connection close
; Can be disabled by setting #MalformedFrequencyTime or
; #MalformedFrequencyCount to Zero
MalformedFrequencyCount = 10
MalformedFrequencyTime = 1000
[ApplicationManager]
ApplicationListUpdateTimeout = 2
; Max allowed threads for handling mobile requests. Currently max allowed is 2
ThreadPoolSize = 1
HashStringSize = 32
[SDL4]
; Enables SDL 4.0 support
EnableProtocol4 = false
; Path where apps icons must be stored
AppIconsFolder = storage
; Max size of the folder in bytes
AppIconsFolderMaxSize = 104857600
; Amount of oldest icons to remove in case of max folder size was reached
AppIconsAmountToRemove = 1
[Resumption]
# Timeout in seconds for resumption Application HMILevel
# and resolving conflicts in case if multiple applications initiate resumption
ApplicationResumingTimeout = 3
# Timeout in seconds for pereodical saving resumption persisten data
AppSavePersistentDataTimeout = 10 #seconds
# Timeout in seconds to store hmi_level for media app before ign_off
ResumptionDelayBeforeIgn = 30;
# Timeout in seconds to restore hmi_level for media app after sdl run
ResumptionDelayAfterIgn = 30;
|