Hi all, when trying to compile the latest GarminDev package on Mac OS X, I finally got linker errors, complaining about run_app_command() calls as this function is apparently new (although used exclusively in the "Oregon" device). The reason is that OS X uses the native USB implementation (from the IOKit framework) instead of libusb, and it looks as if I have to port them.
Do I understand the code correctly that it is basically a wrapper for one USB write and one or more read's, which I could copy verbatim to the OS X code, or is there more magic behind? If it is "only" a wrapper, IMHO run_app_command(), run_transaction() and run_product_request() form higher level layer than the "pure" USB access, and it might be an idea to separate them into a different source file. Then the low-level api primitives (basically open/close/read/write, through libusb or IOKit) would still be separated from anything which comes from a higher level. BTW, just out of curiosity, why has this new function been introduced? A "special" needed for the Oregon? Thanks, Albrecht.
pgpGcUSVbnSv5.pgp
Description: PGP signature
------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________ QLandkarte-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qlandkarte-users
