Creating RFComm Connection with HC-05
Command to do this
sdptool add --channel=1 SP
sudo rfcomm bind rfcomm0 20:14:04:09:27:41
Fill the /etc/bluetooth/rfcomm file
sudo rfcomm release 0
sudo rfcomm connect 0
You will get something like
Connected /dev/rfcomm0 to 20:14:04:09:27:41 on channel 1
Press CTRL-C for hangup
In another tab type
screen /dev/ttyrfcomm0
sdptool add --channel=1 SP
sudo rfcomm bind rfcomm0 20:14:04:09:27:41
Fill the /etc/bluetooth/rfcomm file
sudo rfcomm release 0
sudo rfcomm connect 0
You will get something like
Connected /dev/rfcomm0 to 20:14:04:09:27:41 on channel 1
Press CTRL-C for hangup
In another tab type
screen /dev/ttyrfcomm0
Comments
Post a Comment