To fix the hang problem
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: DefinitionsAndGlobals.h
- Revision:
- 144:4c20fcc105ce
- Parent:
- 137:489a93a04d6b
- Child:
- 155:ca7365c03fd7
diff -r 489a93a04d6b -r 4c20fcc105ce DefinitionsAndGlobals.h --- a/DefinitionsAndGlobals.h Thu Mar 24 04:04:33 2016 +0000 +++ b/DefinitionsAndGlobals.h Fri Apr 01 19:57:02 2016 +0000 @@ -120,7 +120,23 @@ #define PAY_SPI_MISO PTE19 #define PAY_SPI_CLK PTE17 #define PAY_SPI_CS PTE16 + +//BEACON + #define BCN_APID_SOURCE 0x41 + #define BCN_SERVICE 0x81 + #define BCN_ENABLE_PID 0x15 + #define BCN_DISABLE_PID 0x25 +//BAE + #define BAE_APID_SOURCE 0x81 + #define BAE_SERVICE 0x81 + #define BAE_POWER_ON_PID 0x13 + #define BAE_POWER_OFF_PID 0x23 + #define BAE_RESET_PID 0x33 + +//RF RELAY + #define RF_RELAY_CNTRL_TX PTA7 + #define RF_RELAY_CNTRL_BCN PTA12 // ****************GLOBAL VARIABLES****************** // DEBUG @@ -145,6 +161,11 @@ DigitalOut gCS_RTC(SPI_CS_RTC); Mutex SPI_mutex; +//RF Relay +DigitalOut RF_SW_CNTRL_BCN(RF_RELAY_CNTRL_BCN); +DigitalOut RF_SW_CNTRL_TX(RF_RELAY_CNTRL_TX); + + // TC LIST Base_tc* gHEAD_NODE_TCL = NULL; Base_tc* gLAST_NODE_TCL = NULL; @@ -158,6 +179,8 @@ // COM_MNG_TMTC + + // PA cooling timeout Timeout gCOM_PA_COOLING_TIMEOUT;