summaryrefslogtreecommitdiff
path: root/src/appMain/smartDeviceLink.ini
diff options
context:
space:
mode:
Diffstat (limited to 'src/appMain/smartDeviceLink.ini')
-rw-r--r--src/appMain/smartDeviceLink.ini75
1 files changed, 69 insertions, 6 deletions
diff --git a/src/appMain/smartDeviceLink.ini b/src/appMain/smartDeviceLink.ini
index c30255da4..7626b035e 100644
--- a/src/appMain/smartDeviceLink.ini
+++ b/src/appMain/smartDeviceLink.ini
@@ -15,16 +15,19 @@
[HMI]
LaunchHMI = true
+LinkToWebHMI = HMI/index.html
ServerAddress = 127.0.0.1
ServerPort = 8087
VideoStreamingPort = 5050
AudioStreamingPort = 5080
[MAIN]
+SDLVersion =
+LogsEnabled = true
; Contains .json/.ini files
AppConfigFolder =
; Contains output files, e.g. .wav
-AppStorageFolder =
+AppStorageFolder = storage
; Contains resourses, e.g. audio8bit.wav
AppResourceFolder =
; Standard min stack size
@@ -32,19 +35,23 @@ AppResourceFolder =
; 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
;
-AppConfigFolder =
-AppStorageFolder =
-ThreadStackSize = 16384
+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
@@ -55,8 +62,8 @@ 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
+; where 3 is a number of retries and 1000 is a timeout in milliseconds for request frequency
+StartStreamRetry = 3, 1000
EnableRedecoding = false
VideoStreamConsumer = socket
AudioStreamConsumer = socket
@@ -75,6 +82,12 @@ AudioStreamFile = audio_stream_file
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]
@@ -132,6 +145,10 @@ ForceUnprotectedService = Non
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
@@ -147,7 +164,53 @@ 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
+; for protocol v3 or higher
+; For v2 protocol MaximumPayloadSize is 1488
+MaximumPayloadSize = 131072
+; 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 = true
+; 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;