Conversation
proposals/NNNN-GetSystemTime.md
Outdated
|
|
||
| ## Introduction | ||
|
|
||
| This proposal is about adding a new RPC GetSystemTime to SDL Core for correct receiving of system time. |
There was a problem hiding this comment.
@AStasiuk
The sole purpose of this RPC is to get real system time during TLS handshake but not time correction.
proposals/NNNN-GetSystemTime.md
Outdated
|
|
||
| ## Motivation | ||
|
|
||
| Allow SDL Core obtain time from the system in UTC format. Exclude possibility of UTC time distortion in case using system time from other components of the system. |
There was a problem hiding this comment.
@AStasiuk
Motivation here is that SDL does not have access to the real system time so we need an interface to the system in order to request it when it is required.
proposals/NNNN-GetSystemTime.md
Outdated
| ## Proposed solution | ||
|
|
||
|
|
||
| The solution proposes adding new RPC between SDL and HMI. GetSystemTime gives possibility to get the System Time status by making the following additions to the HMI API. |
There was a problem hiding this comment.
- just 'system time' or 'real system time', no need to say that aloud )
- better ".. by introducing new API.." or ".. extending HMI API with.."
proposals/NNNN-GetSystemTime.md
Outdated
|
|
||
| The solution proposes adding new RPC between SDL and HMI. GetSystemTime gives possibility to get the System Time status by making the following additions to the HMI API. | ||
|
|
||
| SDL Core must send this GetSystemTime RPC to HMI in case of Policy Table Update procedure and before Security TLS Handshake. |
There was a problem hiding this comment.
@AStasiuk
As far as I know time is not needed for policy update, but policy update is needed in case there is no certificate on the system, than system time will be required to finish handshake
proposals/NNNN-GetSystemTime.md
Outdated
|
|
||
| SDL Core must send this GetSystemTime RPC to HMI in case of Policy Table Update procedure and before Security TLS Handshake. | ||
|
|
||
| Expected that HMI will request system time from the system and provide to SDL Core via GetSystemTime_response |
There was a problem hiding this comment.
- better is "Expected that HMI will provide real system time with GetSystemTime response"
proposals/NNNN-GetSystemTime.md
Outdated
|
|
||
| Requires changes on SDL core, and HMI_API. | ||
|
|
||
| Would require a major version change. |
proposals/NNNN-GetSystemTime.md
Outdated
|
|
||
| ## Alternatives considered | ||
|
|
||
| Using mqueue signals mechanism. |
There was a problem hiding this comment.
@AStasiuk
Not only mqueue but any other like pipes, mqueue, shared memory etc.
proposals/NNNN-GetSystemTime.md
Outdated
| ## Proposed solution | ||
|
|
||
|
|
||
| The solution proposes adding new RPC between SDL and HMI. GetSystemTime gives possibility to get the System Time status by making the following additions to the HMI API. |
There was a problem hiding this comment.
@AStasiuk suggest to rephrase:
New GetSystemTime RPC could be added to extend communication between SDL and HMI. This RPC gives possibility...
proposals/NNNN-GetSystemTime.md
Outdated
|
|
||
| The solution proposes adding new RPC between SDL and HMI. GetSystemTime gives possibility to get the System Time status by making the following additions to the HMI API. | ||
|
|
||
| SDL Core must send this GetSystemTime RPC to HMI in case of Policy Table Update procedure and before Security TLS Handshake. |
There was a problem hiding this comment.
@AStasiuk during Policy Table Update sequence and before Security SSL Handshake
proposals/NNNN-GetSystemTime.md
Outdated
|
|
||
| SDL Core must send this GetSystemTime RPC to HMI in case of Policy Table Update procedure and before Security TLS Handshake. | ||
|
|
||
| Expected that HMI will request system time from the system and provide to SDL Core via GetSystemTime_response |
There was a problem hiding this comment.
@AStasiuk please remove underscope in GetSystemTime_response
proposals/NNNN-GetSystemTime.md
Outdated
|
|
||
| ## Motivation | ||
|
|
||
| Now SDL Core does not have access to the real system time so need an interface to the system in order to request it when it is required |
There was a problem hiding this comment.
@AStasiuk
I think its better to clarify that "in some cases SDL may not have access to the real system time" as it depends on a platform SDL is integrated to.
proposals/NNNN-GetSystemTime.md
Outdated
|
|
||
| The solution proposes adding new RPC between SDL and HMI. GetSystemTime gives possibility to get the real system time status by introducing new API. | ||
|
|
||
| SDL Core must send this GetSystemTime RPC to HMI in case of Policy Table Update sequence - in case there is no certificate on the system. Than system time will be required to finish Security TLS Handshake. |
There was a problem hiding this comment.
@AStasiuk
My previous comment basically mention policy update just to make it more clear for you but I don't think it has to be mentioned in proposal as policy update has nothing to do with system time
…icle-data-turnSignal.md
autoCL on my branch for OpenSDL
…udio-streaming-indicator.md
…qt-hmi-from-sdl-core.md
* Add nnnn-ios-carwindow * Update nnnn-ios-carwindow.md * Update nnnn-ios-carwindow.md * Update nnnn-ios-carwindow.md
…s-concurrent-rpc-notifications.md
* Add audio stream manager proposal * Update nnnn-audiostreammanager.md * Update nnnn-audiostreammanager.md
* Create nnnn-default-softbuttoncapabilities.md * Update nnnn-default-softbuttoncapabilities.md * Update nnnn-default-softbuttoncapabilities.md * Update nnnn-default-softbuttoncapabilities.md * Update nnnn-default-softbuttoncapabilities.md * Update nnnn-default-softbuttoncapabilities.md
…/0114-default-softbuttoncapabilities.md
Update status for 0105, 0107, 0108, 0110. Add 0111, 0112, 0113, 0114.
Update NNNN-GetSystemTime.md according to review
d388f2f to
19088cd
Compare
[In creating a Pull Request for SDL Evolution, please note the following guidelines:
Please delete the above section when you have read it.]