| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
Updated encrypt/decrypt frame conditions
Fixed bson object double allocation
|
|
|
|
| |
Also was removed redundant logic
|
| |
|
|
|
|
|
| |
Fixed SDL behavior in case when FIRST_FRAME received from mobile
was encrypted
|
| |
|
|\
| |
| | |
Feature/get system time
|
| |
| |
| |
| |
| |
| | |
There was included some changes related to
certificate processing. They will be included
into related pull request
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixed OnCertificateUpdated notification callback for empty certificate
Fixed GetSystemTime triggering
Fixed handshake resuming on system time arrived
Fixed wrong logic in case system time is not ready
Removed redundant logic for non-navi applications
Removed PTU triggerring for navi on empty certificate in DB
|
| |
| |
| |
| |
| |
| | |
Implemented fully working GetSystemTime feature
Fixed UT in the security manager due to code changes
Disable randomly failed test
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
NotifySessionStartedResult function were renamed to
NotifySessionStartedContext due to complexity of working
with overloaded functions in unit test classes.
Fixed protocol and connection handler unit tests.
Fixed security manager tests.
|
|
|
|
|
|
| |
Added consts for some methods.
Fixed typos in description.
Renamed some non informative variables names.
|
|
|
|
|
|
|
| |
ProtocolHandlerImpl was extended with PolicyHandlerObserver
logic and added function with related implementation.
Also was updated logic of NotifySessionStartedResult with
case when PTU should be triggered.
|
|
|
|
|
|
|
|
| |
NotifySessionStartedResult function were updated to use
StartingSessionContext class for accessing to needed data
instead of tones of separate parameters.
Also in protocol handler some raw pointer data were replaced
with smart objects.
|
|
|
|
|
|
|
| |
Old StartSessionHandler class moved to a separate unit and
renamed to HandshakeHandler according to its logic. Also
this class was updated to use StartingSessionContext and
was updated OnHandshakeDone logic according to requirements.
|
|
|
|
|
|
| |
Remove C style casts
Add comments for pragma directives
Remove redundant DEPRECATED macro usages
|
| |
|
|\
| |
| | |
fix: send Service Data ACK frames only for version 2-4
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The protocol spec document
https://github.com/smartdevicelink/protocol_spec says that the
frame is deprecated. Looking at its commit history the frame has
been marked as deprecated before introducing protocol version 5.
Also, looking at the comment in protocol_handler_impl.cc the
frame wasn't meant to send out in protocol version 1.
Therefore this fix will limit the use of Service Data ACK
for protocol version 2 through 4.
|
| |
| |
| | |
Reverts this section back to https://github.com/shoamano83/sdl_core/commit/f6ea1262c4b6a3d1e10dc89fa570720a6c85ea9d#diff-4a7a19ae471dc741759dcc42796f9fc3R1513
|
| | |
|
|/
|
| |
Fixes CIDs 174942, 174939, 174936, 174936
|
|\
| |
| |
| | |
'LuxoftAKutsan/fix/SDL_respond_ACK_with_protocol_version_4_for_video_and_audio_services_instead_of_negotiatied_version_protocol' into develop
|
| |
| |
| |
| | |
audio services starts
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
services starts
- added condition in SendStartSessionAck to avoid sending max supported protocol version
when video or audio services start.
SDL must send negotiated protocol_version from message from mobile app
Related to Issue-1365
|
|\ \
| | |
| | |
| | |
| | |
| | | |
feature/sdl_remote_control_baseline
For getting changes of protocol 5 version negotiation
|
| | |
| | |
| | | |
The previous expected behavior was to send the maximum protocol version supported by Core in the first StartSessionACK. Now a hard limit of `PROTOCOL_VERSION_4` is set if the proxy doesn't support version 5, as v5 involves a change to the payload structure.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add dependecies for protocol packet
Integraiton issues fix
Add missed READ_ONLY
Fixes after integration
Fix policy handler remote unit tests
Fix unit tests after integration
|
|\ \
| | |
| | | |
fix: build failure in protocol_packet_test.cc
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | | |
The `protocolVersion` parameter was being read from `start_session_act_params`, which was not populated in the `RPC` service case. This change fixes this and adds a check to make sure that the parameter exists before constructing a version object from the payload.
|
| | | |
|
| | |
| | |
| | |
| | | |
Reflecting review comments.
|
| | | |
|
| | |
| | |
| | |
| | | |
copy individually
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
SendStartSessionAck() now uses given BSON object instance
to append generic parameters such as mtu, instead of
creating another BSON instance.
Reflecting review comments.
|
| | |
| | |
| | |
| | | |
Reflecting review comments.
|
| | | |
|
| | |
| | |
| | |
| | | |
Reflecting review comments.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This commit includes following changes:
- Add connection_id and session_id args in
ProtocolHandler::NotifySessionStartedResult()
- Use pair of connection_id and session_id to remember the
request packet until NotifySessionStartedResult() is called
Reflecting review comments.
|
| | |
| | |
| | |
| | | |
Reflecting review comments.
|
| | |
| | |
| | |
| | | |
Reflecting review comments.
|