#define __RADIOCONFIG_H__
#include <MicaTimer.h>
-#include <RF230.h>
+#include <RF230DriverLayer.h>
#include <util/crc16.h>
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
*/
#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__