Re: Intercept AVRCP commands on OS X
Hi Patrick Here'e my guesses. I'd assume that the OS gets it's chance to handles all profile that it supports. So, it would fully handle the ACRCP commands and forward them to the daemon. In this case, you might be able to hook into that one and try to intercept the commands there (everything is setup …) If the damon is written in Objective-C, you could do some method swizzling, if it sports symbols, you could do binary patching. Both is used heavily for iPhone Jailbreak development of system extensions ("tweaks"). The CydiaSubstrate library provides full support for method swizzling and function hooking, even for i386 and x86_64, as far as I know. Best Matthias On 26.07.2013, at 11:24, Patrick <patrick.stadler@gmail.com> wrote:
Hello everybody.
I have a very basic question regarding Bluetooth on OS X. After reading quite a lot of resources about the Bluetooth stack in the past few days, including some code examples, I'm still pretty much in the dark.
To not waste too much time hacking, is it even possible to intercept and handle AVRCP commands from paired headphones or are they always catched and sent to the AVRCP daemon, whether I register a delegate or not?
Regards, Patrick _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth-dev/mringwal%40inf.ethz.ch
This email sent to mringwal@inf.ethz.ch
_______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Matthias Ringwald