pl ack in tmtc

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of COM_MNG_TMTC_SIMPLE_pl123 by shubham c

Revision:
84:b0f7a241ddf3
Parent:
69:20f09a0c3fd2
Child:
86:a26f5f22631d
--- a/COM_SND_TM.h	Tue Jan 19 10:51:02 2016 +0000
+++ b/COM_SND_TM.h	Wed Jan 20 14:55:47 2016 +0000
@@ -1,5 +1,35 @@
 //void adf_not_SDcard();
  
+//~ #include"SDcard.h"
+#define T_frames 30
+unsigned char buffer_112_counter,sent_tm = 0;
+int disk_read(uint8_t *, uint64_t),j;
+bool new_session = true;
+bool last_buffer = false;
+bool first_block = true;
+bool last_block =false;
+bool repeat_T_frame = false;
+unsigned int counter_in_block=0,diff_prev=0;
+unsigned char  EOS_counter = 0;
+unsigned char enable_T_frame = false;
+uint64_t  start_block_num ;           // Read from TC
+uint64_t  end_block_num ;            // Read from TC
+uint64_t  Number_of_blocks_to_read ;
+uint64_t  block_counter = 0;
+unsigned char buffer_512[512], buffer_112[112],counter_in_S_frame=0,counter_in_SCH=0;
+unsigned char make_EOS_flag = true;
+bool reset = false; 
+ 
+ 
+ 
+ 
+ 
+ 
+ 
+ 
+ 
+ 
+ 
 #define S_FRAME_SIZE 48
 #define ISR 40
 #define TM_FRAME_SIZE 134           //in bytes
@@ -19,6 +49,8 @@
     }\
 }
  
+void send_tm_from_SD_card(){} 
+ 
 class SND_TM{
  
     Base_tm * head_ptr;