Skip to content

Commit dbbdae1

Browse files
authored
Merge pull request #256 from smartdevicelink/release/8.0.0
SDL Core Release 8.0.0
2 parents b06288f + 1107adf commit dbbdae1

File tree

79 files changed

+729
-255
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+729
-255
lines changed

config.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,10 @@
128128
},
129129
{
130130
"name": "OnAppCapabilityUpdated"
131-
}
131+
},
132+
{
133+
"name": "OnResetTimeout"
134+
}
132135
]
133136
},
134137
{
@@ -144,7 +147,10 @@
144147
"name": "OnButtonPress"
145148
},
146149
{
147-
"name": "OnButtonSubscription"
150+
"name": "SubscribeButton"
151+
},
152+
{
153+
"name": "UnsubscribeButton"
148154
},
149155
{
150156
"name": "ButtonPress"
@@ -281,9 +287,6 @@
281287
{
282288
"name": "OnLanguageChange"
283289
},
284-
{
285-
"name": "OnResetTimeout"
286-
},
287290
{
288291
"name": "SetGlobalProperties"
289292
},
@@ -361,9 +364,6 @@
361364
{
362365
"name": "OnRecordStart"
363366
},
364-
{
365-
"name": "OnResetTimeout"
366-
},
367367
{
368368
"name": "OnSubtleAlertPressed"
369369
},

docs/BasicCommunication/CloseApplication/index.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,13 @@ Purpose
1111

1212
### Behavior
1313

14-
If the application is in the foreground of the HMI:
1514
!!! must
1615

17-
1. Remove the application from the foreground.
16+
1. Remove the application from the foreground (SDL will place the application in hmiLevel `NONE`).
17+
2. Send `BC.OnResetTimeout` notification to SDL for resetting timeout in case HMI needs more time to process the request.
1818

1919
!!!
2020

21-
SDL will:
22-
23-
1. Place the application in hmiLevel `NONE`
24-
2521
### Request
2622

2723
#### Parameters

docs/BasicCommunication/DialNumber/index.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,17 @@ SDL looks to see if the phone number entered is correct before passing to the HM
2222
!!! MUST
2323

2424
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.
2726
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.
35+
2936

3037
!!!
3138

docs/BasicCommunication/GetSystemTime/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ In order to validate the certificate and to check whether this certificate is no
1515
### Request
1616

1717
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.
1919

2020
#### Parameters
2121

docs/BasicCommunication/OnAppUnregistered/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ SDL sends this notification when:
1717

1818
!!! MUST
1919

20-
1. HMI must distinguish distinguish between an unexpected disconnect and a regular exit from the `unexpectedDisconnect` parameter.
20+
1. HMI must distinguish between an unexpected disconnect and a regular exit from the `unexpectedDisconnect` parameter.
2121
2. HMI must removed the named application from the list of registered applications.
2222

2323
!!!
1.86 KB
Loading
23.3 KB
Loading

docs/BasicCommunication/OnEventChanged/index.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,19 @@ SDL uses `OnEventChanged` notification to appropriately manage the hmiLevel and
1818
!!! MUST
1919
1. Send notification with appropriate parameter value when active call on HMI has been started/ended.
2020

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.
2422
!!!
2523

2624
!!! 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.
2826
!!!
2927

3028
Upon receiving `OnEventChanged(PHONE_CALL)`, SDL will:
3129

3230
|isActive|Result|
3331
|:-------|:-----|
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|
3634

3735
#### EMERGENCY_EVENT
3836

@@ -47,7 +45,7 @@ Upon receiving `OnEventChanged(EMERGENCY_EVENT)`, SDL will:
4745
|isActive|Result|
4846
|:-------|:-----|
4947
|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|
5149

5250
!!! NOTE
5351
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:
6563
|isActive|Result|
6664
|:-------|:-----|
6765
|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|
6967

7068
!!! NOTE
7169
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
8179
- The HMI must deactivate the EMBEDDED_NAVI event if a navigation app is activated.
8280
4. When the system supports audio mixing and embedded navigation starts streaming
8381
- 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.
8583
!!!
8684

8785
!!! NOTE
@@ -200,4 +198,4 @@ Multiple apps activation during active embedded navigation or audio source
200198
}
201199

202200
}
203-
```
201+
```
49.6 KB
Loading
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
participant App
2+
participant SDL
3+
participant HMI
4+
5+
note over App,HMI:<align:center> **//Pre-conditions://** 1. appID is active on HMI
6+
7+
App->SDL: Alert(params)
8+
SDL->HMI: UI.Alert(params)
9+
10+
note over HMI:<align:center>Display the Alert dialog with\nalertText1 text and a\nsoftButtonID_1 soft button
11+
12+
HMI->>SDL:UI.OnSystemContext(ALERT)
13+
14+
note over HMI:<align:center>User taps the\nsoftButtonID_1 button
15+
16+
HMI->>SDL: Buttons.OnButtonEvent(BUTTONDOWN, customButtonID_1)
17+
HMI->SDL: BC.OnResetTimeout(resetPeriod)
18+
19+
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
20+
21+
HMI-->SDL: UI.Alert(SUCCESS)
22+
SDL-->App: Alert(SUCCESS)

0 commit comments

Comments
 (0)