From 15ed7423ace400b6c40e5ff3988336dd7d3d2570 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 11 Jan 2017 17:50:02 -0800 Subject: . --- service/SoftwareUpdater.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/service/SoftwareUpdater.cpp b/service/SoftwareUpdater.cpp index b87cfe72..dfdf4912 100644 --- a/service/SoftwareUpdater.cpp +++ b/service/SoftwareUpdater.cpp @@ -352,6 +352,7 @@ void SoftwareUpdater::handleSoftwareUpdateUserMessage(uint64_t origin,const void memcpy(_latestBinHashPrefix.data,hash.data(),16); _latestBinLength = len; _latestBinValid = false; + printf("<< LATEST\n%s\n",OSUtils::jsonDump(req).c_str()); } Buffer<128> gd; @@ -369,6 +370,7 @@ void SoftwareUpdater::handleSoftwareUpdateUserMessage(uint64_t origin,const void case VERB_GET_DATA: if ((len >= 21)&&(_dist.size() > 0)) { + printf("<< DATA from %.10llx\n",origin); std::map< Array,_D >::iterator d(_dist.find(Array(reinterpret_cast(data) + 1))); if (d != _dist.end()) { unsigned long idx = (unsigned long)*(reinterpret_cast(data) + 17) << 24; -- cgit v1.2.3