/*****************************************************************************
 * Copyright (C) Cinterion Wireless Modules GmbH
 *****************************************************************************
 * Project: CE-MUX-Driver
 *****************************************************************************
 * Author : Siemens AG Berlin COM WM RD SW1
 *****************************************************************************
 * $Workfile: O:/mwohler_z_ms-d/z_ms-d/src/working/Classic/MuxDrv/MuxVersion.h $
 * $Revision: /main/ms-d/36 $
 * $Date: 2014-03-14 11:53:46 $
 * $Author: mwohler $
 *****************************************************************************
 * Target:
 *  Microsoft Windows CE 4.2 or 5.0
 *****************************************************************************
 * Description:
 *  Cinterion Multiplex Driver MUX version management
 *****************************************************************************
 *
 * $Log: O:/mwohler_z_ms-d/z_ms-d/src/working/Classic/MuxDrv/MuxVersion.h$
 *
 * /main/ms-d/36   2014-03-14 11:53:46   mwohler
 * Use latest version of mux protocol implementation based on development for Miami client driver
 *
 * /main/ms-d/35   2014-02-05 13:44:36   pmackent
 * Correction: CEMux 1.9.0.0 is the current version number
 *
 * /main/ms-d/34   2014-02-05 13:40:13   pmackent
 * CEMux 1.10.0.0
 *
 * /main/ms-d/33   2013-10-24 13:35:58   pmackent
 * Introduce Windows Embedded Compact 2013
 *
 * /main/ms-d/32   2012-10-08 11:56:08   mwohler
 * Fixed problem in response to mux test frame
 *
 * /main/ms-d/31   2011-08-29 15:24:16   ctna0256
 * Added missing include
 *
 * /main/ms-d/30   2011-08-29 14:19:56   ctna0450
 * Added OS-Build number to mux dll version trace
 *
 * /main/ms-d/29   2011-05-16 10:37:58   ctna0450
 * Increased version number for delay after AT+CMUX=0
 *
 * /main/ms-d/28   2011-01-05 15:05:28   ctna0219
 * special COMMTIMEOUTS settigns for SendATCmd()
 *
 * /main/ms-d/27   2010-12-09 10:13:09   ctna0450
 * Adapted version to new versioning scheme
 *
 * /main/ms-d/26   2010-10-18 11:39:33   ctna0256
 * Set AT timeout to 3 seconds for all AT commands (timeout problems on MC75i)
 *
 * /main/ms-d/25   2010-08-09 15:28:50   ctna0450
 * Save some memory in mux protocol handling
 *
 * /main/ms-d/24   2009-06-18 14:46:58   ctna0256
 * CEMux 1320: new with RIL 1160
 *
 * /main/ms-d/23   2009-02-18 11:58:17   ctna0256
 * Set copyright text
 *
 * /main/ms-d/22   2009-01-13 16:52:05   ctna0450
 * Increased mux version due to latest modifications
 *
 * /main/ms-d/21   2008-11-21 10:44:39   ctna0450
 * Switch to 32 bit buffer handling to allow any mux frame size.
 * Increase max. mux frame size from 244 bytes to 16 kilo bytes.
 *
 * /main/ms-d/20   2008-10-17 12:04:38   ctna0450
 * Fixed problem with ATC parsing in case of enabled cmd echo.
 * Added debug zone for IOCTLs.
 *
 * /main/ms-d/19   2008-08-25 14:20:22   ctna0219
 * Version 1.2.8.0
 *
 * /main/ms-d/18   2008-08-20 11:38:41   ctna0450
 * Prepared for new disclaimer handling
 *
 * /main/ms-d/17   2008-05-08 13:35:24   kr36712
 * error: base port reservation in ThreadCheckSendQueue()
 *
 * /main/ms-d/16   2008-03-03 14:35:41   kr36712
 * IPIS100045708
 * IPIS100045710
 *
 * /main/ms-d/15   2008-01-23 11:35:53   kr36712
 * CBasePort::EnableAllMuxChannels()
 * If there is an error with the CSCS command, then the function is to be
 * terminated not with an error.
 *
 * /main/ms-d/14   2008-01-16 15:09:47   ht37010
 * added bugfix for critical suspend
 *
 * /main/ms-d/13   2007-10-19 14:53:37   ht37010
 * V1.2.3.0
 * - added CE 6 support (new buffer management)
 * - bugfix: set default values if SetupComm() fails
 * - bugfix: MUX V4 and TX buffer size < 64 Byte
 *
 * /main/ms-d/12   2007-06-11 17:53:21   kr36712
 * correction:
 * ParseEscape()
 * Dlci_EmptyQueues() for protocol version 4
 * AddWaitEvent()
 *
 * /main/ms-d/11   2007-06-07 17:53:12   kr36712
 * changes for DlciOpen():
 * pepetition of the DlciOpen(), if the answer is lost from the module on
 * the serial interface.
 *
 * /main/ms-d/10   2007-05-29 13:31:50   mp49210
 * CEMux 1.2.0.0: Support of Reopen for Power-Management via USB
 *
 * /main/ms-d/9   2007-05-08 16:47:13   kr36712
 * IPIS100034485
 * reopen implemented for suspend/resume over usb-driver
 *
 * /main/ms-d/8   2006-09-18 11:20:30   wm36264
 * Added debug zone for mux framing errors
 *
 * /main/ms-d/7   2006-08-24 17:04:20   wm36264
 * Use version 1.1.0.0 instead of 1.0.0.2 due to the major feature lift
 *
 * /main/ms-d/6   2006-06-23 13:35:13   wm36264
 * Increased version number for next release
 *
 * /main/ms-d/5   2006-01-17 13:30:59   wm36264
 * Increased version number due to last modifications
 *
 * /main/ms-d/4   2005-11-29 13:16:57   wm36264
 * Set version to 1.0.0.0 for 1st official release
 *
 * /main/ms-d/3   2005-10-24 14:23:59   WM36264
 * Added file descriptions
 *
 * /main/ms-d/2   2005-10-20 13:14:27   WM36264
 * Added proper copyright header
 *
 * /main/ms-d/1   2005-10-07 16:30:12   wm36264
 * First version of Windows CE Muxer
 *
*/

//////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2008 Cinterion Wireless Modules GmbH
// Copyright (C) 2005-2008 Siemens AG
//
// Version: 1.0
// Date:    dummy
//
//////////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////////////
//
// MuxVersion.h
//
// This file contains the Multiplex Driver's version definition.
//
//////////////////////////////////////////////////////////////////////////////

#pragma once

#include <bldver.h>

//////////////////////////////////////////////////////////////////////////////

#define MUX_VERSION_1            4
#define MUX_VERSION_2            0
#define MUX_VERSION_3            0
#define MUX_VERSION_4            0

//////////////////////////////////////////////////////////////////////////////

#define MUX_VERSION              MUX_VERSION_1,MUX_VERSION_2,MUX_VERSION_3,MUX_VERSION_4

#define MUX_VERSION_STRING       _TO_STRING_(MUX_VERSION_1) "." \
                                 _TO_STRING_(MUX_VERSION_2) "." \
                                 _TO_STRING_(MUX_VERSION_3) "." \
                                 _TO_STRING_(MUX_VERSION_4) "\0"

#define MUX_VERSION_NUM          ((MUX_VERSION_1 << 24) | (MUX_VERSION_2 << 16) | (MUX_VERSION_3 << 8) | MUX_VERSION_4)

#define MUX_BUILD_STRING         "OS Build " _TO_STRING_(CE_BUILD_VER) "\0"

// Tricky string creation macro
#define _TO_STRING_(x)           __TO_STRING__(x)
#define __TO_STRING__(x)         #x
