Commit Graph

7 Commits

Author SHA1 Message Date
Denis Kenzior c74ea2093f Fix case where CMGS returns an error before pdu
Commands like CMGS might return an error before the entire command
has been submitted.  This results in gatchat stalling completely.
2009-07-07 14:34:00 -05:00
Marcel Holtmann 08b81f37a1 Add support for opening TTYs directly 2009-06-30 12:53:26 -07:00
Denis Kenzior c91ae28018 Fixes to parser state when command prompt is used 2009-06-19 21:14:00 -05:00
Denis Kenzior 69372e642e Add g_at_send_listing function 2009-06-16 16:38:19 -05:00
Denis Kenzior 2222e1e38d Additional fixes to multiline responses
The previous fix did not take into account the logic in have_line
function, which takes care of certain modems that do not prefix
their responses by <cr><lf> at all.  This fix should take both
into consideration
2009-06-08 22:45:03 -05:00
Denis Kenzior fafdda30b9 Fix multiline responses in GAtChat
The standard is a bit fuzzy on how multiline responses are returned
GAtChat assumed that they will always start with <cr><lf>, however
this doesn't seem to be correct.  Add a new state which is entered
when a response is obtained.  If <cr> is encountered, then it
is processed regularly, otherwise the parser assumes that the
next line is part of the multiline response
2009-06-08 14:08:18 -05:00
Denis Kenzior 64c4276473 Add AT chat library implementation 2009-05-06 14:42:54 -07:00