From 2204b5688d66803670dbdd97d1c4e3649e93c99e Mon Sep 17 00:00:00 2001 From: ioClarity <68828782+ioClarity@users.noreply.github.com> Date: Thu, 30 Oct 2025 17:19:02 -0700 Subject: [PATCH] Update dplatform_unix.py to allow bluetooth serial device selection on linux added /dev/rfcomm* devices to selection list (serial devices over bluetooth connections present this way in linux) --- d_rats/dplatform_unix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d_rats/dplatform_unix.py b/d_rats/dplatform_unix.py index 0f0a8d0..014109d 100755 --- a/d_rats/dplatform_unix.py +++ b/d_rats/dplatform_unix.py @@ -85,7 +85,7 @@ def list_serial_ports(self): :returns: The serial ports :rtype: list of str ''' - return sorted(glob.glob("/dev/ttyS*") + glob.glob("/dev/ttyUSB*")) + return sorted(glob.glob("/dev/ttyS*") + glob.glob("/dev/ttyUSB*") + glob.glob("/dev/rfcomm*")) def os_version_string(self): '''