Commit graph

46 commits

Author SHA1 Message Date
Omar Kallel
69ca8b8c55 Ticket refs #8243: bbf: Add AutonomousTransferCompletePolicy 2022-11-17 10:55:42 +01:00
Amin Ben Ramdhane
074de2a2ca Download && Upload diagnostics: use curl insted of tcpdump to extract data value 2022-10-17 17:33:19 +00:00
Amin Ben Ramdhane
0c8d4bcf69 T#8859: Improvement in diagnostics datamodel operations 2022-10-12 11:04:10 +00:00
Amin Ben Ramdhane
ace24d82fc Diagnostics: Fixes some issues and improves scripts 2022-08-24 14:18:38 +01:00
vdutta
943f487498 Remove sync after file download 2022-07-26 16:49:53 +05:30
vdutta
8788dc4c11 Wait for the firmware upgrade 2022-07-25 19:22:58 +05:30
vdutta
ebe5137382 Fix probable crash 2022-06-28 14:37:32 +05:30
vdutta
bf2bf6f7c2 Fix firmware download fault 2022-06-28 13:39:37 +05:30
Suvendhu Hansa
785f76f595 Fix firmware download 2022-06-27 14:18:36 +00:00
vdutta
a9b7c5e115 Updated cmake defaults 2022-06-07 20:50:40 +05:30
Vivek Kumar Dutta
a9c7f96694 Fix compilation warnings on gcc-11 2022-06-06 12:33:54 +00:00
Erik Karlsson
78751e0fc9 dmcommon: remove unused pipe in dmcmd
This avoids leaking file descriptors and potential deadlock in case
the command fills the pipe. Output is sent to /dev/null and dmcmd will
return the exit status instead of a file descriptor.
2022-04-04 13:22:24 +02:00
vdutta
8892e6784e Added pseudo blocking call for firmware upgrade 2022-03-14 12:45:15 +05:30
Amin Ben Ramdhane
a2db2419dc T#7156: use cron job to handle schedule Activate firmware image 2022-03-11 10:44:20 +00:00
vdutta
8675f66168 Config option to select ssl utility library 2022-03-03 16:22:27 +05:30
vdutta
2f87b0b54f Use wolfssl for ssl dependent features 2022-02-24 10:38:54 +05:30
Amin Ben Ramdhane
080f7b4f85 Ticket refs #7333: fix warnings, code analysis and clean up the code
- Fix all errors catched by cppcheck threadsafety (cppcheck --error-exitcode=0 --addon=threadsafety bbf)
 - Fix some errors catched by cppcheck cert (cppcheck --error-exitcode=0 --addon=cert bbf)
 - Add new str-protected macros instead of using str functions directly to avoid crashes
2022-02-16 10:33:59 +00:00
Amin Ben Ramdhane
a6d6d44588 Ticket refs #7317: the reboot isn't triggred after call of Activate() operate of Device.DeviceInfo.FirmwareImage.{i}. 2022-02-10 11:07:44 +01:00
Neeraj Bijalwan
a2801fa0f0 Added CommandKey in TransferComplete event 2022-01-28 05:54:45 +00:00
Amin Ben Ramdhane
c3ea9e5597 Ticket refs #6892: Parameters used for pathname reference cannot be set to empty 2022-01-10 10:20:03 +01:00
vdutta
1aee6718b0 Fix compilation errors for gcc-11 2021-10-19 18:00:41 +05:30
Amin Ben Ramdhane
818288d6e2 Download diagnotics: Fix EOMTime value 2021-09-28 12:45:00 +01:00
sandeep
da27610783 Added Device.DeviceInfo.VendorLogFile.{i}.Upload() command support 2021-09-24 13:04:00 +01:00
Amin Ben Ramdhane
ddb4259271 Download diagnostics: fix some issues 2021-09-23 13:28:40 +01:00
Amin Ben Ramdhane
7aa5103599 Diagnostics: fix some issues in download and upload methods 2021-09-22 13:34:24 +01:00
Amin Ben Ramdhane
660bb1fb04 TR-143: Set 'DiagnosticsState' parameter to 'None' when modifying any of the writable parameters 2021-09-22 13:34:13 +01:00
Arun Muthusamy
87b3664f95 Bug_5668: Fix time refrences in dm object
Add preferred shift time to the UTC time

ValidLifetime parameter: Replace localtime with UTC time

RouteLifetime parameter: Replace localtime with UTC time

IPv6 PreferredLifetime parameter: Replace localtime with UTC time

Security LastModif parameter: Replace localtime with UTC time

AssociationTime parameter: Replace localtime with UTC time

IPV6 PreferredLifetime, ValidLifetime parameter: Replace localtime with UTC time

DHCPv6 PreferredLifetime, ValidLifetime parameter: Replace localtime with UTC time

Add dm_time_utc_format function to get UTC time format

DHCPv4 LeaseTimeRemaining parameter: Replace localtime with UTC time

DeviceInfo Date parameter: Replace localtime with UTC time

DynamicDNS LastUpdate parameter: Replace localtime with UTC time

VoiceService ExpireTime parameter: Replace localtime with UTC time

Backup() parameter: Replace localtime with UTC time
2021-08-04 09:44:02 +02:00
Amin Ben Ramdhane
a82500080a Device.DeviceInfo.FirmwareImage: add support for Download() and Activate() commands 2021-05-25 10:49:17 +01:00
Amin Ben Ramdhane
92d1f62cab bbf: cleanup
- fix flawfinder and cppcheck issues
 - remove all unused functions
2021-02-10 17:31:55 +01:00
Amin Ben Ramdhane
3f9767796f Diagnostics: proto has no effect after new changes affected in icwmp 2021-01-04 10:22:21 +01:00
Amin Ben Ramdhane
eef08e0770 bbf: remove the call to icwmp shell script 2021-01-04 10:22:12 +01:00
Amin Ben Ramdhane
b9a12b057b remove tr064 feature and cleanup 2020-12-16 10:03:25 +01:00
Amin Ben Ramdhane
3906faa12d Ticket refs #3730: bbf: fix Static Code Analysis 2020-12-16 10:00:19 +01:00
Amin Ben Ramdhane
d5bf04b6a2 bbf: Fix some transaction issues and improve the code 2020-12-07 22:20:12 +01:00
Amin Ben Ramdhane
5d10fba083 bbf: improve and cleanup the code
- update_instance_alias: read config and type section from the passed section in handle_update_instance
 - remove append_dot_to_string() function
2020-12-06 22:18:18 +01:00
Amin Ben Ramdhane
a83984d914 Ticket refs #3539: bbf: the setting of Interface param has no effect on diagnostic objects 2020-10-19 23:06:05 +01:00
Amin Ben Ramdhane
027d8fb599 bbf: save diagnostics data under '/etc/bbfdm/dmmap_diagnostics' instead of '/vat/state/cwmp' 2020-09-28 10:08:13 +01:00
Amin Ben Ramdhane
974309dc77 Fix compile errors on x86 environment 2020-04-26 13:44:26 +01:00
Daniel Danzberger
4d67121a68 Revert "change strcat->strncat"
This reverts commit c0a476dec0.
2020-04-22 10:08:39 +02:00
Amin Ben Ramdhane
c0a476dec0 change strcat->strncat 2020-04-16 18:16:26 +01:00
Amin Ben Ramdhane
159a2607b9 change sprintf -> snprintf 2020-04-16 12:03:12 +01:00
Amin Ben Ramdhane
21af510617 Fix bugs: Diagnostics Objects 2020-03-23 11:49:22 +01:00
Amin Ben Ramdhane
ff14c27fc3 clean up the source code
- remove unused variables
- fix coding style of most function (Indentation, Tabulation, ..)
- check the source code using cppcheck tool
- change sprintf by snprintf
2020-02-12 19:08:49 +01:00
Amin Ben Ramdhane
4ab526b9f2 Ticket refs#1598: libbbfdm: plug-in based with support for dynamic loading of libraries + separate libbbfdm into two libraries: libbbf_api (API) and libbbfdm (data model) 2020-01-21 22:43:37 +01:00
Sukru Senli
1e11720828 Change License to LGPLv2.1 2019-12-04 09:52:05 +01:00
Amin Ben Ramdhane
cb2dd1e4ac libbbfdm : initial release 2019-08-26 17:02:43 +01:00