Releases: CustomSDL/sdl_core
Seats, HMI Settings and Audio controls
The SDL-RC B4.2 release provides the implementation of change request “SDL controls update (Seats, HMI Settings and Audio controls)” based on SDL remote control functionality existed in SDL-RC_B4.1 release.
Seats, HMI Settings and Audio controls
The SDL-RC_E4.2 release provides the implementation of change request “SDL controls update (Seats, HMI Settings and Audio controls)” based on SDL remote control functionality existed in SDL-RC_B4.1 release.
SDL-RC B4.1 updated protocol for climate control
Merge pull request #256 from CustomSDL/fix/validation-temperature Fix core dump in TempretureValidator
RSDL_B4.3: Merge pull request #137 from CustomSDL/subscription
REVSDL-2255 RSDL: the "GENERIC_ERROR" instead of "UNSUPPORTED_RESOURS…
RSDL_B4.2: Merge pull request #135 from CustomSDL/subscription
REVSDL-2251 RSDL triggers permission prompt in case sending SetInteri…
RSDL_E3.1: Merge pull request #109 from CustomSDL/subscription
REVSDL-1910 RSDL: HMI's RPCs validation rules: doesn't validate when …
RSDL_E3.0_
Merge pull request #99 from CustomSDL/hotfix/REVSDL-1873-GetInteriorV…
RSDL_B3.0.5: Merge pull request #86 from CustomSDL/fix/REVSDL-1655-infinite-loop
REVSDL-1655: fix infinite loop
RSDL_B3.0.4
Step-by-step guide
Prepare enviorment:
-
sudo apt-get install cmake
-
sudo apt-get install g++
-
sudo apt-get install libssl-dev
-
sudo apt-get install libsqlite3-dev
git clone https://github.com/CustomSDL/sdl_core.git (folder sdl_core appears)
git clone https://github.com/LuxoftSDL/sdl_hmi.git (folder sdl_hmi appears)
enter sdl_core folder cd sdl_core
checkout to release tag git checkout RSDL_B3.0.3
Note : Following message will appear
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at f5fab04... Merge pull request #72 from CustomSDL/bugfix
return to previous folder cd ../
mkdir build && cd build && cmake -DREMOTE_CONTROL=ON ../sdl_core && make install
cd ../
cd sdl_hmi
open in text editor and edit app/Flags.js: change “SimpleFunctionality: 1” to “SimpleFunctionality:2”
chromium-browser index.html – at this point you have can simulator and HMI running.
Browser window will open. Select RC checkbox and press OK. HMI has to be the first thing to run.
cd .. && cd build/bin
./smartDeviceLinkCore – at this point you have RSDL running. RSDL has to be second thing to run.
Download RSDL SPT from https://adc.luxoft.com/svn/REVSDL/doc/technical/delivery/RSDL_B3.0.3/RSDLSPT/
Note that apps has different names, so you could install 2 or more RSDL SPT apps on your device.
Install it on your Android device
Run app.
Press add session.
Press Add HMIType and select REMOTE_CONTROL
Now you can connect your phone and start working.
Activate app by clicking on it in HMI.
To send specific REMOTE_CONTROL RPCs press Send Message, and and select RPC by name.
For example if you want to receive OnInteriorVehicleData for radio you should send GetInteriorVehicleData InteriorZone : Driver, ModuleType: Radio, subscribe:true;
(Note, that app should be in activated on HMI)
After that you should receive GetInteriorVehicleDataResponse
Then on HMI select radio screen by clicking on red zone under Menu button.
On this screen, you can send OnInteriorVehicleData by clicking on preset stations buttons, or on tune up (>>) or tune down (<<) buttons.
OnInteriorVehicleData should be received by RSDL SyncProxyTester.
If you want to receive OnInteriorVehicleData for climate, you should send GetInteriorVehicleData InteriorZone : (Driver or front passenger, because back left and back right zones are blocked by policy ), ModuleType: Climate, subscribe:true;
After that you should receive GetInteriorVehicleDataResponse
Then on HMI select climate screen by clicking on climate zone(blue zone with climate text)
On this screen first you should select zone to send notification. You should select zone, you have selected in GetInteriorVehicleData request.
After that you can click buttons,
OnInteriorVehicleData should be received by RSDL SyncProxyTester.
How to build unit test coverage
Note, that project should be built with flag ENABLE_TEST_COV_COUNT=ON
cd ${WORKSPACE}/../build;
mkdir coverage_report
lcov --capture --directory . --output-file coverage_report/full_report.info;
lcov --remove coverage_report/full_report.info /usr/include/* --output-file coverage_report/coverage_draft_1.info;
lcov --remove coverage_report/coverage_draft_1.info ./src/thirdPartyLibs/* --output-file coverage_report/coverage_draft_2.info;
lcov --remove coverage_report/coverage_draft_2.info ./src/3rd_party-static/* --output-file coverage_report/coverage.info;
genhtml coverage_report/coverage.info --output-directory coverage_report/;
RSDL_B3.0.3: Merge pull request #72 from CustomSDL/bugfix
Step-by-step guide
Prepare enviorment:
-
sudo apt-get install cmake
-
sudo apt-get install g++
-
sudo apt-get install libssl-dev
-
sudo apt-get install libsqlite3-dev
git clone https://github.com/CustomSDL/sdl_core.git (folder sdl_core appears)
git clone https://github.com/LuxoftSDL/sdl_hmi.git (folder sdl_hmi appears)
enter sdl_core folder cd sdl_core
checkout to release tag git checkout RSDL_B3.0.3
Note : Following message will appear
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at f5fab04... Merge pull request #72 from CustomSDL/bugfix
return to previous folder cd ../
mkdir build && cd build && cmake -DREMOTE_CONTROL=ON ../sdl_core && make install
cd ../
cd sdl_hmi
open in text editor and edit app/Flags.js: change “SimpleFunctionality: 1” to “SimpleFunctionality:2”
chromium-browser index.html – at this point you have can simulator and HMI running.
Browser window will open. Select RC checkbox and press OK. HMI has to be the first thing to run.
cd .. && cd build/bin
./smartDeviceLinkCore – at this point you have RSDL running. RSDL has to be second thing to run.
Download RSDL SPT from https://adc.luxoft.com/svn/REVSDL/doc/technical/delivery/RSDL_B3.0.3/RSDLSPT/
Note that apps has different names, so you could install 2 or more RSDL SPT apps on your device.
Install it on your Android device
Run app.
Press add session.
Press Add HMIType and select REMOTE_CONTROL
Now you can connect your phone and start working.
Activate app by clicking on it in HMI.
To send specific REMOTE_CONTROL RPCs press Send Message, and and select RPC by name.
For example if you want to receive OnInteriorVehicleData for radio you should send GetInteriorVehicleData InteriorZone : Driver, ModuleType: Radio, subscribe:true;
(Note, that app should be in activated on HMI)
After that you should receive GetInteriorVehicleDataResponse
Then on HMI select radio screen by clicking on red zone under Menu button.
On this screen, you can send OnInteriorVehicleData by clicking on preset stations buttons, or on tune up (>>) or tune down (<<) buttons.
OnInteriorVehicleData should be received by RSDL SyncProxyTester.
If you want to receive OnInteriorVehicleData for climate, you should send GetInteriorVehicleData InteriorZone : (Driver or front passenger, because back left and back right zones are blocked by policy ), ModuleType: Climate, subscribe:true;
After that you should receive GetInteriorVehicleDataResponse
Then on HMI select climate screen by clicking on climate zone(blue zone with climate text)
On this screen first you should select zone to send notification. You should select zone, you have selected in GetInteriorVehicleData request.
After that you can click buttons,
OnInteriorVehicleData should be received by RSDL SyncProxyTester.
How to build unit test coverage
Note, that project should be built with flag ENABLE_TEST_COV_COUNT=ON
cd ${WORKSPACE}/../build;
mkdir coverage_report
lcov --capture --directory . --output-file coverage_report/full_report.info;
lcov --remove coverage_report/full_report.info /usr/include/* --output-file coverage_report/coverage_draft_1.info;
lcov --remove coverage_report/coverage_draft_1.info ./src/thirdPartyLibs/* --output-file coverage_report/coverage_draft_2.info;
lcov --remove coverage_report/coverage_draft_2.info ./src/3rd_party-static/* --output-file coverage_report/coverage.info;
genhtml coverage_report/coverage.info --output-directory coverage_report/;