Skip to content

Commit

Permalink
modified: goveebttemplogger.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
wcbonner committed Feb 4, 2024
1 parent 6a4dbe4 commit 3f360cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions goveebttemplogger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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))
Expand Down

0 comments on commit 3f360cf

Please sign in to comment.