remotemgmt_plat/scp_server_api/inc/SCPServerInterface.h
branchRCL_3
changeset 61 b183ec05bd8c
parent 19 86979fe66c4c
child 62 19bba8228ff0
equal deleted inserted replaced
59:13d7c31c74e0 61:b183ec05bd8c
    47 	ESCPServQueryAdminCmd = 20,
    47 	ESCPServQueryAdminCmd = 20,
    48 	ESCPServGetParam = 30,
    48 	ESCPServGetParam = 30,
    49 	ESCPServAuthenticateS60 = 40,
    49 	ESCPServAuthenticateS60 = 40,
    50 	ESCPServChangeEnhCode,
    50 	ESCPServChangeEnhCode,
    51 	ESCPServCodeChangeQuery,
    51 	ESCPServCodeChangeQuery,
       
    52 	ESCPServValidateLockcode,
    52 	ESCPServCheckConfig = 50,
    53 	ESCPServCheckConfig = 50,
    53 	ESCPApplicationUninstalled = 60,
    54 	ESCPApplicationUninstalled = 60,
    54 	ESCPServUISetAutoLock = 70
    55 	ESCPServUISetAutoLock = 70
    55 	};
    56 	};
    56 
    57 
    66     {
    67     {
    67     ESCPAutolockPeriod,
    68     ESCPAutolockPeriod,
    68     ESCPMaxAutolockPeriod,
    69     ESCPMaxAutolockPeriod,
    69     ESCPCodeChangePolicy
    70     ESCPCodeChangePolicy
    70     };
    71     };
       
    72 
       
    73 enum TDevicelockPolicies {
       
    74     //Autolock timeout. Values in minutes
       
    75     EDeviceLockAutolockperiod = 0,
       
    76     // Maximum autolock timeout value, Values in minutes
       
    77     EDeviceLockMaxAutolockPeriod,
       
    78     //specifies the minimum lock code length
       
    79     EDeviceLockMinlength,
       
    80     //Allowed maxim lock code length
       
    81     EDeviceLockMaxlength,
       
    82     // 0 = No restriction,
       
    83     //1 = Both upper and lower case letters are required in the password
       
    84     EDeviceLockRequireUpperAndLower,
       
    85     // 0 = No restriction,
       
    86     // 1 = Both characters and numbers are required in the password
       
    87     EDeviceLockRequireCharsAndNumbers,
       
    88     // 0 = No restriction,
       
    89     // 1-4 = A single character cannot be used more than X times in the password
       
    90     EDeviceLockAllowedMaxRepeatedChars,
       
    91     // 0 = No restriction,
       
    92     // 1-X = The new password cannot match the previous X passwords
       
    93     EDeviceLockHistoryBuffer,
       
    94     // 0 = No restriction,
       
    95     // 1-365 = The password expires after X days and must be changed by the user
       
    96     // -1 = password expires immediately
       
    97     EDeviceLockPasscodeExpiration,
       
    98     // The user can change the password only X times before EPasscodeMinChangeInterval //hours have passed (default 0).
       
    99     EDeviceLockMinChangeTolerance,
       
   100     // 0 = No restriction,
       
   101     // 1-1000 = The user cannot change the password more than EPasscodeMinChangeTolerance // times before X hours have passed since the previous change
       
   102     EDeviceLockMinChangeInterval,
       
   103     // disallow the specific string or strings given.
       
   104     EDeviceLockDisallowSpecificStrings,
       
   105     // 0 = No restriction,
       
   106     // 3-100 = The device is "hard" reset after the user has consecutively failed X times // to answer the password query
       
   107     EDeviceLockAllowedMaxAtempts,
       
   108     // 0 = No restriction, 1 = The password cannot contain two consecutive numbers.
       
   109     EDeviceLockConsecutiveNumbers,
       
   110     // 0 = No restriction,
       
   111     // 1-255 = The password should contain at least X number of special characters.
       
   112     EDeviceLockMinSpecialCharacters,
       
   113     // 0 = No restriction,
       
   114     // 1 = Single character repeat not allowed (ex: 222222, aaaaaa etc) are not allowed
       
   115     EDeviceLockSingleCharRepeatNotAllowed,
       
   116     // 0 = No restriction,
       
   117     // 1 = lock code shouldn’t consist of consecutive characters (ex: 12345, abcde etc) are notallowed
       
   118     EDevicelockConsecutiveCharsNotAllowed,
       
   119 
       
   120     EDevicelockTotalPolicies
       
   121 };
    71 
   122 
    72 // The version number of this client-server package
   123 // The version number of this client-server package
    73 const TUint KSCPServMajorVersionNumber=0;
   124 const TUint KSCPServMajorVersionNumber=0;
    74 const TUint KSCPServMinorVersionNumber=9;
   125 const TUint KSCPServMinorVersionNumber=9;
    75 const TUint KSCPServBuildVersionNumber=0;
   126 const TUint KSCPServBuildVersionNumber=0;