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

Comments

Popular posts from this blog

Appending and Prepending in Yocto - +=, =+ vs .=, =.

Connecting Serial ports of two Ubuntu VMWare Virtual Machines

Linux Commands for Hardware Info - lshw, lspci, lsdev, lscpu, lsblk, lsusb