2 * "Copyright (c) 2005 The Regents of the University of California.
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.
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.
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."
21 * Copyright (c) 2002-2005 Intel Corporation
22 * All rights reserved.
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.
31 * Copyright (c) 2007, Vanderbilt University
32 * All rights reserved.
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.
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.
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.
53 * Defining the platform-independently named packet structures to be the
54 * chip-specific CC1000 packet structures.
56 * @author Philip Levis
58 * Revision: $Revision$
62 #ifndef PLATFORM_MESSAGE_H
63 #define PLATFORM_MESSAGE_H
65 #include <DefaultMac.h>
68 typedef union message_header
{
69 defaultmac_header_t rf230
;
70 serial_header_t serial
;
73 typedef union message_footer
{
76 typedef union message_metadata
{
77 defaultmac_metadata_t rf230
;