]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/cc2420/CC2420TimeSyncMessage.h
Merge TinyOS 2.1.1 into master.
[tinyos-2.x.git] / tos / chips / cc2420 / CC2420TimeSyncMessage.h
index a744fd385bc0972f4f81dfb36ac618a12c8ad4c0..3051750c3a5c32a383076d32b4a9713eaf62b2a6 100644 (file)
 #ifndef __TIMESYNCMESSAGE_H__
 #define __TIMESYNCMESSAGE_H__
 
+#ifndef AM_TIMESYNCMSG
+#define AM_TIMESYNCMSG 0x3D
+#endif
+
 // this value is sent in the air
 typedef nx_uint32_t timesync_radio_t;
 
+typedef struct timesync_footer_t
+{
+       nx_am_id_t type;
+  timesync_radio_t timestamp;
+} timesync_footer_t;
+
+
 #endif//__TIMESYNCMESSAGE_H__