핸즈프리 장치 및 카 스테레오로 작동하도록 Bluetooth 카테고리 변경

핸즈프리 장치 및 카 스테레오로 작동하도록 Bluetooth 카테고리 변경

나는 운 좋게 raspberrypi.stackexchange.com에 이 질문을 게시했습니다. 이것은 Raspberry pi에 국한된 문제라기보다는 일반적인 Linux 문제에 더 가깝다고 생각합니다.

저는 이 도구를 사용하여 Pi2를 캠퍼밴용 Bluetooth 오디오 링크로 빠르게 구성했는데 정말 잘 작동했습니다.

내 질문은 일반 자동차 핸즈프리 키트처럼 전화 오디오도 수신할 수 있도록 블루투스 장치의 카테고리를 변경하는 것에 관한 것입니다.

관련된 모든 용어에 대해 100% 익숙하지 않다는 점을 인정하므로 미리 사과드립니다.

/etc/bluetooth/main.conf에서 클래스 값을 변경하고 재부팅하면 bluetoothctl 도구 출력에 다른 클래스가 나열됩니다. 수업을 받기 위해 이 도구를 사용했습니다.https://www.ampedrftech.com/cod.htm

변경했을 때 시스템이 장치를 렌더링(스피커)하고 캡처(마이크)하도록 클래스를 수정하고 있었던 것 같지만 전화기에 전화 오디오 옵션이 표시되지 않습니다(스크린샷 참조).

/etc/bluetooth/main.conf

[General]

# Default adapter name
# Defaults to 'BlueZ X.YZ'
#Name = BlueZ

# Default device class. Only the major and minor device class bits are
Name = Orion Audio Link
# considered. Defaults to '0x000000'.
#Class = 0x000100
Class = 0x600420

이것은 bluetoothctl의 출력입니다.

pi@raspberrypi:/etc/bluetooth $ sudo bluetoothctl
[NEW] Controller 00:1A:7D:DA:71:13 Orion Audio Link [default]
[NEW] Device 54:B1:21:94:3C:26 deans
[bluetooth]# show
Controller 00:1A:7D:DA:71:13
    Name: Orion Audio Link
    Alias: Orion Audio Link
    Class: 0x0c0420
    Powered: yes
    Discoverable: yes
    Pairable: yes
    UUID: Headset AG                (00001112-0000-1000-8000-00805f9b34fb)
    UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
    UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
    UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
    UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
    UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
    UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
    UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
    Modalias: usb:v1D6Bp0246d052B
    Discovering: no

내 휴대폰 스크린샷:

여기에 이미지 설명을 입력하세요.

관련 정보