Repository for CDMS code

Dependencies:   SimpleDMA mbed-rtos mbed eeprom

Fork of COM_MNG_TMTC_SIMPLE by Shreesha S

Files at this revision

API Documentation at this revision

Comitter:
ee12b079
Date:
Sun Jan 03 12:01:42 2016 +0000
Parent:
27:f408ea06fcab
Child:
29:f4c59f7285a2
Commit message:
data partially matching for stand alone code as well

Changed in this revision

COM_POWER_ON_TX.h Show annotated file Show diff for this revision Revisions of this file
adf.h Show annotated file Show diff for this revision Revisions of this file
--- a/COM_POWER_ON_TX.h	Sun Jan 03 10:14:42 2016 +0000
+++ b/COM_POWER_ON_TX.h	Sun Jan 03 12:01:42 2016 +0000
@@ -71,6 +71,7 @@
         }\
         get_tc_list(power_on_tm->next_TM, 0x00);\
         power_on_tm = power_on_tm_head;\
+        gPC.printf("\n");\
         while(power_on_tm != NULL){\
             int length = TM_SHORT_SIZE;\
             if( GETshort_or_long_tm(power_on_tm->fields) == SHORT_TM_CODE ){\
@@ -80,10 +81,11 @@
                 length = TM_LONG_SIZE;\
             }\
             for(int i = 0 ; i < length ; ++i){\
-                gPC.putc(power_on_tm->TM_string[i]);\
+                gPC.printf("0x%X,",power_on_tm->TM_string[i]);\
             }\
             power_on_tm = power_on_tm->next_TM;\
         }\
+        gPC.printf("\n");\
         snd_tm.head_pointer(power_on_tm_head);\
         adf_not_SDcard;\
         /*PENDING: TRANSMIT ABOVE TM*/\
--- a/adf.h	Sun Jan 03 10:14:42 2016 +0000
+++ b/adf.h	Sun Jan 03 12:01:42 2016 +0000
@@ -401,6 +401,7 @@
         spi.write(0x20);\
         for(unsigned char i=0; i<112;i++){\
             spi.write(buffer_112[i]);\
+            /*gPC.printf("0x%X,",spi.write(buffer_112[i]));*/\
         }\
     }\
     else{\
@@ -408,6 +409,7 @@
         spi.write(0x90);\
         for(unsigned char i=0; i<112;i++){\
             spi.write(buffer_112[i]);\
+            /*gPC.printf("0x%X,",spi.write(buffer_112[i]));*/\
         }\
     }\
     gCS_ADF=1;\