Port Manager for Bluetooth Connection

I installed (mod) a bluetooth wireless serial in a laser cut (S30 Pro Max), these modems work as a serial (RX/TX) pipe, and are a great wireless replacement for cables. I tested over open air at 60m and everything works very well.

But it does NOT work (at least in an easy way) on Lightburn for Linux, because of the way the ports are designated.

It would be great to be able to choose (in Lightburn) the port in a simple way like simply typing:

/dev/rfcomm0

I tried to do it in “prefs.ini”, changing the line

“CommPort”: “ttyS1” to “CommPort”: “rfcomm0”, but it didn’t work.

It would also be very useful if there were a button to “connect” and another to “disconnect” the port, especially when a cutting machine is shared.

Ale.

Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
LightBurn 1.4.00 Wed 2022-12-14 @ 15:00

It shows up as ttyUSB0 or some higher number… such as ttyUSB1


The version I have now connects with the ‘auto’ setting in the ‘port’ entry. On this version if I try and select ttyUSB5, that’s displayed in the pull down, it will disconnect.

:smile_cat:

Could you use a symlink to spoof the device name?

to use the Bluetooth device as a serial device the rfcomm command is used,

this program creates a virtual device in

/dev/rfcommX

which then can be used as a regular serial device, however is diferent to ttySX or ttyUSBX

ttySX is the device for the UART serial ports on x86 and x86_64 architectures
ttyUSBX is the device for the USB serial convertors

Thanks for the clarification… didn’t realize is was a virtual entry.

:smile_cat:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.