Satellite Observers Workbench. NOT yet complete, just published for forum posters to \"cherry pick\" pieces of code as requiered as an example.

Dependencies:   mbed

Committer:
AjK
Date:
Mon Oct 11 10:34:55 2010 +0000
Revision:
0:0a841b89d614
Totally Alpha quality as this project isn\t completed. Just publishing it as it answers many questions asked in the forums

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AjK 0:0a841b89d614 1 /****************************************************************************
AjK 0:0a841b89d614 2 * Copyright 2010 Andy Kirkham, Stellar Technologies Ltd
AjK 0:0a841b89d614 3 *
AjK 0:0a841b89d614 4 * This file is part of the Satellite Observers Workbench (SOWB).
AjK 0:0a841b89d614 5 *
AjK 0:0a841b89d614 6 * SOWB is free software: you can redistribute it and/or modify
AjK 0:0a841b89d614 7 * it under the terms of the GNU General Public License as published by
AjK 0:0a841b89d614 8 * the Free Software Foundation, either version 3 of the License, or
AjK 0:0a841b89d614 9 * (at your option) any later version.
AjK 0:0a841b89d614 10 *
AjK 0:0a841b89d614 11 * SOWB is distributed in the hope that it will be useful,
AjK 0:0a841b89d614 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
AjK 0:0a841b89d614 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
AjK 0:0a841b89d614 14 * GNU General Public License for more details.
AjK 0:0a841b89d614 15 *
AjK 0:0a841b89d614 16 * You should have received a copy of the GNU General Public License
AjK 0:0a841b89d614 17 * along with SOWB. If not, see <http://www.gnu.org/licenses/>.
AjK 0:0a841b89d614 18 *
AjK 0:0a841b89d614 19 * $Id: main.cpp 5 2010-07-12 20:51:11Z ajk $
AjK 0:0a841b89d614 20 *
AjK 0:0a841b89d614 21 ***************************************************************************/
AjK 0:0a841b89d614 22 /**************************************************************************
AjK 0:0a841b89d614 23
AjK 0:0a841b89d614 24 The USB Embedded Host software is originally derived from the work of
AjK 0:0a841b89d614 25 Peter Barrett [1] and his BlueUSB project [2].
AjK 0:0a841b89d614 26
AjK 0:0a841b89d614 27 Although heavily re-styled, modified and revised for the SOWB project,
AjK 0:0a841b89d614 28 the "core" of the embedded host is based on Peter's work. Peter's
AjK 0:0a841b89d614 29 original copyright is acknowledge and reproduced below.
AjK 0:0a841b89d614 30
AjK 0:0a841b89d614 31 Thank you Peter for allowing others to stand on the shoulders of giants ;)
AjK 0:0a841b89d614 32
AjK 0:0a841b89d614 33 [1] http://mbed.org/users/peterbarrett1967/
AjK 0:0a841b89d614 34 [2] http://mbed.org/users/peterbarrett1967/programs/BlueUSB/5yn1q
AjK 0:0a841b89d614 35
AjK 0:0a841b89d614 36 Side note, I found some bugs that I fixed. I sent these back to Peter
AjK 0:0a841b89d614 37 to update his project. As yet I've had no reply and last time I looked
AjK 0:0a841b89d614 38 the bugs were still there. Basically, if a USB device has multiple
AjK 0:0a841b89d614 39 interfaces, in Peter's design only the even numbered interfaces will
AjK 0:0a841b89d614 40 be enumerated and assigned endpoints. All odd numbered interfaces are
AjK 0:0a841b89d614 41 skipped over and ignored.
AjK 0:0a841b89d614 42
AjK 0:0a841b89d614 43 ****************************************************************************/
AjK 0:0a841b89d614 44 /*
AjK 0:0a841b89d614 45 Copyright (c) 2010 Peter Barrett
AjK 0:0a841b89d614 46
AjK 0:0a841b89d614 47 Permission is hereby granted, free of charge, to any person obtaining a copy
AjK 0:0a841b89d614 48 of this software and associated documentation files (the "Software"), to deal
AjK 0:0a841b89d614 49 in the Software without restriction, including without limitation the rights
AjK 0:0a841b89d614 50 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
AjK 0:0a841b89d614 51 copies of the Software, and to permit persons to whom the Software is
AjK 0:0a841b89d614 52 furnished to do so, subject to the following conditions:
AjK 0:0a841b89d614 53
AjK 0:0a841b89d614 54 The above copyright notice and this permission notice shall be included in
AjK 0:0a841b89d614 55 all copies or substantial portions of the Software.
AjK 0:0a841b89d614 56
AjK 0:0a841b89d614 57 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
AjK 0:0a841b89d614 58 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
AjK 0:0a841b89d614 59 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AjK 0:0a841b89d614 60 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
AjK 0:0a841b89d614 61 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
AjK 0:0a841b89d614 62 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
AjK 0:0a841b89d614 63 THE SOFTWARE.
AjK 0:0a841b89d614 64 */
AjK 0:0a841b89d614 65