]> oss.titaniummirror.com Git - tinyos-2.x.git/blob - tos/platforms/iris/platform_message.h
Added functionality for setting the TOS scheduler via flag to ncc. Updated .platform...
[tinyos-2.x.git] / tos / platforms / iris / platform_message.h
1 /* $Id$
2 * "Copyright (c) 2005 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * Permission to use, copy, modify, and distribute this software and its
6 * documentation for any purpose, without fee, and without written agreement is
7 * hereby granted, provided that the above copyright notice, the following
8 * two paragraphs and the author appear in all copies of this software.
9 *
10 * IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
11 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
12 * OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF
13 * CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
14 *
15 * THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
16 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
17 * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
18 * ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO
19 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS."
20 *
21 * Copyright (c) 2002-2005 Intel Corporation
22 * All rights reserved.
23 *
24 * This file is distributed under the terms in the attached INTEL-LICENSE
25 * file. If you do not find these files, copies can be found by writing to
26 * Intel Research Berkeley, 2150 Shattuck Avenue, Suite 1300, Berkeley, CA,
27 * 94704. Attention: Intel License Inquiry.
28 */
29
30 /*
31 * Copyright (c) 2007, Vanderbilt University
32 * All rights reserved.
33 *
34 * Permission to use, copy, modify, and distribute this software and its
35 * documentation for any purpose, without fee, and without written agreement is
36 * hereby granted, provided that the above copyright notice, the following
37 * two paragraphs and the author appear in all copies of this software.
38 *
39 * IN NO EVENT SHALL THE VANDERBILT UNIVERSITY BE LIABLE TO ANY PARTY FOR
40 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
41 * OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE VANDERBILT
42 * UNIVERSITY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
43 *
44 * THE VANDERBILT UNIVERSITY SPECIFICALLY DISCLAIMS ANY WARRANTIES,
45 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
46 * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
47 * ON AN "AS IS" BASIS, AND THE VANDERBILT UNIVERSITY HAS NO OBLIGATION TO
48 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
49 *
50 */
51
52 /**
53 * Defining the platform-independently named packet structures to be the
54 * chip-specific CC1000 packet structures.
55 *
56 * @author Philip Levis
57 * @date May 16 2005
58 * Revision: $Revision$
59 */
60
61
62 #ifndef PLATFORM_MESSAGE_H
63 #define PLATFORM_MESSAGE_H
64
65 #include <DefaultMac.h>
66 #include <Serial.h>
67
68 typedef union message_header {
69 defaultmac_header_t rf230;
70 serial_header_t serial;
71 } message_header_t;
72
73 typedef union message_footer {
74 } message_footer_t;
75
76 typedef union message_metadata {
77 defaultmac_metadata_t rf230;
78 } message_metadata_t;
79
80 #endif