Comments (13)
One additional benefit not explicitly stated in the proposal is that an app could actually post load images. An RPC request like a show command could be sent with a reference to an image that would be loaded onto the file system later. After the image is successfully pushed to the file system, the HMI could be notified of the putfiles existence and update the display as needed.
If possible, I think this would be a very worthwhile addition to this proposal.
from sdl_evolution.
@mrapitis
How're you?
I'm MASASHI and an engineer from SUZUKI.
There are some questions as below.
Could you explain that, if you don't mind?
- What is the difference between "image" and "Image" in this proposal?
- Not easy to imagine that "RPCs include an invalid Image reference"
Could you give me examples or explain more in detail?
from sdl_evolution.
Thanks for your feedback. Please find my response below. Thanks!
- The references to image and Image actually have the same meaning. The parameter of type 'Image' is the specific type in our mobile api specification (linked below). Informally the parameter is referenced as an image type.
- Currently if an RPC such as a show command makes a reference to an image that does not exist on the system for any reason, the image reference is considered invalid and the RPC will receive and invalid data response. This proposal adds the capability for sdl to continue processing the RPC and warn the HMI that the image being referenced by the RPC does not exist on the system. The HMI can then gracefully handle the request.
from sdl_evolution.
Is the problem being addressed significant enough to warrant a change to SDL?
This doesn't seem like a huge problem, but worth solving.
Does this proposal fit well with the feel and direction of SDL?
I think both this solution and the alternative are plausible solutions.
If you have used competitors with a similar feature, how do you feel that this proposal compares to those?
N/A
How much effort did you put into your review? A glance, a quick reading, or an in-depth study?
A quick reading
Please state explicitly whether you believe that the proposal should be accepted into SDL.
I believe this proposal should be accepted.
from sdl_evolution.
Here are my concerns with this proposal:
-
the definition of proposal makes sense; although the benefit of a somewhat different behavior doesn't seem to be clear. Aren't we just changing the system's response to a bug in a mobile application?
-
I fully agree with the potential downsides:
Since RPC's with invalid image references are processed successfully, the mobile app may be less likely to resolve logical errors in image processing.
- I could go almost either way with this proposal. Both the current definition of behavior and the proposed one make sense. Considering the somewhat limited benefit, however, I'd prefer not to change existing behavior.
from sdl_evolution.
@mfoedisch thanks again for your feedback.
One additional benefit not explicitly stated in the proposal is that an app could actually post load images. An RPC request like a show command could be sent with a reference to an image that would be loaded onto the file system later. After the image is successfully pushed to the file system, the HMI could be notified of the putfiles existence and update the display as needed.
from sdl_evolution.
@mrapitis
Thank you for reply.
Could you tell me if my understandig is wrong?
■my understanding
Mobile app sends an RPC with an invalid image to SDL Core (which is in Head Unit?)
SDL Core validates the image parameter whether or not in the "AppStorageFolder".
The HMI judges how to respond to an RPC throgh SDL Core.
Here are questions as below again.
Please answer these questions.
- Who has the "AppStorageFolder"? SDL Core? HMI? or other?
- If you want the HMI to judge to respond to an RPC with the invalid image, should the HMI have the "AppStorageFolder" or not? Access limitation is necessary or not?
from sdl_evolution.
@ISHIZAKI-MASASHI Please find response below. Thanks!
Who has the "AppStorageFolder"? SDL Core? HMI? or other?
- The AppStorageFolder should be available to both SDL Core and the HMI. SDL Core will typically put a file in the AppStorageFolder at the request of the mobile application. The HMI can then be notified that a file is available for its usage in the filesystem.
If you want the HMI to judge to respond to an RPC with the invalid image, should the HMI have the "AppStorageFolder" or not? Access limitation is necessary or not?
- The HMI shouldn't be limited as far as accessing the AppStorageFolder. This proposal allows for the rpc to still be processed successfully (with warnings) even if the file is not (yet) available.
from sdl_evolution.
This is a proposal we had also been considering raising and we support it. While if the app is using Putfile, ListFiles and Show correctly they may not have an issue, it can be difficult for an app developer to figure out why an RPC is failing or handle all edge cases in the app logic. As developers start using their apps on more HMIs that will have different policies, this change will allow HMI's to at least handle the valid data passed in the RPC instead of nothing at all.
from sdl_evolution.
One additional benefit not explicitly stated in the proposal is that an app could actually post load images. An RPC request like a show command could be sent with a reference to an image that would be loaded onto the file system later. After the image is successfully pushed to the file system, the HMI could be notified of the putfiles existence and update the display as needed.
If possible, I think this would be a very worthwhile addition to this proposal.
We will need to append one addition to this proposal to allow the putfile to notify the HMI as currently it is only notified for a 'systemFile'
from sdl_evolution.
I fully support this proposal. Image post loading would be an excellent addition. It would be extremely helpful for choices and manual interactions.
from sdl_evolution.
The Steering Committee has agreed to accept this proposal. They also recommended that an additional proposal be submitted for the additional post loading of content.
from sdl_evolution.
Issues entered:
Core
SDL HMI
Generic HMI
from sdl_evolution.
Related Issues (20)
- [Withdrawn] SDL 0330 - App Service Subscription Resumption HOT 8
- [Accepted] Revise SDL-0296 Possibility to update video streaming capabilities during ignition cycle HOT 9
- [Withdrawn] Revise SDL 0280 - Adding new parameter of requiresAudioSupport and BluetoothDeviceAddress HOT 14
- [Withdrawn] SDL 0331 - Add new SDL System Structure using Mediation Application for middle/low-end class model of Powered Two Wheeler and low-cost vehicle models HOT 22
- [Accepted with Revisions] SDL 0332 - Additional Video Streaming Capabilities Validation HOT 8
- [Accepted] SDL 0333 - Handle Scenario Where no Valid Cert is Available HOT 18
- [Accepted with Revisions] SDL 0334 - Transform SetDisplayLayout requests into UI.Show for HMIs HOT 5
- [Accepted with Revisions] SDL 0335 - Limit TextField Length According to HMI Capabilities HOT 16
- [Accepted] SDL 0336 - Strict Versioning for Outgoing Core Messages HOT 16
- [Accepted] SDL 0337 - Reject PROPRIETARY/HTTP SystemRequests when PTU is not in progress HOT 3
- [Accepted] SDL 0338 - Remove Unused Files From SDL Core HOT 1
- [Accepted] SDL 0338 Revisions - Remove Unused Files From SDL Core HOT 1
- [Accepted] SDL 0339 - Replace `thread::Thread` implementation with `std::thread` from C++11 HOT 8
- [Accepted] SDL 0340 - ATF Selenium Support HOT 10
- [Accepted] SDL 0341 - Add Generic HMI Plugin Support HOT 26
- [Accepted] SDL 0342 - Remove Policy Mode Option From SDL Core HOT 6
- [Withdrawn] SDL 0343 - Add Notifications for Required App Support HOT 31
- [Accepted] SDL 0338 Revisions - Remove Unused Files From SDL Core HOT 1
- [Accepted] SDL 0344 - Use Promises in Server Logic of SDL Policy Server HOT 2
- [Accepted] SDL 0345 - Android 12 Issues HOT 26
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdl_evolution.