raspberry piとガラケーをBluetoothで接続する際にペアリングは出来ているみたいですが、接続ができません。
ご存知の方がいらっしゃいましたらご教授ください。
スマホと手持ちのヘッドセットイヤホンは問題なく接続出来ました。
OSはRaspbian Stretch Lite(kernel Ver4.14)です。
接続したときの内容です。
console
1[bluetooth]# agent on 2Agent registered 3[bluetooth]# default-agent 4Default agent request successful 5[bluetooth]# scan on 6Discovery started 7[CHG] Controller AA:AA:AA:AA:AA:AA Discovering: yes 8[NEW] Device BB:BB:BB:BB:BB:BB BB:BB:BB:BB:BB:BB←今回接続したいデバイスです 9[bluetooth]# scan off 10[CHG] Controller AA:AA:AA:AA:AA:AA Discovering: no 11Discovery stopped 12[bluetooth]# pair BB:BB:BB:BB:BB:BB 13Attempting to pair with BB:BB:BB:BB:BB:BB 14[CHG] Device BB:BB:BB:BB:BB:BB Connected: yes 15Request confirmation 16[agent] Confirm passkey 111111 (yes/no): yes 17[CHG] Device BB:BB:BB:BB:BB:BB UUIDs: 00001101-0000-1000-8000-00805f9b34fb 18[CHG] Device BB:BB:BB:BB:BB:BB UUIDs: 00001108-0000-1000-8000-00805f9b34fb 19[CHG] Device BB:BB:BB:BB:BB:BB UUIDs: 0000111e-0000-1000-8000-00805f9b34fb 20[CHG] Device BB:BB:BB:BB:BB:BB UUIDs: 0000112f-0000-1000-8000-00805f9b34fb 21[CHG] Device BB:BB:BB:BB:BB:BB ServicesResolved: yes 22[CHG] Device BB:BB:BB:BB:BB:BB Paired: yes 23Pairing successful 24[CHG] Device BB:BB:BB:BB:BB:BB ServicesResolved: no 25[CHG] Device BB:BB:BB:BB:BB:BB Connected: no 26[bluetooth]# connect BB:BB:BB:BB:BB:BB 27Attempting to connect to BB:BB:BB:BB:BB:BB 28[CHG] Device BB:BB:BB:BB:BB:BB Connected: yes 29[CHG] Device BB:BB:BB:BB:BB:BB ServicesResolved: yes 30Failed to connect: org.bluez.Error.NotAvailable 31[CHG] Device BB:BB:BB:BB:BB:BB ServicesResolved: no 32[CHG] Device BB:BB:BB:BB:BB:BB Connected: no
sdptoolの内容です。
console
1Browsing BB:BB:BB:BB:BB:BB ... 2Service Name: Phonebook Access PCE 3Service RecHandle: 0x10000 4Service Class ID List: 5 "Phonebook Access - PCE" (0x112e) 6Language Base Attr List: 7 code_ISO639: 0x656e 8 encoding: 0x6a 9 base_offset: 0x100 10Profile Descriptor List: 11 "Phonebook Access" (0x1130) 12 Version: 0x0100 13 14Service Name: Phonebook Access PSE 15Service RecHandle: 0x10001 16Service Class ID List: 17 "Phonebook Access - PSE" (0x112f) 18Protocol Descriptor List: 19 "L2CAP" (0x0100) 20 "RFCOMM" (0x0003) 21 Channel: 1 22 "OBEX" (0x0008) 23Language Base Attr List: 24 code_ISO639: 0x656e 25 encoding: 0x6a 26 base_offset: 0x100 27Profile Descriptor List: 28 "Phonebook Access" (0x1130) 29 Version: 0x0100 30 31Service Name: sSerial 32Service RecHandle: 0x10004 33Service Class ID List: 34 "Serial Port" (0x1101) 35Protocol Descriptor List: 36 "L2CAP" (0x0100) 37 "RFCOMM" (0x0003) 38 Channel: 4 39Language Base Attr List: 40 code_ISO639: 0x656e 41 encoding: 0x6a 42 base_offset: 0x100 43Profile Descriptor List: 44 "Serial Port" (0x1101) 45 Version: 0x0100 46 47Service Name: AUDIO Headset 48Service RecHandle: 0x10007 49Service Class ID List: 50 "Headset" (0x1108) 51 "" (0x1131) 52 "Generic Audio" (0x1203) 53Protocol Descriptor List: 54 "L2CAP" (0x0100) 55 "RFCOMM" (0x0003) 56 Channel: 2 57Language Base Attr List: 58 code_ISO639: 0x656e 59 encoding: 0x6a 60 base_offset: 0x100 61Profile Descriptor List: 62 "Headset" (0x1108) 63 Version: 0x0102 64 65Service Name: Hands-Free unit 66Service RecHandle: 0x10008 67Service Class ID List: 68 "Handsfree" (0x111e) 69 "Generic Audio" (0x1203) 70Protocol Descriptor List: 71 "L2CAP" (0x0100) 72 "RFCOMM" (0x0003) 73 Channel: 3 74Language Base Attr List: 75 code_ISO639: 0x656e 76 encoding: 0x6a 77 base_offset: 0x100 78Profile Descriptor List: 79 "Handsfree" (0x111e) 80 Version: 0x0105
回答1件
あなたの回答
tips
プレビュー