From 85635af1852b29e33ee56535d71bdf20d700b77e Mon Sep 17 00:00:00 2001 From: Edvin Date: Tue, 8 Apr 2025 10:32:57 +0200 Subject: Added C code for the Raspberry pi due to compatiblity issues between Bluez versions --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.py') diff --git a/main.py b/main.py index 4720154..7362778 100644 --- a/main.py +++ b/main.py @@ -30,7 +30,7 @@ print("Waiting for connection on RFCOMM channel %d..." % port) client_sock, client_info = server_sock.accept() -print("Connected with %d" % client_info) +print("Connected to %s." % client_info[0]) while client_sock: read = client_sock.recv(1024) -- cgit v1.2.3