[問題] 藍牙 bluetooth 配對問題
小弟用BT dongle,要用來和手機(android)藍芽配對
使用的tool是 hcitool
Linux 環境是 openwrt,有安裝下列blueZ相關的utilities
bluez BlueZ stak (combined Lib and Utils)
bluez-hcidump Bluetooth packet analyzer
bluez-utils Bluetooth utilities
有關閉wifi,怕干擾
遇到的問題是:
用hcitool cc去做配對,然後下hcitool con檢查有資料,應該是有配對成功
但1秒後再檢查一次卻沒資料,等於配對斷了,屢試不爽
root@OpenWrt:/# hcitool cc 00:26:46:8F:B5:90
root@OpenWrt:/# hcitool con
Connections:
< ACL 00:26:46:8F:B5:90 handle 1 state 1 lm MASTER
root@OpenWrt:/# hcitool con
Connections:
在 Fedora 17上用相同的BT dongle,下hcitool cc去配對同一隻手機也是一樣的情況
想請問各位大大哪裡有問題
上網google好久還找不出原因在哪
請各位高手提供經驗或方向給小弟
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 118.163.55.114
※ 文章網址: https://www.ptt.cc/bbs/LinuxDev/M.1425364475.A.31F.html
※ 編輯: remember11 (118.163.55.114), 03/03/2015 14:36:50
推
05/01 00:03, , 1F
05/01 00:03, 1F
→
05/01 00:04, , 2F
05/01 00:04, 2F
→
05/01 00:05, , 3F
05/01 00:05, 3F
→
05/01 00:05, , 4F
05/01 00:05, 4F
→
05/01 00:07, , 5F
05/01 00:07, 5F
LinuxDev 近期熱門文章
PTT數位生活區 即時熱門文章