Closed GuruDlt closed 1 year ago
Please check the configuration file of the plugin. If you have a different context id like in the example folder of the plugin please change it: <?xml version="1.0" encoding="UTF-8"?>
Hi Alex
From dlt open source, I don't see file transfer plugin config file. please refer below ~/Documents/dlt-daemon-master$ find -iname " file " ./include/dlt/dlt_filetransfer.h ./doc/dlt_filetransfer.md ./tests/testfile_filetransfer.txt ./tests/mod_system_logger/Makefile ./tests/start_filetransfer_test.sh ./tests/testfile_extended.dlt ./tests/testfile.dlt ./gtest-1.7.0/include/gtest/internal/gtest-filepath.h ./gtest-1.7.0/Makefile.am ./gtest-1.7.0/scripts/fuse_gtest_files.py ./gtest-1.7.0/scripts/test/Makefile ./gtest-1.7.0/Makefile.in ./gtest-1.7.0/src/gtest-filepath.cc ./gtest-1.7.0/make/Makefile ./gtest-1.7.0/test/gtest-filepath_test.cc ./gtest-1.7.0/test/gtest_xml_outfile2test.cc ./gtest-1.7.0/test/gtest_xml_outfiles_test.py ./gtest-1.7.0/test/gtest_xml_outfile1test.cc ./gtest-1.7.0/Makefile ./src/lib/dlt_filetransfer.c ./src/examples/dlt-example-filetransfer.c ./src/tests/dlt-test-receiver-multiple-files.sh ./src/tests/dlt-test-filetransfer.c ./src/tests/dlt-test-filetransfer-file ./src/tests/dlt-test-filetransfer-image.png ./src/system/dlt-system-logfile.c ./src/system/dlt-system-filetransfer.c ./src/shared/dlt_config_file_parser.h ./src/shared/dlt_config_file_parser.c ./build/.cmake/api/v1/query/client-integration-vscode/cmakeFiles-v1 ./build/CMakeFiles ./distfiles ~/Documents/dlt-daemon-master$
Look here: https://github.com/COVESA/dlt-viewer/blob/master/plugin/examples/filetransferplugin_configuration.xml If you adopt this file, load it into the plugin as configuration and change it to your configuration it should work.
Hi Alex,
Sorry for the bit delayed reply here. I have understood that this configuration xml need some changes as per my configuration. As below is the content of xml config file, can you please share any reference / example on how or what basis changes should be done in xml config file.
<?xml version="1.0" encoding="UTF-8"?>
@GuruDlt You have to set the TAG_FLCTID to your used CtxId or change your SW to use CtxId FILE. Then you have to load this file into the Plugin.
Hi @alexmucde
After I changed in sw to use same context id as per plugin configuration file, it worked and now I am able to save the file from dlt application.
Thanks for inputs @alexmucde. I am closing the ticket with this ticket.
DLT_crash.zip Dlt-viewer.zip
Hi Team,
I have dlt file transfer code to transfer core binary to dlt viewer and I am able to see logs also from dlt-viewer(as attached zip[DLT_crash.zip]) but I don't see any files to save from file transfer plugin as shown in screen shot from Dlt-viewer.zip.
Could anyone please help me here with what I am missing.
Thanks in advance.
Guru.