summaryrefslogtreecommitdiff
path: root/src/appMain/smartDeviceLink.ini
diff options
context:
space:
mode:
authorElisey Zamakhov <EZamakhov@luxoft.com>2015-08-12 14:57:56 +0300
committerElisey Zamakhov <EZamakhov@luxoft.com>2015-08-14 10:23:39 +0300
commitb156007e0b0f75a5a9a39255e3b1340e0404e6a8 (patch)
tree67c74a366ded63c4c3dd229d797c5faea8582b18 /src/appMain/smartDeviceLink.ini
parent05a6d0e42f01f3ddafc8d257ec660168e623a6ff (diff)
downloadsdl_core-b156007e0b0f75a5a9a39255e3b1340e0404e6a8.tar.gz
Update INI files according to PASA and Genevi requirements
Removed PASA-specific parameters from customer-specific ini file. Add comments for parameters of both ini files. Update HMI start default values. Removed MmeData value in ConfigProfile. Fixed typo in ini file, initialize_git.sh. Implements: APPLINK-15096
Diffstat (limited to 'src/appMain/smartDeviceLink.ini')
-rw-r--r--src/appMain/smartDeviceLink.ini126
1 files changed, 67 insertions, 59 deletions
diff --git a/src/appMain/smartDeviceLink.ini b/src/appMain/smartDeviceLink.ini
index dcad14a611..1bbe01a65d 100644
--- a/src/appMain/smartDeviceLink.ini
+++ b/src/appMain/smartDeviceLink.ini
@@ -1,47 +1,63 @@
- ; The INI-file consists of different chapters.
+; 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:
+; assigned 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
+; It is allowed 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
+; Open the $LinkToWebHMI in chromium browser
+LaunchHMI = false
+; Link to index HMTL page
+; correct format is without any quotes and with double forward slash (solidus) separator
+LinkToWebHMI = HMI//index.html
+; WebSocket connection address and port
ServerAddress = 127.0.0.1
ServerPort = 8087
+; Socket ports for video and audio streaming
VideoStreamingPort = 5050
AudioStreamingPort = 5080
[MAIN]
-SDLVersion =
+; SDL source version
+; represents as a git commit hash value
+SDLVersion = {GIT_COMMIT}
+; All logging event could be dropped by setting $LogsEnabled to false
LogsEnabled = true
; Contains .json/.ini files
+; Default value is SDL working directory
AppConfigFolder =
-; Contains output files, e.g. .wav
+; Contains SDL configuration files - .json/.ini
+; Default value is SDL working directory
AppStorageFolder = storage
; Contains resourses, e.g. audio8bit.wav
+; Default value is SDL working directory
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
-;
+; The value of a $ThreadStackSize used where its really needed,
+; other way stack size will be PTHREAD_STACK_MIN
ThreadStackSize = 20480
+; Defines if HMI support attenuated mode (able to mix audio sources)
MixingAudioSupported = true
+; In case HMI doesn’t send some capabilities to SDL, the values from the file are used by SDL
HMICapabilities = hmi_capabilities.json
+; Maximum cmdId of VR command which may be registered on SDL
+; Bigger value used for system VR commands processing by SDL
MaxCmdID = 2000000000
-; Default request timeout in milliseconds
+; SDL respond timeout (in milliseconds) in case of HMI has not respond on a mobile request
DefaultTimeout = 10000
-
+; Available disk space in bytes for each application file handling
+; Default value is 100 MiB
AppDirectoryQuota = 104857600
; Allowed requests amount in HMI level NONE during time scale.
; If value is 0 check will be skipped
@@ -53,13 +69,23 @@ AppTimeScaleMaxRequests = 1000
AppRequestsTimeScale = 10
; Allowed pending requests amount. If value is 0 check will be skipped
PendingRequestsAmount = 5000
-; HeartBeat timeout in ms
+PendingRequestsAmount = 0
+; Heart beat timeout used for protocol v3.
+; Timeout must be specified in milliseconds. If timeout is 0 heart beat will be disabled.
HeartBeatTimeout = 7000
+; The list of diagnostic modes supported on a vehicle.
+; Only the stated values are allowed by SDL in terms of DiagnosticMessage RPC, others are rejected
SupportedDiagModes = 0x01, 0x02, 0x03, 0x05, 0x06, 0x07, 0x09, 0x0A, 0x18, 0x19, 0x22, 0x3E
+; The path to the system file directory for inter-operation between SDL and System (e.g. IVSU files and others).
+; If parameter is empty, SDL uses /tmp/fs/mp/images/ivsu_cache by default
SystemFilesPath = /tmp/fs/mp/images/ivsu_cache
+; To restore the last transport state (name, applications or channels) on SDL on a new device connection and on disconnect
UseLastState = true
+; Port to obtain the performance information about messages processing
TimeTestingPort = 8090
+; Limitation for a number of ReadDID requests (the 1st value) per (the 2nd value) seconds
ReadDIDRequest = 5, 1
+; Limitation for a number of GetVehicleData requests (the 1st value) per (the 2nd value) seconds
GetVehicleDataRequest = 5, 1
[MEDIA MANAGER]
@@ -72,28 +98,27 @@ AudioStreamConsumer = socket
;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
+; 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
+; 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
+; The timeout in milliseconds for mobile to stop streaming or end up sessions.
+StopStreamingTimeout = 1000
+; The timeout in milliseconds to suspend audio data streaming if no data received from mobile
+AudioDataStoppedTimeout = 1000
+; The timeout in milliseconds 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
+; HelpPromt and TimeOutPrompt is a vector of strings separated by comma
+; Delimiter, which will be appended to each TTS chunk, e.g. helpPrompt/timeoutPrompt
TTSDelimiter = ,
; Default prompt items, separated by comma
HelpPromt = Please speak one of the following commands,Please say a command
@@ -113,6 +138,7 @@ DeleteFileRequest = 5
ListFilesRequest = 5
[VR COMMANDS]
+; TODO(EZamakhov): delete with APPLINK-15220
HelpCommand = Help
[AppInfo]
@@ -131,14 +157,12 @@ SSLMode = CLIENT
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)
+; Preloaded CA certificates directory
+CACertificatePath = .
+; Services which can not be started unprotected (could be id's from 0x01 to 0xFF)
;ForceProtectedService = 0x0A, 0x0B
ForceProtectedService = Non
-; Force unprotected services
+; Services which can not be started protected or delayed protected
;ForceUnprotectedService = 0x07
ForceUnprotectedService = Non
@@ -152,23 +176,14 @@ AttemptsToOpenPolicyDB = 5
OpenAttemptTimeoutMs = 500
[TransportManager]
+; Listening port form incoming TCP mobile connection
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
+; 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
@@ -187,8 +202,9 @@ MalformedFrequencyTime = 1000
[ApplicationManager]
; Application list update timeout ms
ApplicationListUpdateTimeout = 2000
-; Max allowed threads for handling mobile requests. Currently max allowed is 2
+; Max allowed threads for handling mobile requests. Default value is 2
ThreadPoolSize = 1
+; The max size of hash which is used by OnHashUpdated
HashStringSize = 32
[SDL4]
@@ -202,26 +218,18 @@ AppIconsFolderMaxSize = 104857600
AppIconsAmountToRemove = 1
[Resumption]
-
-# Timeout in milliseconds for resumption Application HMILevel
-# and resolving conflicts in case if multiple applications initiate resumption
+; Timeout in milliseconds for resumption Application HMILevel
+; and resolving conflicts in case if multiple applications initiate resumption
ApplicationResumingTimeout = 3000
-
-# Timeout in milliseconds for periodical saving resumption persistent data
+; Timeout in milliseconds for periodical saving resumption persistent data
AppSavePersistentDataTimeout = 10000
-
-# Timeout in seconds to store hmi_level for media app before ign_off
+; 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
+; Timeout in seconds to restore hmi_level for media app after sdl run
ResumptionDelayAfterIgn = 30;
-
-# Resumption ctrl uses JSON if UseDBForResumption=false for store data otherwise uses DB
+; Resumption ctrl uses JSON if UseDBForResumption=false for store data otherwise uses DB
UseDBForResumption = false
-
-# Number of attempts to open resumption DB
+; Number of attempts to open resumption DB
AttemptsToOpenResumptionDB = 5
-
-# Timeout between attempts during opening DB in milliseconds
+; Timeout between attempts during opening DB in milliseconds
OpenAttemptTimeoutMsResumptionDB = 500
-