#ifndef __VERSION_H
#define __VERSION_H 


//****************************************************
// ***  VERZE FIRMWARE ****
//****************************************************
#define FW_VERSION_HI 		1	
#define FW_VERSION_LOW		17


// ***************************
// DEFINICE ZDROJ POW 
// ***************************
#ifdef CORE_POW

	#define HW_SPEC_HI 			TYPE_IDENTIFICATOR_GL_POW

 	#define HW_SPEC_LOW			0x01			// varianta POW12-3
 	//#define HW_SPEC_LOW			0x02		// varianta POW12-5
	//#define HW_SPEC_LOW			0x80		// varianta POW24



// textovy identifikator 	
  #ifdef POW_12_3
   #define MANUF_STRING			"POW12-3"			// max.16 Bajtu
  #endif

  #ifdef POW_24_1_5
   #define MANUF_STRING			"POW24-1.5"			// max.16 Bajtu
  #endif
  

#endif




// ***************************
// DEFINICE EMMARIN CTECKA   
// ***************************
#ifdef READER_EMMARIN
  // verze FW
  #define HW_SPEC_HI 			TYPE_IDENTIFICATOR_GL_EDK4
  #define HW_SPEC_LOW			0x00

  // textovy identifikator 	
  #ifdef INTERFACE_RS
    #define MANUF_STRING		"EDK4-RS EMMARIN"		// max.16 Bajtu
  #endif

  // textovy identifikator 	
  #ifdef INTERFACE_RSN
    #define MANUF_STRING		"EDK4-RSN EMMARIN"		// max.16 Bajtu
  #endif
  

  // textovy identifikator 	
  #ifdef INTERFACE_EDK	
    #define MANUF_STRING		"EDK4-EDK EMMARIN"		
  #endif
#endif


// ***************************
// DEFINICE MIFARE CTECKA
// ***************************
#ifdef READER_MIFARE
  // verze FW
  #define HW_SPEC_HI 			TYPE_IDENTIFICATOR_GL_EDK4
  #define HW_SPEC_LOW			0x01

  // textovy identifikator 	
  #ifdef INTERFACE_RS
    #define MANUF_STRING		"EDK4-RS MIFARE"		// max.16 Bajtu
  #endif

  // textovy identifikator 	
  #ifdef INTERFACE_RSN
    #define MANUF_STRING		"EDK4-RSN MIFARE"		// max.16 Bajtu
  #endif
  
  // textovy identifikator 	
  #ifdef INTERFACE_EDK	
    #define MANUF_STRING		"EDK4-EDK MIFARE"		
  #endif
#endif



// ***************************
// DEFINICE DALLAS CTECKA   
// ***************************
#ifdef READER_DALLAS
  // verze FW
  #define HW_SPEC_HI 			TYPE_IDENTIFICATOR_GL_EDK4
  #define HW_SPEC_LOW			0x02

  // textovy identifikator 	
  #ifdef INTERFACE_RS
    #define MANUF_STRING		"EDK4-RS DALLAS"		// max.16 Bajtu
  #endif
#endif




// ***************************
// DEFINICE GR-EXT8
// ***************************
#ifdef GR_EXT8
  // verze FW
  #define HW_SPEC_HI 			TYPE_IDENTIFICATOR_GL_EXT8
  #define HW_SPEC_LOW			0x01
  #define MANUF_STRING			"GR-ETX8"		// max.16 Bajtu
#endif  
  
  
  
  

// *** BOOTLOADER ID ******************
#define BOOTVER_ID				0x00			
#define MANUF_ID				'E'
#define MASTER_ID				0x01




#endif

