diff -r b0aebde9b1fb -r 9e2a905b887f cbsatplugin/atmisccmdplugin/inc/atmisccmdpluginconsts.h --- a/cbsatplugin/atmisccmdplugin/inc/atmisccmdpluginconsts.h Mon Jul 12 19:25:26 2010 +0300 +++ b/cbsatplugin/atmisccmdplugin/inc/atmisccmdpluginconsts.h Fri Jul 23 15:57:13 2010 +0300 @@ -26,12 +26,15 @@ _LIT8(KAtCBC, "+CBC: "); _LIT8(KAtCUSD, "+CUSD: "); _LIT8(KAtCMGW, "+CMGW: "); - +_LIT8(KSCPBR, "\r\n^SCPBR: "); _LIT8(KCLCKSupportedCmdsList, "\r\n+CLCK: (\"PS\",\"SC\",\"AO\",\"OI\",\"OX\",\"AI\",\"IR\",\"AB\",\"AG\",\"AC\")\r\n\r\nOK\r\n"); _LIT8(KCFUNSupportedCmdsList, "\r\n+CFUN: (0,1,4),(0,1)\r\n\r\nOK\r\n"); _LIT8(KCBCSupportedCmdsList, "\r\n+CBC: (0,1,2,3),(1...100)\r\n\r\nOK\r\n"); _LIT8(KCUSDSupportedCmdsList, "+CUSD: (0,1)\r\n\r\nOK\r\n"); _LIT8(KCMGDSupportedCmdsList, "\r\n+CMGD: (%S), (0,1,2,3,4)\r\n"); +_LIT8(KSCPBRSupportedEntriesIndexList,"\r\n^SCPBR:(1-%d),%d,%d,%d \r\n"); +_LIT8(KSCPBRReplyOneEntry,"%d,\"%S\",,\"%S\",,\"%S\",,\"%S\",,\"%S\",,\"%S\""); +_LIT8(KSCPBWSupportedCmdsList, "\r\n^SCPBW: (1-%d),%d,(),%d,%d\r\n"); _LIT8(KATCLCKPS, "PS"); _LIT8(KATCLCKSC, "SC"); @@ -51,5 +54,12 @@ // Max buffer length for an MD5 digest - originally defined in SCPServerInterface.h const TInt KSCPMaxHashLength( 32 ); +const TInt KSCPBRDefaultSizeOfOneEntry( 320 ); +const TInt KSCPBRMaxNameLength( 64 ); +const TInt KSCPBRMaxNumberLength( 32 ); +const TInt KSCPBRMaxEmailLength( 64 ); +const TInt KSCPBRMaxNumberCount( 4 ); +const TInt KSCPBRMaxEntryCount( 1000 ); +const TInt KBufBlockSize (1024); #endif // ATMISCCMDPLUGINCONSTS_H