Commit Graph

10 Commits

Author SHA1 Message Date
Marcel Holtmann 144080e749 Update copyright information 2010-01-01 17:00:10 -08:00
Andrzej Zaborowski 19187a0ee7 Properly skip over quoted values
Otherwise a left paren in a string can bring an obscure segfault.
2009-11-10 12:59:30 -06:00
Zhenhua Zhang 525ca751bd Handle right bracket in next_unquoted_string 2009-10-23 13:39:41 -05:00
Denis Kenzior 7e82686e70 Fix: Make next_hexstring handle optional quotes
Ericsson MBM devices send CRSM information as hex strings, yet enclose
them in quotes which is not according to the standard.
2009-10-02 18:25:56 -05:00
Denis Kenzior 1a1f7d34d2 Add unquoted string capability
This is completely broken according to the standard, but some vendors
use this in their "special" commands.
2009-09-03 23:20:22 -05:00
Denis Kenzior 22ad7dc7c5 Fix range handling 2009-07-15 11:49:06 -05:00
Denis Kenzior 595407f65b Fix uninitialized use of bufpos 2009-07-01 10:48:51 -05:00
Denis Kenzior b648a112f2 Improve string parsing code
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-16 16:38:24 -05:00
Andrzej Zaborowski 41afb58bd7 Add hex-encoded character string getter to AtChat 2009-05-26 18:15:53 -05:00
Denis Kenzior 64c4276473 Add AT chat library implementation 2009-05-06 14:42:54 -07:00