-
Notifications
You must be signed in to change notification settings - Fork 1
RDKEMW-17454 : Bluetooth Migration and Rollback Support #74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
pahearn73
wants to merge
20
commits into
develop
Choose a base branch
from
feature/RDKEMW-17454
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 17 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
608777f
Bluetooth Persistence Migration: Initial put
pahearn73 adba413
Bluetooth Persistence Migration: Added test plan
pahearn73 da47f15
Merge branch 'develop' into feature/RDKEMW-17454
pahearn73 908c196
Bluetooth Persistence Migration: Fixed BLUETOOTH_ENABLE_PERSISTENCE_M…
pahearn73 fb7c8e3
Bluetooth Persistence Migration: Added debug
pahearn73 6d7a380
Bluetooth Persistence Migration: Fixed lastConnectTimeUtc reset in pe…
pahearn73 292aa4f
Bluetooth Persistence Migration: Fixed PersistentStore return code check
pahearn73 8ccc1b6
Bluetooth Persistence Migration: Added debug
pahearn73 83fd636
Bluetooth Persistence Migration: Updated test plan
pahearn73 d0108e2
Bluetooth Persistence Migration: Formatting
pahearn73 ca54d37
Bluetooth Persistence Migration: Build 2
pahearn73 74a390e
Bluetooth Persistence Migration: Parameterized some tests to reduce c…
pahearn73 ae9cbcd
Bluetooth Persistence Migration: Build 20260520a
pahearn73 9e3a8cd
Bluetooth Persistence Migration: Fixed unit test
pahearn73 d139e98
Bluetooth Persistence Migration: Added L2 tests
pahearn73 b69d483
Bluetooth Persistence Migration: Added L2 tests
pahearn73 f13322e
Bluetooth Persistence Migration: Added L2 tests
pahearn73 0e64907
Bluetooth Persistence Migration: Added L2 tests
pahearn73 dac8187
Bluetooth Persistence Migration: Added L2 tests
pahearn73 0708d5f
Bluetooth Persistence Migration: Added L2 tests
pahearn73 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,72 @@ | ||
| # If not stated otherwise in this file or this component's LICENSE file the | ||
| # following copyright and licenses apply: | ||
| # | ||
| # Copyright 2025 RDK Management | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
|
|
||
| set(PLUGIN_NAME L2TestsBT) | ||
| set(MODULE_NAME ${NAMESPACE}${PLUGIN_NAME}) | ||
| set(THUNDER_PORT 9998) | ||
|
|
||
| find_package(${NAMESPACE}Plugins REQUIRED) | ||
|
|
||
| if(PLUGIN_BLUETOOTH) | ||
| set(SRC_FILES ${SRC_FILES} tests/Bluetooth_L2Test.cpp) | ||
| endif() | ||
|
|
||
| add_library(${MODULE_NAME} SHARED ${SRC_FILES}) | ||
|
|
||
|
Comment on lines
+25
to
+30
|
||
| set_target_properties(${MODULE_NAME} PROPERTIES | ||
| CXX_STANDARD 14 | ||
| CXX_STANDARD_REQUIRED YES) | ||
|
|
||
| target_compile_definitions(${MODULE_NAME} | ||
| PRIVATE | ||
| MODULE_NAME=Plugin_${PLUGIN_NAME} | ||
| THUNDER_PORT="${THUNDER_PORT}") | ||
|
|
||
| target_compile_options(${MODULE_NAME} PRIVATE -Wno-error) | ||
| target_link_libraries(${MODULE_NAME} PRIVATE ${NAMESPACE}Plugins::${NAMESPACE}Plugins) | ||
|
|
||
| if (NOT L2_TEST_OOP_RPC) | ||
| find_library(TESTMOCKLIB_LIBRARIES NAMES TestMocklib) | ||
| if (TESTMOCKLIB_LIBRARIES) | ||
| message ("Found mock library - ${TESTMOCKLIB_LIBRARIES}") | ||
| target_link_libraries(${MODULE_NAME} PRIVATE ${TESTMOCKLIB_LIBRARIES}) | ||
| else (TESTMOCKLIB_LIBRARIES) | ||
| message ("Require ${TESTMOCKLIB_LIBRARIES} library") | ||
| endif (TESTMOCKLIB_LIBRARIES) | ||
| endif (NOT L2_TEST_OOP_RPC) | ||
|
|
||
| find_library(MOCKACCESSOR_LIBRARIES NAMES MockAccessor) | ||
| if (MOCKACCESSOR_LIBRARIES) | ||
| message ("Found MockAccessor library - ${MOCKACCESSOR_LIBRARIES}") | ||
| target_link_libraries(${MODULE_NAME} PRIVATE ${MOCKACCESSOR_LIBRARIES}) | ||
| else (MOCKACCESSOR_LIBRARIES) | ||
| message ("Require ${MOCKACCESSOR_LIBRARIES} library") | ||
| endif (MOCKACCESSOR_LIBRARIES) | ||
|
|
||
| target_include_directories( | ||
| ${MODULE_NAME} PRIVATE ./ | ||
| ../../helpers | ||
| ../../../entservices-testframework/Tests/mocks | ||
| ../../../entservices-testframework/Tests/mocks/thunder | ||
| ../../../entservices-testframework/Tests/mocks/devicesettings | ||
| ../../../entservices-testframework/Tests/mocks/MockPlugin | ||
| ../../../entservices-testframework/Tests/L2Tests/L2TestsPlugin | ||
| ${CMAKE_INSTALL_PREFIX}/include | ||
| ) | ||
|
|
||
| install(TARGETS ${MODULE_NAME} DESTINATION lib) | ||
|
Comment on lines
+29
to
+72
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.