SERIAL INTERFACE DEVELOPERS GUIDE 
/* Calibration and Defect Communication Status Enumerations */ 
enum 
{ 
  HOST_READY = 0xFFFF, 
  BEGIN_PROCESS = 0, 
 CAL_PLACE_COLD_REF, 
 CAL_COLD_REF_IN_PLACE, 
 CAL_PLACE_HOT_REF, 
 CAL_HOT_REF_IN_PLACE, 
 CAL_DELTA_TOO_SMALL, 
 CAL_COMPLETED, 
 CAL_CALC_COEFFICIENTS, 
 DEFECT_TOO_MANY, 
 DEFECT_ERASE_FLASH, 
 DEFECT_ERASE_ACK, 
 DEFECT_COMPLETED, 
 UNIFORMITY_TEST_IN_PROGRESS, 
 NUC_FLASH_PROGRAMMED, 
 HOST_UNDEFINED 
}; 
7.1 One Point Refresh Calibration (Internal Flag): (A) TSend TCMD_ONE_PT_REFRESHT command with argument for using internal calibration flag. 
(B) TEmbedded application will set the Tstatus code to BEGIN_PROCESS, and then begin execution of 
the calibration.T 
(C) Host may monitor (periodically read) the status code data member until it is set by the embedded 
application to CAL_COMPLETED. 
(D) Calibration is complete 
7.2 One Point Refresh Calibration (External Flag): (A) Send CMD_ONE_PT_REFRESH command with argument for using external calibration flag. 
(B) Embedded application will set the status code to BEGIN_PROCESS, and then begin execution of 
the calibration. 
(C) Host will monitor (periodically read) the status code data member until it is set by the embedded 
application to CAL_PLACE_COLD_REF. 
(D) Host/User automatically or manually places the cold reference in the sensor field of view. 
(E) Host application sets the status code to CAL_COLD_REF_IN_PLACE. 
(F)  Host will monitor the status code data member until it is set by the embedded application to 
CAL_CALC_COEFFICIENTS or CAL_COMPLETED. 
(G) The host/user may now remove the cold reference if desired. 
(H) Calibration is complete 
7.3 One Point Update Calibration (Internal Flag): (A) Send CMD_ONE_PT_UPDATE command with argument for using internal calibration flag. 
(B) Embedded application will set the status code to BEGIN_PROCESS, and then begin execution of 
the calibration. 
(C) Host will monitor (periodically read) the status code data member until it is set by the embedded 
application to CAL_COMPLETED. 
(D) Read the “CameraConfig.camStats.HostData” member to retrieve number of defects if desired. 
39