InfiniTimeOrg / InfiniLink

The official iOS companion app for InfiniTime
https://apps.apple.com/us/app/infinilink/id1582318814
GNU General Public License v3.0
195 stars 20 forks source link

Quick question #4

Closed mhv75 closed 3 years ago

mhv75 commented 3 years ago

Tinkering with on iOS side of atcwatch for p8 and other cheap smart watches.

For iOS a lot of those smart watches control music with HID (volume up and down, play pause button presses). Would have to be implemented in Infinitime maybe but a lot easier

mhv75 commented 3 years ago

Great work btw. Always better to do than to comment ;-)

xan-m commented 3 years ago

Yep, that's the boggle here. I posted about this in the PineTime IRC/Matrix/Discord/Telegram Super-Bridged Master Chat a few days ago. I came to the conclusion that, for now, it makes more sense to cater to Apple Music and fully satisfy a hair less than half of iOS users with a tolerable solution than to dump a shitty hack on everyone.

InfiniTime implements music control in a non-Apple way, so as it is now, I'd have to make a super-hacky HID device that only makes use of the buttons in the music app and doesn't report any of the now-playing info. Honestly I'd bet even if I did implement it that way, most people wouldn't realize that it was implemented and would leave the music app alone on the PineTime.

In other words, I can spend an afternoon giving a non-zero number of users moderate functionality that I have no issue deleting when a better solution comes along, OR I can spend a week's worth of free time hand-making an ad hoc HID interpreter that would barely work for anyone and would still need to be replaced when the better solution is implemented.

I'm looking forward to some of the BT connection issues/secure pairing with the PineTime being ironed out in the not-too-distant future, and then trying to help implement the AMS (apple music service) to control music and update the PineTime music display.

Thanks btw! I'm always happy to collaborate, so let me know if there's anything I can help you with!

mhv75 commented 3 years ago

Yeah, I understand completely. I figured there must be a reason that big brands like huami still choose to implement HID. They combine it with loading now playing info

xan-m commented 3 years ago

I think AMS is the only way to implement this. With the recent progress on InfiniTime BLE issues, secure bonding is likely on the horizon, which opens the door for AMS and ANCS (for notifications). Marking this issue as closed.