Ubuntu Bluetooth pairing

FireFly Linux gtkterm

gtkterm -p /dev/rfcomm0 -s 115200

---------------------------

Open System -> Preferences -> Bluetooth Manager
Adapter -> Search - be sure remote is discoverable
Device -> Pair - accept and confirm
Can send files, must confirm on remote end

-----------------------------

To connect RN-41 connect USB
Applications -> Accessories -> Serial port terminal
Configuration -> Port
select /dev/ttyUSBx, 115200, 8,N,1
select local echo
Enter $$$ to enter command mode on RN-41 should return OK

-----------------------------

Open terminal and enter:
sudo getty 115200 /dev/rfcomm0

-----------------------------

In Bluetooth Manager select RN-41 device
Right click and select SPP - should connect

In Serial port terminal turn off local echo and hit Enter - should see login screen

------------------------------


Haven't found command line howto


hcitool scan
sudo hcitool cc 00:06:66:05:04:62
then right click and pair with pin
then right click and select SPP

/dev/rfcomm0 stdout/in
bash> exec > filename < filename
tail -f /dev/rfcomm0
echo "some text to bluetooth" > /dev/rfcomm0

sudo getty 115200 /dev/rfcomm0
opens terminal on bluetooth


/etc/bluetooth/rfcomm.conf

rfcomm -a - to see all devices

/dev/rfcomm0

/etc/init.d/bluetooth

Bluetooth pairing command line

if I do above and
sudo hcitool cc 00:06:66:05:04:62 --role=s
Connects and disconnects, probably missing passkey-agent
seems bluez-pin not in repositories
sudo apt-get install bluez-utils bluez-pin

BluetoothDialup
ubuntuforums
spiration

Comments

Popular posts from this blog

Sites, Newsletters, and Blogs

Oracle JDBC ReadTimeout QueryTimeout

Locks held on Oracle for hours after sessions abnormally terminated by node failure