Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: SimpleDMA eeprom mbed-rtos mbed FreescaleIAP
Fork of CDMS_CODE by
Revision 125:a3b95a9c16ef, committed 2016-02-08
- Comitter:
- ee12b079
- Date:
- Mon Feb 08 14:24:08 2016 +0000
- Parent:
- 114:9fb55057b13f
- Child:
- 126:b7c024b5632d
- Commit message:
- GETapid corrected , to be integrated with PL (Relay_tmtc)
Changed in this revision
--- a/COM_MNG_TMTC.h Fri Feb 05 15:37:09 2016 +0000
+++ b/COM_MNG_TMTC.h Mon Feb 08 14:24:08 2016 +0000
@@ -1004,6 +1004,7 @@
// printf("%s", tm_ptr->TM_string);
// received = 0;
// } // similar to BAE functions
+ tm_pointer->next_TM = NULL; return tm_ptr;
break;
}
default: //invalid TC
--- a/Structures.h Fri Feb 05 15:37:09 2016 +0000 +++ b/Structures.h Mon Feb 08 14:24:08 2016 +0000 @@ -46,7 +46,7 @@ #define GETshort_or_long_tc(x) ( ( (x->flags) & SHORT_LONG_TC_MASK ) >> 4 ) #define GETcrc_pass(x) ( ( (x->flags) & CRC_MASK ) >> 3 ) #define GETabort_on_nack(x) ( ( (x->TC_string[1]) & 0x08 ) >> 3 ) -#define GETapid(x) ( ( (x->TC_string[1]) & 0xA0 ) >> 6 ) +#define GETapid(x) ( ( (x->TC_string[1]) & 0xC0 ) >> 6 ) #define GETexec_status(x) ( (x->flags) & EXEC_STATUS_MASK ) #define GETpacket_seq_count(x) (x->TC_string[0]) #define GETservice_type(x) ( (x->TC_string[2]) & 0xF0 )
--- a/ThreadsAndFunctions.h Fri Feb 05 15:37:09 2016 +0000
+++ b/ThreadsAndFunctions.h Mon Feb 08 14:24:08 2016 +0000
@@ -104,7 +104,7 @@
else if( gFLAGS & NEW_TC_RECEIVED ){
gPC.puts("NEW TC RECEIVED\r\n");
// DEBUF_PRINT("NEW TC RECEIVED\r\n");
- Thread::wait(2000); /*To be removed in flight model*/
+ Thread::wait(10000); /*To be removed in flight model*/
gFLAGS = gFLAGS & (~NEW_TC_RECEIVED);
gFLAGS = gFLAGS | COM_MNG_TMTC_RUNNING_FLAG;
