Bluetooth - VIA Technologies VAB-950 Quick Start Manual

Hide thumbs Also See for VAB-950:
Table of Contents

Advertisement

VIA VAB-950 Yocto 3.1 EVK Quick Start Guide
wps_cred_processing=2
p2p_disabled=1
To verify the Wi-Fi function, use the following command:
root@aiv8385-linux:~# ps | grep wpa_supplicant
569 root
8596 S
wpa_supplicant -Dnl80211 -iwlan0 -c/data/wifi/wpa_supplicant.conf
754350 root
3536 S
grep wpa_supplicant
root@aiv8385-linux:~# kill -9 569
root@aiv8385-linux:~# wpa_supplicant -Dnl80211 -iwlan0 -c /data/wifi/wpa_supplicant.conf -B
Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL control device
WPS: Converting display to virtual_display for WPS 2.0 compliance
WPS: Converting push_button to virtual_push_button for WPS 2.0 compliance
root@aiv8385-linux:~#
To verify if the Wi-Fi connection is workable, enable the interface, with the following command:
root@aiv8385-linux:~# udhcpc -i wlan0
udhcpc: started, v1.31.1
Failed to revert interface configuration: Connection timed out
udhcpc: sending discover
udhcpc: sending select for 192.168.0.106
udhcpc: lease of 192.168.0.106 obtained, lease time 86400
/etc/udhcpc.d/50default: Adding DNS 192.168.0.1
Then use the "ping" command to verify the network connection:
root@aiv8385-linux:~# ping 8.8.8.8

3.10 Bluetooth

To enter "interactive mode" for Bluetooth function verification, use the following commands:
root@aiv8362a-linux:~# btmw-rpc-test
increase the priority of btmw_rpc_test.i4_ret:0 @ main
set btmw_rpc_test priority done
[Client]Func:main Line:670--->: IPC/RPC initialize
YZ rpc_init is called
...
...
<I> [BTMW_RPC_TEST] init ok Normal Mode
<I> [BTMW_RPC_TEST] running.
btmw_test_cli>
In the example below, use a Bluetooth speaker to test.
First, get the Bluetooth speaker MAC address, which is "41:42:FC:81:75:7F" in this example.
To verify the Bluetooth function, use the following commands (using the speaker's MAC address in line 4):
btmw_test_cli> MW_RPC_GAP power 1
...
btmw_test_cli> MW_RPC_GAP set conn_disc 1 1
...
btmw_test_cli> MW_RPC_A2DP_SRC active_src 1
...
btmw_test_cli> MW_RPC_A2DP_SRC connect 41:42:FC:81:75:7F
...
btmw_test_cli> MW_RPC_A2DP_SRC write_stream /data/sda1/test.wav
...
btmw_test_cli>
13

Advertisement

Table of Contents
loading

Table of Contents