nathandunk / BetterSerialPlotter

A drop-in replacement for the arduino serial plotter
MIT License
162 stars 25 forks source link

add support for /dev/rfcommX for linux #10

Closed wandiufo closed 1 year ago

wandiufo commented 1 year ago

Dear Developer I am interested in using BetterSerialPlotter under Linux. I am using serial over Bluetooth (HC06) to communicate with hardware Arduino Uno. Under windows, the Bluetooth binding to COMX has the same name format as other serial ports and successfully detects and works by BetterSerialPlotter. But under linux the bluetooth binding to /dev/rfcommX and can not detect by BetterSErialPlotter (may be because different name format /dev/ttyUSBX). Could you help me with how to make BetterSerialPlotter can detect the /dev/rfcommX? Thank you very much for your help. Best regards, Irwandi

nathandunk commented 1 year ago

Hi @wandiufo , I think I can fix this without too much trouble. Give me a bit of time and I think I can add this functionality.

nathandunk commented 1 year ago

Hi @wandiufo. Can you try out this version and let me know if it works? I don't have the ability to test on my machine, but I think it should do the trick. If it works, I'll add a release. BetterSerialPlotter.zip

nathandunk commented 1 year ago

Support for several more port types have been added in this release.