System Management code

Dependencies:   mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP

Fork of SystemManagement by Martin Deng

Committer:
pspatel321
Date:
Tue Jan 06 20:45:26 2015 +0000
Revision:
33:6bc82b6b62e5
Parent:
30:91af74a299e1
Updated IDs to match AMS, added a constants.h file.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
pspatel321 30:91af74a299e1 1 #ifndef _SERVICE_CAN_H
pspatel321 30:91af74a299e1 2 #define _SERVICE_CAN_H
pspatel321 30:91af74a299e1 3
pspatel321 30:91af74a299e1 4 #include "IOobjects.h"
pspatel321 30:91af74a299e1 5
pspatel321 30:91af74a299e1 6 const int DEVICE_CAN_TIMEOUT = 0.25; // Comms. lost to external device if a message is not received within 200 ms
pspatel321 30:91af74a299e1 7
pspatel321 30:91af74a299e1 8 namespace canbus {
pspatel321 33:6bc82b6b62e5 9 bool serviceCAN(CANMessage* fromXbee=0);
pspatel321 33:6bc82b6b62e5 10 bool receiveMsgXbee();
pspatel321 30:91af74a299e1 11 }
pspatel321 30:91af74a299e1 12
pspatel321 30:91af74a299e1 13 #endif