-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #180 from smartdevicelink/develop
Release 6.0.0
- Loading branch information
Showing
176 changed files
with
2,533 additions
and
990 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
## UnpublishAppService | ||
|
||
Type | ||
: Function | ||
|
||
Sender | ||
: HMI | ||
|
||
Purpose | ||
: Delete a service previously published by the HMI on the module | ||
|
||
### Request | ||
|
||
#### Parameters | ||
|
||
|Name|Type|Mandatory|Additional| | ||
|:---|:---|:--------|:---------| | ||
|serviceID|String|true|| | ||
|
||
### Response | ||
|
||
#### Parameters | ||
|
||
|Name|Type|Mandatory|Additional| | ||
|:---|:---|:--------|:---------| | ||
||||| | ||
|
||
### Example Request | ||
|
||
```json | ||
{ | ||
"id": 1000, | ||
"jsonrpc": "2.0", | ||
"method": "AppService.UnpublishAppService", | ||
"params": { | ||
"serviceID": "1f89547cc0b12d5a52e896c45e141497f7af50e1e2dc8705914e75ef6fbeac03" | ||
} | ||
} | ||
``` | ||
|
||
### Example Response | ||
|
||
```json | ||
{ | ||
"id" : 1000, | ||
"jsonrpc" : "2.0", | ||
"result" : { | ||
"code" : 0, | ||
"method" : "AppService.UnpublishAppService" | ||
} | ||
} | ||
``` |
Binary file removed
BIN
-182 KB
docs/BasicCommunication/ActivateApp/assets/ActivateAppFailedData.png
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+139 KB
docs/BasicCommunication/CloseApplication/assets/CloseApplicationFailedData.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+20.6 KB
docs/BasicCommunication/CloseApplication/assets/CloseApplicationFromMobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions
17
docs/BasicCommunication/CloseApplication/assets/CloseApplicationFromMobile.puml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
@startuml | ||
|
||
participant Mobile | ||
participant Core | ||
participant HMI | ||
|
||
note left of Mobile: Application is in\nhmi level FULL | ||
|
||
Mobile -> Core : CloseApplication() | ||
Core -> HMI : CloseApplication(appID) | ||
|
||
note right of HMI: Application is no longer\nin foreground | ||
|
||
HMI --> Core : CloseApplication(SUCCESS) | ||
Core ->> Mobile : OnHMIStatus(NONE) | ||
Core --> Mobile : CloseApplication(SUCCESS) | ||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
## CloseApplication | ||
|
||
Type | ||
: Function | ||
|
||
Sender | ||
: HMI | ||
|
||
Purpose | ||
: Request to remove the application from the foreground | ||
|
||
### Behavior | ||
|
||
If the application is in the foreground of the HMI: | ||
!!! must | ||
|
||
1. Remove the application from the foreground. | ||
|
||
!!! | ||
|
||
SDL will: | ||
|
||
1. Place the application in hmiLevel `NONE` | ||
|
||
### Request | ||
|
||
#### Parameters | ||
|
||
|Name|Type|Mandatory|Additional| | ||
|:---|:---|:--------|:---------| | ||
|appID|Integer|true|The application to be removed from the foreground| | ||
|
||
### Response | ||
|
||
#### Parameters | ||
|
||
This RPC has no additional parameter requirements | ||
|
||
### Example Request | ||
|
||
```json | ||
{ | ||
"id" : 47, | ||
"jsonrpc" : "2.0", | ||
"method" : "BasicCommunication.ActivateApp", | ||
"result" : | ||
{ | ||
"appID" : 65368 | ||
} | ||
} | ||
``` | ||
### Example Response | ||
|
||
```json | ||
{ | ||
"id" : 47, | ||
"jsonrpc" : "2.0", | ||
"result" : | ||
{ | ||
"code" : 0, | ||
"method" : "BasicCommunication.ActivateApp" | ||
} | ||
} | ||
``` | ||
|
||
### Example Error | ||
|
||
```json | ||
{ | ||
"id" : 47, | ||
"jsonrpc" : "2.0", | ||
"error" : | ||
{ | ||
"code" : 13, | ||
"message" : "The provided appID is not valid.", | ||
"data" : | ||
{ | ||
"method" : "BasicCommunication.ActivateApp" | ||
} | ||
} | ||
} | ||
``` | ||
|
||
### Sequence Diagrams | ||
||| | ||
Close Application request from mobile application | ||
![Close Application request from Mobile](./assets/CloseApplicationFromMobile.png) | ||
||| | ||
||| | ||
Close Application after Failed Data Consent Prompt | ||
![Close Application Failed Data](./assets/CloseApplicationFailedData.png) | ||
||| |
Binary file added
BIN
+23.2 KB
docs/BasicCommunication/DecryptCertificate/assets/DecryptCertificate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions
13
docs/BasicCommunication/DecryptCertificate/assets/DecryptCertificate.puml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@startuml DecryptCertificate | ||
participant HMI | ||
participant Core | ||
|
||
rnote over Core: PolicyTable update with new\n certificate in module_config | ||
|
||
Core -> HMI: <b>BasicCommunication.DecryptCertificate</b>\n(fileName: build/bin/storage/certificate.pem) | ||
HMI --> HMI: Decrypt certificate and\nstore contents in file | ||
HMI ->> Core: <b>BasicCommunication.DecryptCertificate</b>("SUCCESS") | ||
Core --> Core: Load decrypted certificate data from file | ||
Core --> Core: Set PT's module_config.certificate\n to the decrypted certificate data | ||
|
||
@enduml |
Oops, something went wrong.