You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/BasicCommunication/DialNumber/index.md
+10-3Lines changed: 10 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,10 +22,17 @@ SDL looks to see if the phone number entered is correct before passing to the HM
22
22
!!! MUST
23
23
24
24
1. Show DialNumber pop-up on HMI with 2 buttons, "Call" and "Cancel".
25
-
2. Send the notification OnAppDeactivated(PHONE_CALL) to SDL when the phone call is started on the HMI. The notification must be sent to all applications that have active audio sources on the HMI.
26
-
3. Send the notification BC.OnOnPhoneCall(isActive:true) to SDL when the phone call is started on the HMI.
25
+
2. Send the notification BC.OnOnPhoneCall(isActive:true) to SDL when the phone call is started on the HMI.
27
26
3. Send the notification BC.OnOnPhoneCall(isActive:false) to SDL when the phone call is ended on the HMI.
28
-
4. Always respond to BC.DialNumber with a response code. If the HMI does not respond, the mobile application will never get a response from from SDL because default timeouts do not apply to the DialNumber mobile API.
27
+
4. Always respond to BC.DialNumber with a response code. If the HMI does not respond, the mobile application will never get a response from SDL because default timeouts do not apply to the DialNumber mobile API.
28
+
5. Send the notification `BC.OnResetTimeout` to SDL for resetting timeout in case HMI needs more time to process the `BC.DialNumber` request.
29
+
30
+
!!!
31
+
32
+
!!! MAY
33
+
34
+
1. Send the notification `BC.OnAppDeactivated` to SDL if the HMI leaves the app screen when the phone call is started.
Copy file name to clipboardExpand all lines: docs/BasicCommunication/GetSystemTime/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ In order to validate the certificate and to check whether this certificate is no
15
15
### Request
16
16
17
17
SDL sends a GetSystemTime request after receiving a BC.OnSystemTimeReady notification from the HMI.
18
-
After sending the request SDL starts [`<DefaultTimeout>`](https://github.com/smartdevicelink/sdl_hmi_integration_guidelines/blob/develop/docs/Configuration%20file/index.md#main) (value from .ini file) waiting for response from HMI.
18
+
After sending the request SDL starts [`<DefaultTimeout>`](https://smartdevicelink.com/en/guides/core/getting-started/ini-configuration/) (value from .ini file) waiting for response from HMI.
Copy file name to clipboardExpand all lines: docs/BasicCommunication/OnEventChanged/index.md
+8-10Lines changed: 8 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,21 +18,19 @@ SDL uses `OnEventChanged` notification to appropriately manage the hmiLevel and
18
18
!!! MUST
19
19
1. Send notification with appropriate parameter value when active call on HMI has been started/ended.
20
20
21
-
2. Send [SDL.OnAppDeactivated](../../sdl/onappdeactivated) to the active app when the phone call is started.
22
-
23
-
3. Resume the applications to their original state prior to the phone call event in the HMI when the event ends (see note below).
21
+
2. Return the applications to their appropriate audio streaming state in the HMI when the event ends.
24
22
!!!
25
23
26
24
!!! NOTE
27
-
SDL does not send BC.ActivateApp or BC.OnResumeAudioSource to HMI after the phone call is ended.
25
+
If the HMI wants to leave the app screen when the PHONE_CALL event occurs, the app's HMI state can be changed accordingly using the `BC.OnAppDeactivated(appID)` and `BC.OnAppActivated(appID)` notifications.
28
26
!!!
29
27
30
28
Upon receiving `OnEventChanged(PHONE_CALL)`, SDL will:
31
29
32
30
|isActive|Result|
33
31
|:-------|:-----|
34
-
|true|Change the HMI state of all media applications currently either in FULL or LIMITED to (BACKGROUND, NOT_AUDIBLE) and all navi/projection apps to (LIMITED, NOT_AUDIBLE, STREAMABLE)|
35
-
|false|Return applications to the same HMI state they had prior to the event|
32
+
|true|Move all apps with audioStreamingState AUDIBLE to NOT_AUDIBLE|
33
+
|false|Remove all HMI state modifications that were applied during the event from each application|
36
34
37
35
#### EMERGENCY_EVENT
38
36
@@ -47,7 +45,7 @@ Upon receiving `OnEventChanged(EMERGENCY_EVENT)`, SDL will:
47
45
|isActive|Result|
48
46
|:-------|:-----|
49
47
|true|Move all apps with audioStreamingState AUDIBLE or STREAMABLE to NOT_AUDIBLE and NOT_STREAMABLE|
50
-
|false|Return applications to the same HMI state they had prior to the event|
48
+
|false|Remove all HMI state modifications that were applied during the event from each application|
51
49
52
50
!!! NOTE
53
51
While the event is active, the app is not allowed to stream audio and it will not be heard by the user (due to other audio and/or system events blocking it).
@@ -65,7 +63,7 @@ Upon receiving `OnEventChanged(DEACTIVATE_HMI)`, SDL will:
65
63
|isActive|Result|
66
64
|:-------|:-----|
67
65
|true|Change the hmiLevel of all applications currently in (FULL/LIMITED) to (BACKGROUND, NOT_AUDIBLE, NOT_STREAMABLE)|
68
-
|false|Return applications to the same HMI state they had prior to the event|
66
+
|false|Remove all HMI state modifications that were applied during the event from each application|
69
67
70
68
!!! NOTE
71
69
When this event is active, SDL **rejects** all app activation requests from the HMI.
@@ -81,7 +79,7 @@ When this event is active, SDL **rejects** all app activation requests from the
81
79
- The HMI must deactivate the EMBEDDED_NAVI event if a navigation app is activated.
82
80
4. When the system supports audio mixing and embedded navigation starts streaming
83
81
- Send TTS.Started to SDL to change media app currently in (LIMITED, AUDIBLE) to (LIMITED, ATTENUATED) due to active embedded navigation.
84
-
- Send TTS.Stopped to SDL right after embedded navigation stops streaming to change application's HMIStatus to the same state it had prior to the event.
82
+
- Send TTS.Stopped to SDL right after embedded navigation stops streaming to remove any HMI state modifications that were applied during the event.
85
83
!!!
86
84
87
85
!!! NOTE
@@ -200,4 +198,4 @@ Multiple apps activation during active embedded navigation or audio source
note over App,HMI:<align:center>Timeout for UI.Alert(softButtons) never expires\nSDL does not apply UI.Alert timeout\nSDL does not reset timeout by BC.OnResetTimeout
0 commit comments