System Management code

Dependencies:   mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP

Fork of SystemManagement by Martin Deng

Committer:
pspatel321
Date:
Wed Jan 07 03:25:50 2015 +0000
Revision:
34:18bcf276d3bf
Parent:
serviceCAN/serviceCAN.h@33:6bc82b6b62e5
Child:
36:0afc0fc8f86b
Added serial input.  Updated glvBat coulomb counter to match AMS, brought in changes to outDiag and inCommands from AMS.

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 34:18bcf276d3bf 8 namespace inCommands {
pspatel321 33:6bc82b6b62e5 9 bool serviceCAN(CANMessage* fromXbee=0);
pspatel321 33:6bc82b6b62e5 10 bool receiveMsgXbee();
pspatel321 34:18bcf276d3bf 11 int serviceSerial();
pspatel321 30:91af74a299e1 12 }
pspatel321 30:91af74a299e1 13
pspatel321 30:91af74a299e1 14 #endif