/*****************************************************************************
 * Copyright (C) Gemalto M2M GmbH
 *****************************************************************************
 * Project: IMC-RIL-Driver
 *****************************************************************************
 * Author : Wireless Modules RD SW A2
 *****************************************************************************
 * $Workfile: Y:/z_ms-d/src/working/Quinn/RilDrv/ConfigRadio.h $
 * $Revision: /main/ms-d/6 $
 *     $Date: 2013-09-13 09:27:01 $
 *   $Author: pmackent $
 *****************************************************************************
 * Target:
 *  Microsoft Windows Mobile 5.0
 *****************************************************************************
 * Description:
 *  Gemalto IMC RIL
 *****************************************************************************
 *
 * $Log: Y:/z_ms-d/src/working/Quinn/RilDrv/ConfigRadio.h$ 
 * 
 * /main/ms-d/6   2013-09-13 09:27:01   pmackent 
 * Cell Broadcast for CDMA (IPIS100091379)
 *
 * /main/ms-d/5   2013-02-27 15:18:15   pmackent
 * Introduce provider spezific PRL update
 *
 * /main/ms-d/4   2012-12-07 11:36:00   pmackent
 * Check module type of firmware file (IPIS100083958)
 *
 * /main/ms-d/3   2012-02-03 14:01:06   ctna0256
 * Phonebook and SIM access now in separate files
 *
 * /main/ms-d/2   2011-03-01 11:15:07   ctna0256
 * Introduce define for EF_CSP to improve source code readability
 *
 * /main/ms-d/1   2010-11-26 10:13:10   ctna0256
 * Moved radio configuration from misc.cpp to new file
 *
 *
*/

//////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2010 Gemalto M2M GmbH
//
// Version: 1.0
// Date:    dummy
//
//////////////////////////////////////////////////////////////////////////////

// SIM file EF_CSP contains infomation about how to display the manual
// network selection dialog.
#define SIM_EF_CSP          0x6F15

// Size of AT response to be expected during module initialization. Categories:
// Default: normal commands like AT^SCFG
// Enhanced: commands which might have larger output
// Binary: for AT^SBNW, which might echo a file content
#define MAX_DEFAULT_INIT_AT_RESPONSE   64
#define MAX_ENHANCED_INIT_AT_RESPONSE   256
#define MAX_BINARY_INIT_AT_RESPONSE   4096

struct SUPPORTED_MODEM {
    const char *szModem;    // Product name of the modem (HC25,HC28,PH8)
    MODEMTYPE dwType;       // RIL constant with modem type
};

extern DWORD g_dwEnableGPRSAttach;
extern DWORD g_dwEnableGPRSReAttach;

DWORD GetDllVersionInfo(LPTSTR szDllName, LPTSTR szPrivateBuild, DWORD dwPBLen);
void  TraceDriverInfo(void);
DWORD GetUsbVersion(void);
DWORD GetMuxVersion(void);
MODEMTYPE GetModemTypeFromResponse(const char *pszATResponse, UINT uiBufLen, char *pszModuleType, UINT nModuleTypeBufLen);
LONG MyRegCreateKeyEx(HKEY hKey, LPCWSTR lpSubKey, DWORD Reserved, LPWSTR lpClass, DWORD dwOptions, REGSAM samDesired, LPSECURITY_ATTRIBUTES lpSecurityAttributes, PHKEY phkResult, LPDWORD lpdwDisposition);

