root@TinaLinux:/mnt/UDISK# hciconfig
hci0: Type: BR/EDR Bus: USB
BD Address: 48:9A:5B:3C:30:9B ACL MTU: 27:8 SCO MTU: 0:0
DOWN
RX bytes:0 acl:0 sco:0 events:13 errors:0
TX bytes:0 acl:0 sco:0 commands:13 errors:0
root@TinaLinux:/mnt/UDISK# hciconfig hci0 up
[ 272.410320] ssv_ble_hci_open():78
[ 272.415190] Config BLE HCI over HWIF
[ 272.420893] BLE TX: Reset
[ 272.444335] BLE RX: Command Complete. len=7
[ 272.449397] BLE TX: Read Local Supported Features
[ 272.457290] BLE RX: Command Complete. len=15
[ 272.462315] BLE TX: Read Local Version Information
[ 272.470281] BLE RX: Command Complete. len=15
[ 272.475281] BLE TX: Read BD_ADDR
[ 272.481531] BLE RX: Command Complete. len=13
[ 272.486736] BLE TX: LE Read Buffer Size
[ 272.493667] BLE RX: Command Complete. len=10
[ 272.499202] BLE TX: LE Read Local Supported Features
[ 272.506491] BLE RX: Command Complete. len=15
[ 272.512299] BLE TX: LE Read Advertising Channel TX Power
[ 272.520949] BLE RX: Command Complete. len=8
[ 272.525881] BLE TX: LE Read White List Size
[ 272.533600] BLE RX: Command Complete. len=8
[ 272.539244] BLE TX: LE Read Supported States
[ 272.545746] BLE RX: Command Complete. len=15
[ 272.551547] BLE TX: Set Event Mask
[ 272.558051] BLE RX: Command Complete. len=7
[ 272.562986] BLE TX: LE Set Event Mask
[ 272.569706] BLE RX: Command Complete. len=7
[ 272.574619] BLE TX: Read Local Supported Commands -optional-
[ 272.583529] BLE RX: Command Complete. len=71
[ 272.589667] BLE TX: LE Set Advertising Data
[ 272.595690] BLE RX: Command Complete. len=7
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK# hcitool scan
Scanning ...[ 966.058850] host driver doesn't implement this unknow hci cmd
[ 968.061465] Bluetooth: hci0 command 0x0401 tx timeout
Inquiry failed: Operation timed out
离线
bluz太大依赖多,直接怼btstack轻量方便
离线