From faf4736675167838883a4a10bc30182857d25c32 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Sun, 22 Nov 2020 20:31:57 +0100 Subject: [PATCH] downloader: turn off bluetooth mode for now Eventually, this should also be set from the command line. Signed-off-by: Robert C. Helling --- core/cli-downloader.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/cli-downloader.cpp b/core/cli-downloader.cpp index 4f672eda7..77053c0c7 100644 --- a/core/cli-downloader.cpp +++ b/core/cli-downloader.cpp @@ -10,11 +10,13 @@ void cliDownloader(const char *vendor, const char *product, const char *device) DiveImportedModel *diveImportedModel = new DiveImportedModel(); DiveImportedModel::connect(diveImportedModel, &DiveImportedModel::downloadFinished, [] { // do something useful at the end of the download + printf("Finished\n"); }); auto data = diveImportedModel->thread.data(); data->setVendor(vendor); data->setProduct(product); + data->setBluetoothMode(false); if (data->vendor() == "Uemis") { char *colon; char *devname = strdup(device); @@ -29,7 +31,7 @@ void cliDownloader(const char *vendor, const char *product, const char *device) // some assumptiond - should all be configurable data->setForceDownload(false); - data->setSaveLog(false); + data->setSaveLog(true); data->setSaveDump(false); // before we start, remember where the dive_table ended