imx6q使用rtl8723蓝牙模块usb接口连接不上
本帖最后由 wshini7316 于 2015-1-19 13:52 编辑main.conf文件:
# List of plugins that should not be loaded on bluetoothd startup
#DisablePlugins = network,input
# Default adaper name
# %h - substituted for hostname
# %d - substituted for adapter id
Name = %h-%d
# Default device class. Only the major and minor device class bits are
# considered.
Class = 0x000100
# How long to stay in discoverable mode before going back to non-discoverable
# The value is in seconds. Default is 180, i.e. 3 minutes.
# 0 = disable timer, i.e. stay discoverable forever
DiscoverableTimeout = 0
# How long to stay in pairable mode before going back to non-discoverable
# The value is in seconds. Default is 0.
# 0 = disable timer, i.e. stay pairable forever
PairableTimeout = 0
# Use some other page timeout than the controller default one
# which is 16384 (10 seconds).
PageTimeout = 8192
# Automatic connection for bonded devices driven by platform/user events.
# If a platform plugin uses this mechanism, automatic connections will be
# enabled during the interval defined below. Initially, this feature
# intends to be used to establish connections to ATT channels.
AutoConnectTimeout = 60
# What value should be assumed for the adapter Powered property when
# SetProperty(Powered, ...) hasn't been called yet. Defaults to true
InitiallyPowered = true
# Remember the previously stored Powered state when initializing adapters
RememberPowered = true
# Use vendor id source (assigner), vendor, product and version information for
# DID profile support. The values are separated by ":" and assigner, VID, PID
# and version.
# Possible vendor id source values: bluetooth, usb (defaults to usb)
#DeviceID = bluetooth:1234:5678:abcd
# Do reverse service discovery for previously unknown devices that connect to
# us. This option is really only needed for qualification since the BITE tester
# doesn't like us doing reverse SDP for some test cases (though there could in
# theory be other useful purposes for this too). Defaults to true.
ReverseServiceDiscovery = true
# Enable name resolving after inquiry. Set it to 'false' if you don't need
# remote devices name and want shorter discovery cycle. Defaults to 'true'.
NameResolving = true
# Enable runtime persistency of debug link keys. Default is false which
# makes debug link keys valid only for the duration of the connection
# that they were created for.
DebugKeys = false
# Enable the GATT functionality. Default is false
EnableGatt = false
rfcomm.conf文件
#
# RFCOMM configuration file.
#
rfcomm0 {
# Automatically bind the device at startup
bind yes;
# Bluetooth address of the device
device F0:72:8C:0F:DF:36;
# RFCOMM channel for the connection
channel 1;
# Description of the connection
comment "GT-N7100";
}
手机连接imx6q开发板打印信息:
root@freescale /etc/bluetooth$ rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 12
rtk_btusb: check_sco_event: event 0x04
rtk_btusb: btusb_notify: name hci0, evt 1
rtk_btusb: btusb_send_frame: hdev e9ee2000, btusb data e4156800, pkt type 1
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 6
rtk_btusb: check_sco_event: event 0x0f
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 10
rtk_btusb: check_sco_event: event 0x12
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 13
rtk_btusb: check_sco_event: event 0x03
rtk_btusb: btusb_send_frame: hdev e9ee2000, btusb data e4156800, pkt type 1
rtk_btusb: btusb_bulk_complete: urb e43b3600 status 0 count 14
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 5
rtk_btusb: check_sco_event: event 0x1b
rtk_btusb: btusb_send_frame: hdev e9ee2000, btusb data e4156800, pkt type 2
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 11
rtk_btusb: check_sco_event: event 0x32
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 8
rtk_btusb: check_sco_event: event 0x31
rtk_btusb: btusb_bulk_complete: urb e43b3480 status 0 count 14
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 6
rtk_btusb: check_sco_event: event 0x0f
rtk_btusb: btusb_send_frame: hdev e9ee2000, btusb data e4156800, pkt type 2
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 7
rtk_btusb: check_sco_event: event 0x13
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 13
rtk_btusb: check_sco_event: event 0x0b
rtk_btusb: btusb_send_frame: hdev e9ee2000, btusb data e4156800, pkt type 1
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 6
rtk_btusb: check_sco_event: event 0x0f
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 7
rtk_btusb: check_sco_event: event 0x13
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 15
rtk_btusb: check_sco_event: event 0x23
rtk_btusb: btusb_send_frame: hdev e9ee2000, btusb data e4156800, pkt type 1
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 6
rtk_btusb: check_sco_event: event 0x0f
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x07
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x30
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 1
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 6
rtk_btusb: check_sco_event: HCI_EV_DISCONN_COMPLETE(0x05)
rtk_btusb: btusb_notify: name hci0, evt 2
imx6q开发板连接手机:
root@freescale /etc/bluetooth$ hcitool cc F0:72:8C:0F:DF:36
rtk_btusb: btusb_send_frame: hdev e9ee2000, btusb data e4156800, pkt type 1
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 6
rtk_btusb: check_sco_event: event 0x0f
rtk_btusb: btusb_notify: name hci0, evt 1
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 13
rtk_btusb: check_sco_event: event 0x03
rtk_btusb: btusb_bulk_complete: urb e43b3600 status 0 count 14
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 5
rtk_btusb: check_sco_event: event 0x1b
rtk_btusb: btusb_send_frame: hdev e9ee2000, btusb data e4156800, pkt type 1
rtk_btusb: btusb_send_frame: hdev e9ee2000, btusb data e4156800, pkt type 2
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 6
rtk_btusb: check_sco_event: event 0x0f
root@freescale /etc/bluetooth$ rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 7
rtk_btusb: check_sco_event: event 0x13
rtk_btusb: btusb_bulk_complete: urb e43b3480 status 0 count 14
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 13
rtk_btusb: check_sco_event: event 0x0b
rtk_btusb: btusb_send_frame: hdev e9ee2000, btusb data e4156800, pkt type 2
rtk_btusb: btusb_send_frame: hdev e9ee2000, btusb data e4156800, pkt type 1
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 6
rtk_btusb: check_sco_event: event 0x0f
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 7
rtk_btusb: check_sco_event: event 0x13
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 15
rtk_btusb: check_sco_event: event 0x23
rtk_btusb: btusb_send_frame: hdev e9ee2000, btusb data e4156800, pkt type 1
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 6
rtk_btusb: check_sco_event: event 0x0f
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x07
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x30
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 16
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 1
rtk_btusb: check_sco_event: event 0x00
rtk_btusb: btusb_send_frame: hdev e9ee2000, btusb data e4156800, pkt type 1
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 6
rtk_btusb: check_sco_event: event 0x0f
rtk_btusb: btusb_intr_complete: urb e43b3680 status 0 count 6
rtk_btusb: check_sco_event: HCI_EV_DISCONN_COMPLETE(0x05)
rtk_btusb: btusb_notify: name hci0, evt 2
执行命令:
hciconfig hci0 up
hciconfig hci0 piscan
l2ping F0:72:8C:0F:DF:36
显示:
Can't connect: Operation now in progress 没人呢做过嵌入式蓝牙的测试吗? 这种问题,直接support@freescale.com 浪里白条 发表于 2015-1-20 15:41 这种问题,直接
同感,太专业了 楼主你好,建议你使用5楼朋友的方法,提交support1@freescale.com。 已经可以测试了。
页:
[1]