Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-10-21 | gatchat: Fix missing return value for g_at_chat_set_slave | Marcel Holtmann | 1 | -1/+1 | |
2010-10-21 | gatchat: Add support for slave chat instances | Marcel Holtmann | 1 | -0/+31 | |
This adds support to assign a slave chat instance to an existing chat instance. The slave chat is now additionally bound by the lifetime of its master chat instance. In case the master is cloned, the slave chat instance will also be cloned as well. With this it is possible to suspend the master while still have an active slave for notifications or extra commands. | |||||
2010-10-14 | gatchat: Fix calling unregister from callbacks | Denis Kenzior | 1 | -2/+40 | |
This fixes the issues with SIM hotswap on infineon | |||||
2010-10-14 | gatchat: break out the remove_if logic | Denis Kenzior | 1 | -46/+64 | |
And make unregister_group use the new function | |||||
2010-10-14 | gatchat: quit early if the group id doesn't match | Denis Kenzior | 1 | -1/+1 | |
If the ID of the notify matches but the group id does not match it means that the unregister is being called with an id that does not belong to that particular group. Checking further entries is no longer necessary. | |||||
2010-08-16 | gatchat: Skip string contents in extract_line | Denis Kenzior | 1 | -2/+7 | |
2010-08-12 | gatchat: Add g_at_chat_clone | Denis Kenzior | 1 | -0/+19 | |
This function will clone a chat object, but will create a new group internally. | |||||
2010-08-12 | gatchat: Make GAtChat a facade for struct at_chat | Denis Kenzior | 1 | -228/+401 | |
Each GAtChat object is now simply a representation of a set of outstanding commands and registered unsolicited notification handlers. This makes it easy to cancel entire groups, e.g. by canceling the GAtChat object itself rather than forcing the user into tracking all relevant g_at_chat_register and g_at_chat_send ids. | |||||
2010-06-07 | gatchat: Check for disconnection when resuming | Denis Kenzior | 1 | -0/+5 | |
If the internal GAtIO is no longer valid, treat it as if our channel was disconnected. | |||||
2010-06-07 | Restore GAtChat disconnect handling when resuming a chat session | Marcel Holtmann | 1 | -0/+2 | |
2010-05-10 | gatchat: implement g_at_chat_get_io() | Kristen Carlson Accardi | 1 | -0/+8 | |
2010-04-28 | gatchat: Don't try to cleanup twice | Denis Kenzior | 1 | -11/+8 | |
In case we get unrefed from the disconnect callback | |||||
2010-04-28 | gatchat: Use GAtIO for write watchers | Denis Kenzior | 1 | -65/+21 | |
2010-04-28 | gatchat: get_channel should return one from GAtIO | Denis Kenzior | 1 | -2/+2 | |
2010-04-28 | gatchat: Channel is now setup by GAtIO | Denis Kenzior | 1 | -2/+0 | |
2010-04-28 | gatchat: Better re-entrancy handling | Denis Kenzior | 1 | -6/+13 | |
2010-04-28 | gatchat: Only set debug on IO if we have it | Denis Kenzior | 1 | -1/+2 | |
2010-04-28 | gatchat: Replace shutdown by suspend/resume | Denis Kenzior | 1 | -12/+27 | |
Shutdown was actually pointless and according to Marcel he only had it in mind for PPP useage. | |||||
2010-04-28 | gatchat: port gatchat to use gatio | Denis Kenzior | 1 | -112/+41 | |
2010-04-28 | gatchat: Remove g_at_chat_set_syntax | Denis Kenzior | 1 | -12/+0 | |
Never used and too unsafe in its current form | |||||
2010-04-24 | Add offset parameter to ring_buffer_write_ptr() function | Marcel Holtmann | 1 | -1/+1 | |
2010-04-12 | Remove various GDestroyNotify function casting | Marcel Holtmann | 1 | -10/+18 | |
2010-04-11 | The user data pointer variable should be called user_data | Marcel Holtmann | 1 | -4/+5 | |
2010-04-02 | Fix some cases where g_try_new should be used | Marcel Holtmann | 1 | -6/+0 | |
2010-03-24 | Fix: Make CONNECT <baud> responses work | Denis Kenzior | 1 | -1/+1 | |
2010-02-03 | Remove dead assignments at gatchat | Gustavo F. Padovan | 1 | -6/+0 | |
2010-02-01 | Fix: Check if the command is still pending | Denis Kenzior | 1 | -0/+3 | |
2010-02-01 | Style: No need for the extra line | Denis Kenzior | 1 | -2/+1 | |
2010-01-28 | Use 3 read attempts when in non-blocking mode | Marcel Holtmann | 1 | -1/+1 | |
2010-01-28 | Add new constructor for fully blocking operation | Marcel Holtmann | 1 | -4/+27 | |
2010-01-28 | Fix: Take care of uninitialized variable condition | Denis Kenzior | 1 | -4/+2 | |
In some (impossible) circumstances rbytes and err might be used uninitialized. Here we make a check that a read was actually attempted before checking those variables. | |||||
2010-01-28 | Limit the number of continues read attempts | Marcel Holtmann | 1 | -2/+11 | |
2010-01-20 | Refactor: Reorder argument order | Denis Kenzior | 1 | -5/+4 | |
The order of arguments was a bit confusing, reorder them to make more logical sense. | |||||
2010-01-20 | Add gatutil.c to share common APIs with GAtServer | Zhenhua Zhang | 1 | -92/+6 | |
Add gatutil.c/h gat.h and move shared typedef and APIs into it. So that they can be shared by GAtServer and GAtChat. | |||||
2010-01-15 | Fix: One more fix for disconnect detection | Denis Kenzior | 1 | -2/+1 | |
In situations where lots of data is generated by the remote side (e.g. phonebook is being read) we can get our ring buffer filled up. In this case setting rbytes to zero first and then breaking out of the loop leads to an erroneous disconnect detection. The fix is to move setting of rbytes after we know we still have some space. | |||||
2010-01-14 | Fix: Make remote disconnect detection work | Denis Kenzior | 1 | -1/+1 | |
2010-01-12 | Style: Various issues | Denis Kenzior | 1 | -1/+1 | |
2010-01-01 | Update copyright information | Marcel Holtmann | 1 | -1/+1 | |
2009-12-24 | Unifiy all GAtChat error labels | Marcel Holtmann | 1 | -2/+2 | |
2009-12-02 | Add g_at_chat_unregister_all function | Denis Kenzior | 1 | -0/+28 | |
2009-12-02 | Add: g_at_chat_cancel_all function | Denis Kenzior | 1 | -0/+27 | |
This will cancel all commands currently queued. | |||||
2009-12-02 | Fix: Sometimes it is possible to cancel first cmd | Denis Kenzior | 1 | -1/+2 | |
Commands on the head of the queue can be canceled if none of its bytes have actually been written to the modem. This is tracked by cmd_bytes_written variable. | |||||
2009-12-02 | Fix: Don't allow cancelation of command id 0 | Denis Kenzior | 1 | -0/+4 | |
2009-11-26 | Fix: Retry the wakeup command until the modem OKs | Denis Kenzior | 1 | -16/+38 | |
The calypso is weird where it doesn't actually wakeup on the first try, we need to bang its head a few times until it responds | |||||
2009-11-24 | Framework to support non-standard terminator | Yang Gu | 1 | -10/+49 | |
2009-11-23 | Fix: Make sure we don't gobble up unsolicited | Denis Kenzior | 1 | -2/+4 | |
2009-10-16 | Fix: Stop crashing when unrefing chat in callback | Denis Kenzior | 1 | -3/+20 | |
2009-10-15 | Add ability to retrieve the atchat IOChannel | Denis Kenzior | 1 | -0/+8 | |
2009-10-02 | Add support for switching to a different GAtSyntax at runtime | Marcel Holtmann | 1 | -0/+12 | |
2009-10-01 | Replace g_at_chat_new_from_tty with g_at_tty_open | Denis Kenzior | 1 | -43/+1 | |