Users Guide

Commutazione tra modalità WLAN e Bluetooth
1. Regolare le modalità da 13 predefinito a 14 in /etc/modprobe.d/rs9113.conf.
# options rsi_sdio dev_oper_mode=14
2. Verificare la modalità di funzionamento.
# cat /sys/module/rsi_sdio/parameters/dev_oper_mode
Tabella 32. Valori della modalità operativa di WLAN e Bluetooth
Valore della
modalità operativa
STA AP BT EDR BLE Client supportati
1 X
1 X 32
4 X
5 X X
6 X X 32
8 X
9 X X
13 X X X
14 X X X 4
SPP (Serial Port Profile) Bluetooth
Presupposti per gli indirizzi MAC di ogni adattatore BT:
BT MAC(MYCLIENT): XX:XX:XX:XX:XX:XX
BT MAC(MYSERVER): YY:YY:YY:YY:YY:YY
1. Pre-requisiti.
# sudo apt-get install bluez bluez-tools
2. Preparazione all'associazione di MYSERVER e 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. Accoppia.
[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
Alla versione di Bluetooth 2.1, SPP consente l'associazione dei dispositivi in tre modi, tutti supportati da Edge Gateway:
Funziona
Confronto numerico
Inserimento passkey
N.B.: Per ulteriori informazioni sull'associazione Bluetooth, consultare blog.bluetooth.com/bluetooth-pairing-part-4.
Installazione sistema operativo 83