Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,18 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [2.0.0](https://github.com/rdkcentral/cable-modem-agent/compare/1.3.0...2.0.0)
#### [2.1.0](https://github.com/rdkcentral/cable-modem-agent/compare/2.0.0...2.1.0)

- RDKB-62709 RDKB-62780: Update Bootfile param to 255 char in CM Agent [`#20`](https://github.com/rdkcentral/cable-modem-agent/pull/20)
- RDKB-60656 : Available memory check for firmware downloads [`#23`](https://github.com/rdkcentral/cable-modem-agent/pull/23)
- Merge tag '2.0.0' into develop [`3f1dd7c`](https://github.com/rdkcentral/cable-modem-agent/commit/3f1dd7c501d11c63101c8b5a6c258074a2ef3d91)

### [2.0.0](https://github.com/rdkcentral/cable-modem-agent/compare/1.3.0...2.0.0)

> 21 January 2026

- RDKCOM-5478: RDKBDEV-3320 Add CcspCMAgent Documentation [`#19`](https://github.com/rdkcentral/cable-modem-agent/pull/19)
- Add changelog for release 2.0.0 [`ca45354`](https://github.com/rdkcentral/cable-modem-agent/commit/ca45354c6c468b0f322fe7e68be5e06cc6c2cdd1)
- Merge tag '1.3.0' into develop [`15a87fe`](https://github.com/rdkcentral/cable-modem-agent/commit/15a87fed50e024cd7003bdea7353476197352c95)

#### [1.3.0](https://github.com/rdkcentral/cable-modem-agent/compare/1.2.0...1.3.0)
Expand Down
4 changes: 2 additions & 2 deletions config-arm/TR181-CM.XML
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@

<name>BootFileName</name>

<type>string(64)</type>
<type>string(256)</type>

<syntax>string</syntax>

Expand Down Expand Up @@ -373,7 +373,7 @@

<name>IPv6BootFileName</name>

<type>string(64)</type>
<type>string(256)</type>

<syntax>string</syntax>

Expand Down
2 changes: 2 additions & 0 deletions source/CMAgentSsp/ssp_main.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:

Check failure on line 3 in source/CMAgentSsp/ssp_main.c

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID License Issue Detected

Source code with 'Apache-2.0' license found in local file 'source/CMAgentSsp/ssp_main.c' (Match: rdkb/components/opensource/ccsp/CcspCMAgent/rdkb/components/opensource/ccsp/CcspCMAgent/2102, 1037 lines, url: https://code.rdkcentral.com/r/plugins/gitiles/rdkb/components/opensource/ccsp/CcspCMAgent/+archive/rdk-dev-2102.tar.gz, file: source/CMAgentSsp/ssp_main.c)
*
* Copyright 2015 RDK Management
*
Expand Down Expand Up @@ -51,6 +51,7 @@
//#include <docsis_ext_interface.h>
#include "safec_lib_common.h"
#include "syscfg/syscfg.h"
#include "telemetry_busmessage_sender.h"
#include <sys/stat.h>

#define DEBUG_INI_NAME "/etc/debug.ini"
Expand Down Expand Up @@ -960,6 +961,7 @@
CcspTraceInfo(("pthread create docsis registration\n"));
pthread_create(&docsisclbk_tid, NULL, GWP_docsisregistration_threadfunc, NULL);
#endif
t2_init("CcspCMAgent");
cmd_dispatch('e');
// printf("Calling Docsis\n");

Expand Down
4 changes: 2 additions & 2 deletions source/TR-181/include/cosa_x_cisco_com_cablemodem_apis.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:

Check failure on line 3 in source/TR-181/include/cosa_x_cisco_com_cablemodem_apis.h

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID License Issue Detected

Source code with 'Apache-2.0' license found in local file 'source/TR-181/include/cosa_x_cisco_com_cablemodem_apis.h' (Match: rdkb/components/opensource/ccsp/CcspCMAgent/rdkb/components/opensource/ccsp/CcspCMAgent/1905, 210 lines, url: https://code.rdkcentral.com/r/plugins/gitiles/rdkb/components/opensource/ccsp/CcspCMAgent/+archive/rdk-dev-1905.tar.gz, file: source/TR-181/include/cosa_x_cisco_com_cablemodem_apis.h)

Check failure on line 3 in source/TR-181/include/cosa_x_cisco_com_cablemodem_apis.h

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID License Issue Detected

Source code with 'Apache-2.0' license found in local file 'source/TR-181/include/cosa_x_cisco_com_cablemodem_apis.h' (Match: rdkb/components/opensource/ccsp/CcspCMAgent/rdkb/components/opensource/ccsp/CcspCMAgent/2102, 707 lines, url: https://code.rdkcentral.com/r/plugins/gitiles/rdkb/components/opensource/ccsp/CcspCMAgent/+archive/rdk-dev-2102.tar.gz, file: source/TR-181/include/cosa_x_cisco_com_cablemodem_apis.h)
*
* Copyright 2015 RDK Management
*
Expand Down Expand Up @@ -93,7 +93,7 @@
_COSA_CM_DHCP_INFO
{
ANSC_IPV4_ADDRESS IPAddress;
char BootFileName[64];
char BootFileName[256];
ANSC_IPV4_ADDRESS SubnetMask;
ANSC_IPV4_ADDRESS Gateway;
ANSC_IPV4_ADDRESS TFTPServer;
Expand Down Expand Up @@ -165,7 +165,7 @@
_COSA_CM_IPV6DHCP_INFO
{
char IPv6Address[40];
char IPv6BootFileName[64];
char IPv6BootFileName[256];
char IPv6Prefix[40];
char IPv6Router[40];
char IPv6TFTPServer[40];
Expand Down
2 changes: 1 addition & 1 deletion source/TR-181/integration_src.shared/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ libCcspCMAgent_integration_src_shared_la_CPPFLAGS = \
-I$(top_srcdir)/source/Custom

libCcspCMAgent_integration_src_shared_la_SOURCES = cosa_x_cisco_com_cablemodem_apis.c cosa_device_info_apis.c cosa_x_rdkcentral_com_cablemodem_apis.c
libCcspCMAgent_integration_src_shared_la_LDFLAGS = -lccsp_common -lcm_mgnt -lsysevent -lsecure_wrapper
libCcspCMAgent_integration_src_shared_la_LDFLAGS = -lccsp_common -lcm_mgnt -lsysevent -lsecure_wrapper -lfw_download_chk
if CORE_NET_LIB_FEATURE_SUPPORT
libCcspCMAgent_integration_src_shared_la_LDFLAGS += -lnet
endif
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:

Check failure on line 3 in source/TR-181/integration_src.shared/cosa_device_info_apis.c

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID License Issue Detected

Source code with 'Apache-2.0' license found in local file 'source/TR-181/integration_src.shared/cosa_device_info_apis.c' (Match: rdkb/components/opensource/ccsp/CcspCMAgent/rdkb/components/opensource/ccsp/CcspCMAgent/1, 653 lines, url: https://code.rdkcentral.com/r/plugins/gitiles/rdkb/components/opensource/ccsp/CcspCMAgent/+archive/RDKB-RELEASE-TEST-DUNFELL-1.tar.gz, file: source/TR-181/integration_src.shared/cosa_device_info_apis.c)

Check failure on line 3 in source/TR-181/integration_src.shared/cosa_device_info_apis.c

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID License Issue Detected

Source code with 'Apache-2.0' license found in local file 'source/TR-181/integration_src.shared/cosa_device_info_apis.c' (Match: rdkb/components/opensource/ccsp/CcspCMAgent/rdkb/components/opensource/ccsp/CcspCMAgent/2102, 688 lines, url: https://code.rdkcentral.com/r/plugins/gitiles/rdkb/components/opensource/ccsp/CcspCMAgent/+archive/rdk-dev-2102.tar.gz, file: source/TR-181/integration_src.shared/cosa_device_info_apis.c)
*
* Copyright 2015 RDK Management
*
Expand Down Expand Up @@ -77,6 +77,7 @@
#include "safec_lib_common.h"
#include <syscfg/syscfg.h>
#include "secure_wrapper.h"
#include "fw_download_check.h"

#define CM_HTTPURL_LEN 512
#define VALID_fW_LEN 128
Expand Down Expand Up @@ -379,7 +380,6 @@
}
#endif


ANSC_STATUS CosaDmlDIDownloadNow(ANSC_HANDLE hContext)
{
PCOSA_DATAMODEL_DEVICEINFO pMyObject = (PCOSA_DATAMODEL_DEVICEINFO)hContext;
Expand Down Expand Up @@ -491,6 +491,12 @@
}

} */

if(can_proceed_fw_download() == FW_DWNLD_MEMCHK_NOT_ENOUGH_MEM){
CcspTraceError(("CosaDmlDIDownloadNow : Not enough memory to proceed firmware download\n"));
return ANSC_STATUS_FAILURE;
}

pthread_t FWDL_Thread;
res = pthread_create(&FWDL_Thread, NULL, FWDL_ThreadFunc, "FWDL_ThreadFunc");
if(res != 0)
Expand Down
Loading