Commit graph

41 commits

Author SHA1 Message Date
Omar Kallel
c8de221c11 Ticket refs #3725: bbf: remove unnecessary arguments from object/parameter definition 2020-11-17 16:21:11 +01:00
Amin Ben Ramdhane
437273a254 Ticket refs #3489: TR181: Invalid enumeration parameter values 2020-11-11 11:32:14 +01:00
Amin Ben Ramdhane
38bbb5e455 Ticket refs #2920: TR-181: Device.IP.Interface.{i}. IPv4Address, IPv6Address and IPv6Prefix multi-instance objects are treated as single-instance 2020-11-07 19:12:29 +01:00
Amin Ben Ramdhane
6da9750f96 bbf: Fixed crash on QEMU 2020-10-23 12:17:40 +01:00
Amin Ben Ramdhane
c4c10e2b9c WiFi.DataElements: fix some issues 2020-10-14 11:50:45 +01:00
Shubham Sharma
a9fc190ed1 get_schema: Get unique keys from multi instance objects
- As per TR181, there could be one or more unique keys for each
   multi-instance object. Added support to get the unique keys
   associated with the multi-instance object.
 - Changes for generate_source_code.sh to have unique keys as
   extra object parameter.
2020-10-13 10:51:47 +01:00
Omar Kallel
0b0e8a9bdc Extract end_session_flag from bbf to icwmp 2020-10-08 18:59:33 +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
Omar Kallel
c549dad741 add dmjson_get_string && fix segfault: add tests case ptr != NULL 2020-09-21 17:48:39 +01:00
vdutta
ab26cfaea6 get_instances: Added next-level support in instances 2020-09-14 15:56:14 +05:30
Amin Ben Ramdhane
95d1440650 get_instance: return err if find_param=0 2020-09-11 10:53:25 +01:00
vdutta
31db6dab25 instance: Fix instances for all paths 2020-09-11 11:15:33 +02:00
Amin Ben Ramdhane
bc400a368d Ticket refs#3005: fix issue in get schema method 2020-08-31 14:59:37 +01:00
Amin Ben Ramdhane
9b2fdc3562 Ticket refs #2845: fix add object issues 2020-08-31 10:22:31 +01:00
Amin Ben Ramdhane
f9d2c345f1 Ticket refs #2974: Referenced objects have trailing dot 2020-08-26 11:26:33 +01:00
Amin Ben Ramdhane
bbecdd7444 Ticket refs #2845: bbf: add support the case uci config is updated manually 2020-08-22 16:37:32 +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
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
Omar Kallel
856d4de5df enhance separation between libbbf_api and libbbfdm (functions: dm_update_file_enabled_notify, copy_temporary_file_to_original_file, del_list_fault_param, json functions) 2020-06-23 10:47:57 +01:00
Omar Kallel
ca758fd9f3 Enhance bbf libs separation: upnp_in_user_mask, list_execute_end_session, apply_end_session, cwmp_set_end_session 2020-06-23 10:47:46 +01:00
Omar Kallel
b6be5bdaa0 Enhance separation between libbbf_api and libbbfdm: apply for end_session_flag variable 2020-06-23 10:47:28 +01:00
vdutta
ca77ff8d68 obuspa: Added object_type in GET_NAME method 2020-06-19 09:49:37 +01:00
Omar Kallel
4266617b1b extract add_list_value_change and send_active_value_change from dmctx 2020-06-04 17:06:23 +01:00
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
Amin Ben Ramdhane
3f4a97c1af Ticket refs#2512: libbbf: an object should not be presented if the uci file or ubus object it depends on does not exist 2020-05-27 08:55:07 +01:00
Daniel Danzberger
4d67121a68 Revert "change strcat->strncat"
This reverts commit c0a476dec0.
2020-04-22 10:08:39 +02:00
Daniel Danzberger
a3113301be Fix compile error on 64 bit systems
Fixes casting pointers of invallid size to int.

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-04-22 10:07:30 +02:00
Amin Ben Ramdhane
00c60187fb Ticket refs #2483: TR-181: most Alias values are empty 2020-04-20 00:18:52 +01:00
Amin Ben Ramdhane
c0a476dec0 change strcat->strncat 2020-04-16 18:16:26 +01:00
Amin Ben Ramdhane
f1a7b2cbaf VLANTermination: remove vlan_method option 2020-03-25 16:18:57 +01:00
Jomily K Joseph
fa07b8c3b6 bbf: Layer2 Vlan Deployment changes
- Changes done in IP.Interface, Device.Ethernet, Bridging.Bridge objects.
2020-03-25 11:45:10 +01:00
Amin Ben Ramdhane
a1f7ce98cf Ticket refs #1254: Improvement validation parameters 2020-03-13 16:28:32 +01:00
Amin Ben Ramdhane
905d78844c Ticket refs #1254: TR-x69: add support for parameter validation 2020-02-20 23:25:49 +01:00
Daniel Danzberger
2351a47144 dmbbf: don't call undefined functions
The function enabled_notify_check_value_change_param() calls these 2
functions that have no definition or decleration:

- add_list_value_change()
- send_active_value_change()

This commit comments them out.

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-02-19 11:53:48 +01:00
Daniel Danzberger
ef30a322a0 Fix invalid logic when checking datamodel type
This fixes BBFDM_CWMP values not shown when BBFDM_BOTH is set as bbfdatamodel_type.

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-02-19 11:53:48 +01:00
Daniel Danzberger
8fb844f970 Fix memory issues on 64bit systems
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-02-19 11:51:27 +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
Renamed from dmbbf.c (Browse further)