Hi Petteri, On 12/30/2010 10:55 AM, Petteri Tikander wrote: > > This patch is for handling multiline unsolicited result-codes. > So state-machine used for handling result-bytes (gsmv1_feed) is set to the multiline-response > state. Otherwise next lines from the result-buffer are not handled correctly, > and response-handling will get stuck. I've never heard of multiline-unsolicited result codes. Unsolicited responses are always prefixed and suffixed by a crlf. Are you trying to combine the +CEN query and +CEN unsolicited responses into a single parser by any chance? > > In the other hand, this correction keeps result-handling still unchanged. > So single line is notified to the upper level (atoms) at a time, not all lines of the result. > For instance: network-emergency numbers cannot be collect to the one single notification yet. Regards, -Denis