Commit graph

1299 commits

Author SHA1 Message Date
Omar Kallel
c328247082 Ticket refs #5752: icwmp: Add custom notification from json 2021-08-13 13:19:29 +01:00
Omar Kallel
30795d2be5 Fix some notifications memory leak 2021-08-11 14:08:59 +01:00
Omar Kallel
f8bcdb5af1 Ticket refs #5692: icwmp: Update readme with cli arguments 2021-08-11 11:40:52 +01:00
Omar Kallel
4bccb4f53b Ticket refs #5691: icwmp: Add unit test to verify icwmp cli arguments 2021-08-11 10:50:58 +01:00
Omar Kallel
9a872948e8 Ticket refs #5653: icwmpd coredumps setting notifications via CLI 2021-08-11 10:50:42 +01:00
Omar Kallel
1fadaffefb Ticket refs #5611: icwmp notifications unit test module 2021-08-09 17:22:17 +01:00
Omar Kallel
49c0641b31 Ticket refs #5566: icwmp: move notifications feature from bbf to icwmp package 2021-08-09 17:22:07 +01:00
Omar Kallel
c831bb17a9 Ticket refs #5696: icwmpd doesn't support spaces in 'active' inform 2021-08-09 17:21:54 +01:00
vdutta
0b62cc6021 Fix typos in readme 2021-08-02 11:27:24 +05:30
Vivek Kumar Dutta
ab883852f9 Updated Readme 2021-07-29 13:22:29 +00:00
Omar Kallel
55e2d94a9e Forced inform parameters README 2021-07-28 14:22:03 +01:00
Omar Kallel
ac94a73bb8 Unit tests memroy leak 2021-07-27 16:34:26 +01:00
Omar Kallel
d84584aa8d Fix icwmp memory leak 2021-07-27 16:34:11 +01:00
Omar Kallel
6f9dae1cd2 Forced inform unit tests 2021-07-27 12:26:01 +01:00
Omar Kallel
fc979a1140 Ticket refs #5530: CWMP: Configurable Forced Informs 2021-07-27 12:25:49 +01:00
Omar Kallel
40b08ae2f1 Ticket refs #5379: icwmp: backupsession, session, events, download unit tests 2021-07-05 10:57:12 +01:00
Omar Kallel
153f265761 SOAP unit tests: Invalid arguments 2021-07-01 18:43:29 +01:00
Omar Kallel
4edfade24c Ticket refs #5515: icwmp: validation of RPC methods arguments 2021-07-01 18:42:21 +01:00
Omar Kallel
c320a000bc Return No Fault in case FileType is '4 Tone File' or '5 Ringer File' and return Invalid Arguments in case FileType is different from the standard 2021-06-30 12:36:12 +01:00
Omar Kallel
b83308461b Fix segmentation fault in case the backup tree is not initialized 2021-06-30 12:36:00 +01:00
Omar Kallel
ef0acdc329 Remove other unnecessary strdup from cwmp_cli 2021-06-28 11:00:50 +01:00
Omar Kallel
869b0a3c05 remove not necessary strdup 2021-06-28 10:07:53 +01:00
Omar Kallel
2ed3de6b28 Create new file rpc_soap.c instead of xml 2021-06-28 10:07:43 +01:00
Omar Kallel
2e4b2b5b99 Build libicwmp by test/cmocka/Makefile instead of bin/Makefile.am 2021-06-25 15:29:02 +01:00
Omar Kallel
520aac547b Ticket refs #5445: icwmp: SOAP messages unit tests 2021-06-25 11:47:05 +01:00
Omar Kallel
c023a232bc update clang-format and gitignore 2021-06-25 11:46:39 +01:00
Amin Ben Ramdhane
a9f72148e2 exit icwmp properly when catching a signal 2021-06-24 09:10:03 +01:00
Omar Kallel
22a0bfe365 Fix some memory leaks when reloading icwmp config 2021-06-24 09:09:49 +01:00
Amin Ben Ramdhane
f88d357d52 Ticket refs #3989: icwmpd: Functional Test of CWMP Protocols 2021-06-24 09:09:02 +01:00
Omar Kallel
8d573bba0e Revert "Exit cwmp when catch SIGTERM signal"
This reverts commit e4b3f6d71f.
2021-06-17 15:41:42 +01:00
vdutta
46bee4638e Wait for usp.raw object in unit test 2021-06-17 15:41:35 +01:00
vdutta
75889f7bc5 Fix garbage characters in info of reload command 2021-06-17 15:41:25 +01:00
vdutta
24977815fe Fix delay in notify 2021-06-17 15:41:07 +01:00
Omar Kallel
32246cad8d Ticket refs #5366: icwmp: fix transaction issue in case there are multiple RPC calls in one session 2021-06-17 15:40:59 +01:00
Omar Kallel
78a6d48e1e Memory leak fixes 2021-06-11 08:34:40 +01:00
Omar Kallel
b1899234ef Fix x86 compilation error 2021-06-11 08:34:33 +01:00
Omar Kallel
01bb855c0e Download RPC: Fix TransferComplete issue in case filetype is '6 Stored Firmware Image' 2021-06-11 08:33:11 +01:00
Amin Ben Ramdhane
70dc5c2bba Fixed a segfault error when initiating a new session 2021-06-08 13:38:14 +01:00
Omar Kallel
16659d7c16 Ticket refs #5041: cwmp: In DownloadRPC add support for '6 Stored Firmware Image' type 2021-06-04 14:49:59 +01:00
Amin Ben Ramdhane
ff9dbb2688 Ticket refs #5325: Add support for Device.ManagementServer.ScheduleReboot and DelayReboot 2021-06-04 14:49:50 +01:00
Amin Ben Ramdhane
faaedd342f Fix x86 compilation error using GCC 9 2021-06-04 14:49:41 +01:00
Omar Kallel
f73a82a126 Ticket refs #4935: icwmp: make all free of dynamic memory allocations (malloc, calloc, asprintf, strdup) in the end session 2021-06-04 14:49:28 +01:00
vdutta
be51cda3c4 Added functional api test 2021-06-03 18:11:23 +05:30
vdutta
33ba4343cc Added ubus schema for tr069 2021-06-03 13:55:07 +05:30
Simon Tate
8f7af4bd2d Fix crash on no parameter_key
Default parameter_key to a 0 length string, instead of NULL.

Otherwise, the code in cwmp_ubus_call and blobmsg_add_string
 will attempt a strlen on a NULL string, which segfaults.
2021-05-21 13:12:53 +00:00
Omar Kallel
e4b3f6d71f Exit cwmp when catch SIGTERM signal 2021-05-20 09:35:48 +01:00
vdutta
b5bd9e0b79 test: Added basic api test 2021-05-19 22:42:47 +05:30
Omar Kallel
53d5b0503a Ticket refs #3988: icwmpd: Unit Test of Data Model Interface and SOAP messages 2021-05-19 17:32:29 +01:00
Omar Kallel
067629637e Ticket refs #3731: icwmpd: Static Code Analysis (cpd) 2021-05-19 16:51:11 +01:00
Omar Kallel
90267fc863 Fix x86 compilation error 2021-05-18 12:35:15 +01:00