From 3f360cffe97e51d747c527c53d1d0f846e3448b1 Mon Sep 17 00:00:00 2001 From: William C Bonner Date: Sat, 3 Feb 2024 16:13:56 -0800 Subject: [PATCH] modified: goveebttemplogger.cpp --- goveebttemplogger.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/goveebttemplogger.cpp b/goveebttemplogger.cpp index 356f746..3697abb 100644 --- a/goveebttemplogger.cpp +++ b/goveebttemplogger.cpp @@ -2337,7 +2337,7 @@ time_t ConnectAndDownload(int BlueToothDevice_Handle, const bdaddr_t GoveeBTAddr &handle, 15000); // A 15 second timeout gives me a better chance of success if (ConsoleVerbosity > 0) - std::cout << "[" << getTimeISO8601() << "] [" << ba2string(GoveeBTAddress) << "] hci_le_create_conn Return(" << std::dec << iRet << ") handle (" << std::hex << std::setw(4) << std::setfill('0') << handle << ")" << std::endl; + std::cout << "[" << getTimeISO8601() << "] [" << ba2string(GoveeBTAddress) << "] hci_le_create_conn Return(" << std::dec << iRet << ") handle (" << std::hex << std::setw(4) << std::setfill('0') << handle << ") Peer Address Type: Public Device Address (0x00)" << std::endl; if ((iRet != 0) && (handle == 0)) { // the H5100 device used Random Device Address for its connection when I captured data. @@ -2358,7 +2358,7 @@ time_t ConnectAndDownload(int BlueToothDevice_Handle, const bdaddr_t GoveeBTAddr &handle, 15000); // A 15 second timeout gives me a better chance of success if (ConsoleVerbosity > 0) - std::cout << "[" << getTimeISO8601() << "] [" << ba2string(GoveeBTAddress) << "] hci_le_create_conn Return(" << std::dec << iRet << ") handle (" << std::hex << std::setw(4) << std::setfill('0') << handle << ")" << std::endl; + std::cout << "[" << getTimeISO8601() << "] [" << ba2string(GoveeBTAddress) << "] hci_le_create_conn Return(" << std::dec << iRet << ") handle (" << std::hex << std::setw(4) << std::setfill('0') << handle << ") Peer Address Type: Random Device Address (0x01)" << std::endl; } #ifdef BT_READ_REMOTE_FEATURES if ((iRet == 0) && (handle != 0))