Users Guide

[bluetooth]# scan on
[NEW] Device XX:XX:XX:XX:XX:XX MYCLIENT
[bluetooth]# scan off
3.   .
   Bluetooth 2.1 
  
           Gateway 
3000  Dell:


 
  
:        bluetooth  https://blog.bluetooth.com/bluetooth-pairing-part-4.
]bluetooth]# agent on
[bluetooth]# default-agent
[bluetooth]# pairable on
[bluetooth]# pair XX:XX:XX:XX:XX:XX <MAC Address of Device to Pair>
[bluetooth]# connect XX:XX:XX:XX:XX:XX [CHG] Device XX:XX:XX:XX:XX:XX Connected: yes
[bluetooth]# exit
4.  SPP.
 
$bluez.sdptool add --channel=22 SP
$ ./rfcomm -r listen /dev/rfcomm0 22
Waiting for connection on channel 22
Connection from XX:XX:XX:XX:XX:XX to /dev/rfcomm0 <These lines will be seen when client
comes>
Press CTRL-C for hangup
 

        Bluetooth.
$cat /dev/rfcomm0
 
$bluez.sdptool add --channel=22 SP
$ ./rfcomm -r connect /dev/rfcomm0 YY:YY:YY:YY:YY:YY 22
 

       ssh    .
$echo "test" > /dev/rfcomm0
:   rfcomm    .         Edge Gateway      AMD64  
  Ubuntu 16.04  .
 
    LED  RS-232 RS-422 RS-485   OFF ) ( .   ON )(      .
  
   
    ) RS-232.(
 14 . 
       

1RS-232
RS-422
RS-485
COM3JVE Global
23N6963-10D00B-15G-2.9
http://www.jve.com.cn/
:    
 .
2RS-232
RS-422
COM3JVE Global
23N6963-10D00B-15G-2.9
  55