Here is the script if you are interested...
- Code: Select all
sdptool add --channel=2 SP
# Connect phone's bluetooth console to PC then...
rfcomm listen rfcomm2 2
# Connection is made. Process is ongoing.
# This would open new terminal if the last command wasn't still running.
gnome-terminal -e 'cu -l /dev/rfcomm2'