summaryrefslogtreecommitdiff
path: root/gatchat
AgeCommit message (Collapse)AuthorFilesLines
2009-07-21Fix a crash with unsolicited notificationsDenis Kenzior1-1/+1
When a line comes in from the modem, we check against prefixes in outstanding commands and unsolicited notifications. If the outstanding command has not yet been sent (cmd_bytes_written == 0), we still check it resulting in access violation.
2009-07-16Add extra_pdu_crlf quirkDenis Kenzior2-1/+10
2009-07-16Add set / get flags for GAtChatDenis Kenzior2-0/+19
2009-07-15Fix modem wakeup handlingDenis Kenzior1-0/+8
2009-07-15Fix range handlingDenis Kenzior1-5/+2
2009-07-07Fix case where CMGS returns an error before pduDenis Kenzior1-3/+15
Commands like CMGS might return an error before the entire command has been submitted. This results in gatchat stalling completely.
2009-07-01Fix uninitialized use of bufposDenis Kenzior1-1/+2
2009-06-30Add support for opening TTYs directlyMarcel Holtmann2-0/+42
2009-06-30Fixes to parser state when command prompt is usedDenis Kenzior1-1/+4
2009-06-30Improve string parsing codeDenis Kenzior2-16/+21
Currently next_string and next_hexstring functions use a static buffer in the iterator to store the value. This value is clobbered as soon as next_string or next_hexstring is called. Instead, we copy the entire line in iter_next and use it as a scratch buffer. The only limitation is that lines of max 2048 are possible, however these are limited to around this size by parts of the standard.
2009-06-30Add g_at_send_listing functionDenis Kenzior2-6/+54
2009-06-09Additional fixes to multiline responsesDenis Kenzior1-5/+33
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-09Fix multiline responses in GAtChatDenis Kenzior1-0/+11
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-09Add hex-encoded character string getter to AtChatAndrzej Zaborowski2-0/+55
2009-05-08Add AT chat library implementationDenis Kenzior7-1/+1980
2009-05-08Add directory for AT chat libraryMarcel Holtmann1-0/+8