summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Handle error processing and fix shutdown issuefeature/boost_websocket_message_brokerJackLivio2018-02-022-9/+8
|
* Add Boost Websocket HMI AdapterJackLivio2018-02-0149-6504/+1241
| | | | Repleaces old message broker with new boost::beast websocket library. No changes required for setup or connecting with HMI.
* Merge pull request #1971 from AKalinich-Luxoft/fix/fix_security_issuesJacob Keeler2018-01-3130-771/+1463
|\ | | | | Fix starting behavior of secured services for navi/non-navi applications
| * Answer review commentsAKalinich-Luxoft2018-01-302-3/+6
| |
| * Fix failed RC test after rebaseAKalinich-Luxoft2018-01-291-1/+0
| |
| * Fixed mocks and related unit testsAKalinich-Luxoft2018-01-2910-448/+580
| | | | | | | | | | | | | | | | 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.
| * Minor refactoring in protocol and security managerAKalinich-Luxoft2018-01-2918-37/+50
| | | | | | | | | | | | Added consts for some methods. Fixed typos in description. Renamed some non informative variables names.
| * Fixed certificate chain reading from PEM fileAKalinich-Luxoft2018-01-291-0/+12
| |
| * Updates in connection and handlerAKalinich-Luxoft2018-01-295-0/+87
| | | | | | | | | | | | | | | | Connection and its handler were extended with function IsSessionServiceExists to check is specified service exists in session. This function is needed for ProtocolHandler. Also there was added check for session protocol version when starting a new service.
| * Added overriden functions for SecurityManager listenersAKalinich-Luxoft2018-01-295-1/+86
| |
| * ProtocolHandlerImpl was extended with PolicyHandlerObserverAKalinich-Luxoft2018-01-293-6/+114
| | | | | | | | | | | | | | 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.
| * Fixes in Crypto/Security managersAKalinich-Luxoft2018-01-294-9/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | There was added InitCertExpTime function in crypto manager to set certificate expired data to some initial value because in case of no certificate it will not be inited and contain invalid data. Also in this case IsCertificateUpdateRequired sometimes returns wrong result because of not inited certificate data. In crypto manager were added/updated debug logs for better understanding of it initialization process. Also added function IsPolicyCertificateDataEmpty function for getting information regarding policy certificate presence.
| * Refactoring in connection/protocol handlersAKalinich-Luxoft2018-01-296-134/+113
| | | | | | | | | | | | | | | | 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 unitAKalinich-Luxoft2018-01-294-135/+343
| | | | | | | | | | | | | | 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.
| * ServiceStartedContext were moved to session observerAKalinich-Luxoft2018-01-293-49/+58
| | | | | | | | | | | | | | | | | | ServiceStartedContext were moved to session observer and renamed to StartingSessionContext. Also new fields were added: - is_new_service - to check later is this a new service for this session - is_ptu_required - to check later is session from this context requires triggering of PTU in case there is no certificate data in local PT
* | Merge branch 'fix/gcc6_build' into developJacob Keeler2018-01-302-1/+2
|\ \
| * | Fix build errors with GCC6+fix/gcc6_buildjacobkeeler2018-01-172-1/+2
| | |
* | | Merge remote-tracking branch 'origin/master' into developjacobkeeler2018-01-291-1/+0
|\ \ \ | |_|/ |/| |
| * | Merge pull request #1994 from smartdevicelink/fix/rc_unit_test_failurefeature/SDL_must_transfer_RPC’s_with_invalid_imageJacob Keeler2018-01-291-1/+0
| |\ \ | | | | | | | | Fix RC unit test
| | * | Fix RC unit testfix/rc_unit_test_failureJacob Keeler2018-01-291-1/+0
| |/ /
* | | Merge remote-tracking branch 'origin/master' into developjacobkeeler2018-01-262-3/+2
|\ \ \ | |/ /
| * | Merge pull request #1849 from smartdevicelink/hotfix/move_ini_protocol_version4.4.1reles4.4.1Jacob Keeler2017-11-081-2/+2
| |\ \ | | | | | | | | Move MaxSupportedProtocolVersion to correct section
| | * | Move MaxSupportedProtocolVersion to correct sectionhotfix/move_ini_protocol_versionJacob Keeler2017-11-081-2/+2
| |/ / | | | | | | It was in the `Main` section, but belongs in (and is read from) the `ProtocolHandler` section of the INI file
| * | Merge pull request #1844 from ↵JackLivio2017-11-081-1/+0
| |\ \ | | | | | | | | | | | | | | | | smartdevicelink/hotfix/rc_sends_activate_app_at_wrong_time Activate app sent at wrong time for RC apps
| | * | Activate app sent at wrong time for RC appshotfix/rc_sends_activate_app_at_wrong_timeJackLivio2017-11-031-1/+0
| |/ / | | | | | | | | | This function call will cause BC.ActivateApp to be sent to the hmi when a RC app is connected for the first time.
* | | Merge pull request #1927 from smartdevicelink/feature/IAP_over_BTJackLivio2018-01-25129-1055/+5850
|\ \ \ | |_|/ |/| | Implementation of transport switching from iAP2 Bluetooth to iAP2 USB
| * | Fix difference in device hash generationfeature/IAP_over_BTAndriy Byzhynar2018-01-221-2/+5
| | | | | | | | | | | | | | | Fixed difference in device id hash generation which was different for SDL built with unit-tests and without
| * | Remove redundant functionalityAndriy Byzhynar2018-01-223-6/+18
| | |
| * | Add TODO comment in correct formatAndriy Byzhynar2018-01-191-2/+2
| | |
| * | Replace deprecation comments with DEPRECATED macroAndriy Byzhynar2018-01-1824-159/+122
| | |
| * | Extract common code to separate functionAndriy Byzhynar2018-01-181-56/+19
| | |
| * | Replace pragma with header guardsAndriy Byzhynar2018-01-1819-306/+85
| | | | | | | | | | | | | | | | | | | | | Replaced #pragma once usage with header guards Added wrappers for deprecated functions Fixed related unit tests Fixed coding style in places related to code chages
| * | Fix issues after rebaseAndriy Byzhynar2018-01-186-8/+9
| | |
| * | Fix UT for activate_app_requestAndriy Byzhynar2018-01-181-1/+11
| | |
| * | Add wrappers for deprecated methodsAndriy Byzhynar2018-01-1812-90/+52
| | | | | | | | | | | | | | | | | | | | | Added wrappers for some deprecated methods Grouped iface checks in SendRegisterAppInterfaceResponseToMobile Removed duplicated "if" statement Improved readability
| * | Fixes thread races in transport manager unit testsAndrey Oleynik (GitHub)2018-01-181-5/+1
| | |
| * | Revert "Changes return codes for application id replacement"Andrey Oleynik (GitHub)2018-01-181-4/+4
| | | | | | | | | | | | | | | | | | This reverts commit 866dfe849471157d6d0b414cfb013198a879a51f. Returning false in case of inner app_id fields update failed causes many issues on exisiting logic and ATF scripts.
| * | Adds error handlingAndrey Oleynik (GitHub)2018-01-181-3/+6
| | |
| * | Changes return codes for application id replacementAndrey Oleynik (GitHub)2018-01-181-4/+4
| | |
| * | Fixes potential build warnings with macroAndrey Oleynik (GitHub)2018-01-181-0/+2
| | |
| * | Fixes thread stopping in case no one connected to the pipeAndrey Oleynik (GitHub)2018-01-181-2/+11
| | |
| * | Fixes coding styleAndrey Oleynik (GitHub)2018-01-185-31/+25
| | |
| * | Adds comments, replaces pointer with reference and other minor changesAndrey Oleynik (GitHub)2018-01-182-12/+23
| | |
| * | Changes implementation of iAP2 transport adapter emulationAndrey Oleynik (GitHub)2018-01-185-3/+165
| | | | | | | | | | | | | | | | | | New implementation considers external switching flow triggering so no implementation includes separate thread which manages incoming signals and starts the flow. Also ACK is being sent back to the system.
| * | Adds null pointer checks, fixes typos and other minor changes.Andrey Oleynik (GitHub)2018-01-1810-30/+43
| | |
| * | Fixes coding styleAndrey Oleynik (GitHub)2018-01-1829-172/+187
| | |
| * | Updates mocks and unit tests after prior commitAndrey Oleynik (GitHub)2018-01-1815-141/+322
| | | | | | | | | | | | | | | | | | Fixes mock classes interfaces, unit tests and build after changes related to making iAP2 switching triggered externally and using of Bluetooth MAC/USB serial instead of UUID for internal device management.
| * | Changes iAP2 Bluetooth to USB switching flowAndrey Oleynik (GitHub)2018-01-1837-106/+501
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These changes update switching flow so now instead of automatic switching start in case of same UUID is detected SDL will wait for external signal from the system to start this flow. Also due to UUID is reliable only while device remains connected (at least on certain systems) SDL now uses Bluetooth MAC and USB serial to manage devices and UUID is used only for detection of devices able to switch their transports. Currently only iAP2 Bluetooth to USB support is implemented.
| * | Fixes multiconnection from the same adapter typeAndrey Oleynik (GitHub)2018-01-182-9/+18
| | | | | | | | | | | | | | | On new device connection SDL has to skip devices already known for the same adapter from update device list update process.
| * | Fixes RPCs holding for applications being switchedAndrey Oleynik (GitHub)2018-01-186-55/+221
| | |