summaryrefslogtreecommitdiff
path: root/src/components/transport_manager/include/transport_manager
Commit message (Collapse)AuthorAgeFilesLines
* Fix SDL behavior during LOW_VOLTAGE (#3029)Andrii Kalinich (GitHub)2019-09-244-21/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | There were found a several problems during SDL testing with ATF scripts: 1. SDL does not ignore messages from mobile/HMI during low voltage and processes them on wake up 2. Sometimes SDL ignores messages on wake up due to timings 3. SDL low voltage process is not stopping properly by exit() function 4. SDL does not send OnAppUnregistered after wake up to HMI To solve mentioned problems, the following changes were done: 1. exit() was replaced with _Exit() which allow to force close the process 2. Suspend transport events processing threads during low voltage, such as unexpected disconnect etc. These events should be processed when SDL wakes up completely. 3. Suspend all client listening threads and shut down sockets for a TCP connections to prevent any possibility to receive message during low voltage. These threads will be resumed on wake up. 4. Set low_voltage flag to false in the end of wakeup() function to prevent any timing issues. 5. Don't add pending requests/notifications into request controller if low voltage event has happened, as it may happen at any moment 6. Don't handle received pending messages from mobile/HMI in RPC handler if low voltage event has happened as it may happen at any moment 7. Updated logic of few test case scenarios. Updated unit tests according to code changes
* Fix coverity issues (#3036)Jacob Keeler2019-09-191-1/+1
| | | | | | | | * Fix coverity issues Fixes CIDs 203808, 203807, 203806, 203804, 203803, 203802, 203800, 203798, 203797, 203795, and 203793 * Add virtual destructor
* Add AOA filtering parameters to .ini configurationfeature/usb_ini_configJackLivio2019-07-241-1/+3
|
* Configure bt uuid via ini entryJackLivio2019-06-071-0/+5
|
* Merge remote-tracking branch 'origin/master' into developjacobkeeler2019-05-301-2/+13
|\ | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/rc_command_factory.cc # src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/mobile_command_factory.cc # src/components/transport_manager/src/cloud/cloud_websocket_transport_adapter.cc # src/components/transport_manager/test/include/transport_manager/cloud/sample_websocket_server.h # src/components/transport_manager/test/sample_websocket_server.cc # src/components/transport_manager/test/transport_adapter_test.cc # src/components/transport_manager/test/websocket_connection_test.cc
| * Implemented fix and unit tests for regex endpoint parsing and websocket ↵hotfix/cloud_app_endpoint_with_pathShobhit Adlakha2019-05-241-2/+13
| | | | | | | | connections
* | Run updated style scriptjacobkeeler2019-04-2923-83/+83
|/
* Merge pull request #2861 from smartdevicelink/fix/5.1.0_build_failuresJacob Keeler2019-03-271-13/+24
|\ | | | | Fix build failures depending on options
| * Fix build failures depending on build optionsfix/5.1.0_build_failuresjacobkeeler2019-03-271-13/+24
| |
* | Coverity 5.1 Fixes (#2854)JackLivio2019-03-261-1/+1
|/ | | | | | | | | | | | | | | | * Coverity 5.1 Fixes - Check return values - Pass struct by reference - Cast value to match return type * Coverity: Unchecked dynamic cast * Fix missing not typo * Address comments * Address comment
* Fix issues after mergefeature/secure_websocket_connectionjacobkeeler2019-03-051-2/+2
|
* Merge branch 'feature/cloud_app_transport' into ↵Jacob Keeler2019-03-053-1/+11
|\ | | | | | | feature/secure_websocket_connection
| * Address CommentsJackLivio2019-01-161-3/+1
| |
| * Merge remote-tracking branch 'origin/feature/cloud_app_connection_status' ↵jacobkeeler2019-01-141-0/+2
| |\ | | | | | | | | | into feature/cloud_app_connection_status_disconnect
| * \ Merge remote-tracking branch 'origin/feature/cloud_app_connection_status' ↵JackLivio2018-12-103-23/+7
| |\ \ | | | | | | | | | | | | into feature/cloud_app_connection_status_disconnect
| * | | Set HMI None on disconnect. Add reconnection after disconnect.JackLivio2018-11-303-1/+14
| | | |
* | | | Address review commentsShobhit Adlakha2019-02-081-4/+2
| | | |
* | | | Addressed review commentsShobhit Adlakha2019-02-071-1/+2
| | | |
* | | | Merge branch 'feature/cloud_app_connection_status' into ↵Jacob Keeler2019-01-021-0/+2
|\ \ \ \ | | |_|/ | |/| | | | | | feature/secure_websocket_connection
| * | | Refresh app list when an app is enabled or disabledjacobkeeler2018-12-121-0/+2
| | |/ | |/|
* | | Remove extra debug statementsShobhitAd2018-12-101-2/+1
| | |
* | | Remove debug statements and style fixShobhitAd2018-12-073-6/+8
| | |
* | | Created dynamic websocket object with std::variant and shared ptrsShobhitAd2018-12-061-2/+6
| | |
* | | Temporary fix for switching between WS and WSSShobhitAd2018-12-051-1/+3
| | |
* | | Pass CloudAppProperties to websocket client connectionShobhitAd2018-12-053-4/+22
| | |
* | | Implement WSS connectionShobhitAd2018-12-051-1/+10
|/ /
* | Update ConnectionStatusUpdated method + testsJackLivio2018-12-051-1/+5
| |
* | Merge remote-tracking branch 'origin/feature/cloud_app_connection_flow' into ↵jacobkeeler2018-12-032-22/+2
|\ \ | |/ |/| | | feature/cloud_app_connection_status
| * Address Comments and Remove Unused CodeJackLivio2018-11-272-22/+2
| |
* | Connection Status To Trigger UpdateAppListJackLivio2018-11-293-1/+14
| |
* | Add method headers and fix stylejacobkeeler2018-11-272-1/+38
| | | | | | | | Also fix issues with retry timer management
* | Fix issues with retry sequencejacobkeeler2018-11-261-0/+2
| | | | | | | | Also address review comments and fix build issues.
* | Merge remote-tracking branch 'origin/feature/cloud_app_connection_flow' into ↵jacobkeeler2018-11-161-1/+6
|\ \ | |/ | | | | | | | | | | | | feature/cloud_app_connection_status # Conflicts: # src/components/application_manager/include/application_manager/application.h # src/components/application_manager/include/application_manager/application_impl.h
| * Remove printfs and hardcoded valuesJackLivio2018-11-161-1/+6
| |
* | Add cloud connection statusjacobkeeler2018-11-162-6/+10
| | | | | | | | Also required some refactoring regarding the retry process for cloud apps, as well as how the HMIApplication struct was filled.
* | Add SDL.ActivateApp flow changes for cloud appsjacobkeeler2018-11-142-1/+9
|/
* Fix stylejacobkeeler2018-11-148-31/+30
|
* Pending cloud connection created via policies on startupJackLivio2018-11-095-1/+53
|
* Initial Cloud Transport ComponentJackLivio2018-11-084-0/+447
|
* Add Cloud Info to Application ClassJackLivio2018-11-071-0/+2
|
* Fix uninitialized membersfix/coverity_fixes_5.0.0jacobkeeler2018-09-281-1/+1
| | | | CIDs 188281, 188276, 188250, 188245, 188239
* Fix uninitialized field errorsjacobkeeler2018-09-271-1/+6
| | | | | | CID 188297 CID 188291 Also fix request_type typo
* Add override for IAP emulated transportfix/emulated_iap_transport_overrideJackLivio2018-09-171-0/+18
|
* Merge pull request #2414 from XevoInc/fix/xevo_copyrightsJackLivio2018-08-2910-152/+6
|\ | | | | Remove Xevo copyrights from multiple transport implementation
| * Remove Xevo copyrights from multiple transport implementationSho Amano2018-07-2410-152/+6
| |
* | Merge remote-tracking branch 'origin/develop' into ↵jacobkeeler2018-08-221-8/+6
|\ \ | | | | | | | | | feature/boost_datetime_implementation
| * | Remove deprecated methods from projectfeature/remove_deprecated_functions_5_0jacobkeeler2018-08-171-8/+6
| |/
* | Merge branch 'develop' of https://github.com/smartdevicelink/sdl_core into ↵Conlain Kelly2018-08-1015-16/+640
|\ \ | |/ | | | | feature/boost_datetime_implementation
| * Merge branch 'develop' into feature/STL_sharedptr_implementation_round2Conlain Kelly2018-07-181-2/+2
| |\
| | * Merge branch 'develop' into feature/use_STL_atomicsfeature/use_STL_atomicsJacob Keeler2018-07-1710-7/+634
| | |\