version_2.0

Dependents:   cc3000_ping_demo_try_2

Fork of cc3000_hostdriver_mbedsocket by Martin Kojtal

Committer:
Kojto
Date:
Thu Sep 26 19:50:37 2013 +0000
Revision:
5:245ac5b73132
Parent:
0:615c697c33b0
Child:
12:1c2a856c618a
tcp implementation

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Kojto 5:245ac5b73132 1 /* Copyright (C) 2013 mbed.org, MIT License
Kojto 5:245ac5b73132 2 *
Kojto 5:245ac5b73132 3 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software
Kojto 5:245ac5b73132 4 * and associated documentation files (the "Software"), to deal in the Software without restriction,
Kojto 5:245ac5b73132 5 * including without limitation the rights to use, copy, modify, merge, publish, distribute,
Kojto 5:245ac5b73132 6 * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
Kojto 5:245ac5b73132 7 * furnished to do so, subject to the following conditions:
Kojto 5:245ac5b73132 8 *
Kojto 5:245ac5b73132 9 * The above copyright notice and this permission notice shall be included in all copies or
Kojto 5:245ac5b73132 10 * substantial portions of the Software.
Kojto 5:245ac5b73132 11 *
Kojto 5:245ac5b73132 12 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
Kojto 5:245ac5b73132 13 * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
Kojto 5:245ac5b73132 14 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
Kojto 5:245ac5b73132 15 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
Kojto 5:245ac5b73132 16 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Kojto 5:245ac5b73132 17 */
Kojto 5:245ac5b73132 18
Kojto 5:245ac5b73132 19 #ifndef DEF_H
Kojto 5:245ac5b73132 20 #define DEF_H
Kojto 5:245ac5b73132 21
Kojto 5:245ac5b73132 22 #include "cmsis.h"
Kojto 5:245ac5b73132 23 //#define htons(x) __REV16(x)
Kojto 5:245ac5b73132 24 //#define ntohs(x) __REV16(x)
Kojto 5:245ac5b73132 25 //#define htonl(x) __REV(x)
Kojto 5:245ac5b73132 26 //#define ntohl(x) __REV(x)
Kojto 5:245ac5b73132 27
Kojto 0:615c697c33b0 28 #endif