Commit graph

90 commits

Author SHA1 Message Date
Amin Ben Ramdhane
daa673dd56 bbf: commit cwmp changes without restarting its service 2020-12-03 21:37:32 +01:00
Amin Ben Ramdhane
15d02b20fa bbf: commit uci changes under bbfdm repo when calling get_value, get_name, etc...
- commit uci changes under '/etc/bbfdm' when calling all methods except set/add/delete
 - align icwmp cli with bbf changes
 - remove unused functions
2020-12-02 22:37:40 +01:00
vdutta
b2464f0a47 Revert uci changes only on 'dm_entry_revert_changes' 2020-12-02 13:26:11 +05:30
vdutta
823183c11e Save uci changes in place of commit 2020-12-01 11:38:14 +05:30
Amin Ben Ramdhane
18643f29b3 bbf: enhance the code
- remove unused argument from dmuci_add_section() and dmuci_add_section_bbfdm() functions
 - use snprintf instead of dmasptintf
 - change function name: add_list_paramameter -> add_list_parameter
2020-11-23 10:58:48 +01:00
vdutta
420f0b1873 Map specific cwmp faults to general failure for usp proto 2020-11-18 13:31:32 +01:00
vdutta
991fb4a74d Extended fault code mapping for usp 2020-11-18 09:57:40 +01:00
Omar Kallel
c8de221c11 Ticket refs #3725: bbf: remove unnecessary arguments from object/parameter definition 2020-11-17 16:21:11 +01:00
vdutta
6dca8ed34d api to get the fault code as per set proto 2020-11-07 22:26:17 +01:00
Amin Ben Ramdhane
143afb5f2b bbf: check and create a new dmmap file if not there when adding a new section 2020-10-23 17:33:54 +01:00
Omar Kallel
5dec85888a Clean just parameters list from the context 2020-10-08 19:00:18 +01:00
Omar Kallel
0b0e8a9bdc Extract end_session_flag from bbf to icwmp 2020-10-08 18:59:33 +01:00
Omar Kallel
3505476fa7 Fix warnings 2020-10-08 18:45:14 +01:00
Omar Kallel
718b1504c7 cleanup: remove unused notification functions 2020-10-08 18:41:33 +01:00
Omar Kallel
69a7acef3f Add entry get_value function for full path parameter 2020-10-08 18:41:07 +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
vdutta
ab26cfaea6 get_instances: Added next-level support in instances 2020-09-14 15:56:14 +05:30
Amin Ben Ramdhane
8da2fd3564 db config: get config path in init call 2020-09-11 15:32:40 +01:00
Daniel Danzberger
164250ca8e Add CMD_GET_INSTANCES
This new command will return all instances on a given path

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-08-06 10:34:41 +02:00
Amin Ben Ramdhane
b408257e35 Enhance code structure 2020-07-08 18:38:08 +01:00
vdutta
bfd4f7bae5 obuspa: Get data model schema present in DUT
- Obuspa required to register the schema present in DUT, in the
 current methods, for multi-instance objects the instance is only
 visible if at-least one object/instance present, this leads to
 anomaly in obuspa, when some objects getting created in run-time.
 e.g: Device.WiFi.AccessPoint.1.AssociatedDevice.
 - This change will dump the complete schema irrespective of that node/object
 availability.
2020-07-08 13:51:42 +02:00
vdutta
57ae1244cc obuspa: List supported operate commands 2020-06-29 12:50:01 +05:30
Omar Kallel
9b8c23ee30 Enhance separation between libbbf_api and libbbfdm for list_enabled_lw_notify variable && fix warnings 2020-06-23 11:39:55 +01:00
vdutta
5370a70bee uspd: Report usp fault number if set fails 2020-06-17 19:10:51 +05:30
Omar Kallel
4266617b1b extract add_list_value_change and send_active_value_change from dmctx 2020-06-04 17:06:23 +01:00
vdutta
c7a4c3eb7c bbf: Change faults as per the defined proto 2020-05-29 19:18:09 +05:30
Omar Kallel
2bf36bbbda Ticket refs #2673: TR069: No '4 value change' sent in case of active passive notification 2020-05-28 14:37:32 +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
Daniel Danzberger
7779fc6928 dmubus: improve chache handling
- use less memory
- decrease lookup time
- make read only variables const
- remove unused variables / macros

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-02-19 11:53:48 +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
Omar Kallel
142e830426 Fix compiling errors when TR064 is activated 2020-02-10 18:56:13 +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
d4298475a3 Ticket refs #1262: bbf-datamodels: dynamic addition of datamodel parameters 2019-10-17 15:58:22 +01:00
Amin Ben Ramdhane
67bc41e629 Remove TR098 from UPNP(TR064) 2019-09-23 17:43:33 +01:00
Amin Ben Ramdhane
4777b9166f change cwmp -> bbfdm 2019-09-15 11:52:54 +01:00
Amin Ben Ramdhane
8655b0a37d change icwmp,icwmpd -> bbfdm 2019-09-03 15:24:55 +01:00
Sukru Senli
da9e22a314 Inteno -> iopsys adaptations 2019-08-28 09:51:51 +02:00
Amin Ben Ramdhane
cb2dd1e4ac libbbfdm : initial release 2019-08-26 17:02:43 +01:00