Bluetooth device scanning and connection - githeim/windheim_archive GitHub Wiki

Search Bluetooth devices

$ hcitool scan                                           
Scanning ...                                             
        00:1A:7D:DA:71:11       drakesong-Nuvo-5000      
        98:D3:71:F9:93:0E       DRV213                   

edit Conf file

$ sudo vim /etc/bluetooth/rfcomm.conf                    
rfcomm0 {                                                
        bind no;                                         
        device 98:D3:71:F9:93:0E;                        
        channel 1;                                       
        comment "Serial Port";                           
        }                                                

connection to the bluetooth device

$ sudo rfcomm connect /dev/rfcomm0 98:D3:71:F9:93:0E     

monitoring the device

$ sudo cat /dev/rfcomm0                                  

or 
                                                     
$ sudo minicom -D /dev/rfcomm0