LED 표시등이 흰색으로 바뀌고 깜박일 때까지 에어팟 버튼을 누른 후
[bluetooth]# pair <mac-address>
반품
Attempting to pair with 18:F1:D8:36:53:FB
하지만 에어팟의 LED가 다시 녹색으로 바뀔 때까지 오랜 시간 동안 그대로 유지되며 다음 오류가 발생합니다.
Failed to pair: org.bluez.Error.AuthenticationCanceled
이로 인해 인증 단계에서 정체된 것으로 보입니다.
내 에어팟은 다른 우분투 컴퓨터와 안드로이드 휴대폰에 페어링할 수 있으므로 이것이 이 컴퓨터의 블루투스 설정에 문제가 있는 것 같습니다.
산출btmon
> HCI Event: LE Meta Event (0x3e) plen 47 #3020 [hci0] 511.195393
LE Extended Advertising Report (0x0d)
Num reports: 1
Entry 0
Event type: 0x0010
Props: 0x0010
Use legacy advertising PDUs
Data status: Complete
Legacy PDU Type: ADV_NONCONN_IND (0x0010)
Address type: Public (0x00)
Address: 18:F1:D8:36:53:FB (Apple, Inc.)
Primary PHY: LE 1M
Secondary PHY: No packets
SID: no ADI field (0xff)
TX power: 0 dBm
RSSI: -50 dBm (0xce)
Periodic advertising invteral: 0.00 msec (0x0000)
Direct address type: Public (0x00)
Direct address: 00:00:00:00:00:00 (OUI 00-00-00)
Data length: 0x15
14 ff 4c 00 07 0f 00 02 20 18 f1 d8 36 53 fb 15 ..L..... ...6S..
e4 e4 52 01 00 ..R..
그리고
> HCI Event: LE Meta Event (0x3e) plen 47 #187 [hci0] 14.798946
LE Extended Advertising Report (0x0d)
Num reports: 1
Entry 0
Event type: 0x0010
Props: 0x0010
Use legacy advertising PDUs
Data status: Complete
Legacy PDU Type: ADV_NONCONN_IND (0x0010)
Address type: Public (0x00)
Address: 18:F1:D8:36:53:FB (Apple, Inc.)
Primary PHY: LE 1M
Secondary PHY: No packets
SID: no ADI field (0xff)
TX power: 0 dBm
RSSI: -55 dBm (0xc9)
Periodic advertising invteral: 0.00 msec (0x0000)
Direct address type: Public (0x00)
Direct address: 00:00:00:00:00:00 (OUI 00-00-00)
Data length: 0x15
14 ff 4c 00 07 0f 00 02 20 18 f1 d8 36 53 fb 15 ..L..... ...6S..
64 e1 52 01 00 d.R..
최종 출력은
= bluetoothd: Pair device timed out for hci0 [hci0] 577.933884
@ MGMT Command: Cancel Pair Device (0x001a) plen 7 {0x0001} [hci0] 577.933864
LE Address: 18:F1:D8:36:53:FB (Apple, Inc.)
@ MGMT Event: Command Complete (0x0001) plen 10 {0x0001} [hci0] 577.933875
Pair Device (0x0019) plen 7
Status: Cancelled (0x10)
LE Address: 18:F1:D8:36:53:FB (Apple, Inc.)
@ MGMT Event: Command Complete (0x0001) plen 10 {0x0001} [hci0] 577.933886
Cancel Pair Device (0x001a) plen 7
Status: Success (0x00)
LE Address: 18:F1:D8:36:53:FB (Apple, Inc.)
/var/log/syslog
산출
bluetoothd[1069]: src/adapter.c:device_found_callback() hci0 addr 18:F1:D8:36:53:FB, rssi -47 flags 0x0004 eir_len 21
bluetoothd[1069]: src/device.c:device_set_legacy() legacy 0
bluetoothd[1069]: src/device.c:device_set_rssi_with_delta() rssi -47 delta 8
bluetoothd[1069]: src/device.c:device_set_flags() flags 0
bluetoothd[1069]: src/agent.c:agent_ref() 0x556fdd8f6a90: ref=2
bluetoothd[1069]: src/device.c:bonding_request_new() Requesting bonding for 18:F1:D8:36:53:FB
bluetoothd[1069]: src/agent.c:agent_ref() 0x556fdd8f6a90: ref=3
bluetoothd[1069]: src/agent.c:agent_unref() 0x556fdd8f6a90: ref=2
bluetoothd[1069]: src/adapter.c:suspend_discovery()
bluetoothd[1069]: src/adapter.c:adapter_bonding_attempt() hci0 bdaddr 18:F1:D8:36:53:FB type 1 io_cap 0x04
bluetoothd[1069]: src/adapter.c:suspend_discovery_complete() status 0x00
bluetoothd[1069]: src/adapter.c:discovering_callback() hci0 type 7 discovering 0 method 0
bluetoothd[1069]: Pair device timed out for hci0
답변1
이 답변내 문제를 해결했습니다. 특히, ControllerMode = bredr
설정 해야 할 사항은 다음과 같습니다./etc/bluetooth/main.conf