Commit: fca4a8c3466c41f0dd56c1074217cfbbce6c5528
Parent: 50e1db3fd2bb0dc47af92239d175899243da2e7a
Author: Lukasz Rymanowski <lukasz.rymanowski@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-11-24 13:56:39
Tree: 8002950278689d95530a4cb5616a6d00c2b45387

shared/hfp: Improve handling AT commands This patch improves handling AT commands in cases: 1. In ring buffer we have currupted commands like Y\rAT+X\r 2. In ring buffer for some reason we have more than AT commands and all commands are unknown except the last one. In bith cases parser read data until first \r and then stop to read. This is fixed with this patch

Diffstat

M src/shared/hfp.c | 91 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

1 files changed, 55 insertions(+), 36 deletions(-)

View Full Diff | Patch