1 Windows MTP Firmware Uploading Implementation
2 =============================================
4 This code is based on http://opensource.creative.com/mtp_xfer.html and was
5 edited by Maurus Cuelenaere for the Rockbox project.
7 It is released under the BSD license:
9 Copyright (c) 2009, Maurus Cuelenaere
12 Redistribution and use in source and binary forms, with or without
13 modification, are permitted provided that the following conditions are met:
14 * Redistributions of source code must retain the above copyright
15 notice, this list of conditions and the following disclaimer.
16 * Redistributions in binary form must reproduce the above copyright
17 notice, this list of conditions and the following disclaimer in the
18 documentation and/or other materials provided with the distribution.
19 * Neither the name of the <organization> nor the
20 names of its contributors may be used to endorse or promote products
21 derived from this software without specific prior written permission.
23 THIS SOFTWARE IS PROVIDED BY MAURUS CUELENAERE ''AS IS'' AND ANY
24 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26 DISCLAIMED. IN NO EVENT SHALL MAURUS CUELENAERE BE LIABLE FOR ANY
27 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35 Based on these mails from devsupport AT creativelabs DOT com, the original code
36 is believed to be in the Public Domain:
39 From: CLI Developer Support <devsupport AT creativelabs DOT com>
41 Date: Wed, 18 Feb 2009 17:34:14 -0800
44 >The code found at http://connect.creativelabs.com/opensource/ is open
45 >and made freely available on the connect site for use by developers
46 >such as yourself. You are welcome to use the code as you like.
48 >If you need to know the specific license it is released under, I'm afraid
49 > I will have to chase it up since I don't believe that site is being
56 From: CLI Developer Support <devsupport AT creativelabs DOT com>
57 Sender: Daniel PEACOCK
58 Date: Thu, 19 Feb 2009 14:08:39 +0000
61 >The MTP transfer example code is free to use for any purpose - commercial or otherwise.
62 >You can include it, or a variant of it, in your open-source project.