pl ack in tmtc

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of COM_MNG_TMTC_SIMPLE_pl123 by shubham c

Revision:
95:42d6747900cb
Parent:
94:611c066467a1
Child:
96:4ca92f9775e0
--- a/COM_MNG_TMTC.h	Sun Jan 24 13:30:11 2016 +0000
+++ b/COM_MNG_TMTC.h	Mon Jan 25 06:22:29 2016 +0000
@@ -1230,7 +1230,7 @@
                             }\
                             /*Sending OBOSC TM to GS*/\
                             /*snd_tm.head_pointer(obosc_tm_head);*/\
-                            /*adf_not_SDcard();*/\
+                            /*transmit_adf;*/\
                             /*DELETE THE TM AFTER USE*/\
                             obosc_tm_current = obosc_tm_head;\
                             int overCount = 0;\
@@ -1304,7 +1304,7 @@
                         }\ 
                         /*Send only call sign, ACK_L1 to GS*/\
                         /*snd_tm.head_pointer(tm_ptr_head);*/\
-                        /*adf_not_SDcard;*/\
+                        /*transmit_adf;*/\
                         /*DELETE THE TM AFTER USE*/\
                         tm_ptr = tm_ptr_head;\
                         int overflowCountExecute = 0;\
@@ -1438,8 +1438,8 @@
                                 tm_ptr = tm_ptr->next_TM;\
                             }\
                             /*SEND call sign, ACK_L1, NON OBSRS TM TO GS*/\
-                            /*snd_tm.head_pointer(tm_ptr_head);*/\
-                            /*adf_not_SDcard;*/\ 
+                            snd_tm.head_pointer(tm_ptr_head);\
+                            transmit_adf;\ 
                             /*DELETE THE TM AFTER USE*/\
                             tm_ptr = tm_ptr_head;\
                             overflowCountExecute = 0;\
@@ -1465,7 +1465,7 @@
                             /*execute_obsrs(current_TC, put_tm_here)*/\
                             /*read_TC(current_TC);*/\
                             execute_OBSRS_TC(current_TC);\
-                            adf_SND_SDCard();\
+                            transmit_adf;\
                             uint8_t tempExec = TC_STATE_SUCCESSFULLY_EXECUTED;\
                             PUTexec_status(current_TC, tempExec);\
                             /*PENDING: ABORT ON NACK CHECK, gMASTER_STATE VERIFICATION WITH SD CARD, session timeout, last executed ack l234*/\