Neeraj Bijalwan
2864ddeacd
Add version in parameters
2021-11-03 09:30:12 +01:00
vdutta
689da88d95
Fix compilation warnings on gcc 11
2021-10-21 20:40:49 +05:30
sandeep
1ac37700f5
Fixed Device.NAT. param permissions
2021-10-18 12:00:32 +05:30
Amin Ben Ramdhane
42bc8e95a7
Ticket refs #5773 : improve and simplify handle instance in browser and add functions
2021-09-09 16:56:02 +00:00
Amin Ben Ramdhane
5e97bdb5e4
bbf: add support for vendor extension
2021-03-25 16:06:31 +01:00
Amin Ben Ramdhane
1851a3b345
NAT: keep the default section name when adding a new object
2021-03-05 15:04:28 +01:00
Amin Ben Ramdhane
f46d263952
Ticket refs #4374 : fix object Add for the whole data model
2021-02-28 21:50:29 +01:00
Amin Ben Ramdhane
8f681b3e86
NAT: add support for LeaseDuration parameter
2021-02-21 20:59:10 +01:00
Sukru Senli
4287403de7
Revert "NAT: add support for LeaseDuration parameter"
...
This reverts commit dca35827c7 .
2021-02-19 19:25:52 +01:00
Amin Ben Ramdhane
dca35827c7
NAT: add support for LeaseDuration parameter
2021-02-19 15:43:49 +01:00
Amin Ben Ramdhane
cdad11d92d
Ticket refs #4386 : dm_validate_string in libbbf_api requires length of enumeration and pattern arrays to be hardcoded at caller
...
- use NULL-terminated arrays instead of providing length by the caller
2021-02-15 21:13:18 +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
a528164bad
NAT: Correct UCI mapping for PortMapping object
2021-02-09 21:54:01 +01:00
Amin Ben Ramdhane
db5b6edb09
NAT: Set the default interface when setting allInterface parameter to 1 if it is not defined
2021-02-09 21:51:34 +01:00
Amin Ben Ramdhane
fde0ce36bc
NAT: update the mapping of some parameters
...
- Device.NAT.PortMapping.{i}.RemoteHost
- Device.NAT.PortMapping.{i}.ExternalPort
- Device.NAT.PortMapping.{i}.ExternalPortEndRange
- Device.NAT.PortMapping.{i}.InternalPort
2021-02-09 15:54:01 +01:00
Amin Ben Ramdhane
a554ef855b
Device.NAT.PortMapping.: implement AllInterfaces and LeaseDuration parameters
2021-02-08 22:24:13 +01:00
Amin Ben Ramdhane
b9a12b057b
remove tr064 feature and cleanup
2020-12-16 10:03:25 +01:00
Amin Ben Ramdhane
44b6c08273
Fix add method based on the latest changes
...
update_instance: read config and type section from the passed section
2020-12-07 21:59:00 +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
7953a350b4
Device.NAT.PortMapping.{i}.Protocol: fix get/set according to TR-181 standard
2020-12-02 13:37:23 +01:00
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
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
8ba74d624b
bbf: add unique_keys argument to the comment
...
- change (const char *[]) -> LIST_KEY
2020-10-17 14:54:33 +01:00
Amin Ben Ramdhane
5839164c29
TR-181: Fixed invalid int && unsignedInt && hexBinary parameter values
2020-10-17 14:08:40 +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
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
Feten Besbes
c71ea1bb79
24827 - TR181: Segmentation Fault with add_object Device.NAT.PortMapping.
2020-09-19 19:22:03 +02: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
Amin Ben Ramdhane
4354aa2117
Ticket refs #2511 : libbbf: JSON schema support for Alias and Link
2020-05-17 15:33:52 +01:00
Omar Kallel
8575e1db9f
Set PortMapping disabled as default status
2020-05-08 10:41:34 +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
00c60187fb
Ticket refs #2483 : TR-181: most Alias values are empty
2020-04-20 00:18:52 +01:00
Amin Ben Ramdhane
8f500aab97
Revert "Ticket refs #2483 : TR-181: most Alias values are empty"
2020-04-17 13:45:45 +01:00
Amin Ben Ramdhane
4c4d298b0d
Ticket refs #2483 : TR-181: most Alias values are empty
2020-04-17 13:04:51 +01:00
Amin Ben Ramdhane
c0a476dec0
change strcat->strncat
2020-04-16 18:16:26 +01:00
Amin Ben Ramdhane
a1f7ce98cf
Ticket refs #1254 : Improvement validation parameters
2020-03-13 16:28:32 +01:00
Daniel Danzberger
a377f7dfd2
tr181: Remove unused functions
...
This fixes 'defined but not used' compiler warnings
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-03-10 13:36:37 +01:00
Daniel Danzberger
0460307fb4
Only export symbols to the library that belong to the API interface
...
This commit makes all symbols that are not part of the API Interface,
or used only in the object files where they are defined, static.
Causing the following benefits:
- The compiler can resolve functions for better performance
- The library size is decreased
NOTE: Spec file generators need to be adjusted for newer spec's to not do the same mistakes again
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-03-09 21:23:57 +01:00
Amin Ben Ramdhane
905d78844c
Ticket refs #1254 : TR-x69: add support for parameter validation
2020-02-20 23:25:49 +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
8ab504585c
Fix memory leaks and all warnings
2019-11-11 10:46:10 +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
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