]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/iris/chips/rf230/RadioConfig.h
Expose the PacketTimeStamp interfaces in TimeSyncMessageC
[tinyos-2.x.git] / tos / platforms / iris / chips / rf230 / RadioConfig.h
index f3896a0f882143c920d7f3e60431a06dc271647a..42c7e2e30c6491fd17b348c8b3e1165e8d55d703 100644 (file)
@@ -59,6 +59,11 @@ enum
 #define RF230_DEF_CHANNEL      11
 #endif
 
+/* The number of microseconds a sending IRIS mote will wait for an acknowledgement */
+#ifndef SOFTWAREACK_TIMEOUT
+#define SOFTWAREACK_TIMEOUT    800
+#endif
+
 /*
  * This is the command used to calculate the CRC for the RF230 chip. 
  * TODO: Check why the default crcByte implementation is in a different endianness
@@ -84,4 +89,11 @@ typedef TOne TRadio;
  */
 #define RADIO_ALARM_MILLI_EXP  (5 + MICA_DIVIDE_ONE_FOR_32KHZ_LOG2)
 
+/**
+ * Make PACKET_LINK automaticaly enabled for Ieee154MessageC
+ */
+#if !defined(TFRAMES_ENABLED) && !defined(PACKET_LINK)
+#define PACKET_LINK
+#endif
+
 #endif//__RADIOCONFIG_H__