equal
deleted
inserted
replaced
1411 } |
1411 } |
1412 if ( extendedIndex == expectedIndex ) |
1412 if ( extendedIndex == expectedIndex ) |
1413 { |
1413 { |
1414 iDecodeInfo.iExtendedIndex = aEndIndex; |
1414 iDecodeInfo.iExtendedIndex = aEndIndex; |
1415 SaveFoundCharDecodeState( aCharacter ); |
1415 SaveFoundCharDecodeState( aCharacter ); |
1416 FTRACE(FPrint( _L("CDunAtCmdHandler::IsExtendedBorder() (no border) complete") )); |
1416 FTRACE(FPrint( _L("CDunAtCmdHandler::IsExtendedBorder() (no border normal) complete") )); |
1417 return EFalse; |
1417 return EFalse; |
|
1418 } |
|
1419 // Now suspect border found so peek the next character after the suspected |
|
1420 // extended character. If it is not alphabetical character, return with EFalse. |
|
1421 // This case is to detect the cases such as "AT+VTS={*,3000}", where '*' would |
|
1422 // be the start of the next command in normal cases. |
|
1423 TInt peekIndex = aEndIndex + 1; |
|
1424 TInt lineLength = iLineBuffer.Length(); |
|
1425 if ( peekIndex < lineLength ) |
|
1426 { |
|
1427 TChar nextCharacter = iLineBuffer[peekIndex]; |
|
1428 if ( !nextCharacter.IsAlpha() ) |
|
1429 { |
|
1430 SaveFoundCharDecodeState( aCharacter ); |
|
1431 FTRACE(FPrint( _L("CDunAtCmdHandler::IsExtendedBorder() (no border special) complete") )); |
|
1432 return EFalse; |
|
1433 } |
1418 } |
1434 } |
1419 aEndIndex--; |
1435 aEndIndex--; |
1420 FTRACE(FPrint( _L("CDunAtCmdHandler::IsExtendedBorder() (border) complete") )); |
1436 FTRACE(FPrint( _L("CDunAtCmdHandler::IsExtendedBorder() (border) complete") )); |
1421 return ETrue; |
1437 return ETrue; |
1422 } |
1438 } |