Bartosz Podrygajlo
c1c4c65a93
Unify setting default parameters in config libraries
...
Add common function config_common_getdefault
2025-06-05 12:54:05 +02:00
Robert Schmidt
85e198b178
Config module: use printf_params() to print log messages
2024-10-29 09:37:10 +01:00
Robert Schmidt
7a8b2fe4a9
config module: print clear error when config file does not exist
...
Print a clear error if a config file does not exist (unclear previously,
when the user would get a confusing, unspecific, "file I/O error" on
line 0)
I tried to free the memory that had been allocated at that point, and
verified that using the address sanitizer. Nevertheless, the function
does too much, and is too complicated for refactoring.
2024-06-03 12:37:33 +02:00
Robert Schmidt
b9fd5a6f75
config module: make it less verbose
2024-06-03 12:37:33 +02:00
Robert Schmidt
c114d2f547
Fix memory sanitizer warning: uninitialized read
...
Memsan complains that uninitialized reads originate because of these
warnings. Most of the corresponding variables are actually read into
through by libconfig; nevertheless, initializing them should not have a
bad side-effect (because the initialized value is overwritten).
2024-04-18 14:16:09 +02:00
Laurent THOMAS
f50d5f5a9b
make multiple config instead of one implicit global
2023-11-10 10:23:11 +01:00
frtabu
21b3484e02
Initial web server implementation
2022-11-30 11:34:54 +01:00
laurent
d6d4d87e0b
code review comments
2022-08-18 16:43:26 +02:00
laurent
65b399fcd7
fix bugs in config module and config usage
...
fix bug from this MR
fix bug from this MR
stupid-mistake
2022-08-16 09:22:15 +02:00
Laurent THOMAS
7cde9f7a88
DU sends packet in UL over F1-U
2021-09-02 15:10:11 +02:00
Laurent THOMAS
5c3abe6fc8
add F1-U DU Uplink
2021-08-31 21:03:22 +02:00
frtabu
5c025c321e
set libconfig AUTOCONVERT option to true
2021-03-18 00:22:11 +01:00
frtabu
98c354fedd
Set path for libconfig include directive, so that all config files could be located in the same directory. minor fixes in softmodem-common
2021-03-15 23:26:09 +01:00
Laurent Thomas
11a318170e
memory wrong free in global vars used for configuration storage
2021-02-18 22:23:31 +01:00
Raphael Defosseux
efb7bd8417
CPPCHECK: fixes
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2020-06-19 11:41:03 +02:00
Florian Kaltenberger
f46e3d4c76
fixing an issue with libconfig
2020-06-12 11:13:18 +02:00
frtabu
e179213be0
exit softmodem when a command line option requiring an argument is specified without an option value. Previous behavior was to print a message and ignore the option
2019-01-14 19:13:12 +01:00
Cedric Roux
487a599b7b
bugfix: fix memory error
...
Using valgrind revealed that those two arrays
were too small. Let's use 512 bytes, which should
be enough for every practical cases.
2018-09-04 16:18:46 +02:00
Raymond Knopp
3539761c28
Log review step 1: legacy VCD removal, LOG macro modified, TTracer enabled at build time by default, in a way it, by default configuration, provides console logs, as in previous versions
2018-07-13 16:43:34 +02:00
Raymond Knopp
8d90eda600
bug fix after merge
2018-03-14 16:21:51 +01:00
Cedric Roux
92bb82eb2b
integration fix: fix license version to 1.1
2018-03-09 16:40:09 +01:00
oai
45302792ee
config module fix and extensions for Nb-IoT, shared lib loader and telnet server implementation
2018-03-08 17:24:23 +01:00
Florian Kaltenberger
bcb6f1715f
patch from francois UE config
2017-11-22 09:56:43 +01:00
oai
cc79250fcc
Fix configuration module shared library improperly build and not loadable when libconfig version is below 1.5
2017-09-22 12:13:32 +02:00
Francois TABURET
32786cc7f7
Integration of configuration module. Temporarily keep the legacy mode.
...
lte-softmodem -O <config file> will trigger legacy config mode
ltesoftmodem -O libconfig:<config file> will trigger configuration module usage.
2017-09-21 19:30:00 +02:00
frtabu
cdca16f655
add configuration module, with compilation, but not yet integrated in softmodem
2017-09-04 00:12:35 +02:00