Description:Anony deviceId

Match-id-ca8e8033607d56b3af0cb604329889f56ea6365d
This commit is contained in:
xxxx
2022-08-09 16:11:24 +08:00
parent 056e886951
commit d1bd2444b3
3 changed files with 5 additions and 6 deletions
@@ -54,8 +54,8 @@ DistributedInputHandler::~DistributedInputHandler()
void DistributedInputHandler::StructTransJson(const InputDevice& pBuf, std::string& strDescriptor)
{
DHLOGI("[%s] %d, %d, %d, %d, %s.\n",
(pBuf.name).c_str(), pBuf.bus, pBuf.vendor, pBuf.product, pBuf.version, (pBuf.descriptor).c_str());
DHLOGI("[%s] %d, %d, %d, %d, %s.\n", (pBuf.name).c_str(), pBuf.bus, pBuf.vendor, pBuf.product, pBuf.version,
GetAnonyString(pBuf.descriptor).c_str());
nlohmann::json tmpJson;
tmpJson["name"] = pBuf.name;
tmpJson["location"] = pBuf.location;