Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
8d4f3b5
Deploy cla action
rdkcmf-jenkins Jun 24, 2025
9829eea
RDKEMW-7174 : update AMC APP key mapping (#98)
dwolaver Aug 26, 2025
953d8e8
RDKEMW-3409 : move certselector logic into ctrlm-main repo (#102)
dwolaver Aug 29, 2025
2118523
RDKEMW-6767: getNetStatus call time out due to SAT download retries (…
jthomp007c Sep 3, 2025
e95f5af
RDKEMW-7333: remove device from bluez during factory reset (#100)
egalla204 Sep 3, 2025
40f600e
RDKEMW-7573 : remove ctrlm compile flags (#104)
dwolaver Sep 12, 2025
dfb62d1
RDKEMW-7694 : remove ctrlm build flags - CPC, DUNFELL (#105)
dwolaver Sep 12, 2025
798170d
RDKEMW-7834 : remove ctrlm build flags - RF4CE_PACKET_ANALYSIS (#107)
dwolaver Sep 12, 2025
505ddf8
RDKEMW-7772 : remove ctrlm build flags - DISABLE_BLE_VOICE (#106)
dwolaver Sep 15, 2025
b68bbe2
RDKEMW-7122 : Missing Thunder cflags in ctrlm implemenation (#103)
dwolaver Sep 16, 2025
4a52615
RDKEMW-7979 : use version/branch from recipe (#109)
dwolaver Sep 16, 2025
46ccf07
RDKEMW-8349 : ctrlm release v1.1.4 (#113)
dwolaver Sep 17, 2025
507a5a4
RDKEMW-8133: Optional param name for voiceSessionRequest (#108)
klu339 Sep 22, 2025
122f189
RDKEMW-8354: ctrlm-main crash while holding standby during OTA (#115)
klu339 Sep 22, 2025
83c2df4
Merge branch 'develop' into feature/action-deploy-for/develop
rdkcmf-jenkins Sep 26, 2025
760e744
Deploy cla action
rdkcmf-jenkins Sep 26, 2025
b7cfd91
Merge pull request #74 from rdkcentral/feature/action-deploy-for/develop
Alan-Ryan Sep 26, 2025
fc35492
Deploy fossid_integration_stateless_diffscan_target_repo action
rdkcmf-jenkins Sep 29, 2025
cbf8014
Merge pull request #121 from rdkcentral/feature/actions/develop-fossid
Alan-Ryan Sep 29, 2025
29c2732
Merge branch 'feature/RDKEMW-8815_autolookup_empty_return_error' into…
egalla204 Sep 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "CLA"

permissions:
contents: read
pull-requests: write
actions: write
statuses: write

on:
issue_comment:
types: [created]
pull_request_target:
types: [opened, closed, synchronize]

jobs:
CLA-Lite:
name: "Signature"
uses: rdkcentral/cmf-actions/.github/workflows/cla.yml@v1
secrets:
PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_ASSISTANT }}
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
name: Fossid Stateless Diff Scan

on: pull_request
on:
pull_request:
types: [opened, synchronize, reopened]

permissions:
contents: read
pull-requests: read

jobs:
call-fossid-workflow:
uses: rdkcentral/build_tools_workflows/.github/workflows/fossid_integration_stateless_diffscan.yml@develop
secrets:
if: ${{ ! github.event.pull_request.head.repo.fork }}
uses: rdkcentral/build_tools_workflows/.github/workflows/fossid_integration_stateless_diffscan.yml@1.0.0
secrets:
FOSSID_CONTAINER_USERNAME: ${{ secrets.FOSSID_CONTAINER_USERNAME }}
FOSSID_CONTAINER_PASSWORD: ${{ secrets.FOSSID_CONTAINER_PASSWORD }}
FOSSID_HOST_USERNAME: ${{ secrets.FOSSID_HOST_USERNAME }}
Expand Down
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,26 @@ All notable changes to this project will be documented in this file.

* In the future, generate this file by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

## [1.1.4] - 2025-09-17

### Changed
- move certselector logic into ctrlm-main repo (#102)
- use version/branch from recipe (#109)

### Added
- update AMC APP key mapping (#98)

### Fixed
- getNetStatus call time out due to SAT download retries (#97)
- remove device from bluez during factory reset (#100)
- Missing Thunder cflags in ctrlm implemenation (#103)

### Removed
- remove ctrlm compile flags (#104)
- remove ctrlm build flags - CPC, DUNFELL (#105)
- remove ctrlm build flags - RF4CE_PACKET_ANALYSIS (#107)
- remove ctrlm build flags - DISABLE_BLE_VOICE (#106)

## [1.1.3] - 2025-08-19

### Changed
Expand Down
77 changes: 26 additions & 51 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ set(CMAKE_BUILD_TYPE Release)
set(CMAKE_NO_SYSTEM_FROM_IMPORTED ON)

# PROJECT
project(ctrlm-main)
project(ctrlm-main VERSION ${CMAKE_PROJECT_VERSION})

# OPTIONS
option(A5000_ENABLE "ES1 A5000 use libse051" OFF)
Expand All @@ -42,25 +42,20 @@ option(BLE_ENABLED "Enable BLE" ON)
option(BLE_SERVICES "Enable BLE Services" OFF)
option(BREAKPAD "Enable BREAKPAD" OFF)
option(BUILD_CTRLM_FACTORY "Build Control Factory Test" OFF)
option(CPC "Enable CPC" OFF)
option(DISABLE_BLE_VOICE "Disable BLE voice" OFF)
option(DEEPSLEEP_CLOSE_DB "Deep Sleep Close DB" OFF)
option(DUNFELL_BUILD_SUPPORT "Enable DUNFELL_BUILD_SUPPORT" OFF)
option(ENABLE_NETWORKED_STANDBY_MODE "Enable Networked Standby Mode)" OFF)
option(FACTORY_AUDIO_PLAYBACK "Factory test audio playback" OFF)
option(FACTORY_CUSTOM_AUDIO_ANALYSIS "Factory custom audio analysis" OFF)
option(FDC_ENABLED "Enable FDC" OFF)
option(GIT_BRANCH, "Repository Branch" OFF)
option(IP_ENABLED "Enable IP" OFF)
option(LOCAL_MIC "Local Microphone" OFF)
option(LOCAL_MIC_DISABLE_VIA_PRIVACY "Use Privacy to disable microphone" OFF)
option(MEM_DEBUG "Enable memory debugging" OFF)
option(MEMORY_LOCK "Memory Lock" OFF)
option(MIC_TAP "Enable MIC_TAP" OFF)
option(RF4CE_ENABLED "Enable RF4CE" ON)
option(RF4CE_PACKET_ANALYSIS "Enable RF4CE_PACKET_ANALYSIS" OFF)
option(TELEMETRY_SUPPORT "Enable TELEMETRY_SUPPORT" OFF)
option(THUNDER "Enable THUNDER" OFF)
option(THUNDER "Enable THUNDER" ON)
option(THUNDER_SECURITY "Enable THUNDER_SECURITY" OFF)
option(USE_SAFEC "Use safec" OFF)
option(USE_IARM_POWER_MANAGER "Use IARM Power Manager" OFF)
Expand All @@ -84,7 +79,7 @@ set(BEEP_ON_KWD_FILE "NONE" CACHE STRING "Keyword Beep file name")
set(CMAKE_ENABLE_EXPORTS ON)

# EXECUTABLE(S)
add_executable(controlMgr src/ctrlm_config_default.json ctrlm_version_build.h ctrlm_config_default.h ${CMAKE_CURRENT_SOURCE_DIR}/src/ctrlm_config_default.c ${CMAKE_CURRENT_SOURCE_DIR}/src/voice/ipc/ctrlm_voice_ipc_request_type.c)
add_executable(controlMgr src/ctrlm_config_default.json ctrlm_version_build.h ctrlm_config_default.h ${CMAKE_CURRENT_SOURCE_DIR}/src/ctrlm_config_default.c)

if(BUILD_CTRLM_FACTORY)
add_library(ctrlm-fta)
Expand Down Expand Up @@ -146,7 +141,7 @@ add_subdirectory(src)

# COMPILER OPTIONS
target_compile_options(controlMgr PUBLIC -fPIC -rdynamic -Wall -Werror)
add_compile_definitions(_REENTRANT _POSIX_C_SOURCE=200809L _GNU_SOURCE SYSTEMD_NOTIFY XR15_704 _REENTRANT)
add_compile_definitions(_REENTRANT _POSIX_C_SOURCE=200809L _GNU_SOURCE _REENTRANT)

target_link_libraries(
controlMgr
Expand Down Expand Up @@ -199,25 +194,6 @@ if(ASSERT_ON_WRONG_THREAD)
add_compile_definitions(ASSERT_ON_WRONG_THREAD)
endif()

if(AUTH_ENABLED)
if(EXISTS ${CMAKE_SYSROOT}/usr/lib/libctrlm-hal-certificate.so)
add_compile_definitions(AUTH_ENABLED)
add_compile_definitions(AUTH_ACCOUNT_ID)
add_compile_definitions(AUTH_DEVICE_ID)
add_compile_definitions(AUTH_PARTNER_ID)
add_compile_definitions(AUTH_SAT_TOKEN)
if(AUTH_ACTIVATION_STATUS)
add_compile_definitions(AUTH_ACTIVATION_STATUS)
endif()
#By default disabled but can be enabled
#add_compile_definitions(AUTH_EXPERIENCE)
target_link_libraries(controlMgr ctrlm-hal-certificate)
else()
message(WARNING "ctrlm-hal-certificate library is not provided, disabling authentication")
unset(AUTH_ENABLED)
endif()
endif()

if(BLE_ENABLED)
target_link_libraries(controlMgr BTMgr)
if(BLE_SERVICES)
Expand All @@ -231,18 +207,10 @@ if(BREAKPAD)
add_compile_definitions(BREAKPAD_SUPPORT)
endif()

if(CPC_ENABLED)
target_link_libraries(controlMgr ${CTRLM_CPC_LIBRARY})
endif()

if(DEEPSLEEP_CLOSE_DB)
add_compile_definitions(DEEPSLEEP_CLOSE_DB)
endif()

if(DISABLE_BLE_VOICE)
add_compile_definitions(DISABLE_BLE_VOICE)
endif()

if(ENABLE_ASYNC_SRVR_MSG)
add_compile_definitions(SUPPORT_ASYNC_SRVR_MSG)
endif()
Expand All @@ -263,10 +231,6 @@ if(IP_ENABLED)
add_compile_definitions(CTRLM_NETWORK_IP CTRLM_IP_HAL_LOG_ENABLED)
endif()

if(THUNDER)
add_compile_definitions(CTRLM_THUNDER)
endif()

if(LOCAL_MIC)
add_compile_definitions(CTRLM_LOCAL_MIC)
if(MIC_TAP)
Expand Down Expand Up @@ -306,11 +270,23 @@ if(THUNDER)
if(WPE_FRAMEWORK_PROTO_TRACING)
target_link_libraries(controlMgr WPEFrameworkProtocols WPEFrameworkTracing)
endif()
endif()

if(THUNDER_SECURITY)
add_compile_definitions(THUNDER_SECURITY)
target_link_libraries(controlMgr WPEFrameworkSecurityUtil)
if(THUNDER_SECURITY)
add_compile_definitions(THUNDER_SECURITY)
target_link_libraries(controlMgr WPEFrameworkSecurityUtil)
endif()
if(AUTH_ENABLED)
add_compile_definitions(AUTH_ENABLED)
add_compile_definitions(AUTH_ACCOUNT_ID)
add_compile_definitions(AUTH_DEVICE_ID)
add_compile_definitions(AUTH_PARTNER_ID)
add_compile_definitions(AUTH_SAT_TOKEN)
if(AUTH_ACTIVATION_STATUS)
add_compile_definitions(AUTH_ACTIVATION_STATUS)
endif()
#By default disabled but can be enabled
#add_compile_definitions(AUTH_EXPERIENCE)
target_link_libraries(controlMgr RdkCertSelector)
endif()
endif()

if(USE_IARM_POWER_MANAGER)
Expand Down Expand Up @@ -343,15 +319,14 @@ install(FILES ${CMAKE_BINARY_DIR}/ctrlm_config.json.template DESTINATION ${CMAKE

# GENERATED FILES
add_custom_command( OUTPUT ctrlm_version_build.h
COMMAND echo "#define CTRLM_MAIN_VER_MAJOR \"1\"" > ctrlm_version_build.h
COMMAND echo -n "#define CTRLM_MAIN_VER_MINOR \"" >> ctrlm_version_build.h
COMMAND bash -c "echo -n $(git -C ${CMAKE_CURRENT_SOURCE_DIR} rev-list --count 4b825dc642cb6eb9a060e54bf8d69288fbee4904..HEAD) >> ctrlm_version_build.h"
COMMAND git -C ${CMAKE_CURRENT_SOURCE_DIR} diff --quiet || echo -n "++" >> ctrlm_version_build.h
COMMAND echo -n "#define CTRLM_MAIN_BRANCH \"" >> ctrlm_version_build.h
COMMAND git -C ${CMAKE_CURRENT_SOURCE_DIR} branch --all --contains | sed -n -e "s/^\\s*remotes\\/origin\\///" -e "2p" | tr -d "\\n" >> ctrlm_version_build.h
COMMAND echo "\"" >> ctrlm_version_build.h
COMMAND echo "#define CTRLM_MAIN_BRANCH \"${GIT_BRANCH}\"" >> ctrlm_version_build.h
COMMAND echo -n "#define CTRLM_MAIN_COMMIT_ID " >> ctrlm_version_build.h
COMMAND git -C ${CMAKE_CURRENT_SOURCE_DIR} log --format=\"%H\" -n 1 >> ctrlm_version_build.h
COMMAND echo "#define CTRLM_MAIN_VERSION (CTRLM_MAIN_VER_MAJOR \".\" CTRLM_MAIN_VER_MINOR)" >> ctrlm_version_build.h
COMMAND echo -n "#define CTRLM_MAIN_VERSION \"${CMAKE_PROJECT_VERSION}" >> ctrlm_version_build.h
COMMAND git -C ${CMAKE_CURRENT_SOURCE_DIR} diff --quiet || echo -n "++" >> ctrlm_version_build.h
COMMAND echo "\"" >> ctrlm_version_build.h
VERBATIM
)

Expand Down
13 changes: 2 additions & 11 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ target_sources(controlMgr PRIVATE
voice/endpoints/ctrlm_voice_endpoint_ws_nsp.cpp
voice/ipc/ctrlm_voice_ipc_iarm_all.cpp
voice/ipc/ctrlm_voice_ipc_iarm_legacy.cpp
voice/ipc/ctrlm_voice_ipc_request_type.c
)

if(BLE_ENABLED)
Expand Down Expand Up @@ -174,16 +173,6 @@ if(RF4CE_ENABLED)
rf4ce/rib/ctrlm_rf4ce_rib.cpp
rf4ce/rib/ctrlm_rf4ce_rib_attr.cpp
)

if(RF4CE_PACKET_ANALYSIS)
target_sources(controlMgr PRIVATE
ctrlm_rf4ce_voice_packet_analysis.cpp
)
else()
target_sources(controlMgr PRIVATE
stubs/stubs_voice_packet_analysis.cpp
)
endif()
endif()

if(TELEMETRY_SUPPORT)
Expand All @@ -209,12 +198,14 @@ if(THUNDER)
thunder/plugins/ctrlm_thunder_plugin_system.cpp
ipc/ctrlm_rcp_ipc_iarm_thunder.cpp
voice/ipc/ctrlm_voice_ipc_iarm_thunder.cpp
voice/ipc/ctrlm_voice_ipc_request_type.c
)

if(AUTH_ENABLED)
target_sources(controlMgr PRIVATE
auth/ctrlm_auth.cpp
auth/ctrlm_auth_thunder.cpp
auth/ctrlm_auth_certificate.cpp
auth/ctrlm_thunder_plugin_authservice.cpp
)
endif()
Expand Down
Loading
Loading