Users Guide

Table Of Contents
2.ןנוכתה ךוישל MYSERVER ו-MYCLIENT
$sudo bluez.bluetoothctl -a
[bluetoothctl]# power on
[bluetooth]# discoverable on
[bluetooth]# scan on
[NEW] Device XX:XX:XX:XX:XX:XX MYCLIENT
[bluetooth]# scan off
3.ךייש הז הזל .לחה הסרגמv2.1 לש Bluetooth ,שרדנ שומיש ב-Secure Simple Pairing עיצמש שולש תוטיש ךוישל םינקתה תויטנוולרש הרדסל Dell
Gateway 3000.
Just Works
Numeric Comparison
Passkey Entry
הרעה תלבקל עדימ ףסונ לע ךויש 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
תדיוצמש תכרעמב הלעפה Ubuntu16.04 ךליאו.
תואיצי תוירוט -
תרירבכ לדחמ ,בצמ תוירונה לש 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/
תרדגה תכרעמ הלעפהה55