Users Guide
הלבט 25 .יכרע בצמ הלעפה רובע WLAN ו-Bluetooth
ךרע בצמ הלעפהSTAAPBT EDRBLEתוחוקל םיכמתנ
1X
1X32
4X
5XX
6XX32
8X
9XX
13XXX
14XXX4
ליפורפ האיצי תירוט לש Bluetooth )SPP(
תוחנה רובע תובותכ MAC לכל םאתמ BT:
●BT MAC(MYCLIENT): XX:XX:XX:XX:XX:XX
●BT MAC(MYSERVER): YY:YY:YY:YY:YY:YY
1.תושירד תומידקמ.
#sudo apt-get install bluez bluez-tools
2.ןנוכתה ךוישל MYSERVER ו-MYCLIENT.
#sudo bluetoothctl
[bluetoothctl]# power on
[bluetooth]# discoverable on
[bluetooth]# scan on
[NEW] Device XX:XX:XX:XX:XX:XX MYCLIENT
[bluetooth]# scan off
3.ךייש הז הזל.
]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
המודב הסרגל v2.1 לש Bluetooth ,SPP עיצמ שולש תוטיש ךוישל םינקתה תויטנוולרש ל-Edge Gateway:
●Just Works
●Numeric Comparison
●Passkey Entry
הרעה תלבקל עדימ ףסונ לע ךויש Bluetooth ,האר blog.bluetooth.com/bluetooth-pairing-part-4.
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
תרדגה תכרעמ הלעפהה77