System Management code

Dependencies:   mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP

Fork of SystemManagement by Martin Deng

Revision:
34:18bcf276d3bf
Parent:
33:6bc82b6b62e5
Child:
36:0afc0fc8f86b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/inCommands/inCommands.h	Wed Jan 07 03:25:50 2015 +0000
@@ -0,0 +1,14 @@
+#ifndef _SERVICE_CAN_H
+#define _SERVICE_CAN_H
+
+#include "IOobjects.h"
+
+const int DEVICE_CAN_TIMEOUT = 0.25;      // Comms. lost to external device if a message is not received within 200 ms
+
+namespace inCommands {
+    bool serviceCAN(CANMessage* fromXbee=0);
+    bool receiveMsgXbee();
+    int serviceSerial();
+}
+
+#endif
\ No newline at end of file