Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-07-07 | gatserver: Restore GAtServer disconnect handling | Zhenhua Zhang | 1 | -0/+2 | |
Restore GAtServer disconnect handling when resuming a server session | |||||
2010-07-06 | gatserver: Don't free twice after user disconnect | Zhenhua Zhang | 1 | -3/+0 | |
It's possible to free gatserver in user disconnect function. So we should not free it again. | |||||
2010-06-17 | gatserver: Check for disconnection when resuming | Zhenhua Zhang | 1 | -0/+5 | |
If the internal GAtIO is no longer valid, treat it as if our channel was disconnected. | |||||
2010-06-17 | gatserver: Suspend/resume GAtServer with GAtIO | Zhenhua Zhang | 1 | -150/+109 | |
Support g_at_server_suspend and g_at_server_resume operation by using GAtIO to handle IO related function. | |||||
2010-04-24 | Add offset parameter to ring_buffer_write_ptr() function | Marcel Holtmann | 1 | -1/+1 | |
2010-04-12 | Fix: busy loop in atserver | Denis Kenzior | 1 | -1/+1 | |
2010-04-12 | Remove various GDestroyNotify function casting | Marcel Holtmann | 1 | -4/+8 | |
2010-04-11 | The user data pointer variable should be called user_data | Marcel Holtmann | 1 | -4/+4 | |
2010-04-02 | Fix some cases where g_try_new should be used | Marcel Holtmann | 1 | -1/+0 | |
2010-03-31 | Fix ampersand commands check | Andrzej Zaborowski | 1 | -2/+2 | |
Also remove a trailing tab. | |||||
2010-03-31 | Refactor: Simplify V250 setting command functions | Denis Kenzior | 1 | -91/+30 | |
2010-03-31 | Refactor: Simplify gatserver s-register functions | Denis Kenzior | 1 | -52/+16 | |
2010-03-31 | Fix echo command back even if don't process it | Zhenhua Zhang | 1 | -8/+8 | |
2010-03-31 | Add Repeat last command support | Zhenhua Zhang | 1 | -2/+7 | |
2010-03-31 | Add implementation for ATE and other basic command | Zhenhua Zhang | 1 | -4/+158 | |
2010-03-31 | Add implementation for S3, S4, S5 command | Zhenhua Zhang | 1 | -0/+133 | |
2010-03-30 | Fix: Make sure we still increment read_count | Denis Kenzior | 1 | -2/+2 | |
2010-03-30 | Fix ignore incoming bytes during parsing | Zhenhua Zhang | 1 | -0/+4 | |
Server processes one command line at one time, so ignore the rest incoming bytes during the command parsing. | |||||
2010-03-30 | Simplify the send_info API | Denis Kenzior | 1 | -24/+14 | |
2010-03-30 | Fix: Properly handle async final responses | Denis Kenzior | 1 | -6/+47 | |
2010-03-30 | Fix: We need to preserve the original line | Denis Kenzior | 1 | -1/+3 | |
2010-03-30 | Fix: Record last received command | Denis Kenzior | 1 | -6/+11 | |
2010-03-30 | Fix: Send an ERROR on A/ | Denis Kenzior | 1 | -1/+1 | |
2010-03-30 | Refactor: Simplify extended command parsing logic | Denis Kenzior | 1 | -9/+6 | |
2010-03-30 | Refactor: Add a single-line response function | Denis Kenzior | 1 | -1/+6 | |
2010-03-30 | Add API stubs for unsolicited / final responses | Zhenhua Zhang | 1 | -6/+59 | |
2010-03-24 | Refactor: Simplify parsing logic | Denis Kenzior | 1 | -14/+1 | |
It isn't actually necessary to check the basic command prefixes, if the extended prefix doesn't match we try to parse it like a basic command. That one does the same exact check anyway. If that fails, then this is not a recognized command line anyway. | |||||
2010-03-24 | Refactor basic command parsing | Denis Kenzior | 1 | -59/+46 | |
Make more bullet proof and efficient | |||||
2010-03-24 | Style: foo[0] is preferable to *foo | Denis Kenzior | 1 | -2/+2 | |
2010-03-24 | Fix: Be more paranoid in basic command parsing | Denis Kenzior | 1 | -6/+21 | |
2010-03-24 | Add basic command parsing | Zhenhua Zhang | 1 | -1/+111 | |
2010-03-22 | Fix: extract line should use S3, not hardcode CR | Denis Kenzior | 1 | -3/+4 | |
2010-03-22 | Refactor: Command line extraction | Denis Kenzior | 1 | -4/+10 | |
2010-03-22 | Refactor: Extended command parsing | Denis Kenzior | 1 | -114/+93 | |
Make the code more bullet proof and easier to follow | |||||
2010-03-22 | Add g_at_server_register and unregister callback | Zhenhua Zhang | 1 | -0/+48 | |
2010-03-22 | Add notify at command callback | Zhenhua Zhang | 1 | -0/+48 | |
2010-03-22 | Add server at command data structure | Zhenhua Zhang | 1 | -0/+27 | |
2010-03-22 | Add extended command parsing | Zhenhua Zhang | 1 | -2/+69 | |
2010-03-22 | Add framework of server parser | Zhenhua Zhang | 1 | -20/+26 | |
a. The parser fetch and parse one command per loop. The prefix is the command prefix without parameter. For example, the prefix of "AT+CLIP=1" is "+CLIP". b. Search registered notification node in command_list. Invoke the callback if found. c. Termiate the execution if the result is an error. Otherwise, parse next command. | |||||
2010-03-18 | Fix: Echo everything as soon as received | Denis Kenzior | 1 | -4/+5 | |
2010-03-18 | Refactor add is_basic_command_prefix function | Zhenhua Zhang | 1 | -2/+13 | |
2010-03-18 | Rename parse_v250_settings | Zhenhua Zhang | 1 | -2/+2 | |
To parse_basic_command | |||||
2010-03-18 | Rename parse_at_command | Zhenhua Zhang | 1 | -2/+2 | |
To parse_extended_command | |||||
2010-03-18 | Rename is_at_command_prefix | Zhenhua Zhang | 1 | -2/+2 | |
To is_extended_command_prefix | |||||
2010-03-18 | Rename g_at_server_send_result | Zhenhua Zhang | 1 | -8/+8 | |
To g_at_server_send_final | |||||
2010-03-03 | Fix: Use the proper enum type | Denis Kenzior | 1 | -1/+1 | |
2010-03-03 | Add command echo back if ATE=1 | Zhenhua Zhang | 1 | -0/+3 | |
2010-02-26 | Fix: Simplify write-again logic | Denis Kenzior | 1 | -6/+3 | |
2010-02-26 | Fix: Don't allocate buffers if we don't need to | Denis Kenzior | 1 | -1/+6 | |
2010-02-26 | Add write server response into non-blocking IO | Zhenhua Zhang | 1 | -0/+66 | |
Write server response into non-blocking GIOChannel when we have G_IO_OUT signal. |