summaryrefslogtreecommitdiffstats
path: root/apps/iap/iap-core.c
AgeCommit message (Collapse)AuthorFilesLines
2020-07-09Update to allow the Apple Radio Remote to function on iPod Video 5G.LiveboxAndy1-51/+64
This was broken when the major update to iap was comitted. ia-lingo7.c created and various iap related files modified. On 4G, 6G and Nano 1/2Gen iPods the remote will function even though the radio won't. Tested on 4G Greyscale, 4G Color, 4G Photo, 4G Mini 1st Gen, 4G Mini 2Gen, Nano 1G, Nano 2G, Video 5G, Video 5.5G Change-Id: Ia74e3d07d9ab5edc6da8eafa96801ede722be331
2020-03-29FS#13186: IAP: Send periodic updates in mode 4 (Stefan Ott)Solomon Peachy1-1/+1
Devices in IAP mode 4 do not explicitly request specific notifications, thus they don't get *any* periodic notifications at the moment (in particular, they miss the track position updates that are supposed to be sent out every 500 ms). The attached patch fixes this by skipping an early return for devices in IST_EXTENDED state. Change-Id: I23e35247dd0494e537429d4fd9d51dc7f4653d76
2016-08-26iAP: fix USB storage mount after using an iAP accessoryCástor Muñoz1-0/+8
Change-Id: Ieb10da5850e9a2fa751142c2cf29447dccec0a17
2015-10-07iAP: lingo 1 (microphone)Cástor Muñoz1-1/+8
Change-Id: I65da2064951972368a2880d271280e5b5ae878fe
2015-10-07iAP: authentication 1.0Cástor Muñoz1-1/+2
Change-Id: I71b8e9f7ce2568c180396d6695cef18ce94ded32
2014-03-14events: Rework event subsystem (add_event, send_event) to be more versatile.Thomas Martitz1-2/+3
add_event_ex is added that takes an extra user_data pointer. This pointer is passed to the callback (add_event and add_event_ex have slightly different callbacks types). All callbacks also get the event id passed. Events added with add_event_ex must be removed with remove_event_ex because the user_data pointer must match in addition to the callback pointer. On the other add_event is simplified to omit the oneshort parameter which was almost always false (still there with add_event_ex). As a side effect the ata_idle_notify callbacks are changed as well, they do not take a data parameter anymore which was always NULL anyway. This commit also adds some documentation to events.h Change-Id: I13e29a0f88ef908f175b376d83550f9e0231f772
2014-01-16ipods: fix DEBUG buildsMarcin Bukat1-2/+2
iap-core.h defines LOGF_ENABLE unconditionally but hexstring() helper function was not compiled if logf support was not selected in configure. The regular builds worked by accident because logf() lines where discarded by preprocessor. Change-Id: Id76af478e7c760d81168ebf9bf3eb973a679987c
2013-11-10Updated IAP commands.Ralf Ertzinger1-0/+1392
Originally written and uploaded by Lalufu (Ralf Ertzinger) in Feb 2012. They have been condensed into a single patch and some further additions by Andy Potter. Currently includes Authentication V2 support from iPod to Accessory, RF/BlueTooth transmitter support, selecting a playlist and selecting a track from the current playlist. Does not support uploading Album Art or podcasts. Has been tested on the following iPods, 4th Gen Grayscale, 4th Gen Color/Photo, Mini 2nd Gen, Nano 1st Gen and Video 5.5Gen. Change-Id: Ie8fc098361844132f0228ecbe3c48da948726f5e Co-Authored by: Andy Potter <liveboxandy@gmail.com> Reviewed-on: http://gerrit.rockbox.org/533 Reviewed-by: Frank Gevaerts <frank@gevaerts.be>