Ethernet test for ECE 4180 and others to find your IP address and do a simple HTTP GET request over port 80.
Dependencies: mbed Socket lwip-eth lwip-sys lwip
mbed-rtos/rtx/rt_Mutex.h@0:e7ca326e76ee, 2013-04-04 (annotated)
- Committer:
- mkersh3
- Date:
- Thu Apr 04 05:26:09 2013 +0000
- Revision:
- 0:e7ca326e76ee
Ethernet Test for ECE4180 and others to find their IP Address and do a simple HTTP GET request over port 80.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mkersh3 | 0:e7ca326e76ee | 1 | /*---------------------------------------------------------------------------- |
mkersh3 | 0:e7ca326e76ee | 2 | * RL-ARM - RTX |
mkersh3 | 0:e7ca326e76ee | 3 | *---------------------------------------------------------------------------- |
mkersh3 | 0:e7ca326e76ee | 4 | * Name: RT_MUTEX.H |
mkersh3 | 0:e7ca326e76ee | 5 | * Purpose: Implements mutex synchronization objects |
mkersh3 | 0:e7ca326e76ee | 6 | * Rev.: V4.50 |
mkersh3 | 0:e7ca326e76ee | 7 | *---------------------------------------------------------------------------- |
mkersh3 | 0:e7ca326e76ee | 8 | * |
mkersh3 | 0:e7ca326e76ee | 9 | * Copyright (c) 1999-2009 KEIL, 2009-2012 ARM Germany GmbH |
mkersh3 | 0:e7ca326e76ee | 10 | * All rights reserved. |
mkersh3 | 0:e7ca326e76ee | 11 | * Redistribution and use in source and binary forms, with or without |
mkersh3 | 0:e7ca326e76ee | 12 | * modification, are permitted provided that the following conditions are met: |
mkersh3 | 0:e7ca326e76ee | 13 | * - Redistributions of source code must retain the above copyright |
mkersh3 | 0:e7ca326e76ee | 14 | * notice, this list of conditions and the following disclaimer. |
mkersh3 | 0:e7ca326e76ee | 15 | * - Redistributions in binary form must reproduce the above copyright |
mkersh3 | 0:e7ca326e76ee | 16 | * notice, this list of conditions and the following disclaimer in the |
mkersh3 | 0:e7ca326e76ee | 17 | * documentation and/or other materials provided with the distribution. |
mkersh3 | 0:e7ca326e76ee | 18 | * - Neither the name of ARM nor the names of its contributors may be used |
mkersh3 | 0:e7ca326e76ee | 19 | * to endorse or promote products derived from this software without |
mkersh3 | 0:e7ca326e76ee | 20 | * specific prior written permission. |
mkersh3 | 0:e7ca326e76ee | 21 | * |
mkersh3 | 0:e7ca326e76ee | 22 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
mkersh3 | 0:e7ca326e76ee | 23 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
mkersh3 | 0:e7ca326e76ee | 24 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
mkersh3 | 0:e7ca326e76ee | 25 | * ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE |
mkersh3 | 0:e7ca326e76ee | 26 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
mkersh3 | 0:e7ca326e76ee | 27 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
mkersh3 | 0:e7ca326e76ee | 28 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
mkersh3 | 0:e7ca326e76ee | 29 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
mkersh3 | 0:e7ca326e76ee | 30 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
mkersh3 | 0:e7ca326e76ee | 31 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
mkersh3 | 0:e7ca326e76ee | 32 | * POSSIBILITY OF SUCH DAMAGE. |
mkersh3 | 0:e7ca326e76ee | 33 | *---------------------------------------------------------------------------*/ |
mkersh3 | 0:e7ca326e76ee | 34 | |
mkersh3 | 0:e7ca326e76ee | 35 | /* Functions */ |
mkersh3 | 0:e7ca326e76ee | 36 | extern void rt_mut_init (OS_ID mutex); |
mkersh3 | 0:e7ca326e76ee | 37 | extern OS_RESULT rt_mut_delete (OS_ID mutex); |
mkersh3 | 0:e7ca326e76ee | 38 | extern OS_RESULT rt_mut_release (OS_ID mutex); |
mkersh3 | 0:e7ca326e76ee | 39 | extern OS_RESULT rt_mut_wait (OS_ID mutex, U16 timeout); |
mkersh3 | 0:e7ca326e76ee | 40 | |
mkersh3 | 0:e7ca326e76ee | 41 | /*---------------------------------------------------------------------------- |
mkersh3 | 0:e7ca326e76ee | 42 | * end of file |
mkersh3 | 0:e7ca326e76ee | 43 | *---------------------------------------------------------------------------*/ |
mkersh3 | 0:e7ca326e76ee | 44 |