Code clean up - modify Datatypes

Dependencies:   SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217

Fork of merged_code2_3rd_nov_2017_15th_dec_2017_magicno_removal by nikita teggi

Revision:
39:69b09bd87502
Parent:
34:8f6b0dc124e8
Child:
40:f7f351699288
--- a/glc.cpp	Wed Aug 02 06:58:57 2017 +0000
+++ b/glc.cpp	Fri Aug 11 12:19:25 2017 +0000
@@ -338,7 +338,7 @@
     
     
     // Loading values of Length ,  PID, DID, sampling frequency, number of samples, calculated data.
-    BLEMsg_info_glc.device_id = 01;                   // Device ID fixed
+    BLEMsg_info_glc.device_id = eprom_read_8(12);                   // Device ID fixed  // change on 11/8/17 nikita
     BLEMsg_info_glc.patient_id = (uint16_t)pid;      // Patient ID
     BLEMsg_info_glc.sampling_freq = 0;              // sampling frrquency
     BLEMsg_info_glc.length = 30;                   //Total length of data in bytes  22 B+10752 B
@@ -406,6 +406,8 @@
                                         //wait for insertion of blood;
                                     }
                             }
+                             if(test_strip)     // added on 11/8/17 nikita
+                               glc_error_test_strip_removed();   
                         wait_ms(800);          
                     }
                     
@@ -436,6 +438,7 @@
     {  
          gtc.printf("replace teststip"); 
          glc_error(); //disaply for showing error//10/7/17//nikita
+         delete_subfiles(pid); // added on 11/8/17 nikita
     }