Dirk Hohndel c9537fb0fa Garmin: add MTP support
Create parallel helper functions that use libmtp to walk the file tree on the
device and to then read a specific file from the device into our dc_buffer.
MTP is not a file system, it's an object storage, that just happens to allow
object names and parent/child relationships between objects. As a result we
need to remember those file ids for MTP downloads (we could actually just not
remember the file names in that case).

The mtp_get_file_list function is rather complex as it includes both the
initial communication with the device and the code to walk the object tree and
then create the list of file.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-10-27 16:33:02 -07:00
..
2019-06-21 16:13:27 +02:00
2019-06-21 16:13:27 +02:00
2018-12-05 10:21:09 +01:00
2020-08-03 11:51:59 +02:00
2012-06-21 21:39:24 +02:00
2017-08-18 23:26:45 +02:00
2017-08-18 23:26:45 +02:00
2020-09-21 12:05:57 -07:00
2020-10-27 15:26:20 -07:00
2020-10-27 16:33:02 -07:00
2020-08-20 15:29:15 +02:00
2014-03-14 09:44:10 +01:00
2013-08-22 09:15:55 +02:00
2020-08-03 11:51:59 +02:00
2018-01-30 22:00:41 +01:00
2020-10-27 16:33:02 -07:00
2017-08-18 23:26:45 +02:00
2020-01-06 13:44:07 +01:00
2020-09-21 12:05:57 -07:00
2018-02-04 21:21:42 +01:00
2014-03-19 09:16:07 +01:00
2014-03-19 09:16:07 +01:00
2017-08-18 23:26:45 +02:00
2018-03-05 08:44:14 +01:00
2020-10-27 16:33:02 -07:00