![]() |
Blootooth pairing with Philips Smart TV (AndriodTV) - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Feature requests (https://moodeaudio.org/forum/forumdisplay.php?fid=8) +--- Thread: Blootooth pairing with Philips Smart TV (AndriodTV) (/showthread.php?tid=4532) |
Blootooth pairing with Philips Smart TV (AndriodTV) - grugh - 11-14-2021 Hello. If I try to pair my Philips TV with moOde audio, I need to manually add 0x200000 (audio service) to the moode's bluetooth device class at first. For example: $ sudo hciconfig hci0 class 2c041c Otherwise the moode is not detected as an audio device. Is it possible to make this change to bluetooth device class profile permanently as default? Thanks in advance. Petr RE: Blootooth pairing with Philips Smart TV (AndriodTV) - Tim Curtis - 11-14-2021 The default class supports audio without any need to change it and this has worked well for most users. I'm not sure why your TV requires a different class. Code: pi@rp1:~ $ hciconfig get class RE: Blootooth pairing with Philips Smart TV (AndriodTV) - grugh - 07-03-2022 (11-14-2021, 12:13 PM)Tim Curtis Wrote: The default class supports audio without any need to change it and this has worked well for most users. I'm not sure why your TV requires a different class. What works for most users, doesn't have to work for all users. My TV doesn't require a different class, but an additional service - audio. Code: pi@moode:~ $ hciconfig get class RE: Blootooth pairing with Philips Smart TV (AndriodTV) - Tim Curtis - 07-03-2022 I'll add to the TODO list to update the class. Ether make the new class permanent in /etc/bluetooth/main.conf or a configurable option in Audio Config. RE: Blootooth pairing with Philips Smart TV (AndriodTV) - grugh - 07-03-2022 (07-03-2022, 11:10 AM)Tim Curtis Wrote: I'll add to the TODO list to update the class. Ether make the new class permanent in /etc/bluetooth/main.conf or a configurable option in Audio Config. I believe that /etc/bluetooth/main.conf file has Class = 0x20041C inside now. But the higher word is overridden by something (hciconfig returns class 0x0C041C). Thank you for your effort. Petr RE: Blootooth pairing with Philips Smart TV (AndriodTV) - Tim Curtis - 07-03-2022 I also noticed that.Very odd. RE: Blootooth pairing with Philips Smart TV (AndriodTV) - Tim Curtis - 07-06-2022 I did some investigation and was not able to find a way to permanently set the class. It seems that the Class = value in /etc/bluetooth/main.conf is overridden by some process in bluez when it starts. I also tried setting the class to 0x2c041c using hciconfig during moOde startup and that approach did not work either. The class reverts to 0x0c041c. Code: // Start bluetooth controller and pairing agent There are some old posts discussing the issue. https://forums.raspberrypi.com/viewtopic.php?t=86963 It would be interesting to know what bluez is doing with regard to setting the Class. |