bluetoothengine/btmac/src/BTMonoCmdHandler/btmccallinghandler.cpp
branchRCL_3
changeset 21 53b7818cd282
parent 1 6a1fe72036e3
child 51 625f43ae9362
equal deleted inserted replaced
20:2f88a7d66f50 21:53b7818cd282
    92         case KCallingResponse:
    92         case KCallingResponse:
    93             {
    93             {
    94             TInt result = KErrNone;
    94             TInt result = KErrNone;
    95             if (!aErr)
    95             if (!aErr)
    96                 {
    96                 {
    97                 TBuf8<KMaxATSize> buf;
    97                 TBuf8<KDefaultCmdBufLength> buf;
    98                 aErr = iRespProperty.Get(buf);
    98                 aErr = iRespProperty.Get(buf);
    99                 if (!aErr && buf.Length() >= sizeof(TInt))
    99                 if (!aErr && buf.Length() >= sizeof(TInt))
   100                     {
   100                     {
   101                     const TUint8* ptr = buf.Ptr();
   101                     const TUint8* ptr = buf.Ptr();
   102                     result = *((const TInt*)ptr);
   102                     result = *((const TInt*)ptr);