Skip to content

Commit 3be3a48

Browse files
committed
lowerlayer: add debug message
1 parent 7909c41 commit 3be3a48

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lowerlayer.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,11 +296,14 @@ def work(self):
296296
if not self._control.empty():
297297
control, payload = self._control.get()
298298
if control == MSG_CONNECT:
299+
LOG.debug("Connecting to BLE")
299300
self._connect()
300301
elif control == MSG_DISCONNECT:
302+
LOG.debug("Disconnecting to BLE")
301303
self.ev_disconnect()
302304
break
303305
elif control == MSG_SEND:
306+
LOG.debug("Sending message to BLE")
304307
self._send_messages.put(payload)
305308
self.ev_enqueue_message()
306309
if self.state != "disconnected":

0 commit comments

Comments
 (0)