Amin Ben Romdhane
ea8afbf980
Return error if the called path is invalid wildcard path
2023-03-26 22:13:09 +00:00
Amin Ben Romdhane
05ace8f689
Improve response time performance
...
- Don't check for duplicate node before adding to list
2023-01-26 10:58:57 +00:00
Amin Ben Romdhane
96b7a91643
T#9169: Add support for '*' wildcard functionality
2022-11-16 08:26:16 +00:00
suvendhu
4f0dda9f80
Show default value from json in get
2022-09-26 10:18:39 +00:00
vdutta
f88bf094f9
Static analysis improvements
2022-06-28 08:45:55 +05:30
Amin Ben Ramdhane
26326b5b57
Configure the maximum number of instances in build time
2022-06-16 08:26:04 +01:00
Amin Ben Ramdhane
c7ffc5afd4
bbf: Update the validate function of boolean parameters
2022-02-23 17:18:50 +00:00
suvendhu
889c15feeb
Fix ticket#7333 fix cppcheck warnings
2022-02-22 18:24:19 +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
c3ea9e5597
Ticket refs #6892 : Parameters used for pathname reference cannot be set to empty
2022-01-10 10:20:03 +01:00
Amin Ben Ramdhane
8d2581bacb
bbf: fix a crash when the 'access' option is not defined in the JSON file
2021-11-26 09:42:12 +01:00
Amin Ben Ramdhane
35633a3bc8
Ticket refs #6623 : remove static code analysis warnings
2021-11-22 11:47:14 +01:00
Amin Ben Ramdhane
c88074d9c2
reduce unused memory allocation
2021-11-08 17:33:20 +01:00
Neeraj Bijalwan
2864ddeacd
Add version in parameters
2021-11-03 09:30:12 +01:00
Amin Ben Ramdhane
f51f84d647
Ticket refs #6099 : JSON method doesn't support passing the index in path argument
2021-11-01 13:44:30 +01:00
vdutta
0f3a18aef6
Fix get schema for dynamic plugins
2021-10-29 10:46:22 +05:30
Neeraj Bijalwan
aa17126d32
Added API to get supported datamodel
...
- New API "bbf_dm_get_supported_dm" to get the schema for all
objects/params/events/commands at once
2021-10-27 06:16:33 +00:00
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
d285f7df07
Ticket refs #5832 : Improve date time validation
2021-08-31 10:00:31 +01:00
Amin Ben Ramdhane
ec78e61128
Ticket refs #5626 : Add in-tree definitions for usp events
2021-08-17 19:08:31 +01:00
Amin Ben Ramdhane
dc618bc473
Reduce the memory allocation/free in the browse function
2021-08-17 19:07:40 +01:00
Amin Ben Ramdhane
fd1b8d55f8
Ticket refs #5579 : Add module dependency on opkg
2021-08-16 11:25:58 +01:00
Omar Kallel
365410dbff
Ticket refs #5566 : icwmp: move notifications feature from bbf to icwmp package
2021-08-09 17:22:47 +01:00
Amin Ben Ramdhane
6a252f514c
Ticket refs #5505 : Move operate commands to there own datamodel files
2021-07-22 15:18:01 +01:00
Amin Ben Ramdhane
b37728698f
Device.DeviceInfo.BootFirmwareImage: return error in case the set method does not work properly
2021-06-22 15:21:43 +01:00
Vivek Kumar Dutta
e0d497f2ac
Revert "Added default value for hexbin type"
...
This reverts commit 5d7d8d86a2
2021-06-10 10:58:52 +00:00
vdutta
5d7d8d86a2
Added default value for hexbin type
2021-06-08 17:53:34 +05:30
vdutta
4231b2cfa5
Added dm_debug_browse_path API to get last access path
2021-06-04 17:06:26 +05:30
vdutta
f2eebc829d
Update base64 default value
2021-05-27 12:28:54 +05:30
Amin Ben Ramdhane
5e97bdb5e4
bbf: add support for vendor extension
2021-03-25 16:06:31 +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
Omar Kallel
301cbd0bed
Fix libbbf_api warning
2020-12-17 12:50:20 +01:00
Omar Kallel
e73024d706
remove the use of dm_enabled_notify file && other cleanup
2020-12-17 12:34:34 +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
Omar Kallel
3d4ac802c2
Delete some unused functions && get ip_version from cwmp uci config
2020-12-15 15:25:43 +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
Omar Kallel
8b433b79cf
Add CMD_INIT_NOTIFY: add nodtify parameters to list_parameter of dmctx
2020-12-07 16:07:27 +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
d27c4137f7
bbf: accept dateTime type with microsecond precision
...
Some parameters must be specified with microsecond precision such as:
- Device.IP.Diagnostics.DownloadDiagnostics.(ROMTime, BOMTime, EOMTime, TCPOpenResponseTime, etc)
- Device.IP.Diagnostics.UploadDiagnostics.(ROMTime, BOMTime, EOMTime, TCPOpenResponseTime, etc)
2020-11-29 22:57:22 +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
vdutta
b8bd13a367
Dump only available schema
2020-11-23 12:35:14 +05:30
Amin Ben Ramdhane
67730997cb
Ticket refs #3879 : bbf: dmtype check missing for all parameters
2020-11-21 13:43:54 +01:00
Omar Kallel
d8eb9efa72
Get forced notifications from a struct dm_parameter array && enhance the function check_instance_wildcard_parameter_by_regex
2020-11-21 01:55:21 +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
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