Yanndroid / SiriRemote-Linux

Control your Linux machine with an Apple TV 4th Siri Remote
24 stars 2 forks source link

Increase MTU for voice #2

Closed hibatos closed 10 months ago

hibatos commented 10 months ago

Hi @Yanndroid, I just found your project and I am so happy I did. I tried to implement this for over two years now, but I could not get it to work (I could not implement the exchange gatttool made with the remote because of some reason still unknown to me),

Reading in your README about the problems with audio decoding caused by dropped bits, after a bit of research it seems to not actually be that difficult to overcome, if - and only if - the problem is caused by the BLE default MTU of 27 bytes.

have you tried that yet or is that possibly a fix that I should try to implement?

Best regards and thanks from Germany

Yanndroid commented 10 months ago

Hi there, I actually already fixed the bluez limitation by directly using HCI and rebuilding the ACL Packets myself, but I'm still having a couple of other problems and it's been quite while since I've worked on this. One of the problems was that some other program was force disconnecting my remote (I believe bluez) and the other is that after a couple of second only every third audio frame is received and for this I have absolutely no idea why it's happening.

As I said in the other issue, I want to work more on this again, but I'll need some time understand my own code again :sweat_smile: . If I get it cleaned up, I can push it to a dev branch so you can have a look too.

hibatos commented 10 months ago

Hi, that would be super cool, thank you!