我正在尝试连接到嵌入式Linux上的蓝牙设备.
使用本页描述的方法 在Desktop Linux Mint 17 x64和RiotBoard(i.MX6)Linaro Ubuntu上运行良好.
但是,我无法将i.MX25板(嵌入式自定义Linux)连接到目标设备.只扫描有效.
rfcomm.conf
rfcomm0 {
# Automatically bind the device at startup
bind yes;
# Bluetooth address of the device
device 00:07:80:5A:48:93;
# RFCOMM channel for the connection
channel 1;
# Description of the connection
comment "Example Bluetooth device";
}
Run Code Online (Sandbox Code Playgroud)
hciconfig -a输出
hci0: Type: BR/EDR Bus: USB
BD Address: 00:15:83:44:39:E2 ACL MTU: 384:8 SCO MTU: 64:8
UP RUNNING PSCAN
RX bytes:28633 acl:0 sco:0 events:204 errors:0 …Run Code Online (Sandbox Code Playgroud)