From 16f9c97cd69ce8d11d4f3ff566dc996711a4cf2d Mon Sep 17 00:00:00 2001 From: Kristian Lauszus Date: Fri, 15 Nov 2013 23:31:05 +0100 Subject: [PATCH] Added more debugging when connection is established --- BTD.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BTD.cpp b/BTD.cpp index d6ccc5b6..95c2cf81 100755 --- a/BTD.cpp +++ b/BTD.cpp @@ -461,6 +461,9 @@ void BTD::HCI_event_task() { case EV_CONNECT_COMPLETE: hci_event_flag |= HCI_FLAG_CONNECT_EVENT; if (!hcibuf[2]) { // check if connected OK +#ifdef EXTRADEBUG + Notify(PSTR("\r\nConnection established"), 0x80); +#endif hci_handle = hcibuf[3] | ((hcibuf[4] & 0x0F) << 8); // store the handle for the ACL connection hci_event_flag |= HCI_FLAG_CONN_COMPLETE; // set connection complete flag } else {