Hi
I have two Linux machines. I wish to connect to one from the other
using a terminal over Bluetooth
The problem I have is annoying because it basically works. Anyway, here
is the problem
Master (USB bluetooth):
modprobe hci_usb
hciconfig hci0 up
hciconfig
mknod -m 666 /dev/rfcomm0 c 216 0
rfcomm bind 0 00:60:57:18:FB:6E 1
Slave (UART bluetooth):
hciattach /dev/ttyS0 -s 115200 csr
hciconfig hci0 up
hcid
dund --persist --listen
sdpd
sdptool add SP --channel=1
I open a terminal on the master. A connection is present.
I type echo "Hello" > /dev/bluetooth/rfcomm/0
and on the master terminal I see "Hello"
And this is where the problem comes. If I repeat the echo, I get:
cannot create /dev/rfcomm0: No such device
because the connection was closed
I have sent huge files down the link with no problem...but when it
reaches the end of the file, the connection closes everytime!
If anyone knows what Im doing wrong I would appreciate it! I have
searched for 2 days now and not managed to find the solution
Regards
Tom