cbsref/telephonyrefplugins/atltsy/atcommand/generic/inc/atcommandtype.h
branchRCL_3
changeset 65 630d2f34d719
equal deleted inserted replaced
61:17af172ffa5f 65:630d2f34d719
       
     1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // @file atcommandtype.h
       
    15 // 
       
    16 
       
    17 #ifndef ATCOMMANDTYPE_H_
       
    18 #define ATCOMMANDTYPE_H_
       
    19 
       
    20 //Identifer at command class
       
    21 
       
    22 const TInt KLtsyGeneralAtCommandTypeUnitId = 0;
       
    23 const TInt KLtsyCallControlAtCommandTypeUnitId = 200;
       
    24 const TInt KLtsyPhoneAtCommandTypeUnitId = 400;
       
    25 const TInt KLtsySecurityAtCommandTypeUnitId = 600;
       
    26 const TInt KLtsyCellBroadcastAtCommandTypeUnitId = 800;
       
    27 const TInt KLtsyPhonebookOnTypeUnitId = 1000;
       
    28 const TInt KLtsyPhonebookTypeUnitId = 1200;
       
    29 const TInt KLtsySimTypeUnitId = 1400;
       
    30 const TInt KLtsySmsTypeUnitId = 1600;
       
    31 const TInt KLtsyCallControlMultipartyTypeUnitId = 1800;
       
    32 const TInt KLtsySupplementaryServicesTypeUnitId = 2000;
       
    33 const TInt KLtsyPacketServicesTypeUnitId = 2200;
       
    34 const TInt KLtsySatTypeUnitId = 2400;
       
    35 
       
    36 enum TLtsyATCommandType
       
    37 	{
       
    38 	/*Not Use*/
       
    39 	ELtsyAt_User_NotUse = -1,
       
    40 	/*General*/
       
    41 	ELtsyAT_General_AT = KLtsyGeneralAtCommandTypeUnitId + 1,	//AT
       
    42 	ELtsyAT_General_WIND = KLtsyGeneralAtCommandTypeUnitId + 2,	//+WIND (Unsolicited command)
       
    43 	ELtsyAT_General_CLCC = KLtsyGeneralAtCommandTypeUnitId + 3, //AT+CLCC (list current call information)
       
    44 	
       
    45 	/*Call Control*/
       
    46 	ELtsyAT_Call_ATD = KLtsyCallControlAtCommandTypeUnitId + 1,		//ATD
       
    47 	ELtsyAT_Call_ATH = KLtsyCallControlAtCommandTypeUnitId + 2,     //ATH
       
    48 	ELtsyAT_Call_RING = KLtsyCallControlAtCommandTypeUnitId + 3,    //RING or +CRING : *
       
    49 	ELtsyAT_Call_CHLD = KLtsyCallControlAtCommandTypeUnitId + 4,    //CHLD(for use release/hold/resume/swap a call)
       
    50 	
       
    51 	/*Phone*/
       
    52 	ELtsyAT_Phone_ModemStatus      = KLtsyPhoneAtCommandTypeUnitId + 1,
       
    53 	ELtsyAT_Phone_NwkRegStatus     = KLtsyPhoneAtCommandTypeUnitId + 2,
       
    54 	ELtsyAT_Phone_SimCardStatus    = KLtsyPhoneAtCommandTypeUnitId + 3,
       
    55 	ELtsyAT_Phone_NwkInfo          = KLtsyPhoneAtCommandTypeUnitId + 4,
       
    56 	ELtsyAT_Phone_GetSignal        = KLtsyPhoneAtCommandTypeUnitId + 5,
       
    57 	ELtsyAT_Phone_GetBattery       = KLtsyPhoneAtCommandTypeUnitId + 6,
       
    58 	ELtsyAT_Phone_SMSSetting1      = KLtsyPhoneAtCommandTypeUnitId + 7,
       
    59 	ELtsyAT_Phone_SMSSetting2      = KLtsyPhoneAtCommandTypeUnitId + 8,
       
    60 	ELtsyAT_Phone_RegistNwk        = KLtsyPhoneAtCommandTypeUnitId + 9,
       
    61 	ELtsyAT_Phone_GPRSRegNwk       = KLtsyPhoneAtCommandTypeUnitId + 10,
       
    62 	ELtsyAT_Phone_SetWind          = KLtsyPhoneAtCommandTypeUnitId + 11,
       
    63 	ELtsyAT_Phone_GetImei          = KLtsyPhoneAtCommandTypeUnitId + 12,
       
    64 	ELtsyAT_Phone_GetManufacturer  = KLtsyPhoneAtCommandTypeUnitId + 13,
       
    65 	ELtsyAT_Phone_GetModel         = KLtsyPhoneAtCommandTypeUnitId + 14,
       
    66 	ELtsyAT_Phone_GetRevision      = KLtsyPhoneAtCommandTypeUnitId + 15,
       
    67 	ELtsyAT_Phone_SetOperFormat    = KLtsyPhoneAtCommandTypeUnitId + 16,
       
    68 	ELtsyAT_Phone_CheckFdnSupport  = KLtsyPhoneAtCommandTypeUnitId + 17,
       
    69 	ELtsyAT_Phone_GetFdnStatus     = KLtsyPhoneAtCommandTypeUnitId + 18,
       
    70 	ELtsyAT_Phone_SetTDRSingal     = KLtsyPhoneAtCommandTypeUnitId + 19,
       
    71 	/*Security*/
       
    72 	
       
    73 	/*Cell Broad Cast*/
       
    74 	
       
    75 	/*Phone book On*/
       
    76 	
       
    77 	/*Phone book*/
       
    78 	
       
    79 	ELtsyAT_Phonebook_SmsStoreGetInfo=KLtsyPhonebookTypeUnitId  + 1,
       
    80 	/*Sim*/
       
    81 	
       
    82 	/*Sms*/
       
    83 	ELtsyAT_Sms_GetMessageStoreInfo = KLtsySmsTypeUnitId + 1,
       
    84 	
       
    85 	ELtsyAT_Sms_ReceiveMessage = KLtsySmsTypeUnitId+2,
       
    86 	/*Call Control Multiparty*/
       
    87 	
       
    88 	/*Supplementary Services*/
       
    89 	
       
    90 	/*PacketServices*/
       
    91 	ELtsyAT_Packet_ActivateContext          = KLtsyPacketServicesTypeUnitId + 1,
       
    92 	ELtsyAT_Packet_GetContextAddr           = KLtsyPacketServicesTypeUnitId + 2,
       
    93 	ELtsyAT_Packet_SwitchOnlineMode         = KLtsyPacketServicesTypeUnitId + 3,
       
    94 	ELtsyAT_Packet_HangUp                   = KLtsyPacketServicesTypeUnitId + 4,
       
    95 	ELtsyAT_Packet_DeactivateContext        = KLtsyPacketServicesTypeUnitId + 5,
       
    96 	ELtsyAT_Packet_ConnectContext           = KLtsyPacketServicesTypeUnitId + 6,
       
    97 	ELtsyAT_Packet_DeleteContext1           = KLtsyPacketServicesTypeUnitId + 7,
       
    98 	ELtsyAT_Packet_DeleteContext2           = KLtsyPacketServicesTypeUnitId + 8,
       
    99 	ELtsyAT_Packet_DeleteContext3           = KLtsyPacketServicesTypeUnitId + 9,
       
   100 	ELtsyAT_Packet_DeleteContext4           = KLtsyPacketServicesTypeUnitId + 10
       
   101 	/*Sat*/
       
   102 	};
       
   103 
       
   104 #endif /*ATCOMMANDTYPE_H_*/