fotaapplication/fotaserver/src/fotaSrvSession.cpp
changeset 73 ae69c2e8bc34
parent 51 2e64dc50f295
equal deleted inserted replaced
71:d2517372cc44 73:ae69c2e8bc34
    91         FLOG(
    91         FLOG(
    92                 _L("[CFotaSrvSession] CheckClientSecureIdL client is fota scheduler!"));
    92                 _L("[CFotaSrvSession] CheckClientSecureIdL client is fota scheduler!"));
    93         client = EFotaScheduler;
    93         client = EFotaScheduler;
    94         }
    94         }
    95     else if (aMessage.SecureId() == 0x0323231 || aMessage.SecureId()
    95     else if (aMessage.SecureId() == 0x0323231 || aMessage.SecureId()
    96             == testapp.iUid || aMessage.SecureId() == testapp2.iUid)
    96             == testapp.iUid || aMessage.SecureId() == testapp2.iUid || aMessage.SecureId() == 0x2001133B)
    97         {
    97         {
    98         client = EFotaTestApp;
    98         client = EFotaTestApp;
    99         }
    99         }
   100 
   100 
   101     return client;
   101     return client;
   339             TBuf8<KFotaMaxPkgNameLength> name;
   339             TBuf8<KFotaMaxPkgNameLength> name;
   340             TBuf8<KFotaMaxPkgVersionLength> version;
   340             TBuf8<KFotaMaxPkgVersionLength> version;
   341             TInt size(0);
   341             TInt size(0);
   342 
   342 
   343             FotaServer()->GetCurrentFwDetailsL(name, version, size);
   343             FotaServer()->GetCurrentFwDetailsL(name, version, size);
   344 
       
   345             /*
       
   346             aMessage.Write(1, name);
       
   347             aMessage.Write(2, version);
       
   348             TPckg<TInt> psize(size);
       
   349             aMessage.Write(3, psize);
       
   350 
       
   351             aMessage.Complete(KErrNone);*/
       
   352             
   344             
   353             aMessage.Write(0, name);
   345             aMessage.Write(0, name);
   354             aMessage.Write(1, version);
   346             aMessage.Write(1, version);
   355             TPckg<TInt> psize(size);
   347             TPckg<TInt> psize(size);
   356             aMessage.Write(2, psize);
   348             aMessage.Write(2, psize);